/* ============================================================
   CACAGUATE — Main Stylesheet  (Light Mode — 2026)
   Design System, Core Styles & Components
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================
   CSS VARIABLES — Light Design Tokens
   ============================================================ */
:root {
  /* Surfaces */
  --bg:        #f5f5f7;
  --bg-white:  #ffffff;
  --bg-gray:   #f0f0f5;
  --bg-dark:   #111111;    /* hero, footer, CTA */
  --bg-dark2:  #1a1a1a;

  /* Text */
  --tx:        #1d1d1f;    /* primary text */
  --tx-2:      #3d3d3f;    /* secondary text */
  --tx-muted:  #6e6e73;    /* muted / caption */
  --tx-inv:    #f5f5f7;    /* text on dark */
  --tx-inv2:   rgba(245,245,247,0.65); /* muted on dark */

  /* Brand */
  --gold:      #C9973B;
  --gold-lt:   #E8B85D;
  --gold-dk:   #A67B2B;

  /* Borders */
  --b-lt:  rgba(0,0,0,0.07);
  --b-lt2: rgba(0,0,0,0.12);
  --b-dk:  rgba(255,255,255,0.07);
  --b-gold: rgba(201,151,59,0.3);

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Scale */
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1.0625rem;
  --fs-md:   1.1875rem;
  --fs-lg:   1.375rem;
  --fs-xl:   1.75rem;
  --fs-2xl:  2.25rem;
  --fs-3xl:  3.25rem;
  --fs-4xl:  4.5rem;
  --fs-hero: clamp(3rem, 8vw, 7.5rem);

  /* Spacing */
  --sp-1:  0.5rem;
  --sp-2:  1rem;
  --sp-3:  1.5rem;
  --sp-4:  2rem;
  --sp-6:  3rem;
  --sp-8:  4rem;
  --sp-12: 6rem;
  --sp-16: 8rem;
  --sp-24: 12rem;

  /* Motion */
  --ease:       cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out:   cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t:          0.4s var(--ease);
  --t-fast:     0.2s var(--ease);
  --t-slow:     0.8s var(--ease-out);

  /* Radius */
  --r-sm:   8px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   32px;
  --r-full: 9999px;

  /* Shadows (light mode) */
  --sh-xs:  0 1px 4px rgba(0,0,0,0.05);
  --sh-sm:  0 4px 20px rgba(0,0,0,0.07);
  --sh-md:  0 10px 40px rgba(0,0,0,0.09);
  --sh-lg:  0 24px 80px rgba(0,0,0,0.12);
  --sh-gold: 0 0 40px rgba(201,151,59,0.25);

  /* Backwards-compat aliases (used in HTML inline styles) */
  --c-gold:   var(--gold);
  --c-gold-light: var(--gold-lt);
  --c-muted:  var(--tx-muted);
  --c-muted-lt: var(--tx-muted);
  --c-dark:   var(--tx);
  --c-dark-3: var(--bg-gray);
  --c-black:  #1d1d1f;
  --c-white:  #ffffff;
  --b-dark:   var(--b-lt);
  --b-gold:   rgba(201,151,59,0.3);
  --shadow-lg: var(--sh-lg);
  --r-lg: 24px;
  --r-md: 16px;
  --r-full: 9999px;

  /* Layout */
  --nav-h:    68px;
  --container: 1200px;
  --container-wide: 1400px;
  --container-narrow: 860px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--tx);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { background: none; border: none; cursor: pointer; font-family: var(--font); }
input, textarea, select { font-family: var(--font); font-size: var(--fs-base); }

/* ============================================================
   LOADER
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-6);
  transition: opacity 0.8s var(--ease-out), visibility 0.8s var(--ease-out);
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__logo { width: 72px; height: 72px; border-radius: var(--r-md); animation: loader-pulse 1.8s ease-in-out infinite; }
.loader__progress { width: 180px; height: 2px; background: rgba(255,255,255,0.08); border-radius: var(--r-full); overflow: hidden; }
.loader__bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-lt)); border-radius: var(--r-full); animation: loader-bar 1.4s var(--ease-out) forwards; }
@keyframes loader-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(.95)} }
@keyframes loader-bar { 0%{width:0} 60%{width:80%} 100%{width:100%} }

/* ============================================================
   CONTAINERS & LAYOUT
   ============================================================ */
.container { width:100%; max-width:var(--container); margin:0 auto; padding:0 var(--sp-4); }
.container--wide   { max-width: var(--container-wide); }
.container--narrow { max-width: var(--container-narrow); }
.section    { padding: var(--sp-24) 0; }
.section--sm{ padding: var(--sp-12) 0; }

/* Section backgrounds — LIGHT by default */
.section--dark  { background: var(--bg-white); color: var(--tx); }
.section--dark2 { background: var(--bg);       color: var(--tx); }
.section--light { background: var(--bg-white); color: var(--tx); }
.section--white { background: var(--bg-white); color: var(--tx); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.eyebrow {
  font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: var(--sp-3);
}
.eyebrow--muted { color: var(--tx-muted); }

h1, .h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
h2, .h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 700; line-height: 1.1;  letter-spacing: -0.025em; }
h3, .h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; }
h4, .h4 { font-size: var(--fs-lg); font-weight: 600; line-height: 1.4; }

.lead        { font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 300; line-height: 1.7; color: var(--tx-muted); }
.lead--dark  { color: var(--tx-inv2); }
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--tx-muted); }
.text-center { text-align: center; }
.text-white  { color: #fff; }
.text-dark   { color: var(--tx); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 0.875rem 2rem; border-radius: var(--r-full);
  font-size: var(--fs-base); font-weight: 600; letter-spacing: -0.01em;
  transition: var(--t); white-space: nowrap; cursor: pointer;
  border: 2px solid transparent; position: relative; overflow: hidden;
}
.btn::before { content:''; position:absolute; inset:0; opacity:0; transition:opacity .3s ease; border-radius:inherit; }
.btn:hover::before { opacity: 1; }

.btn--primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: #fff; box-shadow: var(--sh-gold);
}
.btn--primary::before { background: linear-gradient(135deg, var(--gold-lt), var(--gold)); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(201,151,59,0.45); }

.btn--outline {
  border-color: rgba(255,255,255,0.3); color: #fff; background: transparent;
}
.btn--outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); transform: translateY(-2px); }

.btn--outline-dark {
  border-color: var(--b-lt2); color: var(--tx); background: transparent;
}
.btn--outline-dark:hover { border-color: var(--tx); background: rgba(0,0,0,0.04); transform: translateY(-2px); }

.btn--ghost { color: var(--gold); padding-left:0; padding-right:0; border-radius:0; gap: var(--sp-1); }
.btn--ghost::after { content:'→'; transition: transform .3s ease; }
.btn--ghost:hover::after { transform: translateX(4px); }

.btn--sm  { padding: 0.625rem 1.5rem; font-size: var(--fs-sm); }
.btn--lg  { padding: 1.125rem 2.75rem; font-size: var(--fs-md); }

.btn--whatsapp {
  background: #25D366; color: #fff;
  box-shadow: 0 4px 30px rgba(37,211,102,0.35);
}
.btn--whatsapp:hover { background: #20c55b; transform: translateY(-2px); box-shadow: 0 8px 40px rgba(37,211,102,0.45); }

/* ============================================================
   NAVIGATION — frosted white
   ============================================================ */
.nav {
  position: fixed; top:0; left:0; right:0; z-index: 1000;
  height: var(--nav-h); display: flex; align-items: center;
  transition: background 0.5s var(--ease), backdrop-filter 0.5s ease,
              box-shadow 0.5s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--b-lt);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

/* On dark sections (hero), nav text goes white */
.nav.on-dark .nav__logo,
.nav.on-dark .nav__link { color: rgba(255,255,255,0.9); }
.nav.on-dark .nav__link:hover { background: rgba(255,255,255,0.1); }
.nav.on-dark .nav__hamburger span { background: #fff; }

.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--sp-4);
}

.nav__logo {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.04em;
  color: var(--tx); transition: opacity var(--t-fast);
}
.nav__logo:hover { opacity: 0.7; }
.nav__logo-img { width:36px; height:36px; border-radius:8px; }

.nav__links { display: flex; align-items: center; gap: var(--sp-1); }

.nav__link {
  padding: 0.5rem 1rem; font-size: var(--fs-sm); font-weight: 500;
  color: rgba(29,29,31,0.8); border-radius: var(--r-full); transition: var(--t-fast);
}
.nav__link:hover, .nav__link.active {
  color: var(--tx); background: rgba(0,0,0,0.06);
}

.nav__cta { display: flex; align-items: center; gap: var(--sp-2); }

/* Hamburger */
.nav__hamburger { display:none; flex-direction:column; gap:5px; padding:8px; cursor:pointer; z-index:100; }
.nav__hamburger span { display:block; width:24px; height:2px; background:var(--tx); border-radius:2px; transition:var(--t); transform-origin:center; }
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity:0; transform:scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.nav__mobile {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px); flex-direction: column;
  align-items: center; justify-content: center; gap: var(--sp-3);
  opacity:0; visibility:hidden; transition: opacity .4s ease, visibility .4s ease;
}
.nav__mobile.open { display:flex; opacity:1; visibility:visible; }
.nav__mobile-link { font-size: var(--fs-2xl); font-weight:700; letter-spacing:-0.03em; color:var(--tx); transition: color var(--t-fast); }
.nav__mobile-link:hover { color: var(--gold); }
.nav__mobile-footer { position:absolute; bottom:var(--sp-8); display:flex; gap:var(--sp-4); font-size:var(--fs-sm); color:var(--tx-muted); }

/* ============================================================
   HERO — stays dark (static image background)
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--bg-dark);
}

.hero__bg { position: absolute; inset: 0; z-index: 0; }

/* Static photo background */
.hero__bg-img {
  position: absolute; inset:0;
  width:100%; height:100%; object-fit:cover;
  opacity: 0.45;
  transform: scale(1.04);
  transition: transform 8s ease-out;
  will-change: transform;
}
.hero:hover .hero__bg-img { transform: scale(1); }

.hero__bg-media {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.5;
}
.hero__bg-fallback {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #111 0%, #1a0e00 50%, #0a0a0a 100%);
}
.hero__bg-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(9,9,9,0.7) 0%, rgba(9,9,9,0.25) 40%, rgba(9,9,9,0.65) 100%);
}
.hero__bg-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4; pointer-events: none;
}

.hero__content {
  position: relative; z-index: 2;
  text-align: center; max-width: 1000px;
  padding: 0 var(--sp-4); padding-top: var(--nav-h);
}

.hero__eyebrow {
  font-size: var(--fs-sm); font-weight:600; letter-spacing:.2em;
  text-transform:uppercase; color:var(--gold);
  margin-bottom:var(--sp-4); display:block;
  opacity:0; transform:translateY(20px);
  animation: fade-up .8s var(--ease-out) .2s forwards;
}
.hero__title {
  font-size: var(--fs-hero); font-weight:900; line-height:1;
  letter-spacing:-0.04em; color:#fff;
  margin-bottom:var(--sp-4);
  opacity:0; transform:translateY(30px);
  animation: fade-up 1s var(--ease-out) .4s forwards;
}
.hero__title-accent {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero__subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem); font-weight:300; line-height:1.6;
  color: rgba(255,255,255,0.65); max-width:600px; margin:0 auto var(--sp-8);
  opacity:0; transform:translateY(20px);
  animation: fade-up .9s var(--ease-out) .6s forwards;
}
.hero__actions {
  display:flex; align-items:center; justify-content:center; gap:var(--sp-3); flex-wrap:wrap;
  opacity:0; transform:translateY(20px);
  animation: fade-up .8s var(--ease-out) .8s forwards;
}
.hero__scroll-indicator {
  position:absolute; bottom:var(--sp-6); left:50%; transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:var(--sp-1);
  opacity:0; animation: fade-in 1s ease 1.2s forwards;
}
.hero__scroll-text { font-size:var(--fs-xs); font-weight:500; letter-spacing:.15em; text-transform:uppercase; color:rgba(255,255,255,0.4); }
.hero__scroll-line { width:1px; height:40px; background:linear-gradient(to bottom, rgba(255,255,255,0.4), transparent); animation: scroll-line 2s ease-in-out infinite; }
@keyframes scroll-line { 0%{opacity:0;transform:scaleY(0);transform-origin:top} 50%{opacity:1;transform:scaleY(1);transform-origin:top} 100%{opacity:0;transform:scaleY(1);transform-origin:bottom} }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { text-align:center; margin-bottom:var(--sp-12); }
.section-header--left { text-align:left; }
.section-header__title { margin-bottom:var(--sp-3); color: var(--tx); }
.section-header__desc { max-width:560px; margin:0 auto; font-size:var(--fs-md); color:var(--tx-muted); line-height:1.7; }
.section-header--left .section-header__desc { margin:0; }

/* ============================================================
   INTRO SECTION — light
   ============================================================ */
.intro { background: var(--bg-white); padding: var(--sp-24) 0; }
.intro__inner { display:grid; grid-template-columns:1fr 1fr; gap:var(--sp-16); align-items:center; }
.intro__label { font-size:var(--fs-sm); font-weight:600; letter-spacing:.15em; text-transform:uppercase; color:var(--gold); margin-bottom:var(--sp-4); display:block; }
.intro__title { font-size:clamp(2rem, 4vw, 3.25rem); font-weight:800; line-height:1.1; letter-spacing:-0.03em; margin-bottom:var(--sp-6); color: var(--tx); }
.intro__text { font-size:var(--fs-md); color:var(--tx-muted); line-height:1.8; margin-bottom:var(--sp-6); }

.intro__stats { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--sp-4); margin-top:var(--sp-8); }
.intro__stat-num {
  font-size:var(--fs-3xl); font-weight:800; letter-spacing:-0.04em;
  background:linear-gradient(135deg, var(--gold), var(--gold-lt));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
  display:block; line-height:1; margin-bottom:var(--sp-1);
}
.intro__stat-label { font-size:var(--fs-sm); color:var(--tx-muted); font-weight:400; }

.intro__visual { position:relative; }
.intro__img-main {
  width:100%; aspect-ratio:4/5; border-radius:var(--r-lg);
  object-fit:cover; display:block;
  box-shadow: var(--sh-lg);
}
.intro__img-accent {
  position:absolute; bottom:-20px; right:-20px;
  width:45%; aspect-ratio:1; border-radius:var(--r-md);
  overflow:hidden; border:4px solid var(--bg); box-shadow:var(--sh-lg);
}
.intro__img-accent img { width:100%; height:100%; object-fit:cover; }

/* ============================================================
   SERVICES SECTION — light gray bg
   ============================================================ */
.services { background: var(--bg-white); padding: var(--sp-24) 0; }
.services__grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:0;
  border: 1px solid var(--b-lt); border-radius: var(--r-xl); overflow:hidden;
  box-shadow: var(--sh-md);
}

.service-card {
  background: var(--bg-white);
  border-right: 1px solid var(--b-lt);
  border-bottom: 1px solid var(--b-lt);
  padding: var(--sp-8) var(--sp-6);
  position: relative; overflow: hidden;
  transition: var(--t); cursor: pointer;
  counter-increment: service-counter;
}
.service-card:nth-child(3n) { border-right: none; }
.service-card:nth-last-child(-n+3) { border-bottom: none; }

.service-card::before {
  content: counter(service-counter, decimal-leading-zero);
  position: absolute; top: var(--sp-4); right: var(--sp-4);
  font-size: 3.5rem; font-weight: 900; letter-spacing: -0.06em;
  color: var(--b-lt2); line-height: 1;
  transition: color var(--t);
}
.service-card:hover::before { color: rgba(201,151,59,0.12); }

.service-card::after {
  content:''; position:absolute; inset:0;
  background: linear-gradient(135deg, rgba(201,151,59,0.04), transparent 60%);
  opacity:0; transition: opacity .4s ease;
}
.service-card:hover { background: #fefcf8; }
.service-card:hover::after { opacity:1; }

/* top accent bar on hover */
.service-card__accent {
  position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg, var(--gold), var(--gold-lt));
  transform:scaleX(0); transform-origin:left;
  transition:transform .4s var(--ease-out);
}
.service-card:hover .service-card__accent { transform:scaleX(1); }

.services__grid { counter-reset: service-counter; }

.service-card__icon {
  width:52px; height:52px; background:rgba(201,151,59,0.07);
  border-radius:var(--r-sm); display:flex; align-items:center; justify-content:center;
  margin-bottom:var(--sp-4); font-size:1.4rem; transition:var(--t);
  border:1px solid rgba(201,151,59,0.12); position:relative; z-index:1;
}
.service-card:hover .service-card__icon {
  background:rgba(201,151,59,0.14);
  border-color:rgba(201,151,59,0.35);
  transform: scale(1.08);
}
.service-card__title {
  font-size:var(--fs-xl); font-weight:700; letter-spacing:-0.02em;
  margin-bottom:var(--sp-2); color:var(--tx); position:relative; z-index:1;
}
.service-card__desc {
  font-size:var(--fs-base); color:var(--tx-muted);
  line-height:1.75; margin-bottom:var(--sp-4); position:relative; z-index:1;
}
.service-card__link {
  font-size:var(--fs-sm); font-weight:700; color:var(--gold);
  display:inline-flex; align-items:center; gap:6px;
  transition:gap var(--t-fast); position:relative; z-index:1;
  letter-spacing:.02em;
}
.service-card:hover .service-card__link { gap:10px; }

/* ============================================================
   STATS BAR — white
   ============================================================ */
.stats-bar {
  background: var(--bg-white);
  border-top: 1px solid var(--b-lt);
  border-bottom: 1px solid var(--b-lt);
  padding: var(--sp-12) 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.stats-bar__inner { display:grid; grid-template-columns:repeat(4,1fr); gap:var(--sp-4); text-align:center; }

.stat-item { padding:var(--sp-4); position:relative; }
.stat-item:not(:last-child)::after {
  content:''; position:absolute; right:0; top:20%; bottom:20%;
  width:1px; background: var(--b-lt2);
}
.stat-item__num {
  font-size:clamp(2.5rem, 4vw, 3.5rem); font-weight:900; letter-spacing:-0.04em; line-height:1;
  margin-bottom:var(--sp-1); color: var(--tx);
}
.stat-item__num span { color: var(--gold); }
.stat-item__label { font-size:var(--fs-sm); color:var(--tx-muted); font-weight:500; letter-spacing:.03em; }

/* ============================================================
   PORTFOLIO PREVIEW — white
   ============================================================ */
.portfolio-preview { background: var(--bg-white); padding: var(--sp-24) 0; }
.portfolio-preview .section-header__desc { color: var(--tx-muted); }

.portfolio-grid { display:grid; grid-template-columns:repeat(12,1fr); gap:var(--sp-3); }
.portfolio-item { border-radius:var(--r-md); overflow:hidden; position:relative; cursor:pointer; }
.portfolio-item:nth-child(1) { grid-column:span 7; }
.portfolio-item:nth-child(2) { grid-column:span 5; }
.portfolio-item:nth-child(3),
.portfolio-item:nth-child(4),
.portfolio-item:nth-child(5) { grid-column:span 4; }

.portfolio-item__media {
  width:100%; aspect-ratio:16/10; object-fit:cover;
  transition:transform .7s var(--ease-out); display:block;
}
.portfolio-item:nth-child(1) .portfolio-item__media,
.portfolio-item:nth-child(2) .portfolio-item__media { aspect-ratio:4/3; }
.portfolio-item:hover .portfolio-item__media { transform:scale(1.05); }

.portfolio-item__overlay {
  position:absolute; inset:0;
  background:linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  opacity:0; transition:opacity .4s ease;
  display:flex; align-items:flex-end; padding:var(--sp-4);
}
.portfolio-item:hover .portfolio-item__overlay { opacity:1; }
.portfolio-item__info h4 { color:#fff; font-size:var(--fs-lg); font-weight:700; letter-spacing:-0.02em; }
.portfolio-item__info p  { color:rgba(255,255,255,0.7); font-size:var(--fs-sm); }

.portfolio-preview__cta { text-align:center; margin-top:var(--sp-8); }

/* ============================================================
   CLIENTS — white
   ============================================================ */
.clients { background: var(--bg-white); padding: var(--sp-16) 0; border-top: 1px solid var(--b-lt); border-bottom: 1px solid var(--b-lt); }
.clients__label { text-align:center; font-size:var(--fs-sm); font-weight:600; letter-spacing:.15em; text-transform:uppercase; color:var(--tx-muted); margin-bottom:var(--sp-8); }
.clients__logos { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:var(--sp-6) var(--sp-8); }
.client-logo { height:36px; opacity:0.35; transition:opacity var(--t); display:flex; align-items:center; filter:none; }
.client-logo:hover { opacity:0.8; }
.client-logo__text { font-size:var(--fs-xl); font-weight:800; letter-spacing:-0.03em; color:var(--tx-2); font-style:italic; }

/* ============================================================
   TESTIMONIALS — light gray
   ============================================================ */
.testimonials { background: var(--bg); padding: var(--sp-24) 0; }

.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--b-lt);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  position: relative;
  box-shadow: var(--sh-sm);
}
.testimonial-card__quote {
  font-size:var(--fs-xl); line-height:1.6; font-weight:300; color:var(--tx); margin-bottom:var(--sp-6); position:relative;
}
.testimonial-card__quote::before {
  content:'"'; font-size:5rem; line-height:1; color:var(--gold); opacity:.15;
  position:absolute; top:-1rem; left:-.5rem; font-family:Georgia,serif;
}
.testimonial-card__author { display:flex; align-items:center; gap:var(--sp-3); }
.testimonial-card__avatar { width:52px; height:52px; border-radius:50%; overflow:hidden; flex-shrink:0; border:2px solid var(--b-gold); }
.testimonial-card__avatar img { width:100%; height:100%; object-fit:cover; }
.testimonial-card__name { font-weight:700; font-size:var(--fs-base); color:var(--tx); margin-bottom:2px; }
.testimonial-card__role { font-size:var(--fs-sm); color:var(--tx-muted); }
.testimonial-card__stars { margin-top:var(--sp-4); color:var(--gold); font-size:var(--fs-md); letter-spacing:2px; }

/* ============================================================
   CTA SECTION — light, bold
   ============================================================ */
.cta-section {
  background: #f9f7f4; padding: var(--sp-24) 0;
  position: relative; overflow: hidden;
  border-top: 1px solid var(--b-lt);
}
.cta-section::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse at 50% -20%, rgba(201,151,59,0.10) 0%, transparent 65%);
  pointer-events:none;
}
.cta-section::after {
  content:''; position:absolute;
  top:0; left:50%; transform:translateX(-50%);
  width:120px; height:3px;
  background:linear-gradient(90deg, var(--gold), var(--gold-lt));
  border-radius:0 0 var(--r-full) var(--r-full);
}
.cta-section__inner { text-align:center; position:relative; }
.cta-section__eyebrow { display:block; font-size:var(--fs-sm); font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:var(--gold); margin-bottom:var(--sp-4); }
.cta-section__title { font-size:clamp(2.75rem, 6vw, 5.5rem); font-weight:900; letter-spacing:-0.04em; line-height:1; margin-bottom:var(--sp-4); color:var(--tx); }
.cta-section__desc { font-size:var(--fs-lg); color:var(--tx-muted); max-width:520px; margin:0 auto var(--sp-8); line-height:1.7; }
.cta-section__actions { display:flex; align-items:center; justify-content:center; gap:var(--sp-3); flex-wrap:wrap; }

/* ============================================================
   NEWSLETTER — white
   ============================================================ */
.newsletter {
  background: var(--bg-white);
  border-top: 1px solid var(--b-lt);
  border-bottom: 1px solid var(--b-lt);
  padding: var(--sp-12) 0;
}
.newsletter__inner { display:flex; align-items:center; justify-content:space-between; gap:var(--sp-8); }
.newsletter__title { font-size:var(--fs-xl); font-weight:700; letter-spacing:-0.02em; margin-bottom:var(--sp-1); color:var(--tx); }
.newsletter__desc  { font-size:var(--fs-base); color:var(--tx-muted); }
.newsletter__form  { display:flex; gap:var(--sp-2); flex:1; max-width:480px; }
.newsletter__input {
  flex:1; padding:.875rem 1.5rem; border-radius:var(--r-full);
  background: var(--bg); border:1.5px solid var(--b-lt);
  color:var(--tx); font-size:var(--fs-base); transition:border-color var(--t-fast); outline:none;
}
.newsletter__input::placeholder { color:var(--tx-muted); }
.newsletter__input:focus { border-color:var(--gold); background: var(--bg-white); }

/* ============================================================
   CONTACT FORM — white
   ============================================================ */
.contact-section { background: var(--bg); padding: var(--sp-24) 0; }
.contact-section .section-header__desc { color: var(--tx-muted); }

.contact-layout { display:grid; grid-template-columns:1fr 1.2fr; gap:var(--sp-16); align-items:start; }

.contact-info__title { font-size:var(--fs-2xl); font-weight:800; letter-spacing:-0.03em; margin-bottom:var(--sp-4); color:var(--tx); }
.contact-info__desc  { font-size:var(--fs-md); color:var(--tx-muted); line-height:1.7; margin-bottom:var(--sp-8); }
.contact-info__items { display:flex; flex-direction:column; gap:var(--sp-4); }
.contact-info__item  { display:flex; align-items:flex-start; gap:var(--sp-3); }
.contact-info__item-icon {
  width:44px; height:44px; background:rgba(201,151,59,.08); border:1px solid rgba(201,151,59,.2);
  border-radius:var(--r-md); display:flex; align-items:center; justify-content:center; font-size:1.25rem; flex-shrink:0;
}
.contact-info__item-label { font-size:var(--fs-xs); font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--tx-muted); margin-bottom:4px; }
.contact-info__item-value { font-size:var(--fs-base); font-weight:600; color:var(--tx); transition:color var(--t-fast); }
.contact-info__item a:hover .contact-info__item-value { color:var(--gold); }

.contact-form {
  background: var(--bg-white); border-radius:var(--r-xl);
  padding: var(--sp-8); box-shadow: var(--sh-md);
  border: 1px solid var(--b-lt);
}
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:var(--sp-3); }
.form-group { margin-bottom:var(--sp-4); }
.form-label { display:block; font-size:var(--fs-sm); font-weight:600; color:var(--tx); margin-bottom:var(--sp-1); }
.form-control {
  width:100%; padding:.875rem 1.25rem;
  border:1.5px solid var(--b-lt); border-radius:var(--r-md);
  background:var(--bg); color:var(--tx);
  font-size:var(--fs-base);
  transition:border-color var(--t-fast), box-shadow var(--t-fast); outline:none;
}
.form-control::placeholder { color:var(--tx-muted); opacity:.7; }
.form-control:focus { border-color:var(--gold); box-shadow:0 0 0 3px rgba(201,151,59,.12); background:var(--bg-white); }
textarea.form-control { resize:vertical; min-height:140px; }
.form-submit { width:100%; }
.form-message { display:none; padding:var(--sp-3) var(--sp-4); border-radius:var(--r-md); font-size:var(--fs-sm); font-weight:500; margin-top:var(--sp-3); }
.form-message.success { display:block; background:rgba(37,211,102,.1); border:1px solid rgba(37,211,102,.3); color:#16a34a; }
.form-message.error   { display:block; background:rgba(239,68,68,.1);  border:1px solid rgba(239,68,68,.3);  color:#dc2626; }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position:fixed; bottom:var(--sp-6); right:var(--sp-6); z-index:900;
  display:flex; align-items:center; gap:var(--sp-2);
  background:#25D366; color:#fff; padding:1rem 1.5rem; border-radius:var(--r-full);
  font-size:var(--fs-sm); font-weight:700;
  box-shadow:0 4px 30px rgba(37,211,102,0.4);
  transition:var(--t); text-decoration:none;
  animation: whatsapp-pulse 3s ease-in-out infinite;
}
.whatsapp-float:hover { transform:translateY(-4px) scale(1.03); box-shadow:0 8px 40px rgba(37,211,102,0.55); animation:none; }
.whatsapp-float svg { width:24px; height:24px; fill:currentColor; flex-shrink:0; }
@keyframes whatsapp-pulse { 0%,100%{box-shadow:0 4px 30px rgba(37,211,102,0.4)} 50%{box-shadow:0 4px 50px rgba(37,211,102,0.65)} }

/* ============================================================
   FOOTER — stays dark
   ============================================================ */
.footer { background:var(--bg-dark2); border-top:1px solid var(--b-dk); padding:var(--sp-16) 0 var(--sp-6); color:var(--tx-inv); }
.footer__top { display:grid; grid-template-columns:1.5fr repeat(3,1fr); gap:var(--sp-8); margin-bottom:var(--sp-12); }
.footer__brand-name { font-size:var(--fs-2xl); font-weight:900; letter-spacing:-0.04em; color:#fff; margin-bottom:var(--sp-2); }
.footer__brand-desc { font-size:var(--fs-sm); color:var(--tx-inv2); line-height:1.7; max-width:280px; margin-bottom:var(--sp-4); }
.footer__socials { display:flex; gap:var(--sp-2); }
.footer__social {
  width:40px; height:40px; background:rgba(255,255,255,0.06); border:1px solid var(--b-dk);
  border-radius:var(--r-md); display:flex; align-items:center; justify-content:center;
  color:var(--tx-inv2); font-size:1rem; transition:var(--t-fast);
}
.footer__social:hover { background:var(--gold); border-color:var(--gold); color:#fff; }
.footer__col-title { font-size:var(--fs-sm); font-weight:700; color:#fff; letter-spacing:.08em; text-transform:uppercase; margin-bottom:var(--sp-4); }
.footer__links { display:flex; flex-direction:column; gap:var(--sp-2); }
.footer__link { font-size:var(--fs-sm); color:var(--tx-inv2); transition:color var(--t-fast); }
.footer__link:hover { color:#fff; }
.footer__bottom { display:flex; align-items:center; justify-content:space-between; padding-top:var(--sp-6); border-top:1px solid var(--b-dk); gap:var(--sp-4); flex-wrap:wrap; }
.footer__copy { font-size:var(--fs-sm); color:var(--tx-inv2); }
.footer__legal { display:flex; gap:var(--sp-4); }
.footer__legal-link { font-size:var(--fs-sm); color:var(--tx-inv2); transition:color var(--t-fast); }
.footer__legal-link:hover { color:#fff; }

/* ============================================================
   PAGE HEADER — light with gold accent
   ============================================================ */
.page-header {
  background: var(--bg-white);
  padding: calc(var(--nav-h) + var(--sp-16)) 0 var(--sp-16);
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--b-lt);
}
.page-header::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse at 50% -20%, rgba(201,151,59,0.07) 0%, transparent 65%);
  pointer-events:none;
}
.page-header::after {
  content:''; position:absolute;
  top:0; left:0; right:0; height:3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-lt), var(--gold), transparent);
}
.page-header__inner { text-align:center; position:relative; }
.page-header__title {
  font-size:clamp(3rem, 6vw, 6rem); font-weight:900;
  letter-spacing:-0.04em; line-height:1;
  margin-bottom:var(--sp-4); color:var(--tx);
}
.page-header__desc {
  font-size:var(--fs-lg); color:var(--tx-muted);
  max-width:560px; margin:0 auto; line-height:1.7;
}

/* ============================================================
   GLASS CARD
   ============================================================ */
.glass-card {
  background:rgba(255,255,255,0.6); border:1px solid rgba(255,255,255,0.8);
  backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); border-radius:var(--r-lg);
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position:fixed; bottom:var(--sp-4); left:var(--sp-4); right:var(--sp-4); max-width:560px;
  background:var(--bg-white); border:1px solid var(--b-lt); border-radius:var(--r-lg);
  padding:var(--sp-4) var(--sp-6); z-index:950; display:flex; align-items:center; gap:var(--sp-4);
  box-shadow:var(--sh-lg); transition:transform .5s var(--ease-out), opacity .5s ease;
}
.cookie-banner.hidden { transform:translateY(120%); opacity:0; pointer-events:none; }
.cookie-banner__text { font-size:var(--fs-sm); color:var(--tx-muted); line-height:1.6; flex:1; }
.cookie-banner__text a { color:var(--gold); }
.cookie-banner__actions { display:flex; gap:var(--sp-2); flex-shrink:0; }

/* ============================================================
   IMG PLACEHOLDER (until real images)
   ============================================================ */
.img-placeholder {
  width:100%; height:100%; border-radius:inherit;
  display:flex; align-items:center; justify-content:center;
  font-size:var(--fs-sm); color:var(--tx-muted); font-weight:500;
  background:var(--bg-gray); position:relative; overflow:hidden;
}
.img-placeholder::before { content:''; position:absolute; inset:0; background:linear-gradient(135deg, rgba(201,151,59,.04), transparent); }

/* ============================================================
   UTILS & REVEAL CLASSES
   ============================================================ */
.hidden { display:none !important; }
.reveal       { opacity:0; transform:translateY(40px); }
.reveal-left  { opacity:0; transform:translateX(-50px); }
.reveal-right { opacity:0; transform:translateX(50px); }
.reveal-scale { opacity:0; transform:scale(0.92); }

@keyframes fade-up { to { opacity:1; transform:translateY(0); } }
@keyframes fade-in { to { opacity:1; } }
