/* =============================================================
   GC Business Group — styles.css
   Arquetipo: editorial de lujo (destilados) · negro, oro, crema
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --ink: #0c0a08;
  --ink-2: #14100c;
  --char: #1c1712;
  --line-dark: rgba(212, 162, 70, .22);
  --gold: #d4a246;
  --gold-hi: #ecc77e;
  --gold-lo: #9c7222;
  --amber: #c06a1c;
  --cream: #f5ede1;
  --cream-2: #ede2d1;
  --paper-ink: #17120d;
  --muted-dark: #6b5d4d;
  --muted-light: rgba(245, 237, 225, .66);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --maxw: 1360px;
  --nav-h: 84px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--cream);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
address { font-style: normal; }
p { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance; }
em { font-style: italic; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: var(--gold); color: var(--ink); font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120;
  background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi));
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}

/* =============================================================
   4. Typography helpers
   ============================================================= */
.eyebrow {
  display: inline-flex; align-items: center; gap: .8rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow-dark { color: var(--gold-lo); }
.eyebrow-num {
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; letter-spacing: 0;
  padding-right: .8rem; border-right: 1px solid currentColor; line-height: 1;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(212,162,70,.18); }

.section-title { font-size: clamp(2.5rem, 4.6vw, 4.2rem); }
.section-title em { color: var(--gold-lo); }

.gold-rule {
  display: block; width: 88px; height: 2px; margin: 1.6rem 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-hi));
  transform-origin: 0 50%;
}
.gold-rule-center { margin-inline: auto; transform-origin: 50% 50%; }

/* =============================================================
   5. Components
   ============================================================= */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .9rem;
  padding: 1.05rem 1.8rem; font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease-out), border-color .5s var(--ease-out), transform .4s var(--ease-out);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .5s var(--ease-out); }
.btn:hover svg { transform: translateX(5px); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform .55s var(--ease-out);
}
.btn:hover::before { transform: scaleY(1); }

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold::before { background: var(--cream); }

.btn-outline { border: 1.5px solid var(--gold); color: var(--cream); }
.btn-outline::before { background: var(--gold); }
.btn-outline:hover { color: var(--ink); }

.btn-link {
  position: relative; font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--cream);
  padding-bottom: 4px;
}
.btn-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold);
  transform-origin: 100% 50%; transition: transform .5s var(--ease-out);
}
.btn-link:hover::after { transform: scaleX(0); }

/* ---------- Placeholders de imagen ---------- */
.ph { position: absolute; inset: 0; overflow: hidden; background: var(--char); }
.ph-tag {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 3;
  padding: .35rem .7rem; font-size: .6rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-hi); background: rgba(12,10,8,.55); border: 1px dashed rgba(212,162,70,.55);
  backdrop-filter: blur(4px);
}

.ph-hero {
  background:
    radial-gradient(ellipse 60% 40% at 78% 58%, rgba(255,196,110,.55), transparent 70%),
    linear-gradient(180deg, #120b08 0%, #2b150c 22%, #6b2f12 44%, #c3621d 58%, #e99a45 64%, #3a1e10 70%, #120c08 100%);
}
.ph-sun {
  position: absolute; left: 76%; top: 52%; width: 9vw; height: 9vw; min-width: 70px; min-height: 70px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #fff3d6 0%, #ffd58a 40%, rgba(255,170,70,0) 72%);
  filter: blur(2px);
}
.ph-volcano { position: absolute; left: 0; right: 0; bottom: 24%; width: 100%; height: 30%; color: #3a2318; opacity: .9; }
.ph-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 32%;
  background:
    repeating-linear-gradient(100deg, rgba(40,58,52,.0) 0 18px, rgba(40,58,52,.35) 18px 22px),
    linear-gradient(180deg, #1a1410 0%, #0d0c0a 100%);
}
.ph-agave { position: absolute; right: -4%; bottom: -2%; width: min(52vw, 760px); z-index: 2; color: #13201d; filter: drop-shadow(0 -6px 30px rgba(233,154,69,.25)); }

.ph-card { transition: transform 1.2s var(--ease-out); }
.ph-glass {
  background:
    radial-gradient(ellipse 18% 30% at 70% 58%, rgba(236,170,80,.85), rgba(160,90,20,.4) 55%, transparent 70%),
    radial-gradient(ellipse 80% 60% at 30% 100%, #1e2a24, transparent 70%),
    linear-gradient(160deg, #2a1a10, #0f0b08);
}
.ph-hands {
  background:
    radial-gradient(ellipse 30% 18% at 50% 55%, rgba(220,170,120,.45), transparent 70%),
    linear-gradient(120deg, #0b0a09 0%, #1d1a17 45%, #2b2622 55%, #0d0c0b 100%);
}
.ph-port {
  background:
    repeating-linear-gradient(90deg, rgba(120,40,30,.55) 0 22px, rgba(30,60,80,.55) 22px 44px, rgba(150,90,30,.5) 44px 66px) 0 72% / 100% 26% no-repeat,
    linear-gradient(180deg, #2a160d 0%, #a2501c 50%, #e59a43 66%, #1a100a 100%);
}
.ph-city {
  background:
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(0,0,0,.55) 34px 38px),
    linear-gradient(0deg, rgba(10,8,6,.95) 0 26%, transparent 26%),
    linear-gradient(180deg, #6e7c86 0%, #c5b49a 55%, #3a3330 100%);
}
.ph-portrait {
  display: grid; place-items: center;
  background:
    radial-gradient(ellipse 50% 40% at 50% 38%, rgba(212,162,70,.16), transparent 70%),
    linear-gradient(170deg, #241d16, #0f0c09);
}
.ph-initials { font-family: var(--serif); font-style: italic; font-size: clamp(4rem, 9vw, 7.5rem); color: rgba(212,162,70,.28); letter-spacing: .02em; }
.ph-barrels {
  background:
    radial-gradient(ellipse 50% 70% at 0% 50%, rgba(192,106,28,.35), transparent 70%),
    linear-gradient(90deg, #2a170b 0%, #1a0f08 40%, #0c0805 100%);
}
.barrel {
  position: absolute; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 38%, rgba(0,0,0,.5) 39%, transparent 41%, transparent 58%, rgba(0,0,0,.45) 59%, transparent 61%),
    radial-gradient(circle at 40% 40%, #8a5426, #4a2a12 60%, #23140a);
  box-shadow: inset 0 0 0 10px #1a0f07, inset 0 0 0 13px #6b6156;
}
.b1 { width: 34vw; height: 34vw; max-width: 460px; max-height: 460px; left: -8vw; top: 50%; transform: translateY(-50%); }
.b2 { width: 22vw; height: 22vw; max-width: 300px; max-height: 300px; left: 18vw; top: -4vw; opacity: .7; }
.b3 { width: 22vw; height: 22vw; max-width: 300px; max-height: 300px; left: 20vw; bottom: -8vw; opacity: .6; }

/* =============================================================
   6. Sections
   ============================================================= */

/* ---------- Splash ---------- */
.splash {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--ink);
  animation: splashFailsafe .8s var(--ease-out) 4s forwards; /* red de seguridad sin JS */
}
.splash.is-done { opacity: 0; visibility: hidden; transition: opacity .9s var(--ease-out), visibility 0s linear .9s; }
@keyframes splashFailsafe { to { opacity: 0; visibility: hidden; } }
.splash-mark { display: grid; justify-items: center; gap: 1rem; }
.splash-gc {
  font-family: var(--serif); font-size: clamp(4rem, 10vw, 7rem); line-height: .9; color: var(--gold);
  background: linear-gradient(100deg, var(--gold-lo) 20%, var(--gold-hi) 50%, var(--gold-lo) 80%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 2.2s var(--ease-soft) infinite, fadeUp 1s var(--ease-out) both;
}
.splash-line { width: 120px; height: 1px; background: var(--gold); transform-origin: 50%; animation: grow 1.2s var(--ease-out) .3s both; }
.splash-sub { font-size: .66rem; letter-spacing: .4em; text-transform: uppercase; color: var(--muted-light); animation: fadeUp 1s var(--ease-out) .5s both; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  transition: background .5s var(--ease-out), height .5s var(--ease-out), border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  --nav-h: 68px;
  background: rgba(12, 10, 8, .92);
  border-bottom-color: var(--line-dark);
}
@supports (backdrop-filter: blur(1px)) {
  .nav.is-scrolled { background: rgba(12, 10, 8, .88); backdrop-filter: blur(14px) saturate(1.2); }
}
.ph-card .ph-tag { bottom: auto; top: 1rem; }
.ph-hero .ph-tag { left: auto; right: var(--gutter); bottom: auto; top: calc(var(--nav-h) + 1.5rem); }
@supports (gap: 1px) {
}
.nav.is-hidden { transform: translateY(-100%); }
.nav { transition: transform .5s var(--ease-out), background .5s var(--ease-out), height .5s var(--ease-out), border-color .5s; }
.nav-inner {
  height: 100%; max-width: 1500px; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 2rem;
}
.brand { display: flex; align-items: center; gap: 1rem; margin-right: auto; }
.brand-gc { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--gold); letter-spacing: -.02em; transition: font-size .5s var(--ease-out); }
.nav.is-scrolled .brand-gc { font-size: 2.1rem; }
.brand-rule { width: 1px; height: 38px; background: var(--gold); opacity: .7; }
.brand-text { display: grid; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; text-transform: uppercase; letter-spacing: .04em; color: var(--gold-hi); }
.brand-sub { font-size: .55rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--muted-light); }

.nav-links { display: none; gap: 2rem; }
.nav-links a { position: relative; font-size: .82rem; color: rgba(245,237,225,.85); padding: .4rem 0; transition: color .3s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease-out);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--gold-hi); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }

.lang { display: flex; align-items: center; gap: .6rem; }
.lang-btn { font-size: .78rem; font-weight: 600; letter-spacing: .1em; color: rgba(245,237,225,.6); transition: color .3s; padding: .3rem .1rem; }
.lang-btn.is-active, .lang-btn:hover { color: var(--gold); }
.lang-sep { width: 1px; height: 14px; background: rgba(245,237,225,.35); }

.burger { width: 40px; height: 40px; display: grid; place-content: center; gap: 7px; }
.burger span { display: block; width: 26px; height: 1.5px; background: var(--cream); transition: transform .5s var(--ease-out); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* Menú móvil */
.nav.is-open .nav-links {
  display: flex; flex-direction: column; justify-content: center; gap: 1.2rem;
  position: fixed; inset: 0; z-index: -1; padding: var(--gutter); padding-top: 6rem;
  background: var(--ink);
}
.nav.is-open .nav-links a { font-family: var(--serif); font-size: 2.3rem; color: var(--cream); animation: fadeUp .7s var(--ease-out) both; }
.nav.is-open .nav-links a:nth-child(2) { animation-delay: .05s; } .nav.is-open .nav-links a:nth-child(3) { animation-delay: .1s; }
.nav.is-open .nav-links a:nth-child(4) { animation-delay: .15s; } .nav.is-open .nav-links a:nth-child(5) { animation-delay: .2s; }
.nav.is-open .nav-links a:nth-child(6) { animation-delay: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; overflow: clip; }
.hero-media { position: absolute; inset: -8% 0 0 0; }
.hero-shade {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(90deg, rgba(12,10,8,.9) 0%, rgba(12,10,8,.55) 42%, rgba(12,10,8,0) 72%),
    linear-gradient(180deg, rgba(12,10,8,.75) 0%, transparent 22%, transparent 70%, rgba(12,10,8,.95) 100%);
}
.hero-content { position: relative; z-index: 3; align-self: center; padding-top: calc(var(--nav-h) + 3rem); padding-bottom: 3rem; }
.hero-eyebrow { margin-bottom: 2rem; }
.hero-title { font-size: clamp(2.6rem, 5.4vw, 5.8rem); font-weight: 500; }
@media (min-width: 720px) { .hero-title .line > span { white-space: nowrap; } }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .line > span { display: block; }
.hero-sub {
  margin-top: 1.4rem; font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.8vw, 2.6rem); line-height: 1.15;
  background: linear-gradient(100deg, var(--gold) 0%, var(--gold-hi) 45%, var(--gold) 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-rule { margin: 2rem 0 1.4rem; width: 110px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: .3rem 0; font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(245,237,225,.88); }
.hero-tags li:not(:last-child)::after { content: "·"; margin: 0 .8rem; color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem 2.4rem; margin-top: 2.8rem; }

.hero-foot {
  position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 1.8rem; font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(245,237,225,.5);
}
.scroll-cue { width: 26px; height: 44px; border: 1px solid rgba(212,162,70,.6); border-radius: 14px; display: grid; justify-items: center; padding-top: 8px; }
.scroll-cue span { width: 2px; height: 8px; background: var(--gold); border-radius: 2px; animation: cue 2s var(--ease-out) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--gold); color: var(--ink); padding: 1.1rem 0; border-block: 1px solid var(--gold-lo); }
.marquee-track { display: flex; align-items: center; gap: 2.4rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 2.1rem); white-space: nowrap; }
.marquee-track i { font-style: normal; font-size: .9rem; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about { background: var(--cream); color: var(--paper-ink); padding-block: clamp(5rem, 11vw, 10rem); position: relative; }
.about::before {
  content: "GC"; position: absolute; right: -2vw; top: 50%; transform: translateY(-50%);
  font-family: var(--serif); font-size: clamp(14rem, 34vw, 34rem); line-height: .8; color: rgba(156,114,34,.07); pointer-events: none;
}
.about-grid { position: relative; display: grid; gap: 2.4rem; }
.about-statement { font-size: clamp(2rem, 4.2vw, 3.9rem); font-weight: 400; line-height: 1.1; max-width: 26ch; }
.about-statement em { color: var(--gold-lo); }
.about-cols { display: grid; gap: 1.6rem; max-width: 900px; color: var(--muted-dark); font-size: 1.02rem; }

/* ---------- Services ---------- */
.services { background: var(--cream-2); color: var(--paper-ink); padding-block: clamp(5rem, 9vw, 8rem); }
.services-grid { display: grid; gap: 3rem; }
.services-intro .section-title { margin-top: 1.2rem; }
.services-lead { font-family: var(--serif); font-size: clamp(1.25rem, 1.6vw, 1.45rem); line-height: 1.4; color: #3a2e22; max-width: 34ch; }
.cards { display: grid; gap: 1.2rem; }
.card {
  position: relative; background: var(--ink); color: var(--cream); overflow: hidden;
  transform-style: preserve-3d; transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
  box-shadow: 0 1px 0 rgba(0,0,0,.05);
}
.card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--ease-out);
}
.card:hover { box-shadow: 0 30px 60px -25px rgba(40,25,10,.55); }
.card:hover::after { transform: scaleX(1); }
.card:hover .ph-card { transform: scale(1.07); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, var(--ink)); z-index: 2; }
.card-body { position: relative; padding: 1.2rem 1.5rem 2rem; margin-top: -2.2rem; z-index: 3; }
.card-num { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--gold); }
.card h3 { font-size: clamp(1.55rem, 1.9vw, 1.85rem); margin: .35rem 0 .8rem; }
.card p { font-size: .9rem; line-height: 1.6; color: var(--muted-light); }

/* ---------- Team ---------- */
.team { background: var(--ink); padding-block: clamp(5rem, 10vw, 9rem); position: relative; overflow: clip; }
.team::before {
  content: ""; position: absolute; width: 60vw; height: 60vw; right: -20vw; top: -20vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(192,106,28,.14), transparent 65%); pointer-events: none;
}
.team-grid { position: relative; display: grid; gap: 3.5rem; }
.team-intro .section-title { margin-top: 1.2rem; }
.team-lead { font-family: var(--serif); font-size: clamp(1.25rem, 1.6vw, 1.45rem); line-height: 1.45; color: rgba(245,237,225,.82); max-width: 32ch; }
.people { display: grid; gap: 3.5rem 2.5rem; }
.person { display: grid; gap: 1.6rem; }
.person-frame { position: relative; aspect-ratio: 4 / 5; }
.person-frame .ph { transition: filter 1s; filter: saturate(.8) brightness(.92); }
.person:hover .person-frame .ph { filter: saturate(1) brightness(1); }
.person-corner { position: absolute; right: -14px; bottom: -14px; width: 46%; height: 46%; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); pointer-events: none; transition: width .8s var(--ease-out), height .8s var(--ease-out); }
.person:hover .person-corner { width: 70%; height: 70%; }
.person-role { font-size: .68rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.person-name { font-size: clamp(2.2rem, 3.4vw, 3rem); margin-top: .6rem; }
.person-rule { display: block; width: 40px; height: 1px; background: var(--gold); margin: 1.2rem 0; }
.person-info p { color: var(--muted-light); font-size: .95rem; max-width: 34ch; }

/* ---------- Banner ---------- */
.banner { position: relative; min-height: 78vh; display: grid; place-items: center; overflow: clip; text-align: center; }
.banner-media { position: absolute; inset: -12% 0; }
.banner-shade { position: absolute; inset: 0; z-index: 2; background: radial-gradient(ellipse 70% 70% at 60% 50%, rgba(12,10,8,.35), rgba(12,10,8,.85)); }
.banner-content { position: relative; z-index: 3; padding-block: 7rem; }
.banner-title { font-size: clamp(2.6rem, 6vw, 5.8rem); font-style: italic; font-weight: 400; max-width: 18ch; margin-inline: auto; }
.banner-title em { color: var(--gold-hi); }
.banner-sub { margin-top: 1.6rem; font-size: .76rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: rgba(245,237,225,.85); }

/* ---------- Process ---------- */
.process { background: var(--cream); color: var(--paper-ink); padding-block: clamp(5rem, 9vw, 8rem); }
.process-head { display: grid; gap: 1.2rem; margin-bottom: 4rem; }
.process-head .section-title { max-width: 16ch; }
.steps { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem 1.5rem; counter-reset: s; }
.steps-line { display: none; }
.step { display: grid; justify-items: center; text-align: center; gap: .8rem; position: relative; z-index: 1; }
.step-icon {
  width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream); border: 1px solid rgba(156,114,34,.45);
  transition: background .5s var(--ease-out), transform .6s var(--ease-out), border-color .5s;
}
.step-icon svg { width: 42px; height: 42px; fill: none; stroke: var(--gold-lo); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .5s; }
.step:hover .step-icon { background: var(--ink); border-color: var(--ink); transform: translateY(-6px); }
.step:hover .step-icon svg { stroke: var(--gold); }
.step-n { font-family: var(--serif); font-style: italic; color: var(--gold-lo); font-size: 1rem; }
.step h3 { font-size: clamp(1.2rem, 1.5vw, 1.4rem); font-weight: 600; max-width: 13ch; line-height: 1.15; }

/* ---------- Contact ---------- */
.contact { position: relative; background: var(--ink-2); padding-top: clamp(5rem, 10vw, 9rem); overflow: clip; }
.contact-glow { position: absolute; left: -15vw; bottom: -30vw; width: 70vw; height: 70vw; border-radius: 50%; background: radial-gradient(circle, rgba(212,162,70,.12), transparent 65%); pointer-events: none; }
.contact-grid { position: relative; display: grid; gap: 3.5rem; padding-bottom: clamp(4rem, 8vw, 7rem); }
.contact-title { font-size: clamp(2.8rem, 5.4vw, 5rem); margin-top: 1.2rem; }
.contact-title em { color: var(--gold); }
.contact-lead { color: var(--muted-light); max-width: 46ch; }
.contact-list { display: grid; gap: 2rem; align-content: start; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; column-gap: 1rem; align-items: start; }
.c-icon { grid-row: span 2; width: 44px; height: 44px; border: 1px solid var(--line-dark); border-radius: 50%; display: grid; place-items: center; }
.c-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.c-label { font-size: .64rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: rgba(245,237,225,.5); }
.contact-list a, .contact-list address { font-size: 1.02rem; color: var(--cream); line-height: 1.55; }
.contact-list a { background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out), color .3s; }
.contact-list a:hover { color: var(--gold-hi); background-size: 100% 1px; }
.contact-cta { display: grid; gap: 2rem; align-content: start; justify-items: start; }
.socials { display: flex; gap: .8rem; }
.socials a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); transition: background .4s, border-color .4s, transform .4s var(--ease-out); }
.socials svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-4px); }
.socials a:hover svg { stroke: var(--ink); }

.footer {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 2rem; border-top: 1px solid var(--line-dark); font-size: .78rem; color: rgba(245,237,225,.5);
}
.footer-gc { font-family: var(--serif); font-size: 1.8rem; color: var(--gold); line-height: 1; }
.to-top { letter-spacing: .16em; text-transform: uppercase; font-size: .7rem; transition: color .3s; }
.to-top:hover { color: var(--gold); }

/* =============================================================
   7. Effects (solo se activan cuando JS añade .anim)
   ============================================================= */
.anim [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.anim [data-reveal].is-in { opacity: 1; transform: none; }
.anim [data-rise] { opacity: 0; transform: translateY(24px); }
.anim .hero.is-in [data-rise] { opacity: 1; transform: none; transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out); }
.anim .hero.is-in .hero-sub { transition-delay: .75s; }
.anim .hero.is-in .hero-tags { transition-delay: 1.05s; }
.anim .hero.is-in .hero-actions { transition-delay: 1.2s; }
.anim .hero-title .line > span { transform: translateY(110%); }
.anim .hero.is-in .hero-title .line > span { transform: none; transition: transform 1.3s var(--ease-out); }
.anim .hero.is-in .hero-title .line:nth-child(2) > span { transition-delay: .12s; }
.anim .hero.is-in .hero-title .line:nth-child(3) > span { transition-delay: .24s; }
.anim [data-draw] { transform: scaleX(0); transition: transform 1.4s var(--ease-out) .2s; }
.anim [data-draw].is-in, .anim .hero.is-in [data-draw] { transform: scaleX(1); }
.anim .hero.is-in .hero-rule { transition-delay: .9s; }
.anim [data-split] { opacity: 0; transform: translateY(40px); filter: blur(10px); letter-spacing: .04em; transition: opacity 1.4s var(--ease-out), transform 1.4s var(--ease-out), filter 1.4s var(--ease-out), letter-spacing 1.8s var(--ease-out); }
.anim [data-split].is-in { opacity: 1; transform: none; filter: none; letter-spacing: -0.01em; }
.anim .person.is-in .person-corner { animation: corner 1.4s var(--ease-out) .3s both; }
@keyframes corner { from { width: 0; height: 0; } }
.anim .step[data-reveal] { transition-delay: calc(var(--i, 0) * .12s); }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 720px) {
  .about-grid { grid-template-columns: 1fr 3fr; column-gap: 4rem; }
  .about-grid .eyebrow { grid-row: span 2; align-self: start; padding-top: 1rem; }
  .about-cols { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .people { grid-template-columns: 1fr 1fr; }
  .people .person:nth-child(2) { margin-top: 5rem; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-head { grid-column: 1 / -1; }
}
@media (max-width: 959px) {
  .brand-text { display: none; }
  .brand-rule { display: none; }
}
@media (max-width: 719px) {
  .ph-hero .ph-tag { top: auto; bottom: 5.5rem; }
  .hero-coord { display: none; }
  .hero-foot { justify-content: center; }
  .hero-eyebrow { letter-spacing: .2em; }
}
@media (min-width: 960px) {
  .services-grid { grid-template-columns: 1fr 2.4fr; gap: 4rem; align-items: start; }
  .services-intro { position: sticky; top: 110px; }
  .team-grid { grid-template-columns: 1fr 1.8fr; gap: 5rem; }
  .team-intro { position: sticky; top: 110px; align-self: start; }
  .process-head { grid-template-columns: 1fr 2fr; align-items: end; }
  .steps { grid-template-columns: repeat(6, 1fr); gap: 1.5rem; }
  .steps-line { display: block; position: absolute; top: 48px; left: 8%; right: 8%; height: 1px; z-index: 0; background: rgba(156,114,34,.22); }
  .steps-line span { position: absolute; inset: 0; background: var(--gold-lo); transform-origin: 0 50%; transform: scaleX(var(--line, 1)); }
  .contact-grid { grid-template-columns: 1.3fr 1fr .8fr; gap: 4rem; }
  .contact-head { grid-column: auto; }
}
@media (min-width: 1280px) {
  .nav-links { display: flex; }
  .burger { display: none; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .cards .card:nth-child(even) { margin-top: 3rem; }
}

/* =============================================================
   9. Reduced-motion (solo efectos intrusivos)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .marquee-track { animation-duration: 120s; }
  .scroll-cue span { animation: none; }
}

/* =============================================================
   10. Fotos reales
   ============================================================= */
.media-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-img { object-position: 68% 60%; }
.card-img { transition: transform 1.2s var(--ease-out), filter .8s; filter: saturate(.92) brightness(.9); }
.card:hover .card-img { transform: scale(1.07); filter: saturate(1.05) brightness(1); }
.person-img { object-position: 50% 25%; filter: saturate(.85) brightness(.95); transition: filter 1s; }
.person:hover .person-img { filter: saturate(1) brightness(1); }
.person-frame { background: var(--char); }
.person-frame .person-img { clip-path: inset(0); }
.banner-img { object-position: 30% 50%; }
@media (max-width: 719px) { .hero-img { object-position: 78% 60%; } }

/* =============================================================
   11. Mapa oscuro de la oficina
   ============================================================= */
.map-wrap { position: relative; padding-bottom: clamp(4rem, 8vw, 6rem); }
.map {
  position: relative; height: clamp(420px, 52vw, 560px); overflow: hidden;
  border: 1px solid var(--line-dark); background: #15110d;
}
.map::after { /* viñeta y tinte cálido sobre el mapa */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 62% 50%, transparent 40%, rgba(20,16,12,.75) 100%),
    linear-gradient(90deg, rgba(20,16,12,.85) 0%, rgba(20,16,12,0) 45%);
}
.map-frame { position: absolute; inset: 0; width: 100%; height: 100%; background: #15110d; z-index: 0; }
.map-frame .leaflet-tile-pane {
  filter: invert(92%) hue-rotate(180deg) grayscale(.85) sepia(.45) saturate(1.3) brightness(.82) contrast(1.05);
}
.map-frame.leaflet-container { background: #15110d; font-family: var(--sans, inherit); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
/* Punto de la oficina + círculos dorados: una sola pieza pegada al mapa */
.office-marker { background: none; border: 0; }
.office-marker .om-ring {
  position: absolute; left: 50%; top: 50%; width: 90px; height: 90px; margin: -45px 0 0 -45px;
  border-radius: 50%; border: 1.5px solid var(--gold); pointer-events: none;
  animation: mapPulse 2.8s var(--ease-out) infinite;
}
.office-marker .om-ring:nth-child(2) { animation-delay: 1.4s; }
.office-marker .om-dot {
  position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border-radius: 50%; background: var(--gold-hi); border: 3px solid var(--ink);
  box-shadow: 0 0 0 1.5px var(--gold), 0 0 18px 4px rgba(212,162,70,.55);
}
.map-frame .leaflet-control-zoom { border: 1px solid var(--line-dark); box-shadow: none; }
.map-frame .leaflet-control-zoom a {
  background: rgba(12,10,8,.88); color: var(--gold); border-bottom-color: var(--line-dark);
  width: 36px; height: 36px; line-height: 34px; font-size: 18px;
}
.map-frame .leaflet-control-zoom a:hover { background: var(--ink); color: var(--gold-hi); }
.map-frame .leaflet-control-attribution { background: rgba(12,10,8,.7); color: rgba(245,237,225,.55); font-size: 10px; }
.map-frame .leaflet-control-attribution a { color: rgba(236,199,126,.75); }
@keyframes mapPulse { 0% { transform: scale(.25); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

.map-card {
  position: absolute; z-index: 2; left: clamp(1rem, 3vw, 2.5rem); bottom: clamp(1rem, 3vw, 2.5rem);
  width: min(380px, calc(100% - 2rem)); padding: 2rem 2rem 1.8rem;
  background: rgba(12,10,8,.94); border: 1px solid var(--line-dark); border-top: 2px solid var(--gold);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
}
@supports (backdrop-filter: blur(1px)) { .map-card { background: rgba(12,10,8,.78); backdrop-filter: blur(12px); } }
.map-gc { position: absolute; right: 1.6rem; top: 1.2rem; font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: rgba(212,162,70,.35); }
.map-eyebrow { font-size: .64rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.map-place { font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1.1; margin: .5rem 0 .8rem; }
.map-address { color: var(--muted-light); font-size: .92rem; line-height: 1.6; }
.map-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 1.6rem; }
.btn-sm { padding: .85rem 1.3rem; font-size: .7rem; }

@media (max-width: 719px) {
  .map { height: auto; display: flex; flex-direction: column; }
  .map-frame { position: relative; inset: auto; height: 320px; }
  .map::after { background: radial-gradient(ellipse 80% 60% at 50% 30%, transparent 40%, rgba(20,16,12,.6) 100%); height: 300px; }
  .map-card { position: relative; left: auto; bottom: auto; width: 100%; z-index: 2; }
}
@media (prefers-reduced-motion: reduce) { .office-marker .om-ring { animation-duration: 5s; } }

/* =============================================================
   12. Botón flotante de WhatsApp
   ============================================================= */
.wa-float {
  position: fixed; right: clamp(16px, 2.5vw, 32px); bottom: clamp(16px, 2.5vw, 32px); z-index: 90;
  display: flex; align-items: center; gap: .8rem;
  animation: waIn .9s var(--ease-out) 2.4s both;
}
.wa-btn {
  position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: var(--ink);
  box-shadow: 0 14px 34px -10px rgba(0,0,0,.65), 0 0 0 1px rgba(236,199,126,.5) inset;
  transition: transform .45s var(--ease-out), background .4s;
}
.wa-btn::before { /* anillo que late, igual que el del mapa */
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--gold);
  animation: waRing 2.8s var(--ease-out) 3.4s infinite;
}
.wa-btn svg { width: 28px; height: 28px; fill: currentColor; }
.wa-tip {
  padding: .65rem 1rem; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cream); background: rgba(12,10,8,.9); border: 1px solid var(--line-dark); border-right: 2px solid var(--gold);
  white-space: nowrap; opacity: 0; transform: translateX(10px); pointer-events: none;
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.wa-float:hover .wa-btn, .wa-float:focus-visible .wa-btn { transform: translateY(-4px) scale(1.05); background: var(--gold-hi); }
.wa-float:hover .wa-tip, .wa-float:focus-visible .wa-tip { opacity: 1; transform: none; }
.wa-float:focus-visible { outline: none; }
.wa-float:focus-visible .wa-btn { box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--gold-hi); }
.nav.is-open ~ .wa-float, body:has(.nav.is-open) .wa-float { opacity: 0; pointer-events: none; }
@keyframes waIn { from { opacity: 0; transform: translateY(24px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes waRing { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(1.7); opacity: 0; } }
@media (max-width: 719px) { .wa-btn { width: 54px; height: 54px; } .wa-btn svg { width: 25px; height: 25px; } }
@media (prefers-reduced-motion: reduce) { .wa-btn::before { animation-duration: 5s; } }

/* =============================================================
   13. Formulario de contacto
   ============================================================= */
.lead-wrap {
  position: relative; display: grid; gap: 3rem; align-items: start;
  padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(4rem, 8vw, 6rem); border-top: 1px solid var(--line-dark);
}
@media (min-width: 960px) { .lead-wrap { grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 6vw, 6rem); } }
.lead-title { font-size: clamp(2.2rem, 3.8vw, 3.4rem); margin: 1rem 0 1.4rem; }
.lead-title em { color: var(--gold); }
.lead-text { color: var(--muted-light); max-width: 42ch; }
.lead-points { margin-top: 2rem; display: grid; gap: .9rem; }
.lead-points li { position: relative; padding-left: 1.8rem; color: rgba(245,237,225,.82); font-size: .95rem; }
.lead-points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 1rem; height: 1px; background: var(--gold); }

.lead-form {
  display: grid; gap: 1.5rem; padding: clamp(1.6rem, 3.5vw, 2.8rem);
  background: rgba(12,10,8,.55); border: 1px solid var(--line-dark); border-top: 2px solid var(--gold);
}
.f-row { display: grid; gap: 1.5rem; }
@media (min-width: 600px) { .f-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .55rem; }
.f-label { font-size: .64rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: rgba(245,237,225,.6); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--cream);
  background: transparent; border: 0; border-bottom: 1px solid rgba(212,162,70,.35); border-radius: 0;
  padding: .6rem 0 .7rem; transition: border-color .4s var(--ease-out), background .4s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 6.5rem; line-height: 1.55; }
.field select {
  cursor: pointer; padding-right: 1.6rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4a246' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center / 18px no-repeat;
}
.field select option { background: #15110d; color: var(--cream); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold-hi); background-color: rgba(212,162,70,.05); }
.field.is-error input, .field.is-error textarea { border-bottom-color: #d9776a; }
.check { display: flex; gap: .8rem; align-items: flex-start; font-size: .88rem; color: var(--muted-light); line-height: 1.5; cursor: pointer; }
.check input {
  flex: none; width: 20px; height: 20px; margin-top: .1rem; -webkit-appearance: none; appearance: none; cursor: pointer;
  border: 1px solid rgba(212,162,70,.55); display: grid; place-items: center; transition: background .3s;
}
.check input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg) translate(1px,-1px); opacity: 0; }
.check input:checked { background: var(--gold); }
.check input:checked::after { opacity: 1; }
.check input:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.check.is-error input { border-color: #d9776a; }
.check a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: .4rem; }
.f-actions .btn[disabled] { opacity: .6; pointer-events: none; }
.f-status { font-size: .92rem; color: var(--muted-light); max-width: 40ch; }
.f-status.is-ok { color: var(--gold-hi); }
.f-status.is-error { color: #e6998e; }
.f-status a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }

/* =============================================================
   14. Legibilidad de la portada en celular y tableta
   ============================================================= */
@media (max-width: 959px) {
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(12,10,8,.88) 0%, rgba(12,10,8,.58) 26%, rgba(12,10,8,.42) 50%, rgba(12,10,8,.7) 78%, rgba(12,10,8,.96) 100%),
      linear-gradient(90deg, rgba(12,10,8,.55) 0%, rgba(12,10,8,.2) 100%);
  }
  .hero-eyebrow { color: var(--gold-hi); text-shadow: 0 1px 14px rgba(0,0,0,.85); line-height: 1.6; }
  .hero-title, .hero-tags { text-shadow: 0 2px 20px rgba(0,0,0,.6); }
  .hero-sub {
    background: none; -webkit-text-fill-color: var(--gold-hi); color: var(--gold-hi);
    text-shadow: 0 2px 16px rgba(0,0,0,.8);
  }
}
@media (max-width: 719px) {
  .hero-eyebrow { font-size: .62rem; letter-spacing: .18em; }
}
