*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --night:      #111A19;   /* Noir de Vigne */
  --soil:       #1C2B24;   /* Dark forest tone */
  --forest:     #284139;   /* Emerald Green */
  --terracotta: #BB6830;   /* Egyptian Earth */
  --clay:       #CC7A42;   /* Egyptian Earth lighter */
  --sand:       #F8D794;   /* Creased Khaki */
  --mist:       #F3EACF;   /* Creased Khaki tint */
  --cream:      #FAF6E8;   /* Light warm */
  --stone:      #808076;   /* Wasabi */
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--night); }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(17,26,25,0.96); backdrop-filter: blur(12px);
  height: 72px; display: flex; align-items: center;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-title { font-family: 'Cormorant Garamond', serif; font-size: 19px; font-weight: 500; color: #F8D794; display: block; line-height: 1.1; }
.logo-sub { font-size: 8px; color: #BB6830; letter-spacing: 0.15em; text-transform: uppercase; display: block; margin-top: 2px; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: rgba(248,215,148,0.6); text-decoration: none; font-size: 13px; font-weight: 400; letter-spacing: 0.03em; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: #F8D794; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-phone { color: #BB6830; font-size: 12px; font-weight: 500; text-decoration: none; }
.nav-cta { background: var(--terracotta); color: var(--sand); padding: 10px 20px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; border-radius: 2px; }

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-inner { min-height: 75vh; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-bg-mobile { display: none; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(17,26,25,0.96) 0%, rgba(17,26,25,0.55) 45%, rgba(17,26,25,0.15) 100%); }
.hero-content { position: relative; max-width: 1200px; margin: 0 auto; padding: 140px 24px 72px; width: 100%; }
.eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--clay); display: block; margin-bottom: 18px; }
.hero-h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(48px, 7.5vw, 100px); font-weight: 300; color: var(--sand); line-height: 1.0; margin-bottom: 24px; }
.hero-h1 em { font-style: italic; }
.hero-sub { color: rgba(248,215,148,0.65); font-size: 16px; max-width: 480px; line-height: 1.65; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 48px; margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(248,215,148,0.1); flex-wrap: wrap; }
.stat-val { font-family: 'Cormorant Garamond', serif; font-size: 38px; font-weight: 300; color: var(--sand); display: block; line-height: 1; }
.stat-lbl { font-size: 9px; color: var(--clay); letter-spacing: 0.13em; text-transform: uppercase; margin-top: 5px; display: block; }

/* BUTTONS */
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary { background: var(--terracotta); color: var(--sand); padding: 14px 28px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border-radius: 2px; display: inline-block; }
.btn-ghost { border: 1px solid rgba(248,215,148,0.28); color: var(--sand); padding: 14px 28px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border-radius: 2px; display: inline-block; }
.btn-forest { background: var(--forest); color: var(--sand); padding: 14px 28px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border-radius: 2px; display: inline-block; }
.btn-dark { border: 1px solid rgba(40,65,57,0.25); color: var(--night); padding: 14px 28px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border-radius: 2px; display: inline-block; }

/* SECTIONS */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.sec-label { font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--clay); display: block; margin-bottom: 14px; }
.sec-h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px, 3.5vw, 50px); font-weight: 300; color: var(--night); line-height: 1.15; margin-bottom: 48px; }
.sec-h2 em { font-style: italic; }
.sec-h2-light { color: var(--sand); }

/* BACKGROUNDS */
.bg-cream { background: var(--cream); }
.bg-mist  { background: var(--mist); }
.bg-soil  { background: var(--soil); }
.bg-night { background: var(--night); }

/* GRIDS */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* SERVICE CARD — FLIP */
.s-card { perspective: 1000px; height: 250px; cursor: pointer; }
.s-card-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.65s cubic-bezier(0.4,0,0.2,1); }
@media (hover: hover) { .s-card:hover .s-card-inner { transform: rotateY(180deg); } }
.s-card.flipped .s-card-inner { transform: rotateY(180deg); }
.s-card-front, .s-card-back { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 4px; }
.s-card-front { background: white; border: 1px solid rgba(40,65,57,0.1); padding: 32px; overflow: hidden; }
.s-card-back { transform: rotateY(180deg); overflow: hidden; background: var(--forest); }
.s-card-back img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s-card-back-ov { position: absolute; inset: 0; background: linear-gradient(to top, rgba(17,26,25,0.92) 0%, rgba(17,26,25,0.2) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.s-card-back-plain .s-card-back-ov { background: rgba(28,43,36,0.6); justify-content: center; }
.s-card-back-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 500; color: var(--sand); margin-bottom: 14px; line-height: 1.2; }
.s-num { font-family: 'Cormorant Garamond', serif; font-size: 44px; font-weight: 300; color: var(--terracotta); opacity: 0.45; line-height: 1; }
.s-bar { width: 40px; height: 2px; background: var(--terracotta); margin: 8px 0 14px; }
.s-title { font-family: 'Cormorant Garamond', serif; font-size: 21px; font-weight: 500; color: var(--night); margin-bottom: 8px; }
.s-desc { font-size: 13px; color: var(--stone); line-height: 1.65; }
.s-items { list-style: none; margin-top: 16px; }
.s-items li { font-size: 12px; color: var(--stone); padding: 4px 0; border-bottom: 1px solid rgba(40,65,57,0.07); }
.s-items li:last-child { border: none; }
.s-items li::before { content: '— '; color: var(--clay); }

/* STATEMENT */
.statement { position: relative; min-height: 520px; display: flex; align-items: flex-end; overflow: hidden; }
.statement-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.statement-bg-mobile { display: none; }
.statement-ov { position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,43,36,0.93) 0%, rgba(28,43,36,0.5) 60%, rgba(28,43,36,0.08) 100%); }
.statement-content { position: relative; max-width: 660px; padding: 0 24px 72px; margin-left: max(24px, calc((100vw - 1200px)/2)); }
.stmt-h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(30px, 4vw, 56px); font-weight: 300; color: var(--sand); line-height: 1.1; margin-bottom: 16px; }
.stmt-h2 em { font-style: italic; }
.stmt-body { color: rgba(248,215,148,0.65); font-size: 15px; line-height: 1.65; margin-bottom: 28px; }

/* CASE STUDY CARDS */
.cs-card { background: white; border: 1px solid rgba(40,65,57,0.1); border-radius: 4px; overflow: hidden; }
.cs-img { height: 220px; overflow: hidden; position: relative; }
.cs-img img { width: 100%; height: 100%; object-fit: cover; }
.cs-img-ov { position: absolute; inset: 0; background: linear-gradient(to top, rgba(17,26,25,0.7) 0%, transparent 60%); }
.cs-tag { position: absolute; bottom: 12px; left: 16px; font-size: 9px; color: var(--sand); letter-spacing: 0.13em; text-transform: uppercase; }
.cs-body { padding: 24px; }
.cs-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 500; color: var(--night); margin-bottom: 8px; }
.cs-desc { font-size: 13px; color: var(--stone); line-height: 1.6; margin-bottom: 16px; }
.cs-stat { background: var(--soil); padding: 16px 24px; display: flex; align-items: center; gap: 16px; }
.cs-stat-val { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 300; color: var(--sand); }
.cs-stat-lbl { font-size: 10px; color: var(--clay); letter-spacing: 0.1em; text-transform: uppercase; }
.cs-link { font-size: 11px; color: var(--terracotta); font-weight: 600; text-decoration: none; letter-spacing: 0.04em; }

/* TESTIMONIALS */
.t-card { background: rgba(248,215,148,0.05); border: 1px solid rgba(248,215,148,0.08); padding: 32px; border-radius: 4px; }
.t-card-light { background: white; border: 1px solid rgba(40,65,57,0.1); padding: 32px; border-radius: 4px; }
.t-stars { color: #CC9944; font-size: 13px; margin-bottom: 10px; }
.t-mark { font-family: 'Cormorant Garamond', serif; font-size: 52px; font-weight: 300; color: var(--clay); line-height: 1; display: block; margin-bottom: -4px; }
.t-quote { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 17px; font-weight: 300; color: var(--sand); line-height: 1.55; margin-bottom: 20px; }
.t-quote-dark { color: var(--night); }
.t-name { font-size: 13px; font-weight: 600; color: var(--sand); }
.t-name-dark { color: var(--night); }
.t-loc { font-size: 9px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--clay); margin-top: 3px; }
.t-service { font-size: 11px; color: var(--stone); margin-top: 3px; }

.g-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--stone); margin-top: 8px; }
.g-badge svg { width: 12px; height: 12px; flex-shrink: 0; }
.g-badge-light { color: rgba(248,215,148,0.65); }

/* FAQ */
.faq-item { border-bottom: 1px solid rgba(40,65,57,0.1); }
.faq-q { width: 100%; text-align: left; padding: 18px 0; font-size: 15px; font-weight: 500; color: var(--night); background: none; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-a { font-size: 13px; color: var(--stone); line-height: 1.7; padding-bottom: 18px; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-chevron { font-size: 18px; color: var(--clay); transition: transform 0.25s; flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }

/* CTA SECTION */
.cta-section { background: var(--soil); text-align: center; padding: 96px 24px; }
.cta-h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(30px, 4.5vw, 62px); font-weight: 300; color: var(--sand); line-height: 1.1; margin-bottom: 16px; }
.cta-h2 em { font-style: italic; }
.cta-sub { color: rgba(248,215,148,0.5); font-size: 15px; margin-bottom: 36px; }

/* WHY SPLIT */
.why-item { display: flex; gap: 16px; margin-bottom: 24px; }
.why-num { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 300; color: var(--terracotta); flex-shrink: 0; line-height: 1; }
.why-title { font-size: 14px; font-weight: 600; color: var(--night); margin-bottom: 4px; }
.why-body { font-size: 13px; color: var(--stone); line-height: 1.6; }
.auth-img { border-radius: 4px; overflow: hidden; aspect-ratio: 4/3; }
.auth-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* GALLERY */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item { aspect-ratio: 1; overflow: hidden; border-radius: 4px; position: relative; }
.gallery-item img, .gallery-item video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s; }
.gallery-item:hover img, .gallery-item:hover video { transform: scale(1.05); }
.gallery-item .ig-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(17,26,25,0.88) 0%, rgba(17,26,25,0) 100%); padding: 28px 14px 12px; opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.gallery-item:hover .ig-overlay { opacity: 1; }
.gallery-item .ig-handle { display: block; font-size: 10px; font-weight: 600; color: var(--sand); letter-spacing: 0.06em; margin-bottom: 3px; opacity: 0.7; }
.gallery-item .ig-caption { display: block; font-size: 11px; color: rgba(255,255,255,0.85); line-height: 1.4; }

/* TEAM */
.team-card { background: white; border: 1px solid rgba(40,65,57,0.1); padding: 28px 24px; border-radius: 4px; text-align: center; }
.team-initial { width: 56px; height: 56px; border-radius: 50%; background: var(--forest); color: var(--sand); display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 500; margin: 0 auto 16px; }
.team-name { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 500; color: var(--night); margin-bottom: 4px; }
.team-role { font-size: 11px; color: var(--stone); margin-bottom: 12px; }
.team-phone { font-size: 13px; color: var(--terracotta); font-weight: 600; text-decoration: none; }

/* STATS DARK */
.stat-card-dark { text-align: center; padding: 32px 16px; }
.stat-big { font-family: 'Cormorant Garamond', serif; font-size: 52px; font-weight: 300; color: var(--sand); line-height: 1; display: block; margin-bottom: 8px; }
.stat-label { font-size: 10px; color: var(--clay); letter-spacing: 0.15em; text-transform: uppercase; }

/* CONTACT FORM */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--stone); margin-bottom: 6px; }
.form-input { width: 100%; padding: 12px 14px; border: 1px solid rgba(40,65,57,0.15); background: white; font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--night); border-radius: 2px; }
.form-input:focus { outline: none; border-color: var(--terracotta); }
textarea.form-input { resize: vertical; min-height: 110px; }
select.form-input { appearance: none; }

/* AREAS */
.area-badge { display: inline-block; padding: 8px 20px; border: 1px solid rgba(248,215,148,0.15); color: var(--sand); font-size: 13px; font-weight: 500; border-radius: 2px; margin: 4px; }

/* FOOTER */
footer { background: var(--night); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { font-size: 13px; color: rgba(248,215,148,0.35); line-height: 1.7; margin-top: 10px; }
.f-heading { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay); margin-bottom: 16px; font-weight: 600; }
.f-links { list-style: none; }
.f-links li { margin-bottom: 9px; }
.f-links a { color: rgba(248,215,148,0.4); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.f-links a:hover { color: rgba(248,215,148,0.75); }
.f-divider { border: none; border-top: 1px solid rgba(248,215,148,0.05); margin-bottom: 24px; }
.f-bottom { display: flex; justify-content: space-between; }
.f-copy { font-size: 11px; color: rgba(248,215,148,0.2); }

/* PAGE LOADER */
#page-loader {
  position: fixed; inset: 0; background: var(--night);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; transition: opacity 0.5s ease, visibility 0.5s ease;
}
#page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { position: relative; display: flex; align-items: center; justify-content: center; }
.loader-logo { height: 56px; width: auto; animation: loader-pulse 1.6s ease-in-out infinite; }
@keyframes loader-pulse { 0%,100%{opacity:0.6;transform:scale(0.97)} 50%{opacity:1;transform:scale(1.03)} }
.loader-ring {
  position: absolute; width: 92px; height: 92px;
  border: 1.5px solid rgba(187,104,48,0.15);
  border-top-color: var(--terracotta);
  border-radius: 50%; animation: loader-spin 1s linear infinite;
}
@keyframes loader-spin { to { transform: rotate(360deg); } }

/* WHATSAPP FAB */
.wa-fab { position: fixed; bottom: 24px; right: 24px; z-index: 200; width: 58px; height: 58px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 18px rgba(0,0,0,0.28); text-decoration: none; transition: transform 0.18s, box-shadow 0.18s; }
.wa-fab:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(0,0,0,0.38); }

/* HAMBURGER */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 4px; flex-shrink: 0;
}
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--sand); transition: transform 0.3s, opacity 0.3s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* MOBILE NAV */
.mobile-nav {
  position: fixed; inset: 0; background: var(--night); z-index: 99;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 24px;
  transform: translateY(-100%); transition: transform 0.38s cubic-bezier(0.22,1,0.36,1); pointer-events: none;
}
.mobile-nav.open { transform: translateY(0); pointer-events: all; }
.mobile-nav-links { list-style: none; text-align: center; margin-bottom: 32px; }
.mobile-nav-links a {
  font-family: 'Cormorant Garamond', serif; font-size: 40px; font-weight: 300;
  color: rgba(248,215,148,0.5); text-decoration: none; display: block; padding: 8px 0; transition: color 0.2s; line-height: 1.2;
}
.mobile-nav-links a:hover, .mobile-nav-links a.active { color: var(--sand); }
.mobile-nav-cta { background: var(--terracotta); color: var(--sand); padding: 14px 40px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border-radius: 2px; margin-bottom: 16px; }
.mobile-nav-phone { font-size: 14px; color: rgba(187,104,48,0.75); font-weight: 500; text-decoration: none; margin-top: 4px; }

/* RESPONSIVE */
@media (max-width: 1024px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px)  { .grid-3 { grid-template-columns: 1fr 1fr; } .grid-2 { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } .auth-img { display: none; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  {
  .nav-links, .nav-right { display: none; }
  .nav-hamburger { display: flex; }
  .section { padding: 56px 0; }
  .section-sm { padding: 40px 0; }
  .cta-section { padding: 64px 20px; }
  .hero-content { padding: 120px 20px 56px; }
  .hero-sub { font-size: 14px; }
  .hero-bg-desktop { display: none; }
  .hero-bg-mobile { display: block; }
  .statement-bg-desktop { display: none; }
  .statement-bg-mobile { display: block; }
  .statement { min-height: 400px; }
  .statement-content { padding: 0 20px 48px; margin-left: 0; }
  .sec-h2 { margin-bottom: 28px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .f-bottom { flex-direction: column; gap: 6px; align-items: center; text-align: center; }
  .hero-stats { gap: 28px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .btn-row { flex-direction: column; }
  .btn-primary, .btn-ghost, .btn-forest, .btn-dark { text-align: center; }
}
