/* ============================================================
   LAYOUT — Nav, Hero, Sections, Footer, WhatsApp
   ============================================================ */

/* NAV */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
}
#site-header.scrolled {
  background: rgba(253,252,248,.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
@media (min-width: 1024px) { .nav-inner { height: 96px; } }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
  max-width: 140px;
}
@media (min-width: 640px)  { .nav-logo img { height: 40px; } }
@media (min-width: 1024px) { .nav-logo img { height: 44px; max-width: 160px; } }
.nav-links { display: none; align-items: center; gap: 1.4rem; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-link {
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); font-family: var(--font-sans);
  font-weight: 400; transition: color .2s; white-space: nowrap;
}
.nav-link:hover { color: var(--clay); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-phone {
  display: none; font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-soft);
  font-family: var(--font-sans); transition: color .2s; white-space: nowrap;
}
.nav-phone:hover { color: var(--ink); }
@media (min-width: 1200px) { .nav-phone { display: block; } }
.nav-burger {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px; cursor: pointer;
}
@media (min-width: 1024px) { .nav-burger { display: none; } }
.nav-burger span { display: block; width: 22px; height: 1px; background: var(--ink); transition: transform .3s, opacity .3s; }

/* Mobile menu */
#mobile-menu {
  display: none; position: fixed; inset: 0;
  z-index: 200; background: var(--ink); flex-direction: column;
}
#mobile-menu.open { display: flex; }
.mobile-menu-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 1.5rem; height: 64px; background: var(--bg);
}
.mobile-menu-top img { height: 36px; }
.mobile-close { background: none; border: none; font-size: 28px; color: var(--ink); line-height: 1; padding: 4px; }
.mobile-nav {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center; padding: 0 2rem; gap: 1.5rem;
}
.mobile-nav a {
  font-family: var(--font-disp); font-size: 36px;
  font-weight: 300; color: rgba(255,255,255,.75); transition: color .2s;
}
.mobile-nav a:hover { color: var(--clay); }
.mobile-cta {
  display: inline-block; margin-top: 2rem;
  background: var(--clay); color: var(--bg) !important;
  font-family: var(--font-sans) !important; font-size: 11px !important;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 14px 24px; font-weight: 500;
}

/* Fixed CTA */
#fixed-cta {
  position: fixed;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 1rem);
  left: 1rem; right: 1rem;
  z-index: 90; background: var(--ink); color: var(--bg);
  font-family: var(--font-sans); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
  padding: 16px 24px; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 12px 32px -10px rgba(0,0,0,.45);
  transition: transform .35s cubic-bezier(.2,.6,.2,1), opacity .35s;
}
@media (min-width: 640px) {
  #fixed-cta { left: auto; right: calc(env(safe-area-inset-right, 0px) + 1rem); padding: 16px 28px; }
}
#fixed-cta.hidden { transform: translateY(150%); opacity: 0; pointer-events: none; }
#fixed-cta:hover { background: var(--clay); }

/* HERO */
#hero {
  padding-top: max(100px, calc(80px + 2rem));
  padding-bottom: 6rem;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  background: var(--bg); overflow: hidden;
}
@media (min-width: 1024px) { #hero { padding-top: calc(96px + 2rem); } }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: end; width: 100%;
}
.hero-image-col { position: relative; overflow: visible; padding: 20px 20px 0 20px; }
@media (min-width: 1024px) { .hero-image-col { padding: 24px 0 0 24px; } }
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image-col { display: none; }
}
.hero-h1 { font-size: clamp(40px, 7vw, 88px); margin: 1.5rem 0; }
.hero-sub {
  font-size: 15px; line-height: 1.85; color: var(--ink-soft);
  font-weight: 300; max-width: 440px; margin-top: 1.5rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 2.5rem; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.5rem; margin-top: 4rem; padding-top: 2rem;
  border-top: 1px solid var(--border); max-width: 440px;
}
.stat-num   { font-size: 32px; color: var(--clay); display: block; }
.stat-label { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; display: block; }
.hero-figure {
  position: relative; aspect-ratio: 4/5;
  overflow: visible; background: var(--sand);
}
.hero-figure picture, .hero-figure img {
  width: 100%; height: 100%; object-fit: cover; display: block; clip-path: inset(0);
}
.hero-caption {
  position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
  display: flex; align-items: flex-end; justify-content: space-between;
  color: white; z-index: 2;
}
.hero-caption-tag { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; opacity: .8; }
.hero-caption-title { font-family: var(--font-disp); font-size: 22px; font-weight: 300; display: block; margin-top: 4px; }
.hero-award { position: absolute; top: -16px; right: -16px; z-index: 10; transition: transform .2s; display: block; }
.hero-award:hover { transform: scale(1.06); }
.hero-award img { width: 88px; height: 88px; object-fit: contain; filter: drop-shadow(0 6px 16px rgba(0,0,0,.3)); display: block; }
@media (min-width: 1024px) {
  .hero-award { top: -20px; right: auto; left: -20px; }
  .hero-award img { width: 120px; height: 120px; }
}

/* MARQUEE */
.marquee-bar {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  overflow: hidden; padding: 14px 0;
}
.marquee-track { display: flex; white-space: nowrap; animation: marquee 38s linear infinite; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 16px; padding: 0 2.5rem;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,.5); font-family: var(--font-sans);
}
.marquee-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--clay); flex-shrink: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* SECTIONS */
.section        { padding: 6rem 0; }
.section--lg    { padding: 9rem 0; }
.section--sand  { background: var(--sand); }
.section--ink   { background: var(--ink); color: rgba(255,255,255,.9); }
.section--ink .eyebrow { color: var(--clay); }
.section--ink .eyebrow::before { background: var(--clay); }
.section--ink .display em { color: var(--clay); }
.section-header { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 4rem; }
@media (min-width: 1024px) {
  .section-header { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.section-intro { max-width: 340px; font-size: 14px; line-height: 1.85; color: var(--ink-soft); font-weight: 300; }
.section--ink .section-intro { color: rgba(255,255,255,.65); }

/* Texture */
.texture-section { position: relative; overflow: hidden; }
.texture-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; }
.texture-overlay { position: absolute; inset: 0; background: linear-gradient(to right, var(--ink), rgba(15,15,16,.8) 60%, rgba(15,15,16,.4)); }
.texture-content { position: relative; z-index: 1; }

/* Page Hero */
.page-hero {
  padding-top: max(100px,calc(80px + 3rem));
  padding-bottom: 5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 1024px) { .page-hero { padding-top: calc(96px + 3rem); } }
.page-h1 { font-size: clamp(32px,5.5vw,72px); margin: 1.5rem 0; }
.page-intro { font-size: 16px; line-height: 1.8; color: var(--ink-soft); font-weight: 300; max-width: 520px; margin-top: 1rem; }
.page-hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 2.5rem; }
.page-hero--image {
  position: relative; min-height: 70vh;
  display: flex; align-items: flex-end; padding-bottom: 4rem; color: white;
}
.page-hero--image::before { content: ''; position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.page-hero--image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,15,16,.85), rgba(15,15,16,.3)); z-index: 1; }
.page-hero--image .container { position: relative; z-index: 2; }
.page-hero--image .eyebrow { color: rgba(255,255,255,.6); }
.page-hero--image .eyebrow::before { background: rgba(255,255,255,.4); }

/* Footer */
#site-footer { background: var(--footer-bg); color: rgba(255,255,255,.9); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 5rem var(--pad-x) 0; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding-bottom: 5rem; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr; gap: 3rem; } }
.footer-logo { height: 44px; width: auto; filter: brightness(0) invert(1); }
.footer-nav { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.footer-nav a { font-size: 15px; font-weight: 300; color: rgba(255,255,255,.8); transition: color .2s; width: fit-content; }
.footer-nav a:hover { color: var(--clay); }
.footer-socials { display: flex; align-items: center; gap: 10px; margin-top: 2.5rem; }
.footer-social {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); transition: color .2s, border-color .2s;
}
.footer-social svg { width: 14px; height: 14px; fill: currentColor; }
.footer-social:hover { color: var(--clay); border-color: var(--clay); }
.footer-brand h3 { font-family: var(--font-disp); font-size: 26px; font-weight: 300; color: rgba(255,255,255,.9); margin-bottom: 1.5rem; }
.footer-brand p  { font-size: 15px; line-height: 1.9; font-weight: 300; color: rgba(255,255,255,.7); max-width: 480px; }
.footer-brand strong { color: rgba(255,255,255,.9); font-weight: 500; }
.footer-contacts {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 3rem; padding: 4rem var(--pad-x);
  border-top: 1px solid rgba(255,255,255,.08);
  max-width: var(--max); margin: 0 auto;
}
@media (max-width: 900px) { .footer-contacts { grid-template-columns: 1fr; gap: 2.5rem; } }
.footer-city h4 { font-family: var(--font-disp); font-size: 24px; font-weight: 300; margin-bottom: 1.5rem; }
.footer-contact-row { display: flex; gap: 10px; font-size: 14px; font-weight: 300; color: rgba(255,255,255,.8); margin-bottom: 1rem; line-height: 1.5; }
.footer-contact-icon { color: var(--clay); flex-shrink: 0; }
.footer-contact-row a { color: rgba(255,255,255,.8); transition: color .2s; }
.footer-contact-row a:hover { color: var(--clay); }
.footer-bottom {
  max-width: var(--max); margin: 0 auto;
  padding: 1.5rem var(--pad-x) calc(env(safe-area-inset-bottom,0px) + 1.5rem);
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
}

/* WhatsApp */
#wa-float {
  position: fixed;
  bottom: calc(env(safe-area-inset-bottom,0px) + 5rem);
  right: 1.5rem; z-index: 80;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  text-decoration: none; transition: transform .2s, box-shadow .2s;
}
#wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,.5); }
#wa-float svg { width: 28px; height: 28px; fill: currentColor; }
@media (min-width: 640px) { #wa-float { bottom: calc(env(safe-area-inset-bottom,0px) + 1.5rem); } }

/* Admin bar */
.admin-bar #site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar #site-header { top: 46px; } }