﻿@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Montserrat:wght@500;600;700;800&family=Playfair+Display:wght@500;600;700&display=swap");

:root {
  color-scheme: light dark;
  --ink: #3b2a1a;
  --muted: #75685c;
  --line: #e8ddcf;
  --paper: #f5f1e8;
  --soft: #fbf7ef;
  --accent: #b72f5f;
  --accent-dark: #741b3b;
  --rose: #dc6f93;
  --gold: #c6a96b;
  --charcoal: #171016;
  --plum: #2a1521;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  box-shadow: 0 0 18px rgba(183, 47, 95, 0.34);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 120ms linear;
}

a {
  color: inherit;
}

img {
  user-select: none;
  -webkit-user-drag: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(18px, 4.5vw, 58px);
  background: rgba(255, 250, 248, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand picture {
  display: block;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: clamp(158px, 15vw, 206px);
  max-height: 48px;
  height: auto;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.05);
  filter: drop-shadow(0 10px 20px rgba(59, 42, 26, 0.18));
}

.brand-mark {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.brand-name {
  color: var(--ink);
  letter-spacing: 0;
}

nav {
  display: flex;
  gap: clamp(12px, 1.6vw, 18px);
  font-size: 0.86rem;
  font-weight: 700;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover {
  color: var(--accent);
}

.menu-toggle,
.menu-close,
.menu-backdrop {
  display: none;
}

.hero {
  min-height: 78vh;
  display: grid;
  align-items: center;
  padding: clamp(48px, 7vw, 92px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 82% 38%, rgba(198, 169, 107, 0.16), transparent 26%),
    linear-gradient(90deg, rgba(23, 17, 22, 0.92), rgba(115, 22, 52, 0.52), rgba(23, 17, 22, 0.28)),
    url("imagenes/persona-exterior-taurus.webp") center 42% / cover;
  color: white;
}

.guide-hero {
  min-height: 62vh;
  display: grid;
  align-items: center;
  padding: clamp(56px, 9vw, 110px) clamp(20px, 5vw, 72px);
  color: white;
  background:
    linear-gradient(90deg, rgba(23, 17, 22, 0.9), rgba(169, 31, 79, 0.46)),
    url("imagenes/instalacion-sede-transmision-1.webp") center 45% / cover;
}

.guide-hero > div {
  max-width: 820px;
}

.requirements-hero {
  background:
    linear-gradient(90deg, rgba(23, 17, 22, 0.9), rgba(169, 31, 79, 0.48)),
    url("imagenes/instalacion-sede-transmision-2.webp") center 45% / cover;
}

.hero-content {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd6e0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 5.4vw, 4.7rem);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 800;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 800;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  font-weight: 800;
}

.hero p {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-highlights span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid rgba(255, 214, 224, 0.3);
  border-radius: 999px;
  padding: 0 14px;
  color: #fff8fa;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  font-weight: 800;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--rose));
  box-shadow: 0 14px 28px rgba(169, 31, 79, 0.22);
}

.button.primary:hover {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  transform: translateY(-1px);
}

.button.secondary {
  color: #fff8fa;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 214, 224, 0.58);
}

.section {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
  scroll-margin-top: 84px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.steps article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, white, #fff8fa);
}

.steps span {
  display: block;
  margin-bottom: 24px;
  color: var(--gold);
  font-weight: 800;
}

.benefits-section {
  background: linear-gradient(135deg, #211a1f, #731634);
  color: white;
}

.benefits-section .eyebrow {
  color: #ffd6e0;
}

.benefits-section p {
  color: rgba(255, 255, 255, 0.82);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.benefits-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(255, 214, 224, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.benefits-grid span {
  display: block;
  margin-bottom: 22px;
  color: #ffd6e0;
  font-weight: 800;
}

.benefits-grid h3 {
  color: white;
}

.growth-section {
  background:
    radial-gradient(circle at 82% 12%, rgba(224, 95, 140, 0.11), transparent 32%),
    linear-gradient(180deg, #fffaf8 0%, #f7edf1 100%);
}

.growth-path,
.academy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.growth-path article {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(126, 71, 91, 0.14);
  border-radius: 14px;
  background:
    radial-gradient(circle at top right, rgba(198, 169, 107, 0.18), transparent 34%),
    linear-gradient(145deg, #fffdfb, #fff3f7);
  box-shadow: 0 18px 44px rgba(53, 20, 35, 0.08);
}

.growth-path article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--accent), var(--gold));
}

.growth-path span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #6f2647;
  background: rgba(224, 95, 140, 0.13);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.growth-path h3,
.academy-grid h3 {
  margin: 0 0 10px;
  color: var(--ink);
}

.growth-path p,
.academy-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.academy-grid {
  margin-top: 18px;
}

.academy-grid article {
  padding: 22px;
  border: 1px solid rgba(126, 71, 91, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 14px 34px rgba(53, 20, 35, 0.06);
}

.mission-section {
  background: linear-gradient(180deg, #fff8fa, #ffffff);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mission-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.mission-grid h3 {
  color: var(--accent);
}

.mission-grid p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 440px);
  gap: 36px;
  align-items: start;
  background: linear-gradient(135deg, #fff1f4, #f6e2e8);
}

.check-list {
  margin: 0;
  padding: 26px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
  list-style-position: inside;
}

.check-list li + li {
  margin-top: 10px;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(38px, 6vw, 64px) clamp(20px, 5vw, 72px);
  color: white;
  background:
    linear-gradient(90deg, rgba(33, 26, 31, 0.9), rgba(169, 31, 79, 0.78)),
    url("imagenes/instalacion-sede-transmision-2.webp") center 50% / cover;
}

.cta-band .eyebrow {
  color: #ffd6e0;
}

.cta-band h2 {
  max-width: 720px;
  margin-bottom: 10px;
}

.cta-band p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.article-section {
  background: white;
}

.article-content {
  max-width: 920px;
}

.article-content h2 {
  margin-top: 34px;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content p {
  max-width: 760px;
  color: var(--muted);
}

.article-content a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.local-section {
  background: white;
}

.home-page .local-section {
  color: #fff8f5;
  background:
    radial-gradient(circle at 82% 14%, rgba(224, 95, 140, 0.16), transparent 34%),
    radial-gradient(circle at 12% 84%, rgba(198, 169, 107, 0.11), transparent 30%),
    linear-gradient(180deg, #160d13 0%, #10090d 100%);
}

.home-page .local-section .section-heading h2 {
  color: #fff8f5;
}

.home-page .local-section .section-heading p,
.home-page .local-section .location-tags p,
.home-page .local-section .coverage-list p {
  color: rgba(255, 248, 245, 0.78);
}

.local-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.local-points article {
  padding: 24px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: #fff8fa;
}

.home-page .local-points article,
.home-page .location-tags,
.home-page .coverage-list {
  color: #fff8f5;
  border: 1px solid rgba(255, 227, 214, 0.18);
  border-left: 4px solid rgba(224, 95, 140, 0.78);
  background:
    radial-gradient(circle at top right, rgba(224, 95, 140, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(52, 26, 41, 0.88), rgba(24, 12, 19, 0.92));
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
}

.home-page .location-tags,
.home-page .coverage-list {
  border-left-color: rgba(198, 169, 107, 0.72);
}

.home-page .local-points article h3,
.home-page .location-tags h3,
.home-page .coverage-list h3 {
  color: #fff8f5;
}

.guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 920px;
  margin-top: 26px;
}

.guide-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border: 1px solid rgba(183, 47, 95, 0.2);
  border-radius: 999px;
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(33, 26, 31, 0.06);
}

.guide-links a:hover {
  color: white;
  background: var(--accent);
  border-color: var(--accent);
}

.home-page .guide-links a {
  color: #fff8f5;
  border-color: rgba(255, 227, 214, 0.18);
  background: rgba(255, 250, 248, 0.08);
  box-shadow: none;
}

.home-page .guide-links a:hover {
  color: #2b1522;
  background: #ffd6e0;
  border-color: #ffd6e0;
}

.location-tags,
.coverage-list {
  max-width: 1180px;
  margin: 18px auto 0;
  padding: 22px 24px;
  border: 1px solid rgba(126, 71, 91, 0.14);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 246, 249, 0.9));
  box-shadow: 0 14px 34px rgba(53, 20, 35, 0.06);
}

.location-tags h3,
.coverage-list h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.location-tags p,
.coverage-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.location-tags p + p,
.coverage-list p + p {
  margin-top: 12px;
}

.borough-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 34px;
}

.borough-grid section {
  padding: 20px;
  border: 1px solid rgba(126, 71, 91, 0.14);
  border-radius: 8px;
  background: rgba(255, 250, 252, 0.82);
}

.borough-grid h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.08rem;
}

.borough-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.borough-grid-compact {
  gap: 14px;
  margin-bottom: 26px;
}

.borough-grid-compact section {
  padding: 18px 18px 16px;
}

.installations-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 36px;
  align-items: center;
  background: linear-gradient(180deg, #fff8fa, white);
}

.installations-copy {
  max-width: 760px;
}

.installations-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.installations-list article {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.installations-list h3 {
  margin-bottom: 4px;
}

.installations-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.installations-media {
  position: relative;
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 12px;
  align-items: end;
  justify-self: end;
  max-width: 380px;
}

.installations-media::after,
.gallery-feature .wm {
  content: "TCS";
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245, 241, 232, 0.28);
  border-radius: 50%;
  color: rgba(245, 241, 232, 0.78);
  background: rgba(23, 17, 22, 0.22);
  backdrop-filter: blur(7px);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1px;
  opacity: 0.74;
  pointer-events: none;
}

.installations-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 20px 44px rgba(33, 26, 31, 0.18);
  filter: saturate(0.92) contrast(0.96);
}

.installations-media img:first-child {
  transform: translateY(18px);
}

.gallery-section {
  background: var(--paper);
}

.studio-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 24px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.studio-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--charcoal);
  box-shadow: 0 24px 54px rgba(33, 26, 31, 0.22);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.studio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 64px rgba(33, 26, 31, 0.28);
}

.studio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 46%, rgba(23, 17, 22, 0.82)),
    linear-gradient(135deg, rgba(198, 169, 107, 0.1), transparent 38%);
  pointer-events: none;
}

.studio-card::before {
  content: "TCS";
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245, 241, 232, 0.28);
  border-radius: 50%;
  color: rgba(245, 241, 232, 0.78);
  background: rgba(23, 17, 22, 0.22);
  backdrop-filter: blur(7px);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1px;
  opacity: 0.74;
  pointer-events: none;
}

.studio-card img {
  display: block;
  width: 100%;
  height: auto;
}

.studio-card-wide {
  grid-column: span 2;
}

.studio-card-wide img {
  width: 100%;
}

.studio-card-small {
  max-width: 330px;
  justify-self: center;
}

.studio-card figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  max-width: 420px;
  color: white;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.45;
}

.studio-card figcaption strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.15rem;
  font-weight: 900;
}

.form-section {
  color: white;
  background:
    linear-gradient(90deg, rgba(23, 17, 22, 0.92), rgba(115, 22, 52, 0.68)),
    url("imagenes/instalacion-sede-transmision-1.webp") center 45% / cover;
}

.form-section .eyebrow {
  color: #ffd6e0;
}

.form-section .section-heading p {
  color: rgba(255, 255, 255, 0.84);
}

.privacy-section {
  background: linear-gradient(135deg, #211a1f, #731634);
  color: white;
}

.privacy-section .eyebrow {
  color: #ffd6e0;
}

.privacy-section p {
  color: rgba(255, 255, 255, 0.82);
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.privacy-grid article {
  padding: 24px;
  border: 1px solid rgba(255, 214, 224, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.privacy-grid h3 {
  color: white;
}

.legal-note {
  max-width: 920px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.legal-note a,
.consent a {
  color: inherit;
  font-weight: 800;
}

.legal-page {
  background: linear-gradient(180deg, white, #fff6f8);
}

.legal-page h1 {
  max-width: 860px;
}

.legal-content {
  display: grid;
  gap: 18px;
  max-width: 960px;
  margin-top: 34px;
}

.legal-content article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.legal-content h2 {
  font-size: 1.35rem;
}

.legal-content p {
  margin-bottom: 0;
  color: var(--muted);
}

.legal-content a {
  color: var(--accent);
  font-weight: 800;
}

.faq-section {
  background: #fff8fa;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.faq-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  max-width: 920px;
  align-items: start;
}

.form-section form {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255, 214, 224, 0.26);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(255, 214, 224, 0.16), transparent 32%),
    linear-gradient(145deg, rgba(45, 23, 36, 0.84), rgba(33, 17, 27, 0.68)),
    rgba(33, 26, 31, 0.62);
  backdrop-filter: blur(16px);
  box-shadow:
    0 32px 86px rgba(23, 17, 22, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.form-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-12px) scale(0.99);
  transform-origin: top center;
  transition:
    max-height 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    transform 0.42s ease;
  will-change: max-height, opacity, transform;
}

.form-panel form {
  margin-top: 16px;
}

.form-disclosure {
  max-width: 920px;
  margin-top: 2px;
  scroll-margin-top: 92px;
}

.form-toggle {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, 620px);
  min-height: 78px;
  padding: 17px 18px 17px 22px;
  border: 1px solid rgba(255, 214, 224, 0.36);
  border-radius: 24px;
  color: white;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 214, 224, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(216, 106, 139, 0.22), rgba(255, 255, 255, 0.08)),
    rgba(45, 23, 36, 0.62);
  box-shadow:
    0 18px 42px rgba(23, 17, 22, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-toggle::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #ffd6e0, var(--accent));
}

.form-toggle > span {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3px;
  text-align: left;
}

.form-toggle em {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 78px;
  justify-content: center;
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--ink);
  background: white;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(23, 17, 22, 0.18);
}

.form-toggle em::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.form-disclosure.is-open .form-toggle {
  border-color: rgba(255, 214, 224, 0.58);
  background:
    linear-gradient(135deg, rgba(216, 106, 139, 0.78), rgba(255, 255, 255, 0.12)),
    rgba(45, 23, 36, 0.72);
  box-shadow:
    0 22px 56px rgba(23, 17, 22, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.form-disclosure.is-open .form-toggle em::after {
  transform: rotate(225deg) translate(-2px, -1px);
}

.form-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 214, 224, 0.6);
}

.form-toggle strong {
  display: block;
  color: white;
  font-weight: 900;
}

.form-toggle small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 700;
}

.form-status {
  max-width: 920px;
  margin: 0 0 18px;
  padding: 13px 16px;
  border-radius: 18px;
  font-size: 0.94rem;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(23, 17, 22, 0.14);
}

.form-status.success {
  color: #135c33;
  background: #dff8e9;
  border: 1px solid #a8e1bd;
}

.form-status.error {
  color: #7a1c2f;
  background: #ffe7ed;
  border: 1px solid #f0b8c7;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.whatsapp-main {
  width: fit-content;
  margin-bottom: 22px;
  box-shadow: 0 18px 34px rgba(216, 106, 139, 0.28);
}

.video-main {
  width: fit-content;
  margin: 0 0 22px 10px;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 214, 224, 0.35);
}

.video-main:hover {
  background: rgba(255, 255, 255, 0.2);
}

label {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-weight: 700;
}

.form-section label {
  align-self: start;
  align-content: start;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.form-section label:focus-within {
  color: #fff4f7;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 12px 15px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 650;
}

.form-section input,
.form-section select,
.form-section textarea {
  min-height: 54px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  background: rgba(255, 251, 253, 0.97);
  box-shadow:
    0 14px 32px rgba(23, 17, 22, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.form-section select {
  height: 54px;
  color: #211a1f;
  cursor: pointer;
}

.form-section input::placeholder,
.form-section textarea::placeholder {
  color: rgba(33, 24, 32, 0.48);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #f2afc4;
  background: #ffffff;
  box-shadow:
    0 0 0 5px rgba(255, 214, 224, 0.34),
    0 18px 38px rgba(169, 31, 79, 0.22);
  transform: translateY(-1px);
}

textarea,
.consent {
  grid-column: 1 / -1;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

.consent {
  position: relative;
  display: flex;
  min-height: 82px;
  align-items: flex-start;
  gap: 16px;
  margin-top: 8px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 214, 224, 0.28);
  border-radius: 22px;
  color: rgba(255, 255, 255, 0.88);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 214, 224, 0.08)),
    rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 16px 34px rgba(23, 17, 22, 0.14);
  font-weight: 500;
  font-size: 0.94rem;
  line-height: 1.5;
}

.consent span {
  display: block;
  padding-top: 1px;
}

.form-section .consent a {
  color: #ffd6e0;
}

.consent input {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  min-height: 28px;
  margin: 1px 0 0;
  border: 2px solid rgba(255, 214, 224, 0.72);
  border-radius: 10px;
  appearance: none;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(23, 17, 22, 0.16);
  cursor: pointer;
  transform: none;
}

.consent input:checked {
  border-color: #ffd6e0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.5 3.5 6.5-7' stroke='%23fff' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat,
    linear-gradient(135deg, var(--accent), var(--rose));
  box-shadow:
    0 0 0 4px rgba(255, 214, 224, 0.22),
    0 10px 22px rgba(169, 31, 79, 0.28);
}

form .button {
  width: fit-content;
}

footer {
  padding: 56px clamp(20px, 5vw, 72px) 32px;
  color: rgba(255, 255, 255, 0.76);
  background:
    linear-gradient(135deg, rgba(42, 21, 33, 0.98), rgba(116, 27, 59, 0.96)),
    var(--plum);
  border-top: 1px solid rgba(255, 214, 224, 0.18);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(2, minmax(180px, 0.7fr));
  gap: clamp(26px, 5vw, 72px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

footer p {
  margin: 0;
}

footer strong {
  display: block;
  margin-bottom: 10px;
  color: white;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.05;
}

.footer-kicker {
  margin-bottom: 8px;
  color: #ffd6e0;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column {
  display: grid;
  gap: 10px;
}

.footer-title {
  margin: 0 0 4px;
  color: white;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
}

footer a {
  color: #ffd6e0;
  font-weight: 800;
  text-decoration: none;
}

footer a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1180px;
  margin: 34px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 214, 224, 0.18);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
}

.footer-location {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  line-height: 1.65;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  color: white;
  background: #25d366;
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.35);
  font-weight: 800;
  text-decoration: none;
}

.floating-whatsapp:hover {
  background: #1db954;
}

body.form-in-view .floating-whatsapp {
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
}

@media (max-width: 760px) {
  .site-header {
    position: sticky;
    align-items: center;
    flex-direction: row;
    padding: 10px 14px;
  }

  .brand-logo {
    width: 148px;
    max-height: 40px;
  }

  .menu-toggle {
    display: inline-grid;
    width: 40px;
    height: 40px;
    place-items: center;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: white;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
  }

  .menu-close {
    display: inline-flex;
    width: 100%;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid rgba(255, 214, 224, 0.22);
    border-radius: 18px;
    color: white;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
    font-weight: 800;
    cursor: pointer;
  }

  .menu-close::before {
    content: "";
    width: 36px;
    height: 4px;
    margin-right: 10px;
    border-radius: 999px;
    background: rgba(255, 214, 224, 0.72);
    box-shadow: 0 0 20px rgba(220, 111, 147, 0.34);
  }

  nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 31;
    width: min(82vw, 320px);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
    color: white;
    background:
      radial-gradient(circle at 18% 6%, rgba(220, 111, 147, 0.22), transparent 34%),
      linear-gradient(180deg, #2b1522, #160d13);
    box-shadow: 24px 0 60px rgba(33, 26, 31, 0.28);
    transform: translateX(-105%);
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
    touch-action: pan-y;
    overflow-y: auto;
  }

  nav a {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.98rem;
    font-weight: 800;
  }

  nav a:hover {
    color: #ffd6e0;
  }

  .menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 30;
    background: rgba(23, 17, 22, 0.46);
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .menu-toggle {
    visibility: hidden;
  }

  .menu-backdrop.is-open {
    display: block;
  }

  nav.is-open {
    display: flex;
    transform: translateX(0);
  }

  .hero {
    min-height: 72vh;
    background-position: 58% 38%;
  }

  .steps,
  .split,
  .benefits-grid,
  .growth-path,
  .academy-grid,
  .mission-grid,
  .installations-section,
  .local-points,
  .privacy-grid,
  .faq-grid,
  form {
    grid-template-columns: 1fr;
  }

  .form-section form {
    gap: 13px;
    padding: 16px;
    border-radius: 22px;
    background:
      radial-gradient(circle at top left, rgba(255, 214, 224, 0.14), transparent 34%),
      linear-gradient(145deg, rgba(45, 23, 36, 0.88), rgba(33, 17, 27, 0.76));
  }

  .form-panel form {
    margin-top: 12px;
  }

  .form-toggle {
    width: 100%;
    align-items: center;
    min-height: auto;
    padding: 13px 12px 13px 16px;
    border-radius: 18px;
  }

  .form-toggle strong {
    font-size: 0.92rem;
  }

  .form-toggle small {
    font-size: 0.78rem;
  }

  .form-toggle em {
    min-width: 64px;
    padding: 8px 9px;
    font-size: 0.78rem;
  }

  .form-status {
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 0.88rem;
  }

  .form-section label {
    gap: 7px;
    font-size: 0.88rem;
  }

  .form-section input,
  .form-section select,
  .form-section textarea {
    min-height: 50px;
    border-radius: 15px;
    padding: 11px 14px;
    font-size: 0.92rem;
  }

  .form-section select {
    height: 50px;
  }

  textarea {
    min-height: 96px;
  }

  .consent {
    min-height: auto;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    border-radius: 18px;
    font-size: 0.88rem;
    line-height: 1.48;
  }

  .consent input {
    flex-basis: 25px;
    width: 25px;
    height: 25px;
    min-height: 25px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .installations-media img:first-child {
    transform: none;
  }

  .installations-media {
    justify-self: stretch;
    max-width: 100%;
    margin-top: 4px;
  }

  .installations-media img {
    aspect-ratio: 1 / 1;
    max-height: 240px;
    object-position: center;
  }

  .gallery-section {
    padding-top: 46px;
    scroll-margin-top: 98px;
  }

  .studio-gallery {
    display: flex;
    gap: 14px;
    max-width: none;
    margin-inline: -20px;
    padding: 0 20px 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .studio-gallery::-webkit-scrollbar {
    display: none;
  }

  .studio-card,
  .studio-card-large,
  .studio-card-wide,
  .studio-card-small {
    flex: 0 0 min(82vw, 340px);
    grid-column: auto;
    max-width: none;
    scroll-snap-align: center;
  }

  .studio-card {
    border-radius: 18px;
    background: rgba(255, 248, 250, 0.96);
    box-shadow: 0 18px 42px rgba(33, 26, 31, 0.18);
  }

  .studio-card::after {
    background: linear-gradient(180deg, transparent 62%, rgba(23, 17, 22, 0.22));
  }

  .studio-card img {
    aspect-ratio: 4 / 4.6;
    object-fit: cover;
  }

  .studio-card-wide img {
    aspect-ratio: 4 / 4.6;
  }

  .studio-card figcaption {
    position: static;
    max-width: none;
    padding: 16px 18px 18px;
    color: #2b1522;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 247, 239, 0.98));
    font-size: 0.9rem;
    line-height: 1.42;
  }

  .studio-card figcaption strong {
    margin-bottom: 4px;
    color: #9d2853;
    font-size: 1rem;
  }

  .studio-card::before {
    right: 12px;
    top: 12px;
    width: 36px;
    height: 36px;
    font-size: 0.54rem;
  }

  .gallery-section .section-heading {
    margin-bottom: 22px;
  }

  .gallery-section .section-heading h2 {
    font-size: clamp(2rem, 9vw, 2.55rem);
    line-height: 0.98;
  }

  form .button {
    width: 100%;
  }

  .video-main {
    width: 100%;
    margin-left: 0;
  }

  .cta-band {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: stretch;
  }

  .cta-actions .button {
    width: 100%;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.92rem;
    box-shadow: 0 12px 26px rgba(37, 211, 102, 0.32);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .scroll-progress,
  .reveal-on-scroll,
  .studio-card,
  .site-header,
  .side-nav-dot {
    transition: none;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }

  .hero {
    will-change: auto;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f7efe7;
    --muted: #d7c7bc;
    --line: rgba(255, 227, 214, 0.16);
    --paper: #160d13;
    --soft: #201219;
    --accent: #e05f8c;
    --accent-dark: #9d2853;
    --rose: #f28aad;
    --gold: #d4b875;
    --charcoal: #0f090d;
    --plum: #26101d;
  }

  body {
    background:
      radial-gradient(circle at top left, rgba(224, 95, 140, 0.16), transparent 34vw),
      radial-gradient(circle at bottom right, rgba(198, 169, 107, 0.12), transparent 28vw),
      var(--paper);
  }

  .site-header {
    background: rgba(22, 13, 19, 0.9);
    border-bottom-color: rgba(255, 227, 214, 0.12);
  }

  .brand-logo {
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.32));
  }

  nav a {
    color: rgba(247, 239, 231, 0.72);
  }

  nav a:hover {
    color: #ffd2df;
  }

  .menu-toggle,
  .menu-close {
    color: #f7efe7;
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 227, 214, 0.18);
  }

  .menu-toggle span {
    background: #f7efe7;
  }

  .form-toggle {
    color: #fff8f5;
    background:
      radial-gradient(circle at 12% 20%, rgba(255, 214, 224, 0.2), transparent 28%),
      linear-gradient(135deg, rgba(216, 106, 139, 0.22), rgba(255, 255, 255, 0.08)),
      rgba(45, 23, 36, 0.62);
  }

  .form-toggle em {
    color: #2b1522;
    background: #fff8f5;
  }

  .form-disclosure.is-open .form-toggle em {
    color: #fff8f5;
    background: linear-gradient(135deg, var(--accent), var(--rose));
  }

  .section,
  .gallery-section {
    background: rgba(22, 13, 19, 0.94);
  }

  .section-heading p,
  .benefit-card p,
  .installations-list p,
  .privacy-section p,
  .legal-note {
    color: var(--muted);
  }

  .steps article,
  .mission-grid article,
  .growth-path article,
  .academy-grid article,
  .local-points article,
  .faq-grid article,
  .check-list,
  .benefit-card,
  .installations-list article,
  .privacy-grid article,
  .location-card,
  .form-shell,
  .form-card,
  .form-toggle {
    background: rgba(255, 250, 248, 0.1);
    border-color: rgba(255, 227, 214, 0.22);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.3);
  }

  .steps article,
  .mission-grid article,
  .growth-path article,
  .academy-grid article,
  .local-points article,
  .faq-grid article,
  .check-list {
    color: #fff8f5;
    background:
      linear-gradient(135deg, rgba(255, 250, 248, 0.12), rgba(255, 250, 248, 0.055));
  }

  .steps article p,
  .mission-grid article p,
  .growth-path p,
  .academy-grid p,
  .local-points article p,
  .faq-grid article p {
    color: rgba(255, 248, 245, 0.78);
  }

  .check-list li {
    color: rgba(255, 248, 245, 0.86);
  }

  .check-list li::marker {
    color: var(--gold);
  }

  .steps article h3,
  .mission-grid article h3,
  .growth-path h3,
  .academy-grid h3,
  .local-points article h3,
  .faq-grid article h3 {
    color: #fff8f5;
  }

  .benefit-card,
  .installations-list article,
  .location-card {
    color: var(--ink);
  }

  input,
  select,
  textarea {
    color: #24161d;
    background: rgba(255, 250, 248, 0.94);
  }

  input::placeholder,
  textarea::placeholder {
    color: rgba(36, 22, 29, 0.5);
  }

  .button.button-ghost {
    color: #fff8f5;
    border-color: rgba(255, 248, 245, 0.38);
  }

  .consent {
    color: #fff8f5;
    background: rgba(255, 250, 248, 0.11);
    border-color: rgba(255, 227, 214, 0.24);
  }

  .form-section,
  .privacy-section,
  footer {
    color: #fff8f5;
  }

  .form-toggle small,
  .form-section .section-heading p,
  .privacy-section p,
  footer p {
    color: rgba(255, 248, 245, 0.8);
  }

  .site-footer {
    background: #0f090d;
  }
}

/* =============================================
   WEB SCROLLING ENHANCEMENTS
   ============================================= */

.hero {
  min-height: 100vh;
  will-change: background-position;
}

.site-header {
  transition: padding 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled {
  padding-top: 7px;
  padding-bottom: 7px;
  box-shadow: 0 3px 22px rgba(59, 42, 26, 0.1);
}

/* --- Side navigation dots --- */

.side-nav {
  position: fixed;
  right: 20px;
  top: 50%;
  z-index: 29;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateY(-50%);
}

.side-nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  padding: 0;
  background: rgba(183, 47, 95, 0.18);
  border: 2px solid rgba(183, 47, 95, 0.38);
  cursor: pointer;
  transition:
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.side-nav-dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.6);
  box-shadow: 0 0 0 4px rgba(183, 47, 95, 0.18);
}

.side-nav-dot:hover {
  background: var(--rose);
  border-color: var(--rose);
  transform: scale(1.35);
}

/* --- Staggered reveal variants --- */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 640ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .side-nav {
    display: none;
  }
}

/* Visual QA fixes: contrast, responsive hero height, and stable media ratios */
.hero,
.guide-hero,
.cta-band,
.form-section {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

.hero {
  min-height: min(100svh, 860px);
  background:
    radial-gradient(circle at 82% 38%, rgba(198, 169, 107, 0.14), transparent 24%),
    linear-gradient(90deg, rgba(12, 8, 12, 0.94) 0%, rgba(69, 15, 36, 0.76) 46%, rgba(12, 8, 12, 0.48) 100%),
    url("imagenes/persona-exterior-taurus.webp") center 42% / cover;
}

.guide-hero {
  background:
    linear-gradient(90deg, rgba(12, 8, 12, 0.94) 0%, rgba(103, 20, 54, 0.76) 55%, rgba(22, 13, 19, 0.54) 100%),
    url("imagenes/instalacion-sede-transmision-1.webp") center 45% / cover;
}

.requirements-hero {
  background:
    linear-gradient(90deg, rgba(12, 8, 12, 0.94) 0%, rgba(103, 20, 54, 0.78) 55%, rgba(22, 13, 19, 0.56) 100%),
    url("imagenes/instalacion-sede-transmision-2.webp") center 45% / cover;
}

.cta-band {
  background:
    linear-gradient(90deg, rgba(16, 10, 15, 0.94), rgba(92, 18, 47, 0.88)),
    url("imagenes/instalacion-sede-transmision-2.webp") center 50% / cover;
}

.form-section {
  background:
    linear-gradient(90deg, rgba(12, 8, 12, 0.94), rgba(90, 20, 48, 0.82)),
    url("imagenes/instalacion-sede-transmision-1.webp") center 45% / cover;
}

.hero p,
.guide-hero p,
.cta-band p,
.form-section .section-heading p {
  color: rgba(255, 255, 255, 0.94);
}

.hero-highlights span,
.button.secondary,
.button.button-ghost {
  background: rgba(12, 8, 12, 0.28);
  backdrop-filter: blur(8px);
}

.studio-card::after {
  background:
    linear-gradient(180deg, rgba(12, 8, 12, 0.04) 28%, rgba(12, 8, 12, 0.88) 100%),
    linear-gradient(135deg, rgba(198, 169, 107, 0.1), transparent 38%);
}

.studio-card figcaption {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.58);
}

.studio-card img {
  width: 100%;
  height: clamp(320px, 34vw, 480px);
  object-fit: cover;
  object-position: center;
}

.studio-card-wide img {
  height: clamp(300px, 32vw, 460px);
}

.studio-card-small img {
  height: clamp(340px, 38vw, 520px);
}

@media (max-width: 760px) {
  .hero {
    min-height: calc(100svh - 60px);
    padding-top: clamp(44px, 7vh, 72px);
    padding-bottom: clamp(44px, 7vh, 72px);
    background:
      linear-gradient(180deg, rgba(12, 8, 12, 0.32) 0%, rgba(12, 8, 12, 0.72) 34%, rgba(12, 8, 12, 0.9) 100%),
      linear-gradient(90deg, rgba(12, 8, 12, 0.76), rgba(103, 20, 54, 0.36)),
      url("imagenes/persona-exterior-taurus.webp") 58% 38% / cover;
  }

  .guide-hero,
  .requirements-hero {
    min-height: auto;
    padding-top: clamp(58px, 10vh, 88px);
    padding-bottom: clamp(58px, 10vh, 88px);
  }

  h1 {
    font-size: clamp(2.08rem, 10vw, 2.8rem);
    line-height: 1.04;
  }

  h2 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
    line-height: 1.08;
  }

  .hero p,
  .guide-hero p {
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero-highlights span {
    background: rgba(12, 8, 12, 0.36);
  }

  .studio-card::after {
    background: linear-gradient(180deg, transparent 54%, rgba(23, 17, 22, 0.18));
  }

  .studio-card figcaption {
    text-shadow: none;
  }

  .studio-card img,
  .studio-card-wide img,
  .studio-card-small img {
    height: auto;
    aspect-ratio: 4 / 4.6;
    object-fit: cover;
  }
}

/* Keep narrow viewports from turning the hero into an oversized portrait crop */
@media (max-width: 760px) {
  .hero {
    min-height: clamp(680px, 86svh, 820px);
    align-items: end;
    background:
      linear-gradient(180deg, rgba(12, 8, 12, 0.2) 0%, rgba(12, 8, 12, 0.56) 36%, rgba(12, 8, 12, 0.92) 100%),
      linear-gradient(90deg, rgba(12, 8, 12, 0.72), rgba(103, 20, 54, 0.38)),
      url("imagenes/persona-exterior-taurus.webp") 58% 34% / cover;
  }
}

/* Restore photo presence while keeping text readable */
.hero {
  background:
    radial-gradient(circle at 82% 38%, rgba(198, 169, 107, 0.12), transparent 24%),
    linear-gradient(90deg, rgba(12, 8, 12, 0.82) 0%, rgba(69, 15, 36, 0.54) 44%, rgba(12, 8, 12, 0.22) 100%),
    url("imagenes/persona-exterior-taurus.webp") center 42% / cover;
}

.guide-hero {
  background:
    linear-gradient(90deg, rgba(12, 8, 12, 0.84) 0%, rgba(103, 20, 54, 0.5) 54%, rgba(22, 13, 19, 0.24) 100%),
    url("imagenes/instalacion-sede-transmision-1.webp") center 45% / cover;
}

.requirements-hero {
  background:
    linear-gradient(90deg, rgba(12, 8, 12, 0.84) 0%, rgba(103, 20, 54, 0.52) 54%, rgba(22, 13, 19, 0.26) 100%),
    url("imagenes/instalacion-sede-transmision-2.webp") center 45% / cover;
}

.cta-band {
  background:
    linear-gradient(90deg, rgba(16, 10, 15, 0.84), rgba(92, 18, 47, 0.62)),
    url("imagenes/instalacion-sede-transmision-2.webp") center 50% / cover;
}

.form-section {
  background:
    linear-gradient(90deg, rgba(12, 8, 12, 0.84), rgba(90, 20, 48, 0.58)),
    url("imagenes/instalacion-sede-transmision-1.webp") center 45% / cover;
}

.hero-content,
.guide-hero > div,
.cta-band > div,
.form-section .section-heading {
  filter: drop-shadow(0 3px 20px rgba(0, 0, 0, 0.56));
}

@media (max-width: 760px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(12, 8, 12, 0.08) 0%, rgba(12, 8, 12, 0.36) 35%, rgba(12, 8, 12, 0.76) 100%),
      linear-gradient(90deg, rgba(12, 8, 12, 0.52), rgba(103, 20, 54, 0.2)),
      url("imagenes/persona-exterior-taurus.webp") 58% 34% / cover;
  }

  .guide-hero,
  .requirements-hero,
  .cta-band,
  .form-section {
    background-blend-mode: normal;
  }
}

/* QA fix: content must never stay dimmed if scroll reveal does not fire */
.reveal-on-scroll,
.reveal-on-scroll.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

/* Tablet QA: avoid cramped two-column layouts before the mobile breakpoint */
@media (max-width: 900px) {
  .installations-section,
  .split {
    grid-template-columns: 1fr;
  }

  .installations-media {
    justify-self: stretch;
    max-width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 8px;
  }

  .installations-media img,
  .installations-media img:first-child {
    width: 100%;
    max-height: 300px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transform: none;
  }

  .local-points,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid,
  .mission-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .benefits-grid,
  .mission-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* Local SEO pages: keep barrio cards readable in light and dark devices */
.location-tags,
.coverage-list,
.borough-grid section {
  color: #25141d;
  background: linear-gradient(135deg, #fffaf8, #fff3f6);
}

.location-tags h3,
.coverage-list h3,
.borough-grid h3 {
  color: #25141d;
}

.location-tags p,
.coverage-list p,
.borough-grid p {
  color: #67515b;
}

@media (prefers-color-scheme: dark) {
  .location-tags,
  .coverage-list,
  .borough-grid section {
    color: #25141d;
    background: linear-gradient(135deg, #fffaf8, #fff2f6);
    border-color: rgba(198, 169, 107, 0.35);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
  }

  .location-tags h3,
  .coverage-list h3,
  .borough-grid h3 {
    color: #25141d;
  }

  .location-tags p,
  .coverage-list p,
  .borough-grid p {
    color: #67515b;
  }

  .article-section .borough-grid section {
    color: #fff8f5;
    background:
      radial-gradient(circle at top left, rgba(224, 95, 140, 0.16), transparent 46%),
      linear-gradient(135deg, rgba(255, 250, 248, 0.12), rgba(255, 250, 248, 0.055));
    border-color: rgba(255, 227, 214, 0.22);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28);
  }

  .article-section .borough-grid h3 {
    color: #fff8f5;
  }

  .article-section .borough-grid p {
    color: rgba(255, 248, 245, 0.78);
  }
}

/* Branded desktop cursor */
@media (hover: hover) and (pointer: fine) {
  body {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cdefs%3E%3Cfilter id='s' x='-50%25' y='-50%25' width='200%25' height='200%25'%3E%3CfeDropShadow dx='0' dy='2' stdDeviation='2' flood-color='%23171016' flood-opacity='.32'/%3E%3C/filter%3E%3C/defs%3E%3Cpath filter='url(%23s)' d='M6 4 25 16 16 18 12 27z' fill='%23fff8f5' stroke='%23b72f5f' stroke-width='1.4' stroke-linejoin='round'/%3E%3Ccircle cx='13.8' cy='15.2' r='2.7' fill='%23c6a96b'/%3E%3C/svg%3E") 6 4, auto;
  }

  a,
  button,
  .button,
  .menu-toggle,
  .menu-close,
  .side-nav-dot,
  .form-toggle,
  label,
  select,
  input[type="checkbox"] {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cdefs%3E%3Cfilter id='s' x='-50%25' y='-50%25' width='200%25' height='200%25'%3E%3CfeDropShadow dx='0' dy='2' stdDeviation='2' flood-color='%23171016' flood-opacity='.32'/%3E%3C/filter%3E%3C/defs%3E%3Cpath filter='url(%23s)' d='M6 4 25 16 16 18 12 27z' fill='%23e85f91' stroke='%23fff8f5' stroke-width='1.4' stroke-linejoin='round'/%3E%3Ccircle cx='13.8' cy='15.2' r='2.7' fill='%23d4b875'/%3E%3C/svg%3E") 6 4, pointer;
  }

  input,
  textarea {
    cursor: text;
  }
}

/* Local barrios page: balanced gallery for desktop and mobile QA */
.barrios-page .article-section {
  color: #fff8f5;
  background:
    radial-gradient(circle at 88% 12%, rgba(224, 95, 140, 0.12), transparent 34%),
    linear-gradient(180deg, #160d13 0%, #120a0f 100%);
}

.barrios-page .article-section .article-content h2 {
  color: #fff8f5;
}

.barrios-page .article-section .article-content p {
  color: rgba(255, 248, 245, 0.78);
}

.barrios-page .article-section .borough-grid section {
  color: #fff8f5;
  background:
    radial-gradient(circle at 12% 0%, rgba(224, 95, 140, 0.18), transparent 42%),
    linear-gradient(145deg, rgba(52, 26, 41, 0.96), rgba(25, 12, 19, 0.96));
  border-color: rgba(255, 227, 214, 0.2);
  box-shadow: 0 22px 54px rgba(23, 17, 22, 0.22);
}

.barrios-page .article-section .borough-grid h3 {
  color: #fff8f5;
}

.barrios-page .article-section .borough-grid p {
  color: rgba(255, 248, 245, 0.78);
}

.barrios-page .article-section .borough-grid section:nth-child(even) {
  background:
    radial-gradient(circle at 88% 0%, rgba(198, 169, 107, 0.16), transparent 40%),
    linear-gradient(145deg, rgba(48, 25, 39, 0.96), rgba(22, 11, 18, 0.96));
}

.barrios-page .article-section .borough-grid section,
.barrios-page .article-section .borough-grid section * {
  text-shadow: none;
}

.local-visual-gallery {
  grid-template-columns: 1.15fr 0.92fr 0.92fr;
  align-items: stretch;
}

.local-visual-gallery .studio-card,
.local-visual-gallery .studio-card-wide {
  grid-column: auto;
  min-height: 100%;
}

.local-visual-gallery .studio-card img,
.local-visual-gallery .studio-card-wide img {
  height: clamp(280px, 28vw, 390px);
  object-fit: cover;
  object-position: center;
}

.local-visual-gallery .studio-card:nth-child(2) img {
  object-position: center 48%;
}

@media (max-width: 900px) {
  .local-visual-gallery {
    display: flex;
    grid-template-columns: none;
  }
}

@media (max-width: 760px) {
  .local-visual-gallery .studio-card,
  .local-visual-gallery .studio-card-wide {
    flex-basis: min(84vw, 340px);
  }

  .local-visual-gallery .studio-card img,
  .local-visual-gallery .studio-card-wide img {
    height: auto;
    aspect-ratio: 4 / 4.7;
  }
}
