/* =========================================================
   Constructora e Inmobiliaria CG — estilos
   ========================================================= */
:root {
  --charcoal: #121315;
  --graphite: #1b1d20;
  --graphite-2: #25282c;
  --warm: #f4f0e8;
  --warm-2: #e9e3d8;
  --ink: #18191b;
  --gold: #c4a058;
  --gold-light: #e2c88f;
  --gold-deep: #94763a;
  --silver: #c8ccd0;
  --cement: #8b8e91;
  --cement-dark: #5d6064;
  --line-dark: rgba(200, 204, 208, .14);
  --line-light: rgba(24, 25, 27, .12);

  --gold-metal: linear-gradient(115deg, #94763a 0%, #c4a058 28%, #ecd6a1 48%, #c4a058 66%, #8f7034 100%);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--charcoal);
  color: var(--warm);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
::selection { background: var(--gold); color: var(--charcoal); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section--dark { background: var(--charcoal); color: var(--warm); }
.section--light { background: var(--warm); color: var(--ink); }

/* ---------- Tipografía compartida ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow--dark { color: var(--gold-deep); }
.line { display: inline-block; width: 40px; height: 1px; background: currentColor; }
.section-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.4rem, 5.2vw, 4.6rem); line-height: 1.02; letter-spacing: -.01em;
  margin-top: 22px; max-width: 16ch;
}
.section-title em, .about__title em, .hero__title em, .statement__quote em, .footer__slogan em, .intro__slogan em {
  font-style: italic;
  background: var(--gold-metal); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.section-title--dark em, .about__title em, .contact .section-title em {
  background: linear-gradient(115deg, #7d6230 0%, #a8873f 45%, #c9a862 60%, #8a6c33 100%);
  -webkit-background-clip: text; background-clip: text;
}

/* ---------- Botones ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .04em;
  border: 1px solid transparent; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), color .4s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease);
}
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 13px; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold-metal); background-size: 220% 100%; background-position: 0% 0; color: #17130b; }
.btn--gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn--gold:hover::after { transform: translateX(120%); }
.btn--gold:hover { background-position: 100% 0; }
.btn--ghost { border-color: rgba(244,240,232,.45); color: var(--warm); backdrop-filter: blur(6px); background: rgba(18,19,21,.18); }
.btn--ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn:active { transform: scale(.98); }
.btn__arrow { transition: transform .5s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* =========================================================
   INTRO
   ========================================================= */
.intro {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  color: var(--warm); pointer-events: auto;
}
.intro__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: radial-gradient(120% 90% at 50% 100%, #202327 0%, var(--charcoal) 70%); }
.intro__panel--top { top: 0; }
.intro__panel--bottom { bottom: 0; background: radial-gradient(120% 90% at 50% 0%, #202327 0%, var(--charcoal) 70%); }
.intro__plan { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro__plan .plan-labels, .intro__plan .plan-dimtext, .intro__plan .plan-hatch, .intro__plan .plan-grid { opacity: 0; }

.intro__brand { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 20px; }
.intro__logo { position: relative; width: min(340px, 62vw); opacity: 0; }
.intro__logo img { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.55)); }
.intro__sheen {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url("../assets/img/logo-cg.webp") center / contain no-repeat;
          mask: url("../assets/img/logo-cg.webp") center / contain no-repeat;
  background: linear-gradient(105deg, transparent 35%, rgba(255,250,235,.85) 50%, transparent 65%);
  background-size: 300% 100%; background-position: 120% 0;
  mix-blend-mode: overlay;
}
.intro__name {
  margin-top: 26px; font-size: 12px; font-weight: 600; letter-spacing: .42em; text-transform: uppercase; color: var(--silver);
  opacity: 0;
}
.intro__slogan {
  margin-top: 14px; font-family: var(--serif); font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 500; line-height: 1.1;
}
.intro__slogan > * { display: inline-block; opacity: 0; transform: translateY(24px); }
.intro__meta {
  position: absolute; left: var(--gutter); bottom: 32px; z-index: 3;
  display: flex; gap: 22px; align-items: baseline;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--cement);
}
.intro__count b { font-weight: 600; color: var(--gold); font-variant-numeric: tabular-nums; }
.intro__skip {
  position: absolute; right: var(--gutter); bottom: 24px; z-index: 3;
  min-height: 44px; padding: 0 18px; border: 1px solid var(--line-dark); border-radius: 999px;
  background: transparent; color: var(--silver); font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  cursor: pointer; transition: border-color .3s, color .3s;
}
.intro__skip:hover { border-color: var(--gold); color: var(--gold); }
.intro.is-done { display: none; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; gap: 32px;
  padding: 0 var(--gutter);
  transition: background-color .5s var(--ease), height .5s var(--ease), border-color .5s, transform .6s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  --header-h: 70px;
  background: rgba(18,19,21,.82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line-dark);
}
.header.is-hidden { transform: translateY(-100%); }
.header__brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.header__brand img { width: 64px; height: auto; transition: width .5s var(--ease); filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }
.header.is-scrolled .header__brand img { width: 54px; }
.header__wordmark { font-size: 10.5px; line-height: 1.35; letter-spacing: .26em; text-transform: uppercase; color: var(--silver); font-weight: 600; }
.nav { display: flex; gap: 34px; }
.nav a { position: relative; font-size: 13px; font-weight: 500; letter-spacing: .06em; color: rgba(244,240,232,.86); padding: 6px 0; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--gold-light); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; background: var(--charcoal); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform-origin: 50% 70%; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(55% 30% at 50% 28%, rgba(14,15,17,.45), transparent 75%),
    linear-gradient(180deg, rgba(18,19,21,.62) 0%, rgba(18,19,21,.16) 32%, rgba(18,19,21,.12) 48%, rgba(18,19,21,.72) 70%, rgba(18,19,21,.92) 86%, var(--charcoal) 100%);
}
.hero__content {
  position: relative; z-index: 2; flex: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: calc(var(--header-h) + clamp(28px, 7vh, 80px)) var(--gutter) 40px;
}
.hero__eyebrow { color: var(--gold-light); }
.hero__title {
  margin-top: 22px;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(3.4rem, 10.5vw, 9.6rem); line-height: .9; letter-spacing: -.02em;
  text-shadow: 0 8px 40px rgba(0,0,0,.25);
}
.hero__title .split { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .split > span { display: inline-block; }
.hero__foot { margin-top: auto; padding-top: 40px; display: flex; flex-direction: column; align-items: center; }
.hero__lead { margin-top: 0; max-width: 54ch; font-size: clamp(15px, 1.25vw, 17px); color: rgba(244,240,232,.9); text-shadow: 0 2px 18px rgba(0,0,0,.4); }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.hero__bar {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr) auto; align-items: end; gap: 24px;
  width: 100%; max-width: var(--max); margin: 0 auto;
  padding: 26px var(--gutter) 34px;
  border-top: 1px solid var(--line-dark);
}
.hero__bar > div { display: flex; flex-direction: column; gap: 4px; }
.hero__bar-k { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.hero__bar-v { font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; }
.hero__scroll { width: 44px; height: 64px; border: 1px solid rgba(244,240,232,.35); border-radius: 999px; display: grid; justify-items: center; padding-top: 12px; }
.hero__scroll span { width: 2px; height: 14px; border-radius: 2px; background: var(--gold); animation: scrollDot 2.2s var(--ease) infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 80% { transform: translateY(22px); opacity: 0; } 100% { opacity: 0; } }

/* =========================================================
   NOSOTROS
   ========================================================= */
.about { padding: clamp(96px, 14vw, 180px) 0 clamp(90px, 12vw, 160px); }
.about .container { display: flex; flex-direction: column; align-items: center; }
.about__title {
  margin-top: 26px; text-align: center;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.5rem, 6.4vw, 5.8rem); line-height: 1.04; letter-spacing: -.015em;
  max-width: 15ch;
}
.pill {
  display: inline-block; vertical-align: middle;
  width: 1.9em; height: .82em; margin: -.1em .08em 0; border-radius: 999px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(24,25,27,.18);
}
.pill img { width: 100%; height: 100%; object-fit: cover; }
.about__grid {
  margin-top: clamp(64px, 9vw, 120px); width: 100%;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(36px, 6vw, 96px); align-items: start;
}
.about__media { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 5; }
.about__media img { width: 100%; height: 115%; object-fit: cover; object-position: 40% 50%; }
.about__tag {
  position: absolute; left: 18px; bottom: 18px; padding: 10px 16px; border-radius: 999px;
  background: rgba(18,19,21,.7); backdrop-filter: blur(8px); color: var(--warm);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
}
.about__text { padding-top: clamp(0px, 4vw, 60px); color: #3a3c3f; max-width: 52ch; }
.about__lead { font-family: var(--serif); font-size: clamp(1.45rem, 2.1vw, 1.85rem); line-height: 1.35; color: var(--ink); margin-bottom: 22px; }
.pillars { margin-top: 44px; border-top: 1px solid var(--line-light); }
.pillars li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 24px 0; border-bottom: 1px solid var(--line-light); }
.pillars span { font-family: var(--serif); font-size: 1.1rem; color: var(--gold-deep); padding-top: 2px; }
.pillars h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.pillars p { margin-top: 4px; font-size: 15px; color: #55585c; }

/* =========================================================
   SERVICIOS
   ========================================================= */
.services { padding: clamp(96px, 13vw, 170px) 0; position: relative; }
.services::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 120px 120px; opacity: .25;
  -webkit-mask: radial-gradient(70% 60% at 80% 40%, #000, transparent 75%); mask: radial-gradient(70% 60% at 80% 40%, #000, transparent 75%);
}
.services__head { display: flex; flex-direction: column; position: relative; }
.services__wrap { position: relative; margin-top: clamp(48px, 7vw, 90px); display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.services__list { border-top: 1px solid var(--line-dark); }
.service {
  position: relative; display: grid; grid-template-columns: 70px 1fr 40px; gap: 16px; align-items: start;
  padding: 30px 0; border-bottom: 1px solid var(--line-dark); cursor: default;
}
.service::before {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--gold-metal); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease);
}
.service__n { font-family: var(--serif); font-size: 1.15rem; color: var(--cement); padding-top: 6px; transition: color .4s; }
.service h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.1; color: rgba(244,240,232,.62); transition: color .5s var(--ease), transform .6s var(--ease); }
.service p { max-height: 0; overflow: hidden; opacity: 0; margin-top: 0; max-width: 46ch; color: #a9acb0; font-size: 15px; transition: max-height .7s var(--ease), opacity .5s, margin-top .6s var(--ease); }
.service__arrow { justify-self: end; font-size: 20px; color: var(--cement); padding-top: 8px; transition: transform .6s var(--ease), color .4s; }
.service.is-active::before { transform: scaleX(1); }
.service.is-active h3 { color: var(--warm); transform: translateX(6px); }
.service.is-active p { max-height: 120px; opacity: 1; margin-top: 12px; }
.service.is-active .service__n, .service.is-active .service__arrow { color: var(--gold); }
.service.is-active .service__arrow { transform: rotate(45deg); }
.services__preview { position: sticky; top: 120px; margin: 0; aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; background: var(--graphite); }
.services__preview img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform 1.2s var(--ease); }
.services__preview img.is-swapping { opacity: 0; transform: scale(1.05); }
.services__preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(18,19,21,.75)); pointer-events: none; }
.services__preview figcaption {
  position: absolute; left: 20px; bottom: 20px; z-index: 1; display: flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(196,160,88,.2); }

/* =========================================================
   PROYECTOS (scroll horizontal)
   ========================================================= */
.projects { position: relative; overflow: hidden; }
.projects__pin { display: flex; align-items: center; gap: clamp(40px, 5vw, 80px); min-height: 100svh; padding: 120px 0 80px var(--gutter); }
.projects__intro { flex: 0 0 min(420px, 34vw); position: relative; z-index: 2; align-self: stretch; display: flex; flex-direction: column; justify-content: center; background: var(--warm); box-shadow: calc(-1 * var(--gutter)) 0 0 var(--warm); }
.projects__intro::after { content: ""; position: absolute; top: 0; bottom: 0; left: 100%; width: clamp(40px, 5vw, 80px); background: linear-gradient(90deg, var(--warm), rgba(244,240,232,0)); pointer-events: none; }
.projects__track { position: relative; z-index: 1; }
.projects__lead { margin-top: 22px; color: #4e5155; max-width: 38ch; }
.projects__hint { margin-top: 36px; display: inline-flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.projects__track { display: flex; align-items: flex-end; gap: clamp(20px, 2.4vw, 36px); padding-right: var(--gutter); will-change: transform; }
.project { flex: 0 0 auto; width: clamp(280px, 26vw, 400px); }
.project--tall { width: clamp(280px, 24vw, 360px); }
.project--tall .project__img { aspect-ratio: 3 / 4; }
.project--wide { width: clamp(320px, 38vw, 560px); }
.project__img { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 3; background: var(--warm-2); }
.project__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease); }
.project:hover .project__img img { transform: scale(1.12); }
.project__info { display: grid; grid-template-columns: 40px 1fr; column-gap: 8px; padding-top: 18px; }
.project__info span { grid-row: span 2; font-family: var(--serif); color: var(--gold-deep); font-size: 1.05rem; }
.project__info h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; line-height: 1.1; color: var(--ink); }
.project__info p { font-size: 13px; color: #6b6e72; margin-top: 4px; }

/* =========================================================
   STATEMENT
   ========================================================= */
.statement { position: relative; min-height: 92svh; display: grid; place-items: center; overflow: hidden; background: var(--charcoal); }
.statement__media { position: absolute; inset: -12% 0; }
.statement__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.statement__shade { position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 50%, rgba(18,19,21,.72), rgba(18,19,21,.88) 80%), linear-gradient(180deg, var(--charcoal), transparent 22%, transparent 78%, var(--charcoal)); }
.statement__giant {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--serif); font-weight: 600; font-size: clamp(14rem, 42vw, 40rem); line-height: .8; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(196,160,88,.5); user-select: none; white-space: nowrap;
}
.statement__quote { position: relative; z-index: 1; margin: 0; padding: 0 var(--gutter); max-width: 980px; text-align: center; }
.statement__quote p { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1.12; letter-spacing: -.01em; }
.statement__quote cite { display: block; margin-top: 30px; font-style: normal; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.statement__quote .w { display: inline-block; opacity: .14; transition: opacity .2s; }

/* =========================================================
   PROCESO
   ========================================================= */
.process { padding: clamp(96px, 13vw, 170px) 0; }
.process__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 8vw, 130px); align-items: start; }
.process__head { position: sticky; top: 130px; display: flex; flex-direction: column; align-items: flex-start; }
.process__lead { margin-top: 22px; color: #a9acb0; max-width: 42ch; margin-bottom: 34px; }
.steps { position: relative; padding-left: 64px; }
.steps__rail { position: absolute; left: 21px; top: 10px; bottom: 10px; width: 1px; background: var(--line-dark); }
.steps__fill { position: absolute; inset: 0; background: linear-gradient(180deg, var(--gold-light), var(--gold-deep)); transform: scaleY(0); transform-origin: top; }
.step { position: relative; padding: 0 0 clamp(48px, 6vw, 72px); }
.step:last-child { padding-bottom: 0; }
.step__n {
  position: absolute; left: -64px; top: 0; width: 43px; height: 43px; border-radius: 50%;
  display: grid; place-items: center; background: var(--charcoal); border: 1px solid var(--line-dark);
  font-family: var(--serif); font-size: 1rem; color: var(--cement); transition: border-color .5s, color .5s, background-color .5s;
}
.step.is-on .step__n { border-color: var(--gold); color: var(--charcoal); background: var(--gold-metal); }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.1; padding-top: 4px; color: rgba(244,240,232,.5); transition: color .5s; }
.step.is-on h3 { color: var(--warm); }
.step p { margin-top: 10px; color: #a9acb0; max-width: 46ch; }

/* =========================================================
   CONTACTO
   ========================================================= */
.contact { padding: clamp(96px, 13vw, 170px) 0; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.contact__lead { margin-top: 22px; color: #4e5155; max-width: 42ch; }
.contact__data { margin: 44px 0 0; border-top: 1px solid var(--line-light); }
.contact__data div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line-light); }
.contact__data dt { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; padding-top: 3px; }
.contact__data dd { margin: 0; font-family: var(--serif); font-size: 1.35rem; color: var(--ink); line-height: 1.3; word-break: break-word; }
.contact__data a { background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.contact__data a:hover { background-size: 100% 1px; }

.form { background: #fff; border: 1px solid var(--line-light); border-radius: 6px; padding: clamp(24px, 4vw, 48px); box-shadow: 0 40px 80px -40px rgba(24,25,27,.22); }
.field { display: flex; flex-direction: column; margin: 0 0 22px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 8px; padding: 0; }
.opt { font-weight: 400; color: var(--cement); }
.field input, .field textarea {
  font: 400 16px/1.5 var(--sans); color: var(--ink);
  border: 1px solid #d8d3ca; border-radius: 4px; background: #fbfaf7; padding: 13px 14px;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(196,160,88,.16); }
.field__error { display: none; margin-top: 6px; font-size: 13px; color: #a2412f; }
.field.has-error input { border-color: #c0634f; }
.field.has-error .field__error { display: block; }
.field--chips { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.field--chips legend { width: 100%; }
.chip { position: relative; margin: 0 !important; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid #d8d3ca; border-radius: 999px; font-size: 14px; font-weight: 500; color: #45484c; transition: all .3s var(--ease); }
.chip:hover span { border-color: var(--gold); }
.chip input:checked + span { background: var(--charcoal); border-color: var(--charcoal); color: var(--gold-light); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form__note { margin-top: 12px; font-size: 13px; color: var(--cement); text-align: center; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding: clamp(80px, 10vw, 130px) 0 34px; border-top: 1px solid var(--line-dark); position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; left: 50%; top: -220px; width: 900px; height: 440px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(196,160,88,.13), transparent); pointer-events: none; }
.footer__top { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: clamp(56px, 7vw, 90px); border-bottom: 1px solid var(--line-dark); }
.footer__logo { width: min(240px, 56vw); height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); }
.footer__slogan { margin-top: 26px; font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 500; line-height: 1.05; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 48px 0; border-bottom: 1px solid var(--line-dark); }
.footer__cols h4 { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 14px; }
.footer__cols a { display: block; padding: 6px 0; color: #b5b8bc; font-size: 15px; transition: color .3s; word-break: break-word; }
.footer__cols a:hover { color: var(--warm); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; color: var(--cement); }
.footer__bottom a:hover { color: var(--gold-light); }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--charcoal); color: var(--gold-light);
  border: 1px solid rgba(196,160,88,.45); box-shadow: 0 16px 36px rgba(0,0,0,.35);
  transition: transform .5s var(--ease), background-color .3s, opacity .5s;
}
.wa-float:hover { transform: translateY(-3px); background: #1f2124; }
body.is-loading .wa-float { opacity: 0; pointer-events: none; }

/* Estados iniciales de revelado (solo si hay JS) */
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal-img { clip-path: inset(100% 0 0 0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .header__cta { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .header__wordmark { display: none; }
  .header__brand { position: relative; z-index: 2; }
  .hero__eyebrow .line { display: none; }
  .hero__eyebrow { letter-spacing: .18em; font-size: 11px; }
  .burger {
    display: grid; place-content: center; gap: 7px; width: 48px; height: 48px; margin-right: -8px;
    background: transparent; border: 0; cursor: pointer; position: relative; z-index: 2;
  }
  .burger span { display: block; width: 26px; height: 1.5px; background: var(--warm); transition: transform .5s var(--ease); }
  .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); }
  .nav {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100svh; z-index: 1; flex-direction: column; justify-content: center; gap: 6px;
    padding: 0 var(--gutter); background: var(--charcoal);
    clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); visibility: hidden;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
  .nav a { font-family: var(--serif); font-size: 2.6rem; letter-spacing: 0; color: var(--warm); padding: 6px 0; }
  .nav a::after { display: none; }

  .hero__bar { grid-template-columns: 1fr 1fr; }
  .hero__bar > div:nth-child(3), .hero__scroll { display: none; }

  .about__grid, .services__wrap, .process__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 4 / 3; }
  .services__preview { display: none; }
  .service p { max-height: none; opacity: 1; margin-top: 10px; }
  .service h3 { color: var(--warm); }
  .process__head { position: static; }

  .projects__pin { flex-direction: column; align-items: stretch; min-height: 0; padding: clamp(96px, 13vw, 140px) 0 clamp(96px, 13vw, 140px) var(--gutter); }
  .projects__intro { flex: none; padding-right: var(--gutter); }
  .projects__intro::after { display: none; }
  .projects__hint { display: none; }
  .projects__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .projects__track::-webkit-scrollbar { display: none; }
  .project, .project--tall, .project--wide { width: min(78vw, 360px); scroll-snap-align: start; }
  .project--tall .project__img { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .header__brand img { width: 54px; }
  .hero__title { font-size: clamp(3.2rem, 16vw, 5rem); }
  .hero__actions .btn { width: 100%; }
  .hero__bar { padding-bottom: 26px; }
  .hero__bar-v { font-size: 1.1rem; }
  .pillars li { grid-template-columns: 40px 1fr; }
  .service { grid-template-columns: 44px 1fr 24px; padding: 24px 0; }
  .contact__data div { grid-template-columns: 1fr; gap: 2px; }
  .footer__cols { grid-template-columns: 1fr; gap: 24px; }
  .intro__meta { display: none; }
  .wa-float { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal-img { clip-path: none; }
}
