/* ==========================================================================
   Mocino Hoarding Pros — shared stylesheet
   Palette: harbor blue (anchor) + linen + sage + sand
   Type: Fraunces (headings) / Inter (body)
   ========================================================================== */

:root {
  /* Color */
  --harbor-900: #1e333f;
  --harbor-700: #2c4a5e;
  --harbor-500: #4c7086;
  --harbor-200: #cfdde3;
  --harbor-100: #e7eef1;

  --sage-600: #5e7364;
  --sage-400: #8ea184;
  --sage-200: #dfe6da;

  --sand-500: #c79a63;
  --sand-300: #e8cfa4;

  --linen-100: #f7f2ea;
  --linen-50: #fbf8f3;
  --surface: #fffdf9;

  --ink-900: #23303a;
  --ink-600: #52616b;
  --ink-400: #7c8992;

  --line: #e2dccf;

  /* Type */
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --max-width: 1120px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --shadow-soft: 0 12px 32px -16px rgba(30, 51, 63, 0.28);
  --shadow-tight: 0 2px 10px rgba(30, 51, 63, 0.08);
}

/* ---- Reset ------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--linen-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--harbor-900);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ink-600); }

a { color: var(--harbor-700); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 72px 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-600);
  font-weight: 600;
  margin-bottom: 0.75em;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-head p { font-size: 1.05rem; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.9em 1.8em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--harbor-700);
  color: var(--surface);
  box-shadow: var(--shadow-tight);
}
.btn-primary:hover { background: var(--harbor-900); }

.btn-ghost {
  background: transparent;
  color: var(--harbor-900);
  border-color: var(--harbor-500);
}
.btn-ghost:hover { background: var(--harbor-100); }

.btn-whatsapp {
  background: #3f5c4c;
  color: var(--surface);
}
.btn-whatsapp:hover { background: #33493d; }

/* ---- Header / Nav -------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.6em;
  text-decoration: none;
  color: var(--harbor-900);
}
.wordmark .mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.wordmark-text {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.1;
}
.wordmark-text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-600);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--harbor-900);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  align-items: center;
}
.main-nav a {
  text-decoration: none;
  color: var(--ink-900);
  font-weight: 500;
  font-size: 0.96rem;
}
.main-nav a:hover { color: var(--harbor-700); }
.main-nav a[aria-current="page"] {
  color: var(--harbor-700);
  font-weight: 600;
}

.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-phone {
  font-weight: 600;
  color: var(--harbor-900);
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--linen-50);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    overflow-y: auto;
  }
  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 1.5rem;
  }
  .main-nav a { font-size: 1.1rem; }
  .nav-actions .nav-phone { display: none; }
}

/* ---- Signature element: returning-light glow ---------------------------- */
.glow-field {
  position: relative;
  overflow: hidden;
}
.glow-field::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(199, 154, 99, 0.28), rgba(199, 154, 99, 0) 70%);
  pointer-events: none;
  z-index: 0;
}
.glow-field > * { position: relative; z-index: 1; }

.divider-arc {
  display: block;
  width: 100%;
  height: 64px;
  margin-top: -1px;
}

/* ---- Hero --------------------------------------------------------------- */
.hero {
  background: linear-gradient(180deg, var(--harbor-900) 0%, var(--harbor-700) 100%);
  color: var(--surface);
  padding: 96px 0 120px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  color: var(--sand-300);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1em;
}
.hero h1 {
  color: var(--surface);
  margin-bottom: 0.4em;
}
.hero .lede {
  color: var(--harbor-100);
  font-size: 1.1rem;
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.hero .btn-ghost {
  color: var(--surface);
  border-color: rgba(255, 255, 255, 0.5);
}
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

.hero-art {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--sage-400), var(--harbor-500));
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.hero-art .placeholder-note {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  padding: 2rem;
  color: rgba(255, 255, 255, 0.92);
}
.hero-art .placeholder-note svg { width: 44px; height: 44px; }
.hero-art .placeholder-note span {
  font-size: 0.85rem;
  max-width: 22ch;
  opacity: 0.85;
}

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; margin: 0 auto; }
}

/* ---- Trust three-up ------------------------------------------------------ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.trust-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: left;
}
.trust-card .icon {
  width: 40px;
  height: 40px;
  color: var(--harbor-700);
  margin-bottom: 1.1rem;
}
.trust-card h3 { margin-bottom: 0.4em; }
.trust-card p { margin: 0; font-size: 0.96rem; }

@media (max-width: 780px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* ---- Empathy section ------------------------------------------------------ */
.empathy {
  background: var(--harbor-100);
}
.empathy .container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}
.empathy-art {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--harbor-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--harbor-500);
}
.empathy-art svg { width: 30%; height: 30%; }
.empathy blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: var(--harbor-900);
  margin: 0 0 1rem;
  line-height: 1.35;
}
.empathy cite {
  font-style: normal;
  color: var(--sage-600);
  font-weight: 600;
  font-size: 0.9rem;
}

@media (max-width: 780px) {
  .empathy .container { grid-template-columns: 1fr; }
  .empathy-art { max-width: 280px; margin: 0 auto; }
}

/* ---- Gallery -------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  background: var(--linen-50);
  border: 1px dashed var(--harbor-200);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--harbor-500);
  text-align: center;
  padding: 1rem;
}
.gallery-item svg { width: 32px; height: 32px; }
.gallery-item span { font-size: 0.82rem; color: var(--ink-400); max-width: 20ch; }

@media (max-width: 780px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ---- Testimonials ---------------------------------------------------------- */
.testimonials { background: var(--surface); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--linen-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}
.testimonial-card .stars { color: var(--sand-500); letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.testimonial-placeholder {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1.5rem;
  border: 1px dashed var(--harbor-200);
  border-radius: var(--radius-md);
  color: var(--ink-400);
}
.testimonial-placeholder a { color: var(--harbor-700); font-weight: 600; }

@media (max-width: 780px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ---- Forms ------------------------------------------------------------------ */
.form-section { background: var(--harbor-900); color: var(--surface); }
.form-section .section-head h2 { color: var(--surface); }
.form-section .section-head p { color: var(--harbor-100); }

.form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-grid .full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.25rem; }
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--harbor-900);
}
.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75em 0.9em;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--linen-50);
  color: var(--ink-900);
}
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--harbor-500);
  outline-offset: 1px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field.file input { padding: 0.55em 0.6em; background: var(--surface); }
.field-hint { font-size: 0.78rem; color: var(--ink-400); }

.form-note {
  font-size: 0.85rem;
  color: var(--ink-400);
  margin-top: 1rem;
}

@media (max-width: 620px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 1.75rem; }
}

/* ---- Map / contact extras ------------------------------------------------- */
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-tight);
}
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.info-list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.info-list li {
  display: flex;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}
.info-list li strong { color: var(--harbor-900); min-width: 6.5em; }

@media (max-width: 780px) {
  .contact-info-grid { grid-template-columns: 1fr; }
}

/* ---- Page hero (interior pages) -------------------------------------------- */
.page-hero {
  background: var(--harbor-100);
  padding: 64px 0;
  text-align: center;
}
.page-hero .eyebrow { margin-bottom: 0.6em; }
.page-hero p { max-width: 60ch; margin: 0 auto; font-size: 1.05rem; }

.placeholder-banner {
  background: var(--sand-300);
  color: var(--harbor-900);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  margin: 0 auto 2.5rem;
  max-width: var(--max-width);
}
.placeholder-banner strong { font-weight: 700; }

.content-columns {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 3rem;
  align-items: start;
}
.content-columns .aside-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}
.content-columns .aside-card h3 { margin-bottom: 0.6em; }
.content-columns .aside-card ul { padding-left: 1.1em; color: var(--ink-600); }
.content-columns .aside-card li { margin-bottom: 0.5em; }

@media (max-width: 860px) {
  .content-columns { grid-template-columns: 1fr; }
}

/* ---- Footer ------------------------------------------------------------------ */
.site-footer {
  background: var(--harbor-900);
  color: var(--harbor-100);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-grid h4 {
  color: var(--surface);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-brand .wordmark-text { color: var(--surface); }
.footer-brand .wordmark-text small { color: var(--sage-400); }
.footer-brand p { color: var(--harbor-100); font-size: 0.92rem; max-width: 34ch; }

.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 0.65rem; font-size: 0.92rem; }
.footer-list a { color: var(--harbor-100); text-decoration: none; }
.footer-list a:hover { color: var(--surface); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--harbor-100);
}
.footer-bottom a { color: var(--harbor-100); }

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---- Utility -------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
