/* =========================================================
   Triple E Carteles — estilos
   ========================================================= */

/* Letras alojadas en el propio sitio (sin pedidos a terceros) · licencia SIL OFL */
@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces-var-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/fonts/manrope-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/fonts/manrope-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/fonts/manrope-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/fonts/manrope-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --black: #080A0A;
  --graphite: #202326;
  --graphite-2: #15181A;
  --steel: #8C9298;
  --gold: #D4AF65;
  --gold-light: #F0D99A;
  --gold-deep: #A9853F;
  --white: #F4F3EF;
  --text: #D9D8D3;
  --line: rgba(140, 146, 152, .22);
  --line-strong: rgba(140, 146, 152, .38);
  --gold-grad: linear-gradient(120deg, #F0D99A 0%, #D4AF65 45%, #B8913F 100%);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  caret-color: var(--gold);
  accent-color: var(--gold);
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { color: var(--white); margin: 0; font-weight: 500; }
p { margin: 0 0 1em; }
::selection { background: var(--gold); color: var(--black); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--gold); color: var(--black); padding: 10px 16px; border-radius: 8px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }

.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.gold-text {
  font-style: italic;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: .06em;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); opacity: .8; }

/* ---------- Botones ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), background-color .3s, border-color .3s, color .3s, box-shadow .35s var(--ease);
}
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover > .ico:last-child { transform: translateX(3px); }
.btn-gold {
  background: var(--gold-grad); color: #17130A;
  box-shadow: 0 8px 24px -12px rgba(212, 175, 101, .55), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(212, 175, 101, .6), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-ghost { border-color: var(--line-strong); color: var(--white); background: rgba(255, 255, 255, .015); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 16px; }
.btn:active { transform: translateY(0) scale(.98); }
.btn[disabled] { cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(8, 10, 10, .72);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 44px; height: 44px; border-radius: 10px; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .8); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--white); letter-spacing: .01em; }
.brand-name em { font-style: italic; color: var(--gold); }
.brand-sub { font-size: 10px; font-weight: 600; letter-spacing: .42em; text-transform: uppercase; color: var(--steel); margin-top: 5px; }

.nav-links { display: flex; gap: 4px; margin: 0 auto; }
.nav-links a {
  position: relative; padding: 8px 14px; font-size: 14.5px; font-weight: 500; color: #BFC2C4;
  border-radius: 999px; transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: rgba(32, 35, 38, .6); color: var(--white);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .ico { width: 22px; height: 22px; }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: rgba(8, 10, 10, .97);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  padding: 24px var(--gutter) 40px; display: flex; flex-direction: column; gap: 28px;
  overflow-y: auto;
  opacity: 0; transform: translateY(-8px); transition: opacity .3s, transform .35s var(--ease);
}
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--serif); font-size: 30px; color: var(--white); padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu nav a:active { color: var(--gold); }
.mobile-menu .btn { align-self: stretch; }
.mobile-menu-contact { color: var(--steel); font-size: 15px; line-height: 2; }
.mobile-menu-contact a { color: var(--text); }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + 48px) 0 88px;
  display: flex; align-items: center; isolation: isolate; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 78% 40%, rgba(212, 175, 101, .13), transparent 70%),
    radial-gradient(45% 50% at 8% 90%, rgba(140, 146, 152, .08), transparent 70%);
  animation: glow 9s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(140, 146, 152, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 146, 152, .07) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(70% 70% at 60% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 60% 45%, #000 20%, transparent 75%);
}
@keyframes glow { from { opacity: .7; transform: translate3d(-1.5%, 0, 0); } to { opacity: 1; transform: translate3d(1.5%, -1%, 0); } }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero-title {
  font-family: var(--serif); font-weight: 450; font-size: clamp(44px, 5.5vw, 80px);
  line-height: 1.02; letter-spacing: -.02em; margin-bottom: 28px;
  font-variation-settings: "opsz" 144;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.1s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .12s; }
.hero-title .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { to { transform: none; } }

.hero-lead { font-size: clamp(16px, 1.35vw, 18.5px); color: #B9BCBE; max-width: 34em; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-attrs {
  list-style: none; padding: 24px 0 0; margin: 0; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px 30px; font-size: 14px; color: var(--text);
}
.hero-attrs li { display: inline-flex; align-items: center; gap: 10px; }
.hero-attrs .ico { color: var(--gold); width: 18px; height: 18px; }

.hero-visual { position: relative; margin: 0; justify-self: end; width: 100%; max-width: 500px; }
.hero-frame {
  position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5;
  border: 1px solid rgba(212, 175, 101, .35);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 8px rgba(32, 35, 38, .55);
  animation: frameIn 1.4s var(--ease) .15s both;
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8, 10, 10, .65)); }
.hero-frame::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 244, 214, .16) 50%, transparent 60%);
  transform: translateX(-120%); animation: sheen 1.6s var(--ease) 1.1s both;
}
@keyframes sheen { to { transform: translateX(120%); } }
@keyframes frameIn { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }
.hero-tag {
  position: absolute; left: -28px; bottom: 36px; z-index: 2;
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 18px; border-radius: 12px;
  background: rgba(20, 22, 24, .82); border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: frameIn 1.2s var(--ease) .6s both;
}
.hero-tag-k { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.hero-tag-v { font-size: 14px; color: var(--white); }
.hero-corner { position: absolute; width: 46px; height: 46px; border-color: var(--gold); border-style: solid; opacity: .7; pointer-events: none; animation: cornerIn 1s var(--ease) .9s both; }
.hero-corner--tl { top: -14px; left: -14px; border-width: 1px 0 0 1px; border-top-left-radius: 6px; }
.hero-corner--br { bottom: -14px; right: -14px; border-width: 0 1px 1px 0; border-bottom-right-radius: 6px; }
@keyframes cornerIn { from { opacity: 0; transform: scale(.6); } to { opacity: .7; transform: none; } }

.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; color: var(--steel); transition: color .3s, border-color .3s;
}
.hero-scroll:hover { color: var(--gold); border-color: var(--gold); }
.hero-scroll .ico { animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--graphite-2), var(--black)); border-top: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: end; }
.section-head--split .section-sub { margin-bottom: 6px; }
.section-title {
  font-family: var(--serif); font-weight: 450; font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.08; letter-spacing: -.015em; margin-bottom: 20px;
}
.section-sub { font-size: 17.5px; color: #A9ADB0; max-width: 36em; }

/* ---------- Servicios (sólo texto; toda la tarjeta abre WhatsApp) ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--graphite), #191B1E);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .4s, transform .5s var(--ease), box-shadow .5s var(--ease);
}
.service::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 2;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.service::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 80% at 100% 0%, rgba(212, 175, 101, .12), transparent 70%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.service:hover, .service:focus-within { border-color: rgba(212, 175, 101, .45); transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .9); }
.service:hover::before, .service:focus-within::before { transform: scaleX(1); }
.service:hover::after, .service:focus-within::after { opacity: 1; }
.service-body { display: flex; flex-direction: column; flex: 1; padding: 30px 28px 28px; }
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.service-num { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--gold); }
.service-ico {
  width: 46px; height: 46px; padding: 11px; border-radius: 12px; color: var(--gold);
  border: 1px solid rgba(212, 175, 101, .28); background: rgba(212, 175, 101, .06);
  transition: background-color .3s, border-color .3s, transform .5s var(--ease);
}
.service:hover .service-ico, .service:focus-within .service-ico { background: rgba(212, 175, 101, .14); border-color: rgba(212, 175, 101, .55); transform: rotate(-6deg) scale(1.06); }
.service h3 { font-family: var(--serif); font-size: 23px; font-weight: 500; margin-bottom: 10px; line-height: 1.2; }
.service p { font-size: 15px; color: #A9ADB0; margin-bottom: 22px; }
.service-wa {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px 0 14px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--white);
  transition: border-color .3s, background-color .3s, color .3s;
}
.service-wa::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.service-wa .ico { color: var(--gold); width: 18px; height: 18px; }
.service:hover .service-wa, .service-wa:focus-visible { border-color: var(--gold); background: rgba(212, 175, 101, .1); color: var(--gold-light); }

.badge-ill {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 6px; color: #D5D7D8;
  background: rgba(8, 10, 10, .72); border: 1px solid rgba(140, 146, 152, .35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

/* ---------- Trabajos ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter {
  min-height: 42px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-strong); background: transparent; color: #BFC2C4;
  font-size: 14px; font-weight: 600; transition: all .3s var(--ease);
}
.filter:hover { color: var(--white); border-color: var(--steel); }
.filter.is-active { background: var(--gold-grad); color: #17130A; border-color: transparent; }

.works { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; grid-auto-flow: dense; gap: 18px; }
.work { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--graphite); border: 1px solid var(--line); }
.work--tall { grid-row: span 2; }
.work--tall img { object-position: 50% 72%; }
.work--pos-top img { object-position: 50% 18%; }
.work--wide { grid-column: span 2; }
.work.is-hidden { display: none; }
.work.is-entering { animation: workIn .55s var(--ease) both; }
@keyframes workIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.work-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.work-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.work:hover .work-open img { transform: scale(1.045); }
.work-open::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8, 10, 10, .88)); pointer-events: none; }
.work-zoom {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(8, 10, 10, .65); border: 1px solid rgba(212, 175, 101, .5); color: var(--gold);
  opacity: 0; transform: scale(.85); transition: opacity .35s, transform .35s var(--ease);
}
.work:hover .work-zoom, .work-open:focus-visible .work-zoom { opacity: 1; transform: none; }
.work figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px 20px; pointer-events: none;
  display: flex; flex-direction: column; gap: 2px;
  transition: transform .5s var(--ease);
}
.work:hover figcaption { transform: translateY(-4px); }
.work figcaption strong { font-family: var(--serif); font-weight: 500; font-size: 20px; color: var(--white); }
.work figcaption span { font-size: 13.5px; color: #B9BCBE; }
.works-empty { margin-top: 24px; color: var(--steel); }
.works-empty a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Diferencial ---------- */
.dif { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.dif-head { position: sticky; top: calc(var(--header-h) + 40px); }
.dif-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.dif-item { background: var(--black); padding: 34px 30px 32px; position: relative; transition: background-color .4s; }
.dif-item:hover { background: #0E1011; }
.dif-n { position: absolute; top: 26px; right: 28px; font-family: var(--serif); font-style: italic; color: var(--steel); font-size: 14px; }
.dif-ico { width: 30px; height: 30px; color: var(--gold); margin-bottom: 26px; stroke-width: 1.3; transition: transform .5s var(--ease); }
.dif-item:hover .dif-ico { transform: translateY(-3px) scale(1.08); }
.dif-item h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 10px; }
.dif-item p { color: #A9ADB0; font-size: 15px; margin: 0; }

/* ---------- Nosotros ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.about-media { position: relative; overflow: hidden; border-radius: var(--radius); }
.about-media img { border-radius: var(--radius); aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 30% 50%; width: 100%; border: 1px solid var(--line); transition: transform 1.2s var(--ease); }
.about-media:hover img { transform: scale(1.03); }
.about-line { position: absolute; left: -18px; top: 12%; bottom: 12%; width: 1px; background: linear-gradient(180deg, transparent, var(--gold), transparent); }
.about-copy p { color: #B4B7BA; font-size: 17px; }
.about-sign { margin-top: 28px; font-size: 14px !important; color: var(--steel) !important; letter-spacing: .04em; }
.about-sign span { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold); letter-spacing: 0; }

/* ---------- CTA ---------- */
.cta { position: relative; padding: clamp(90px, 12vw, 150px) 0; overflow: hidden; text-align: center; border-block: 1px solid var(--line); isolation: isolate; }
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 70% at 50% 0%, rgba(212, 175, 101, .16), transparent 70%),
    radial-gradient(40% 60% at 50% 110%, rgba(212, 175, 101, .08), transparent 70%),
    var(--black);
}
.cta::after {
  content: ""; position: absolute; left: 50%; top: 0; width: min(560px, 70%); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.cta-inner { max-width: 820px; }
.cta .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold); opacity: .8; }
.cta-title { font-family: var(--serif); font-weight: 450; font-size: clamp(40px, 6vw, 80px); line-height: 1.04; letter-spacing: -.02em; margin-bottom: 22px; }
.cta-lead { font-size: 18px; color: #B4B7BA; max-width: 34em; margin: 0 auto 40px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.cta-note { margin-top: 26px; font-size: 14px; color: var(--steel); }

/* ---------- Contacto / formulario ---------- */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-info > p { color: #B4B7BA; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.contact-list li { display: flex; flex-direction: column; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-k { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--steel); font-weight: 600; }
.contact-v { font-size: 17px; color: var(--white); overflow-wrap: anywhere; }
a.contact-v { transition: color .25s; }
a.contact-v:hover { color: var(--gold-light); }

.form { background: linear-gradient(180deg, var(--graphite), #1A1C1F); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3.5vw, 40px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-size: 14px; font-weight: 600; color: var(--white); }
.req { color: var(--gold); }
.opt { color: var(--steel); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--radius-sm);
  background: rgba(8, 10, 10, .55); border: 1px solid var(--line-strong); color: var(--white);
  font: inherit; font-size: 16px; transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #7A8086; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--steel); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 175, 101, .18); background: rgba(8, 10, 10, .8); }
.field.has-error input, .field.has-error select, .field.has-error textarea, .field.has-error .file { border-color: #E07A6B; }
.field-error { margin: 0; font-size: 13px; color: #F0998B; }
.field-error:empty { display: none; }
.field-hint { margin: 0; font-size: 12.5px; color: var(--steel); }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border: solid var(--steel); border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.field select option { background: var(--graphite); color: var(--white); }
.file {
  display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 12px 14px; cursor: pointer;
  border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); color: #B4B7BA; font-size: 14px;
  transition: border-color .25s, color .25s, background-color .25s;
}
.file:hover { border-color: var(--gold); color: var(--white); }
#f-archivo:focus-visible + .file { outline: 2px solid var(--gold); outline-offset: 2px; }
.file .ico { color: var(--gold); }
.file-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; margin-top: 24px; }
.consent input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--gold); cursor: pointer; }
.consent label { font-size: 14px; font-weight: 400; color: #C9CBCD; line-height: 1.55; cursor: pointer; }
.consent label a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.consent .field-error { grid-column: 2; }
.consent.has-error input { outline: 2px solid #E07A6B; outline-offset: 2px; }
.consent-info { margin: 12px 0 0; font-size: 13px; color: var(--steel); line-height: 1.6; }

.form-foot { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(23, 19, 10, .3); border-top-color: #17130A; animation: spin .8s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-loading { opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status { margin-top: 22px; padding: 16px 18px; border-radius: 12px; font-size: 15px; display: flex; gap: 12px; align-items: flex-start; animation: workIn .45s var(--ease) both; }
.form-status .ico { width: 20px; height: 20px; margin-top: 2px; }
.form-status p { margin: 0 0 6px; }
.form-status p:last-child { margin: 0; }
.form-status a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.form-status.is-ok { background: rgba(110, 170, 120, .1); border: 1px solid rgba(110, 170, 120, .4); color: #CDE5D0; }
.form-status.is-ok .ico { color: #8FCB98; }
.form-status.is-info { background: rgba(212, 175, 101, .08); border: 1px solid rgba(212, 175, 101, .4); color: var(--text); }
.form-status.is-info .ico { color: var(--gold); }
.form-status.is-error { background: rgba(224, 122, 107, .08); border: 1px solid rgba(224, 122, 107, .45); color: #F2C9C2; }
.form-status.is-error .ico { color: #F0998B; }

/* ---------- Footer ---------- */
.footer { padding: 80px 0 40px; background: #060707; position: relative; }
.footer::before { content: ""; position: absolute; left: var(--gutter); top: 0; width: 80px; height: 2px; background: var(--gold-grad); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { color: var(--steel); font-size: 15px; margin: 20px 0 24px; max-width: 30em; }
.footer-emblem { display: inline-block; width: 128px; border-radius: 50%; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.footer-emblem img { width: 100%; height: auto; border-radius: 50%; }
.footer-emblem:hover { transform: rotate(-4deg) scale(1.03); box-shadow: 0 0 0 6px rgba(212, 175, 101, .08); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h3 { font-family: var(--sans); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.footer-col a, .footer-muted { font-size: 15px; color: #B4B7BA; transition: color .25s; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--steel); }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a { color: #B4B7BA; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--gold-light); }

/* ---------- Páginas legales ---------- */
.legal-top { border-bottom: 1px solid var(--line); }
.legal-top .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.legal-top .back { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; font-size: 15px; }
.legal { padding: 64px 0 96px; }
.legal .container { max-width: 820px; }
.legal h1 { font-family: var(--serif); font-weight: 450; font-size: clamp(34px, 5vw, 52px); line-height: 1.1; margin-bottom: 12px; }
.legal .updated { color: var(--steel); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 44px 0 14px; }
.legal p, .legal li { color: #C9CBCD; font-size: 16.5px; line-height: 1.75; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--white); font-weight: 600; }
.legal .notice { border: 1px solid rgba(212, 175, 101, .4); background: rgba(212, 175, 101, .06); border-radius: 12px; padding: 18px 20px; margin: 24px 0; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; }

/* ---------- Créditos ---------- */
.credits-page { padding: 120px 0 80px; }
.credits-page .back { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.credit-list { list-style: none; padding: 0; margin: 32px 0; border-top: 1px solid var(--line); }
.credit-list li { display: flex; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.credit-list img { width: 112px; height: 76px; object-fit: cover; border-radius: 8px; flex: none; }
.credit-list strong { color: var(--white); }
.credit-list a, .credit-note a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.credit-note { color: var(--steel); font-size: 15px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #128C4A; color: #fff;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .12) inset;
  transition: transform .35s var(--ease), box-shadow .35s;
  animation: waIn .6s var(--ease) 1.4s both;
}
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #128C4A;
  animation: waPulse 2.8s ease-out 2.2s 3;
  opacity: 0;
}
@keyframes waIn { from { opacity: 0; transform: translateY(16px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes waPulse { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6); } }
.wa-float .ico { width: 28px; height: 28px; }
.wa-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 18px 36px -12px rgba(0, 0, 0, .8); }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: rgba(5, 6, 6, .94); color: var(--white);
}
.lightbox::backdrop { background: rgba(5, 6, 6, .7); }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; animation: lbIn .3s ease; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 70px 10px 30px; min-width: 0; height: 100%; justify-content: center; }
.lb-figure img { max-width: 100%; max-height: calc(100dvh - 160px); width: auto; border-radius: 10px; object-fit: contain; animation: lbImg .45s var(--ease) both; }
@keyframes lbImg { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.lb-figure figcaption { text-align: center; font-size: 15px; color: #B9BCBE; }
.lb-figure figcaption strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 20px; color: var(--white); }
.lb-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(32, 35, 38, .7);
  display: grid; place-items: center; cursor: pointer; margin: 0 16px; transition: border-color .25s, color .25s;
}
.lb-btn:hover { border-color: var(--gold); color: var(--gold); }
.lb-btn .ico { width: 22px; height: 22px; }
.lb-close { position: absolute; top: 16px; right: 0; }

/* ---------- Aparición al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links a { padding: 8px 10px; font-size: 14px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .services .service:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 36px); padding-bottom: 96px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 520px; }
  .hero-frame { aspect-ratio: 4 / 4.2; }
  .hero-tag { left: 14px; }
  .section-head--split { grid-template-columns: 1fr; gap: 0; }
  .works { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .dif { grid-template-columns: 1fr; }
  .dif-head { position: static; }
  .about { grid-template-columns: 1fr; }
  .about-line { display: none; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .hero-title { font-size: clamp(40px, 11.5vw, 56px); }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-attrs { flex-direction: column; gap: 12px; }
  .hero-corner { display: none; }
  .hero-scroll { display: none; }
  .services { grid-template-columns: 1fr; }
  .service-wa { align-self: stretch; justify-content: center; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .works { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .work--wide { grid-column: auto; }
  .work--tall { grid-row: span 2; }
  .dif-list { grid-template-columns: 1fr; }
  .cta-actions .btn { width: 100%; white-space: normal; text-align: center; padding-block: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .lightbox[open] { grid-template-columns: 1fr; }
  .lb-prev, .lb-next { position: absolute; bottom: 20px; }
  .lb-prev { left: calc(50% - 72px); }
  .lb-next { right: calc(50% - 72px); }
  .lb-figure { padding: 64px 12px 90px; }
  .lb-figure img { max-height: calc(100dvh - 220px); }
  .wa-float { width: 54px; height: 54px; }
}

/* Movimiento reducido: sin animaciones de entrada ni movimientos continuos */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-title .line > span { animation: none; transform: none; }
  .hero-frame, .hero-tag, .hero-corner, .wa-float { animation: none; }
  .hero-frame::before, .wa-float::before, .hero-bg::before { animation: none; }
  .hero-scroll .ico { animation: none; }
  .js .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .work.is-entering, .form-status, .lb-figure img { animation: none; }
  .service, .work-open img, .about-media img { transition: none; }
}
