/* PT Serif alojada en el propio servidor (licencia SIL Open Font License) */
@font-face { font-family: "PT Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/pt-serif-italic-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "PT Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/pt-serif-italic-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PT Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/pt-serif-normal-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "PT Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/pt-serif-normal-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PT Serif"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/pt-serif-normal-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "PT Serif"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/pt-serif-normal-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Source Sans 3 (sans-serif limpia, alternativa libre a Kozuka Gothic Pro) para la tarjeta de promoción; licencia SIL OFL en fonts/source-sans-3-OFL.txt */
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --h2: clamp(1.8rem, 3vw, 2.5rem); /* tamaño único de los títulos de sección */
  --bg: #0d1113;
  --bg-2: #12181b;
  --paper: #eee9df;
  --paper-2: #d9d2c5;
  --text: #f5f3ef;
  --ink: #171b1d;
  --muted: #b8b7b2;
  --line: rgba(255,255,255,.28);
  --max: 1440px;
  --gutter: clamp(20px, 3.5vw, 52px); /* margen lateral de toda la página */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "PT Serif", Georgia, serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; background: #fff; color: #0d1113; padding: 12px 18px; font-size: .9rem; }
.skip:focus { top: 16px; }
main:focus { outline: none; }
.bg-toggle { position: absolute; right: 84px; bottom: 24px; z-index: 6; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); background: rgba(0,0,0,.45); color: #fff; font-size: .8rem; cursor: pointer; backdrop-filter: blur(4px); }
.bg-toggle:hover { background: #fff; color: #0d1113; }
.shell { width: min(calc(100% - 2 * var(--gutter)), var(--max)); margin: 0 auto; }

/* header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  padding: 30px max(var(--gutter), calc((100vw - var(--max))/2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(13, 17, 19, .38);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  padding-top: 14px; padding-bottom: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 -1px 0 rgba(255,255,255,.1), 0 8px 30px rgba(0,0,0,.25);
}
/* en navegadores Chromium, además, el cristal deforma ligeramente lo que hay detrás */
.glass-svg .site-header.scrolled { -webkit-backdrop-filter: url(#glass) blur(12px) saturate(1.5); backdrop-filter: url(#glass) blur(12px) saturate(1.5); }
.brand { display: flex; flex-direction: column; }
.logo { color: #c9c7c2; font-family: "PT Serif", Georgia, serif; font-size: 1.9rem; font-weight: 400; line-height: 1.1; letter-spacing: 0; white-space: nowrap; }
.logo em { font-style: italic; font-weight: 400; letter-spacing: 0; }
.brand small { white-space: nowrap; margin-top: 8px; font-size: .7rem; letter-spacing: .19em; color: #c9c7c2; }
.nav { display: flex; gap: 36px; padding-top: 0; align-items: center; }
.nav a { white-space: nowrap; font-size: .78rem; letter-spacing: .14em; opacity: .88; position: relative; padding-bottom: 4px; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: currentColor; transition: width .3s ease; }
.nav a:hover { opacity: 1; }
.nav a:hover::after { width: 100%; }
.menu-toggle { display: none; background: none; border: 0; color: white; font-size: 1.5rem; cursor: pointer; min-width: 44px; min-height: 44px; }

/* hero */
.hero { position: relative; aspect-ratio: 16 / 9; width: 100%; display: flex; align-items: center; overflow: hidden; }
.hero-media, .hero-overlay, .memorias-bg, .weddings-bg, .weddings-overlay, .interview-portrait { position: absolute; inset: 0; }
.hero-media { background: #0d1113; }
.hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.05); opacity: 0; transition: opacity .6s ease; }
.hero-media.show-poster .hero-poster { opacity: 1; }
.hero-media iframe {
  position: absolute; top: 50%; left: 50%; border: 0; pointer-events: none;
  height: 100%; width: auto; min-width: 100%; aspect-ratio: var(--vr, 16 / 9);
  transform: translate(-50%, -50%); opacity: 0; transition: opacity 1.6s ease;
  filter: saturate(.8) contrast(1.05);
}
.hero-media.is-playing iframe { opacity: 1; }
.hero-overlay { background: linear-gradient(90deg, rgba(8,12,14,.8) 0%, rgba(8,12,14,.55) 35%, rgba(8,12,14,.08) 67%, rgba(8,12,14,.12) 100%); }
.hero-content { position: relative; z-index: 2; padding-top: 70px; }
.hero-content h1, .section-copy h2, .feature h2, .interview-copy h2 {
  font-family: "PT Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
  margin: 0;
}
.hero-content h1 { font-size: clamp(2.3rem, 4.4vw, 4.2rem); line-height: 1.02; margin: 12px 0 24px; max-width: 840px; }
.hero-copy { max-width: 620px; color: #ddd9d1; font-size: 1.04rem; margin: 0; }
.hero-actions { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; margin-top: 8px; }
.play-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 20px; background: none; border: 0; padding: 0; cursor: pointer; font-size: .82rem; letter-spacing: .1em; }
.play-link:hover .play { background: #fff; color: #0d1113; }
.eyebrow { font-size: 1.02rem; letter-spacing: .16em; font-weight: 500; margin: 0 0 10px; }

/* botones */
.button { display: inline-flex; gap: 34px; align-items: center; padding: 14px 18px; margin-top: 20px; font-size: .76rem; letter-spacing: .12em; border: 1px solid; transition: .25s ease; cursor: pointer; }
.button-ghost { border-color: rgba(255,255,255,.5); }
.button-ghost:hover { background: rgba(255,255,255,.1); }
.button span { transition: transform .25s ease; }
.button:hover span { transform: translateX(5px); }

/* filosofia */
.filosofia { background: var(--bg-2); padding: clamp(64px, 9vw, 130px) 0; }
.filosofia-grid { display: grid; grid-template-columns: .9fr 1.4fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.filosofia-copy h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.filosofia-copy p { color: #d1cfca; max-width: 46ch; }
.filosofia-video { aspect-ratio: 16 / 9; }
.filosofia-video .play.big { position: relative; }
.filosofia-video strong { font-size: 1.1rem; }

/* cerebro creativo */
.cerebro { background: var(--bg); padding: clamp(64px, 9vw, 130px) 0; }
.cerebro-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.cerebro-copy h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.cerebro-copy p { color: #d1cfca; max-width: 46ch; }
.cerebro-video { aspect-ratio: 16 / 9; }
.cerebro-video strong { font-size: 1.1rem; }

/* split */
.split-grid { display: grid; grid-template-columns: 1fr; min-height: 440px; }
.feature { position: relative; min-height: 440px; display: flex; align-items: center; overflow: hidden; background: #0b0f11; }
.feature-media { position: absolute; inset: 0; overflow: hidden; container-type: size; }
.feature-media iframe { position: absolute; top: 50%; left: 50%; height: 150%; width: auto; min-width: 100%; height: max(150cqh, calc(100cqw * 9 / 16)); width: max(100cqw, calc(150cqh * 16 / 9)); aspect-ratio: 16 / 9; border: 0; pointer-events: none; transform: translate(-50%, -50%); opacity: 0; transition: opacity 1.4s ease; }
.feature-media.is-playing iframe { opacity: 1; }
.feature-media.bg-video .feature-img { opacity: 0; transition: opacity .8s ease, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.feature-media.bg-video.show-poster .feature-img { opacity: 1; }
.feature .play-link { margin-left: 28px; vertical-align: bottom; }
.feature-img { position: absolute; left: 0; top: -14%; width: 100%; height: 128%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) { .feature:hover .feature-img { transform: scale(1.05); } }
.feature-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,8,9,.7) 0%, rgba(5,8,9,.4) 55%, rgba(5,8,9,.15) 100%); }
.feature-content { position: relative; z-index: 2; width: min(calc(100% - 2 * var(--gutter)), var(--max)); margin: 0 auto; padding: 72px 0; }
.feature-content > * { max-width: 620px; }
.feature h2 { font-size: 1.55rem; margin: 4px 0 14px; line-height: 1.1; }
.feature p { color: #d4d1cb; max-width: 560px; }
.feature .eyebrow { margin: 0 0 10px; }

/* memorias */
.memorias { position: relative; overflow: hidden; background: var(--bg); color: var(--text); }
.memorias-bg {
  height: 520px;
  background:
    linear-gradient(0deg, var(--bg) 0%, rgba(13,17,19,0) 35%),
    linear-gradient(90deg, rgba(5,8,9,.7) 0%, rgba(5,8,9,.4) 55%, rgba(5,8,9,.15) 100%),
    url('img/memorias.webp') 70% 40%/cover;
}
.section-inner { position: relative; z-index: 2; padding: 80px 0 90px; }
.max-copy { max-width: 660px; min-height: 300px; }
.section-copy h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; margin: 4px 0 18px; }
.section-copy p { font-size: 1.02rem; margin: 0; }

.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }

.video-card {
  position: relative; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 16 / 9; padding: 0; overflow: hidden; isolation: isolate;
  background: #1a2023; border: 1px solid rgba(0,0,0,.12); cursor: pointer; text-align: left;
}
.video-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.video-card:hover > img, .video-card:focus-visible > img { transform: scale(1.07); }
.video-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,12,14,.06), rgba(8,12,14,.76)); z-index: -1; transition: .25s ease; }
.video-card:hover::before { background: linear-gradient(180deg, rgba(8,12,14,.02), rgba(8,12,14,.6)); }
.video-card .card-cap, .interview-card .card-cap { position: absolute; left: 18px; right: 18px; bottom: 14px; display: flex; align-items: center; justify-content: space-between; color: white; }
.video-card strong { font-size: 1rem; font-weight: 500; }
.video-card .card-cap > span, .interview-card .card-cap > span { transition: transform .25s; }
.video-card:hover .card-cap > span { transform: translateX(5px); }
.play { width: 42px; height: 42px; display: inline-grid; place-items: center; border: 1px solid rgba(255,255,255,.82); border-radius: 50%; color: white; font-size: .72rem; background: rgba(0,0,0,.2); backdrop-filter: blur(4px); padding-left: 2px; transition: background .25s, color .25s, transform .25s; flex: none; }
.video-card:hover .play, .interview-card:hover .play { background: #fff; color: #0d1113; transform: scale(1.1); }
.play.big { width: 58px; height: 58px; font-size: .9rem; }

.section-copy p.firma { font-size: .85rem; letter-spacing: .04em; color: #cfccc6; margin: -4px 0 22px; }

/* bodas */
.weddings { position: relative; overflow: hidden; min-height: 600px; display: flex; align-items: center; }
.weddings-bg { background: url('img/bodas.webp') center/cover; }
.weddings-overlay { background: linear-gradient(90deg, rgba(10,14,16,.9) 0%, rgba(10,14,16,.6) 45%, rgba(10,14,16,.2) 100%); }
.weddings-content { position: relative; z-index: 2; display: grid; grid-template-columns: .9fr 1.4fr; gap: 54px; align-items: center; padding: 80px 0; }
.wedding-copy h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.wedding-copy p { color: #d7d4ce; }
.wedding-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* entrevista */
.interview { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; background: #0b1012; }
.interview-portrait { background: linear-gradient(rgba(11,16,18,.65), rgba(11,16,18,.65)), url('img/witness.webp') center/cover; } /* overlay plano al 65 % (sin degradado) */
.interview-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .9fr 1.4fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding: 80px 0; }
.interview-copy h2 { font-size: clamp(2rem, 3.2vw, 2.9rem); line-height: 1.05; margin: 4px 0 18px; }
.interview-copy p { color: #d1cfca; margin: 0; }
.interview-card { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: #000; cursor: pointer; }
.interview-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.interview-card:hover img { transform: scale(1.05); }
.interview-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(70,40,23,.2), rgba(0,0,0,.6)); }
.interview-card .play { position: relative; z-index: 2; }
.interview-card .card-cap { z-index: 2; }
.interview-photos { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 12px; }
.photo-btn { flex: var(--r) 1 0; min-width: 0; padding: 0; border: 1px solid rgba(255,255,255,.1); background: none; cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 40 40' fill='none' stroke-linecap='round'%3E%3Cg stroke='%23000' stroke-opacity='.55' stroke-width='5'%3E%3Ccircle cx='17' cy='17' r='10'/%3E%3Cpath d='M25 25l9 9M17 12v10M12 17h10'/%3E%3C/g%3E%3Cg stroke='%23fff' stroke-width='2.2'%3E%3Ccircle cx='17' cy='17' r='10'/%3E%3Cpath d='M25 25l9 9M17 12v10M12 17h10'/%3E%3C/g%3E%3C/svg%3E") 11 11, zoom-in; overflow: hidden; }
.photo-btn img { width: 100%; height: auto; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.photo-btn:hover img { transform: scale(1.04); }
.lightbox.photo-mode .lightbox-frame { aspect-ratio: auto; display: grid; place-items: center; background: #000; }
.lightbox.photo-mode .lightbox-frame img { max-width: 100%; max-height: calc(100svh - 80px); object-fit: contain; display: block; }
.lightbox-bar button[hidden] { display: none; }
.witness { position: absolute; z-index: 2; top: 24px; left: 28px; font-size: 1.3rem; letter-spacing: .05em; font-weight: 600; text-align: left; line-height: 1.2; }
.witness small { font-size: .68rem; letter-spacing: .14em; font-weight: 500; }

/* footer */
.footer { background: #070a0c; border-top: 1px solid rgba(255,255,255,.08); padding-bottom: 72px; } /* deja libre el espacio del botón de subir */
.footer-inner { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-inner > div:first-child { display: flex; flex-direction: column; }
.footer .logo { font-size: 1.2rem; }
.footer-inner span { color: #8f9496; font-size: .83rem; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; font-size: .85rem; color: #c9c7c2; }
.footer-links a { display: inline-block; padding: 8px 0; }
.footer-links a:hover { color: #fff; }

/* lightbox */
.lightbox { width: min(1200px, 100vw - 24px); max-width: none; padding: 0; border: 0; background: #000; color: var(--text); margin: auto; }
.lightbox::backdrop { background: rgba(5, 8, 9, .92); }
.lightbox-bar { display: flex; align-items: center; gap: 20px; padding: 10px 14px; background: var(--bg); font-size: .85rem; }
.lightbox-bar span { flex: 1; font-weight: 500; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lightbox-bar a:hover { text-decoration: underline; }
.lightbox-bar button { background: none; border: 1px solid rgba(255,255,255,.3); padding: 6px 14px; cursor: pointer; }
.lightbox-bar button:hover { background: rgba(255,255,255,.1); }
.lightbox-frame { aspect-ratio: 16 / 9; max-height: calc(100svh - 80px); width: 100%; }
.lightbox-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .weddings-content, .filosofia-grid, .cerebro-grid { grid-template-columns: 1fr; }
  .cerebro-copy { order: -1; }
  .interview-grid { grid-template-columns: 1fr; }
}

/* menú desplegable en móvil y tablet */
@media (max-width: 1260px) {
  .site-header { padding-left: var(--gutter); padding-right: var(--gutter); }
  .nav { position: absolute; top: 100%; right: var(--gutter); display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px; background: rgba(7,10,12,.96); border: 1px solid rgba(255,255,255,.1); min-width: 220px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; }
  .menu-toggle { display: block; }
}

@media (max-width: 760px) {
  .site-header { padding-top: 22px; padding-bottom: 22px; }
  .hero { aspect-ratio: auto; min-height: 640px; }
  .hero-content { padding-top: 130px; padding-bottom: 50px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(8,12,14,.7) 0%, rgba(8,12,14,.86) 100%); }
  .hero-poster { object-position: 6% center; }
  .feature .play-link { margin-left: 0; display: flex; }
  .hero-content h1 { font-size: clamp(2.1rem, 9.5vw, 3.1rem); }
  .split-grid { grid-template-columns: 1fr; }
  .feature { min-height: 380px; }
  .cards-grid, .wedding-cards { grid-template-columns: 1fr; }
  .memorias-bg { height: 560px; background: linear-gradient(0deg, var(--bg) 0%, rgba(13,17,19,0) 35%), linear-gradient(180deg, rgba(5,8,9,.7), rgba(5,8,9,.4)), url('img/memorias.webp') 70% 40%/cover; }
  .section-inner { padding-top: 56px; }
  .interview-grid { grid-template-columns: 1fr; padding: 70px 0; }
  .interview-photos { flex-wrap: wrap; }
  .photo-btn { flex: 1 1 calc(50% - 6px); }
  .photo-btn img { aspect-ratio: 1; object-fit: cover; height: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; justify-content: center; padding: 30px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .video-card > img, .feature-img, .interview-card img { transition: none; }
}

/* títulos de sección: mismo tamaño en todos los apartados */
.section-copy h2, .feature h2, .interview-copy h2 { font-size: var(--h2); line-height: 1.1; margin: 4px 0 18px; }

/* marca "memorias": etiqueta arriba, título, y la firma a la derecha terminando justo donde acaba el título */
.section-copy .marca { width: fit-content; margin: 0 0 22px; }
.section-copy .marca .eyebrow { margin: 0 0 4px; white-space: nowrap; contain: inline-size; }
.section-copy .marca h2 { margin: 0; font-weight: 700; }
.section-copy .marca p.firma { margin: 4px 0 0; text-align: right; }

/* biografía: título arriba y texto centrado */
.bio { background: var(--bg-2); padding: clamp(64px, 9vw, 130px) 0; }
.bio-grid { display: grid; grid-template-columns: 1fr; justify-items: center; gap: clamp(24px, 3vw, 40px); }
.bio-side { text-align: center; }
.section-copy.bio-title h2 { margin: 0; }
.bio-text { width: 100%; max-width: 760px; text-align: left; }
.bio-text p { color: #d1cfca; font-size: 1.02rem; margin: 0; }
.bio-text p + p { margin-top: 1.2em; }
.bio-text h3 { font-size: 1.05rem; font-weight: 700; margin: 3em 0 1em; color: var(--text); }
.premios { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.14); text-align: left; }
.premios li { display: grid; grid-template-columns: 7.2em 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: .95rem; line-height: 1.45; }
.premios .anio { color: #c9c7c2; font-variant-numeric: tabular-nums; }
.premios .logro { color: #d1cfca; }
.bio-fotos { display: flex; gap: clamp(10px, 1.6vw, 16px); margin: 2.4em 0 0; }
.bio-fotos figure { margin: 0; min-width: 0; overflow: hidden; }
.bio-fotos figure:first-child { flex: 0.667 1 0; }
.bio-fotos figure:last-child { flex: 1.5 1 0; }
.bio-fotos img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bio-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.bio-logos li { background: none; }
.bio-logos img { display: block; width: 100%; height: auto; opacity: .55; }
@media (max-width: 640px) { .bio-logos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .premios li { grid-template-columns: 1fr; gap: 2px; } }

/* botón para volver arriba */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); background: rgba(13,17,19,.85); color: #fff; backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease, visibility .3s, background .25s, color .25s; }
.to-top.visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: #fff; color: #0d1113; }
.to-top svg { width: 20px; height: 20px; }
@media (max-width: 760px) { .to-top { right: var(--gutter); bottom: 16px; } .bg-toggle { right: var(--gutter); } }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }

/* efectos: parallax en la imagen de capacitación y títulos que aparecen al llegar */
.feature-img, .feature-media iframe { translate: 0 var(--py, 0px); will-change: translate; }
.js-reveal .fx:not(.in) { opacity: 0; }
.js-reveal .fx.in { animation: fade 1s ease both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .fx:not(.in) { opacity: 1; }
  .js-reveal .fx.in { animation: none; }
  .feature-img, .feature-media iframe { translate: none; will-change: auto; }
}

/* memorias: frase manifiesto antes del desarrollo */
.section-copy .manifiesto { font-family: "PT Serif", Georgia, serif; font-size: var(--h2); line-height: 1.1; color: var(--text); max-width: 24ch; margin: 0 0 1em; }

/* memorias: logo del proyecto a la derecha */
.memorias-logo { position: absolute; top: 80px; right: 0; width: clamp(150px, 18.5vw, 270px); margin: 0; }
.memorias-logo img { display: block; width: 100%; height: auto; }
@media (max-width: 760px) { .memorias-logo { position: static; width: min(190px, 50%); margin: 0 0 24px auto; } }
.memorias .max-copy { padding-top: 56px; }
@media (max-width: 760px) { .memorias .max-copy { padding-top: 0; } }

/* fotografías de las memorias */
.mem-photos { margin-top: 64px; }
.mem-photos-t { font-family: "PT Serif", Georgia, serif; font-size: var(--h2); font-weight: 400; line-height: 1.1; margin: 0 0 22px; }
.mem-tabs { display: flex; gap: 36px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 26px; }
.mem-tabs::-webkit-scrollbar { display: none; }
.mem-tabs button { flex: none; background: none; border: 0; color: inherit; font: inherit; font-size: .78rem; letter-spacing: .14em; white-space: nowrap; opacity: .7; padding: 12px 0; position: relative; cursor: pointer; }
.mem-tabs button::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 0; height: 1px; background: currentColor; transition: width .3s ease; }
.mem-tabs button:hover, .mem-tabs button[aria-selected="true"] { opacity: 1; }
.mem-tabs button:hover::after, .mem-tabs button[aria-selected="true"]::after { width: 100%; }
.mem-grid { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px; } /* en filas, de izquierda a derecha; la última fila, si queda incompleta, se queda a la izquierda */
.mem-grid[hidden] { display: none; }
.mem-grid .photo-btn { display: block; flex: 0 0 calc((100% - 36px) / 4); width: auto; margin: 0; }
@media (max-width: 1024px) { .mem-grid .photo-btn { flex-basis: calc((100% - 24px) / 3); } }
@media (max-width: 760px) {
  .mem-photos { margin-top: 48px; }
  .mem-tabs { gap: 26px; }
  .mem-grid { gap: 8px; }
  .mem-grid .photo-btn { flex-basis: calc((100% - 8px) / 2); }
  .mem-grid .photo-btn img { aspect-ratio: auto; object-fit: initial; height: auto; }
}
.mem-grid:not([hidden]) { animation: memEntra .5s ease both; transition: opacity .2s ease; }
.mem-grid.saliendo { opacity: 0; animation: none; }
@keyframes memEntra { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .mem-grid:not([hidden]) { animation: none; } }

/* Tarifas de edición */
.tarifas { background: var(--bg-2); padding: 90px 0; }
.tarifas-content { display: grid; gap: 56px; }
.tarifas-intro { max-width: 78ch; }
.tarifas h3 { font-size: 1.35rem; font-weight: 400; line-height: 1.2; margin: 0 0 10px; }
.tarifas-packs, .tarifas-extras { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.tarifa-card { border: 1px solid var(--line); padding: 30px 28px; background: rgba(255,255,255,.03); }
.tarifa-card p { margin: 0 0 14px; color: var(--muted); }
.tarifa-card .tarifa-dur { font-size: .9rem; letter-spacing: .04em; }
.tarifa-precio { font-size: var(--h2); line-height: 1.1; color: var(--text) !important; margin: 4px 0 18px !important; }
.tarifa-precio small { font-size: .9rem; letter-spacing: .08em; color: var(--muted); }
.tarifa-card details { border-top: 1px solid var(--line); padding: 14px 0; }
.tarifa-card summary { cursor: pointer; letter-spacing: .06em; font-size: .95rem; }
.tarifa-card details ul { margin: 14px 0 0; padding-left: 1.1em; color: var(--muted); }
.tarifa-card details li { margin-bottom: 8px; }
.tarifa-card details p { margin: 12px 0 0; }
.tarifas-entrevistas { display: grid; grid-template-columns: 1.1fr 1fr; gap: 54px; align-items: start; }
.tarifas-entrevistas p { color: var(--muted); }
.tarifa-tabla { width: 100%; border-collapse: collapse; }
.tarifa-tabla th, .tarifa-tabla td { text-align: left; padding: 16px 14px; border-bottom: 1px solid var(--line); }
.tarifa-tabla th { font-weight: 400; font-size: .8rem; letter-spacing: .12em; color: var(--muted); }
.tarifa-tabla td:last-child { font-size: 1.15rem; white-space: nowrap; }
.tarifas-condiciones dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 54px; margin: 18px 0 0; }
.tarifas-condiciones dl > div { padding: 16px 0; border-top: 1px solid var(--line); }
.tarifas-condiciones dt { letter-spacing: .06em; margin-bottom: 6px; }
.tarifas-condiciones dd { margin: 0; color: var(--muted); }
@media (max-width: 900px) {
  .tarifas-packs, .tarifas-extras, .tarifas-entrevistas, .tarifas-condiciones dl { grid-template-columns: 1fr; }
  .tarifas-entrevistas { gap: 28px; }
}
@media (max-width: 760px) { .tarifas { padding: 60px 0; } .tarifa-card { padding: 24px 20px; } }
.tarifas-acceso { max-width: 560px; }
.tarifas-acceso label { display: block; letter-spacing: .06em; margin-bottom: 10px; }
.tarifas-acceso-fila { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.tarifas-acceso input { flex: 1 1 220px; min-width: 0; padding: 14px 16px; font: inherit; color: var(--text); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.5); }
.tarifas-acceso input:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }
.tarifas-acceso .button { margin-top: 0; background: transparent; color: var(--text); font-family: inherit; }
.tarifas-error { color: #e8a3a3; margin: 12px 0 0; }
.tarifas-nota { color: var(--muted); font-size: .9rem; margin: 14px 0 0; }
#tarifas-privado { display: grid; gap: 56px; }

/* Tarifas: azul petróleo oscuro, distinto al de Biografía */
.tarifas { background: #0e2229; }
.tarifas-entrevistas .section-copy p + p { margin-top: 1em; }
.tarifas-entrevistas h3 { margin-bottom: 14px; }
.tarifas .tarifas-epigrafe { font-size: 1.02rem; font-weight: 400; letter-spacing: .16em; margin: 0 0 clamp(28px, 3.5vw, 44px); }
.tarifas-entrevistas .entrevistas-cifra { font-size: var(--h2); line-height: 1.15; color: var(--text); margin: 6px 0 16px; }
.tarifas-entrevistas .entrevistas-cifra span { color: var(--muted); padding: 0 .1em; }
.entrevistas-pasos { list-style: none; counter-reset: paso; margin: 18px 0 22px; padding: 0; }
.entrevistas-pasos li { counter-increment: paso; display: grid; grid-template-columns: 2.2em 1fr; padding: 11px 0; border-top: 1px solid var(--line); color: var(--text); }
.entrevistas-pasos li:last-child { border-bottom: 1px solid var(--line); }
.entrevistas-pasos li::before { content: counter(paso); color: var(--muted); }
.tarifas-entrevistas .entrevistas-ratio { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 0; color: var(--muted); }
.entrevistas-ratio strong { font-size: var(--h2); font-weight: 400; line-height: 1.1; color: var(--text); }
.tarifa-tabla caption { caption-side: top; text-align: left; font-size: 1.15rem; letter-spacing: .04em; color: var(--text); padding: 0 14px 14px; }

/* Tarifas: cabecera con imagen de fondo */
.tarifas { padding: 0; }
.tarifas-hero { position: relative; overflow: hidden; min-height: 560px; display: flex; align-items: center; }
.tarifas-hero-bg, .tarifas-hero-overlay { position: absolute; inset: 0; }
.tarifas-hero-bg { background: linear-gradient(135deg, #090f12 0%, #0e2229 55%, #0a171c 100%); } /* respaldo oscuro mientras carga el vídeo o si no se reproduce */
.tarifas-hero-overlay { background: linear-gradient(90deg, rgba(10,14,16,.94) 0%, rgba(10,14,16,.8) 50%, rgba(10,14,16,.1) 100%); }
.tarifas-hero-content { position: relative; z-index: 2; display: grid; gap: 34px; padding: 90px 0; }
.tarifas-hero .tarifas-intro { max-width: 58ch; }
.tarifas-hero .tarifas-intro p:not(.eyebrow) { color: #d7d4ce; }
.tarifas-content { padding: 70px 0 90px; }
.tarifas-content:has(#tarifas-privado[hidden]) { display: none; }
@media (max-width: 900px) {
  .tarifas-hero-overlay { background: linear-gradient(180deg, rgba(10,14,16,.85) 0%, rgba(10,14,16,.75) 100%); }
  .tarifas-hero-content { padding: 64px 0; }
  .tarifas-content { padding: 48px 0 64px; }
}
/* degradado inferior de la cabecera hacia el color que tiene debajo (fondo de la sección; pie de página si está bloqueada) */
.tarifas { --fade: #0e2229; }
.tarifas:has(#tarifas-privado[hidden]) { --fade: #070a0c; }
.tarifas-hero-overlay { background: linear-gradient(180deg, transparent 55%, var(--fade) 100%), linear-gradient(90deg, rgba(10,14,16,.94) 0%, rgba(10,14,16,.8) 50%, rgba(10,14,16,.1) 100%); }
@media (max-width: 900px) {
  .tarifas-hero-overlay { background: linear-gradient(180deg, transparent 60%, var(--fade) 100%), linear-gradient(180deg, rgba(10,14,16,.85) 0%, rgba(10,14,16,.75) 100%); }
}
/* bloques fijos de las tarjetas (antes desplegables) */
.tarifa-bloque { border-top: 1px solid var(--line); padding: 18px 0 6px; }
.tarifa-bloque h4 { font-size: .95rem; font-weight: 400; letter-spacing: .06em; margin: 0 0 12px; color: var(--text); }
.tarifa-bloque ul { margin: 0 0 12px; padding-left: 1.1em; color: var(--muted); }
.tarifa-bloque li { margin-bottom: 8px; }
.tarifa-bloque p { margin: 0 0 12px; }

/* Página aparte de tarifas: la cabecera fija deja sitio arriba y la sección ocupa la pantalla mientras está bloqueada */
.pagina-tarifas .tarifas-hero { min-height: min(100vh, 780px); }
.pagina-tarifas .tarifas-hero-content { padding-top: 150px; }
.pagina-tarifas .nav a[aria-current="page"] { opacity: 1; border-bottom: 1px solid currentColor; }
@media (max-width: 900px) { .pagina-tarifas .tarifas-hero-content { padding-top: 120px; } }
.pagina-tarifas { min-height: 100vh; display: flex; flex-direction: column; }
.pagina-tarifas main { flex: 1; }

/* Capacitación: cifras y formatos */
.feature .formacion-cifras { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 34px; margin: 22px 0 18px; padding: 0; color: #d4d1cb; }
.formacion-cifras li { font-size: .9rem; letter-spacing: .08em; }
.formacion-cifras strong { display: block; font-size: var(--h2); font-weight: 400; line-height: 1.05; color: var(--text); letter-spacing: 0; }
.feature .formacion-formatos { list-style: none; margin: 0 0 4px; padding: 0; color: #d4d1cb; max-width: 560px; }
.formacion-formatos li { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.22); }
.formacion-formatos li:last-child { border-bottom: 1px solid rgba(255,255,255,.22); }
.formacion-formatos strong { font-weight: 700; color: var(--text); }
@media (max-width: 520px) { .feature .formacion-cifras { gap: 10px 24px; } }

/* Apartado de acceso a las tarifas (landing): se funde con el pie de página */
.tarifas-aviso { --fade: var(--bg-2); }
.tarifas-aviso .tarifas-hero { min-height: 520px; }
.tarifas-aviso .tarifas-nota { margin-top: 16px; }

/* Aviso legal */
.pagina-legal { min-height: 100vh; display: flex; flex-direction: column; }
.pagina-legal main { flex: 1; }
.legal { background: var(--bg-2); padding: 150px 0 clamp(56px, 8vw, 100px); }
.legal-grid { max-width: 72ch; margin: 0 auto; }
.legal h1 { font-size: var(--h2); font-weight: 400; line-height: 1.1; margin: 0 0 1.2em; }
.legal h2 { font-size: 1.05rem; font-weight: 700; margin: 2.4em 0 .8em; color: var(--text); }
.legal p { color: #d1cfca; font-size: 1.02rem; margin: 0 0 1.1em; }
.legal a:not(.button) { text-decoration: underline; text-underline-offset: 3px; }
.legal-fecha { color: var(--muted); font-size: .9rem; margin-top: 2.4em; }
.titular { margin: 0 0 1.4em; padding: 22px 24px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.titular-nota { margin: 0 0 14px; color: var(--muted); }
.titular-form label { display: block; letter-spacing: .06em; margin-bottom: 10px; }
.titular-fila { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.titular-fila input { flex: 0 1 120px; min-width: 0; padding: 14px 16px; font: inherit; color: var(--text); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.5); }
.titular-fila input:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }
.titular-fila .button { margin-top: 0; background: transparent; color: var(--text); font-family: inherit; }
.titular-error { color: #e8a3a3; margin: 12px 0 0 !important; }
.titular-datos { display: grid; gap: 0; margin: 0; }
.titular-datos > div { display: grid; grid-template-columns: 11em 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.titular-datos > div:first-child { padding-top: 0; }
.titular-datos > div:last-child { border-bottom: 0; padding-bottom: 0; }
.titular-datos dt { color: var(--muted); }
.titular-datos dd { margin: 0; color: var(--text); }
@media (max-width: 520px) { .titular-datos > div { grid-template-columns: 1fr; gap: 2px; } .legal { padding-top: 120px; } }

/* Contacto */
.contacto { background: var(--bg-2); padding: clamp(64px, 9vw, 120px) 0; }
.contacto-inner { display: flex; justify-content: center; text-align: center; }
.contacto .section-copy { max-width: 62ch; }
.contacto .section-copy p:not(.eyebrow) { color: #d1cfca; }
.footer-links a[href="aviso-legal.html"] { color: #8f9496; }

/* formulario de contacto */
.contacto-inner { flex-direction: column; align-items: center; gap: 36px; }
.contacto-form { width: 100%; max-width: 620px; text-align: left; }
.contacto-form .campo { margin-bottom: 20px; }
.contacto-form label { display: block; letter-spacing: .06em; margin-bottom: 8px; }
.contacto-form input[type="text"], .contacto-form input[type="email"], .contacto-form select, .contacto-form textarea { width: 100%; padding: 14px 16px; font: inherit; color: var(--text); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.5); border-radius: 0; }
.contacto-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #c9c7c2 50%), linear-gradient(135deg, #c9c7c2 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.contacto-form :is(input, select, textarea) { color-scheme: dark; }
.contacto-form select option { background: #12181b; color: #f5f3ef; }
.contacto-form select option:disabled { color: #8f9496; }
.contacto-form textarea { resize: vertical; min-height: 140px; }
.contacto-form :is(input, select, textarea):focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }
.contacto-form .campo-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.campo-acepto { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 4px; color: #d1cfca; font-size: .9rem; line-height: 1.5; }
.campo-acepto input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 3px; accent-color: #c9c7c2; }
.campo-acepto label { margin: 0; letter-spacing: 0; }
.campo-acepto a { text-decoration: underline; text-underline-offset: 3px; }
.contacto-estado { margin: 16px 0 0; color: #b9d8c2; }
.contacto-estado.error { color: #e8a3a3; }
.contacto-form .button { background: transparent; color: var(--text); font-family: inherit; margin-top: 22px; }
.contacto-form .button:disabled { opacity: .5; cursor: wait; }

/* texto de vigencia al abrir las tarifas */
.tarifas-vigencia { margin: 0 0 -26px; /* compensa el hueco de 56 px entre bloques para que quede cerca del título de abajo */ color: #fff; font-size: 1.02rem; letter-spacing: .06em; }

/* con las tarifas ya abiertas, la cabecera deja de ocupar la pantalla entera (solo hacía falta para la pantalla de acceso) */
.pagina-tarifas .tarifas:has(#tarifas-privado:not([hidden])) .tarifas-hero { min-height: 0; }
.pagina-tarifas .tarifas:has(#tarifas-privado:not([hidden])) .tarifas-hero-content { padding-bottom: 20px; }
.pagina-tarifas .tarifas:has(#tarifas-privado:not([hidden])) .tarifas-content { padding-top: 6px; }

/* tarjeta flotante bajo el menú: servicio para profesionales (con vídeo de fondo) */
.pro-card { position: fixed; z-index: 15; top: calc(var(--hdr, 92px) + 14px); right: var(--gutter); width: min(380px, calc(100% - 2 * var(--gutter))); overflow: hidden; background: rgba(7,10,12,.82); border: 1px solid rgba(255,255,255,.28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 34px rgba(0,0,0,.35); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .75s ease, transform .75s ease, visibility 0s linear .75s; }
.pro-card.visible { opacity: 1; visibility: visible; transform: none; transition: opacity .75s ease, transform .75s ease, visibility 0s; }
.pro-card-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.pro-card-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pro-card-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,10,12,.7) 0%, rgba(7,10,12,.4) 60%, rgba(7,10,12,.22) 100%); }
.pro-card-link { position: relative; z-index: 1; display: block; padding: 22px 56px 20px 22px; color: var(--text); text-shadow: 0 1px 8px rgba(0,0,0,.9); }
.pro-card-title { display: block; font-size: .95rem; font-weight: 700; letter-spacing: .14em; margin-bottom: 8px; }
.pro-card-desc { display: block; font-size: .92rem; line-height: 1.45; color: #e3e0da; max-width: 32ch; text-wrap: balance; }
.pro-card-more { display: inline-flex; gap: 12px; align-items: center; margin-top: 14px; font-size: .76rem; letter-spacing: .12em; }
.pro-card-more span { transition: transform .25s ease; }
.pro-card-link:hover .pro-card-more span { transform: translateX(4px); }
.pro-card-close { position: absolute; z-index: 2; top: 10px; right: 10px; width: 36px; height: 36px; display: grid; place-items: center; font: inherit; font-size: 1.6rem; line-height: 1; color: #fff; background: rgba(7,10,12,.62); border: 1px solid rgba(255,255,255,.6); cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.pro-card-close:hover { background: rgba(255,255,255,.22); border-color: #fff; }
.pro-card :is(a, button):focus-visible { outline: 2px solid var(--paper); outline-offset: -2px; }
@media (prefers-reduced-motion: reduce) { .pro-card, .pro-card.visible { transition: none; transform: none; } }
@media (max-width: 760px) { .pro-card-link { padding: 18px 48px 16px 18px; } .pro-card-desc { font-size: .86rem; } }

/* vídeo de fondo del apartado de edición (landing): se carga al acercarse; la imagen queda de respaldo */
.tarifas-hero-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.tarifas-hero-bg video.on { opacity: 1; }
.tarifas-aviso .tarifas-hero-overlay { background: linear-gradient(180deg, transparent 60%, var(--fade) 100%), linear-gradient(90deg, rgba(10,14,16,.8) 0%, rgba(10,14,16,.5) 52%, rgba(10,14,16,.12) 100%); }
.tarifas-aviso .tarifas-intro { text-shadow: 0 1px 14px rgba(0,0,0,.7); }
@media (max-width: 900px) { .tarifas-aviso .tarifas-hero-overlay { background: linear-gradient(180deg, transparent 65%, var(--fade) 100%), linear-gradient(180deg, rgba(10,14,16,.74) 0%, rgba(10,14,16,.62) 100%); } }

/* tarjeta de promoción (capacitación): aura naranja rojiza, chispitas y balanceo suave */
.promo-card { display: block; position: absolute; z-index: 3; right: clamp(30px, 4.5vw, 72px); bottom: 84px; top: auto; margin: 0; height: max-content; width: 206px; max-width: 206px; padding: 17px 15px 14px; text-align: center; color: var(--text); background: rgba(16,8,6,.74); border: 1px solid rgba(255,150,95,.8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 0 26px 4px rgba(255,95,45,.5), 0 0 70px 14px rgba(255,60,20,.3), inset 0 0 22px rgba(255,120,60,.2); transform-origin: 50% 60%; cursor: pointer; font-family: "Source Sans 3", "Kozuka Gothic Pro", "Kozuka Gothic Pr6N", "Helvetica Neue", Arial, sans-serif; transform: rotate(-1.6deg); }
.promo-card.en-vista { animation: promo-balanceo 6s ease-out infinite, promo-aura 1.8s ease-in-out infinite alternate; }
.promo-card[hidden] { display: none; }
.promo-card:hover { animation-play-state: paused; }
.promo-card:focus-visible { outline: 2px solid #ffb98a; outline-offset: 4px; }
.promo-icono { display: block; width: 25px; height: 25px; margin: 0 auto 6px; color: #ffb98a; filter: drop-shadow(0 0 8px rgba(255,100,40,.9)); }
.promo-etiqueta { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #ffb98a; }
.promo-importe { display: block; margin: 1px 0 1px; font-size: 2.7rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.05; color: #fff; text-shadow: 0 0 18px rgba(255,110,50,.85); }
.promo-texto { display: block; font-size: .92rem; font-weight: 600; line-height: 1.3; color: #f6ece6; }
.promo-valido { display: block; margin-top: 8px; font-size: .76rem; font-weight: 400; letter-spacing: .02em; color: #e0c3b1; }
.promo-chispas { position: absolute; inset: -22px; pointer-events: none; }
.promo-chispas i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #ffd2b0; box-shadow: 0 0 9px 2px rgba(255,115,50,.95); opacity: 0; }
.promo-card.en-vista .promo-chispas i { animation: promo-chispa 4s ease-out infinite; }
.promo-chispas i:nth-child(1) { left: 8%;  top: 4%;  }
.promo-chispas i:nth-child(2) { left: 88%; top: 8%;  width: 4px; height: 4px; }
.promo-chispas i:nth-child(3) { left: 96%; top: 46%; }
.promo-chispas i:nth-child(4) { left: 90%; top: 92%; width: 6px; height: 6px; }
.promo-chispas i:nth-child(5) { left: 12%; top: 94%; width: 4px; height: 4px; }
.promo-chispas i:nth-child(6) { left: 1%;  top: 50%; }
.promo-chispas i:nth-child(7) { left: 50%; top: -1%; width: 4px; height: 4px; }
@keyframes promo-balanceo { 0% { transform: rotate(-1.6deg) translateY(0); } 3% { transform: rotate(3.4deg) translateY(-6px); } 6% { transform: rotate(-3.2deg) translateY(0); } 9% { transform: rotate(3deg) translateY(-5px); } 12% { transform: rotate(-2.6deg) translateY(0); } 15% { transform: rotate(2deg) translateY(-3px); } 18%, 100% { transform: rotate(-1.6deg) translateY(0); } }
@keyframes promo-aura { from { box-shadow: 0 0 22px 3px rgba(255,95,45,.4), 0 0 58px 10px rgba(255,60,20,.22), inset 0 0 18px rgba(255,120,60,.16); } to { box-shadow: 0 0 32px 6px rgba(255,105,50,.62), 0 0 86px 18px rgba(255,65,25,.38), inset 0 0 26px rgba(255,130,70,.26); } }
@keyframes promo-chispa { 0% { opacity: 0; transform: translateY(6px) scale(.3); } 10% { opacity: 1; transform: translateY(-2px) scale(1); } 28% { opacity: .55; transform: translateY(-9px) scale(.65); } 42%, 100% { opacity: 0; transform: translateY(-16px) scale(.2); } }
@media (max-width: 1000px) { .promo-card { position: relative; right: auto; top: auto; bottom: auto; margin: 44px 0 40px 14px; background: rgba(16,8,6,.92); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 0 16px 2px rgba(255,95,45,.5), 0 0 34px 6px rgba(255,60,20,.3), inset 0 0 18px rgba(255,120,60,.2); } .promo-card.en-vista { animation: promo-balanceo 6s ease-out infinite, promo-aura-movil 1.8s ease-in-out infinite alternate; } .promo-chispas { inset: -14px; } }
@keyframes promo-aura-movil { from { box-shadow: 0 0 14px 1px rgba(255,95,45,.4), 0 0 28px 4px rgba(255,60,20,.22), inset 0 0 16px rgba(255,120,60,.16); } to { box-shadow: 0 0 20px 3px rgba(255,105,50,.62), 0 0 40px 8px rgba(255,65,25,.36), inset 0 0 24px rgba(255,130,70,.26); } }
@media (prefers-reduced-motion: reduce) { .promo-card, .promo-card.en-vista { animation: none; transform: none; } .promo-card.en-vista .promo-chispas i, .promo-chispas i { animation: none; opacity: .8; } }

/* cabecera de la página de tarifas: el vídeo de fondo se ve, con la capa oscura aligerada y una zona oscura detrás del texto */
.pagina-tarifas .tarifas-hero-overlay { background: linear-gradient(180deg, transparent 60%, var(--fade) 100%), linear-gradient(90deg, rgba(10,14,16,.8) 0%, rgba(10,14,16,.5) 52%, rgba(10,14,16,.12) 100%); }
.pagina-tarifas .tarifas-intro { text-shadow: 0 1px 14px rgba(0,0,0,.7); }
@media (max-width: 900px) { .pagina-tarifas .tarifas-hero-overlay { background: linear-gradient(180deg, transparent 65%, var(--fade) 100%), linear-gradient(180deg, rgba(10,14,16,.74) 0%, rgba(10,14,16,.62) 100%); } }

/* apartado final de las tarifas: proyectos a medida, a todo el ancho, sin recuadro: degradado suave que nace en los dos bordes de la ventana y se difumina hacia el centro */
.tarifas-medida { position: relative; display: grid; grid-template-columns: 1fr; row-gap: 12px; align-items: center; padding: clamp(34px, 5vw, 66px) 0; border: 0; isolation: isolate; }
.tarifas-medida::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc((100% - 100vw) / 2); right: calc((100% - 100vw) / 2); z-index: -1; background: linear-gradient(90deg, rgba(60,122,142,.26) 0%, rgba(36,82,98,.14) 24%, rgba(14,34,41,0) 50%, rgba(36,82,98,.14) 76%, rgba(60,122,142,.26) 100%); -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 72%, transparent 100%); pointer-events: none; }
.tarifas-medida h3 { margin: 0; font-size: clamp(1.4rem, 2.3vw, 2rem); line-height: 1.2; color: #fff; }
.tarifas-medida p { margin: 0; max-width: 92ch; font-size: 1.06rem; line-height: 1.6; color: #d6e6ec; }
/* la tarjeta de descuento aparece con fundido al llegar a ella, como los textos (solo si el fundido está activo) */
.js-reveal .promo-card:not(.revelada) { opacity: 0; }
.js-reveal .promo-card.revelada { transition: opacity 1.1s ease; }
.pagina-tarifas .tarifas { overflow-x: clip; } /* el degradado llega a los bordes de la ventana sin crear barra de desplazamiento horizontal */

/* página propia de memorias */
.mem-pag-inicio { position: relative; overflow: hidden; background: var(--bg); padding: 150px 0 clamp(40px, 6vw, 70px); }
.mem-pag-bg { position: absolute; inset: 0; height: 100%; background: linear-gradient(0deg, var(--bg) 0%, rgba(13,17,19,.55) 60%, rgba(13,17,19,.8) 100%), url('img/memorias.webp') 70% 40%/cover; }
.mem-pag-grid { position: relative; max-width: 72ch; margin: 0 auto; }
.mem-pag-logo { display: block; width: clamp(150px, 22vw, 240px); height: auto; margin: 0 0 30px; }
.mem-pag-inicio h1 { font-size: var(--h2); font-weight: 400; line-height: 1.1; margin: 0 0 1em; }
.mem-pag-inicio p, .mem-pag-cuerpo p { color: #d1cfca; font-size: 1.02rem; margin: 0 0 1.1em; }
.mem-pag-inicio .mem-pag-marca { color: var(--text); font-weight: 700; margin-top: 1.6em; }
.mem-pag-cuerpo { background: var(--bg-2); padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 100px); }
.mem-pag-cuerpo h2 { font-size: var(--h2); font-weight: 400; line-height: 1.1; margin: 2em 0 .7em; color: var(--text); }
.mem-pag-cuerpo h2:first-child { margin-top: 0; }
.mem-pag-cuerpo .mem-pag-lema { color: var(--text); font-weight: 700; margin-top: 1.4em; }
.mem-pag-cierre { margin-top: 3em !important; padding-top: 1.6em; border-top: 1px solid rgba(255,255,255,.15); color: var(--muted) !important; }
.mem-pag-cierre em { font-style: italic; }
.pagina-memorias { min-height: 100vh; display: flex; flex-direction: column; }
.pagina-memorias main { flex: 1; }

/* cerebro creativo: trabajos realizados */
.cerebro-trabajos { margin-top: clamp(56px, 7vw, 96px); }
.cerebro-trabajos-t { font-family: "PT Serif", Georgia, serif; font-size: var(--h2); font-weight: 400; line-height: 1.1; margin: 0 0 26px; }
.trabajos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 14px; }
.trabajo { min-width: 0; }
.trabajo .video-card { width: 100%; }
.trabajo-meta { margin: 10px 0 0; font-size: .85rem; letter-spacing: .06em; color: var(--muted); }
@media (max-width: 1000px) { .trabajos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .trabajos-grid { grid-template-columns: 1fr; } }

/* visor con ficha del trabajo */
.lightbox.con-info { background: var(--bg); }
.lightbox.con-info[open] { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); grid-template-rows: auto minmax(0, 1fr); max-height: calc(100svh - 24px); }
.lightbox.con-info .lightbox-bar { grid-column: 1 / -1; }
.lightbox.con-info .lightbox-frame { align-self: start; max-height: none; background: #000; }
.lightbox-info { overflow-y: auto; padding: 22px 28px 28px; min-height: 0; }
.lightbox-info h3 { font-size: 1.5rem; font-weight: 400; line-height: 1.15; margin: 0 0 12px; }
.lightbox-info .trabajo-datos { display: grid; gap: 2px; margin: 0 0 18px; color: var(--muted); font-size: .92rem; }
.lightbox-info h4 { font-size: .82rem; font-weight: 500; letter-spacing: .14em; margin: 18px 0 8px; }
.lightbox-info p { margin: 0 0 10px; color: #d1cfca; font-size: .95rem; line-height: 1.55; }
.lightbox-info ul { margin: 0; padding-left: 1.1em; color: #d1cfca; font-size: .95rem; line-height: 1.55; }
.lightbox-info li { margin: 0 0 4px; }
@media (max-width: 900px) {
  .lightbox.con-info[open] { display: block; overflow-y: auto; }
  .lightbox-info { overflow: visible; padding: 18px 18px 26px; }
  .lightbox.con-info .lightbox-frame { max-height: calc(100svh - 90px); }
}
