/* === FRONT LINE KM · STYLES === */

:root {
  --bg: #0a0a0a;
  --bg-surface: #141414;
  --bg-elev: #1c1c1c;
  --line: #2a2a2a;
  --text: #e8e8e8;
  --text-dim: #888;
  --accent: #e63946;
  --accent-deep: #b81e2c;
  --warn: #f4c430;
  --grid: rgba(255,255,255,0.04);
  --wa: #25D366;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 60px 60px;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='5'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
}

h1, h2, h3, h4 {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.95;
  text-transform: uppercase;
}

a { color: inherit; text-decoration: none; }

.mono { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; letter-spacing: 0.05em; }

/* === HAZARD STRIPES === */
.stripes {
  background: repeating-linear-gradient(-45deg, var(--warn) 0 18px, #0a0a0a 18px 36px);
  height: 18px;
  width: 100%;
}

/* === NAV === */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  height: 80px;
}
.logo-img {
  height: 100%;
  width: auto;
  max-height: 80px;
  object-fit: contain;
  display: block;
}
.foot-brand .logo {
  height: 90px;
}
.foot-brand .logo-img {
  max-height: 90px;
}
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.15s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a::before {
  content: "// ";
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.15s;
}
.nav-links a:hover::before, .nav-links a.active::before { opacity: 1; }

.nav-social {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-social a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--text-dim);
  transition: all 0.15s;
}
.nav-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.nav-social a.wa {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
}
.nav-social a.wa:hover {
  background: #1ebe5a;
  border-color: #1ebe5a;
  color: #fff;
}
.nav-social svg { width: 22px; height: 22px; }

.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 10px 22px;
  font-family: 'Anton', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
  transition: background 0.15s;
  display: inline-block;
}
.nav-cta:hover { background: var(--accent-deep); }

.menu-toggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; font-size: 1.6rem; }

/* === FLOATING WHATSAPP === */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: var(--wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: transform 0.2s;
  animation: pulse 2.5s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.7), 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* === PAGE HEADER (interior pages) === */
.page-header {
  padding: 160px 40px 80px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-header .breadcrumb {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.18em;
  margin-bottom: 24px;
}
.page-header .breadcrumb .slash { color: var(--accent); margin: 0 8px; }
.page-header h1 {
  font-size: clamp(3.5rem, 11vw, 11rem);
  letter-spacing: -0.02em;
}
.page-header h1 .accent { color: var(--accent); }
.page-header .lead {
  margin-top: 30px;
  max-width: 640px;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.55;
  border-left: 3px solid var(--accent);
  padding-left: 18px;
}
.page-header .bg-num {
  position: absolute;
  bottom: -30px;
  right: -10px;
  font-family: 'Anton', sans-serif;
  font-size: 18vw;
  color: var(--bg-elev);
  z-index: 0;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.03em;
}

/* === HERO (only home) === */
.hero {
  min-height: 100vh;
  padding: 130px 40px 60px;
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.hero-meta {
  display: flex;
  justify-content: flex-start;
  gap: 28px;
  color: var(--text-dim);
  flex-wrap: wrap;
}
.hero-meta span {
  position: relative;
  padding-left: 20px;
}
.hero-meta span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 2px;
  background: var(--accent);
  transform: translateY(-50%);
}
.hero h1 {
  font-size: clamp(2.8rem, 7.2vw, 7.5rem);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
  animation: slideUp 0.8s cubic-bezier(.2,.8,.2,1) both;
  line-height: 0.92;
}
.hero h1 .accent { color: var(--accent); display: inline-block; }
.hero h1 .stroke { -webkit-text-stroke: 2px var(--text); color: transparent; }
.hero-desc {
  max-width: 540px;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.65;
  color: #c8c8c8;
  border-left: 3px solid var(--accent);
  padding-left: 18px;
  animation: slideUp 1s 0.2s cubic-bezier(.2,.8,.2,1) both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: slideUp 1s 0.3s cubic-bezier(.2,.8,.2,1) both;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  font-family: 'Anton', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s;
  border: 2px solid transparent;
}
.hero-btn.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.hero-btn.primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); transform: translateY(-2px); }
.hero-btn.ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.hero-btn.ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  margin-top: 8px;
  animation: slideUp 1s 0.4s cubic-bezier(.2,.8,.2,1) both;
}
.hero-stats > div {
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}
.hero-stats > div:last-child { border-right: none; }
.stat-num {
  font-family: 'Anton', sans-serif;
  font-size: 2.6rem;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* Visual side */
.hero-visual {
  position: relative;
  height: 70vh;
  max-height: 640px;
  min-height: 480px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 30%, rgba(230,57,70,0.08) 0%, transparent 50%),
    linear-gradient(135deg, var(--bg-elev) 0%, var(--bg) 100%);
  overflow: hidden;
  animation: slideUp 1s 0.3s cubic-bezier(.2,.8,.2,1) both;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.4;
  pointer-events: none;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(-45deg, transparent 0 6px, rgba(230,57,70,0.03) 6px 8px);
  pointer-events: none;
}
.hero-visual .corner {
  position: absolute;
  width: 32px;
  height: 32px;
  border: 2px solid var(--accent);
  z-index: 4;
}
.hero-visual .corner.tl { top: 16px; left: 16px; border-right: none; border-bottom: none; }
.hero-visual .corner.tr { top: 16px; right: 16px; border-left: none; border-bottom: none; }
.hero-visual .corner.bl { bottom: 16px; left: 16px; border-right: none; border-top: none; }
.hero-visual .corner.br { bottom: 16px; right: 16px; border-left: none; border-top: none; }

/* Video del hero */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  background: var(--bg-elev);
}
.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,10,10,0.55) 0%,
    rgba(10,10,10,0.25) 50%,
    rgba(230,57,70,0.15) 100%
  );
  z-index: 2;
  pointer-events: none;
}
/* Si el video carga, ocultamos el fallback (queda detrás) */
.hero-visual:has(.hero-video) .km-mark.fallback {
  z-index: 0;
  opacity: 0.18;
}

.hero-visual .km-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Anton', sans-serif;
  font-size: clamp(8rem, 24vw, 18rem);
  color: var(--accent);
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-align: center;
  z-index: 2;
  text-shadow:
    -2px 0 0 var(--bg),
    2px 0 0 var(--bg),
    0 -2px 0 var(--bg),
    0 2px 0 var(--bg);
}
.hero-visual .km-mark .stroke {
  display: block;
  -webkit-text-stroke: 2px var(--accent);
  color: transparent;
  font-size: 0.65em;
  margin-top: -0.1em;
  text-shadow: none;
}
.hero-visual .badges {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  z-index: 4;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  text-transform: uppercase;
  flex-wrap: wrap;
}
.hero-visual .badges span { padding: 6px 10px; border: 1px solid var(--line); background: rgba(10,10,10,0.6); backdrop-filter: blur(4px); }

.hero-visual .pulse-dot {
  position: absolute;
  top: 30px;
  right: 60px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  z-index: 4;
}
.hero-visual .pulse-dot::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: ping 2s ease-out infinite;
}
@keyframes ping {
  0% { transform: scale(0.7); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}
.hero-visual .pulse-label {
  position: absolute;
  top: 28px;
  right: 80px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  z-index: 4;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === SECTION HEADERS === */
.section { padding: 120px 0; border-bottom: 1px solid var(--line); }
.section-header {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 0 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.section-num {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
}
.section-title { font-size: clamp(2.5rem, 6vw, 5.5rem); }

.container { padding: 0 40px; }

/* === ABOUT === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  padding: 0 40px;
  align-items: start;
}
.about-photo {
  position: relative;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  border: 1px solid var(--line);
  overflow: hidden;
}
.about-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: contrast(1.05) saturate(0.9);
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.about-photo:hover img { transform: scale(1.03); }
.about-photo:not(:has(img))::before {
  content: "[ FOTO ]";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Anton', sans-serif;
  font-size: 4rem;
  color: var(--line);
  letter-spacing: 0.15em;
  z-index: 1;
}
.about-photo .corner {
  position: absolute;
  width: 24px; height: 24px;
  border: 2px solid var(--accent);
  z-index: 4;
}
.about-photo .corner.tl { top:0; left:0; border-right:none; border-bottom:none; }
.about-photo .corner.tr { top:0; right:0; border-left:none; border-bottom:none; }
.about-photo .corner.bl { bottom:0; left:0; border-right:none; border-top:none; }
.about-photo .corner.br { bottom:0; right:0; border-left:none; border-top:none; }
.about-text h3 { font-size: 2rem; margin-bottom: 8px; }
.about-text .role {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  margin-bottom: 32px;
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--accent);
}
.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 22px;
  color: #c8c8c8;
  font-weight: 300;
}
.about-text p strong { color: var(--text); font-weight: 600; }
.creds {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cred { background: var(--bg); padding: 18px 20px; }
.cred-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.cred-value { font-family: 'Anton', sans-serif; font-size: 1.4rem; color: var(--text); }

/* Timeline (about page) */
.timeline {
  position: relative;
  padding: 0 40px;
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.timeline-item {
  border-left: 2px solid var(--line);
  padding: 0 24px 30px;
  position: relative;
}
.timeline-item:first-child { border-left: 2px solid var(--accent); }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 0;
  width: 14px;
  height: 14px;
  background: var(--accent);
  transform: rotate(45deg);
}
.timeline-year {
  font-family: 'Anton', sans-serif;
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 8px;
  line-height: 1;
}
.timeline-item h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.timeline-item p {
  font-size: 0.92rem;
  color: var(--text-dim);
  font-weight: 300;
  line-height: 1.55;
}

/* === CURSOS === */
.cursos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.curso {
  background: var(--bg);
  padding: 40px 32px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}
.curso:hover { background: var(--bg-elev); }
.curso:hover .curso-arrow { transform: translateX(8px); color: var(--accent); }
.curso-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}
.curso-icon {
  width: 56px; height: 56px;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transform: rotate(45deg);
}
.curso-icon svg { transform: rotate(-45deg); width: 28px; height: 28px; stroke: var(--accent); fill: none; stroke-width: 2; }
.curso h3 { font-size: 1.8rem; margin-bottom: 14px; }
.curso .level {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}
.curso p {
  color: var(--text-dim);
  font-size: 0.98rem;
  line-height: 1.55;
  flex: 1;
  font-weight: 300;
}
.curso-arrow {
  margin-top: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

/* Curso detail (full page) */
.curso-detail {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  padding: 0 40px;
  margin-bottom: 100px;
  align-items: start;
}
.curso-detail .info-block {
  background: var(--bg-elev);
  padding: 30px;
  border: 1px solid var(--line);
}
.info-block h4 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.info-line {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.info-line:last-child { border-bottom: none; }
.info-line .lbl { color: var(--text-dim); font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; letter-spacing: 0.1em; }
.curso-detail .body h3 {
  font-size: 2.4rem;
  margin-bottom: 18px;
}
.curso-detail .body p {
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 300;
  color: #c8c8c8;
  margin-bottom: 18px;
}
.curso-detail ul {
  list-style: none;
  margin-top: 16px;
}
.curso-detail ul li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px dashed var(--line);
  font-weight: 300;
}
.curso-detail ul li::before {
  content: ">";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
}

/* === HORARIO — GRID DE DÍAS === */
.week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--line);
  margin: 0 40px;
  border: 1px solid var(--line);
}
.day-card {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 380px;
}
.day-head {
  padding: 16px 18px;
  border-bottom: 2px solid var(--accent);
  background: var(--bg-elev);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.day-name {
  font-family: 'Anton', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}
.day-short {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.day-card.closed .day-head {
  border-bottom-color: var(--line);
}
.day-card.closed .day-name { color: var(--text-dim); }

.day-classes {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.class-item {
  background: var(--bg-elev);
  border-left: 3px solid var(--accent);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.15s, background 0.15s;
}
.class-item:hover {
  transform: translateX(2px);
  background: #232323;
}
.class-item .time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.class-item .info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.class-item .info strong {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
}
.class-item .tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  align-self: flex-start;
  padding: 2px 6px;
  border: 1px solid var(--line);
}
/* Colores por tipo de clase */
.class-item .tag.def { color: #f59e42; border-color: rgba(245,158,66,0.4); }
.class-item .tag.fem { color: #c084fc; border-color: rgba(168,85,247,0.4); }
.class-item .tag.strk { color: var(--accent); border-color: rgba(230,57,70,0.4); }
.class-item .tag.kids { color: #f9a8d4; border-color: rgba(249,168,212,0.4); }
.class-item .tag.bigkids { color: #38bdf8; border-color: rgba(56,189,248,0.4); }
.class-item .tag.priv { color: var(--text); border-color: var(--text-dim); }
.class-item .tag.soon { color: var(--text-dim); border-style: dashed; }

/* Variantes de borde izquierdo y fondo según tipo */
.class-item.def { border-left-color: #f59e42; }
.class-item.fem { border-left-color: #a855f7; }
.class-item.strk { border-left-color: var(--accent); background: rgba(230,57,70,0.04); }
.class-item.kids { border-left-color: #f9a8d4; }
.class-item.bigkids { border-left-color: #38bdf8; }
.class-item.priv { border-left-color: var(--text-dim); border-left-style: solid; background: rgba(255,255,255,0.02); }
.class-item.soon { border-left-color: var(--text-dim); border-left-style: dashed; opacity: 0.7; }
.class-item.soon strong { color: var(--text-dim); font-style: normal; }

.day-rest {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 16px;
  text-align: center;
  gap: 6px;
}
.day-rest span {
  font-family: 'Anton', sans-serif;
  font-size: 1.4rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.day-rest p {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 300;
  line-height: 1.4;
}

.schedule-legend {
  margin: 30px 40px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.legend-item { display: flex; align-items: center; gap: 8px; }
.legend-dot { width: 14px; height: 14px; }
.dot-def { background: #f59e42; }
.dot-fem { background: #a855f7; }
.dot-strk { background: var(--accent); }
.dot-kids { background: #f9a8d4; }
.dot-bigkids { background: #38bdf8; }
.dot-priv { background: transparent; border: 1px solid var(--text); }
.dot-soon { background: transparent; border: 1px dashed var(--text-dim); }

/* === PRECIOS === */
.precios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.precio-card {
  background: var(--bg);
  padding: 50px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.2s;
}
.precio-card.featured { background: var(--bg-elev); }
.precio-card.featured::before {
  content: "MÁS POPULAR";
  position: absolute;
  top: 0; left: 0; right: 0;
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 6px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
}
.precio-card.featured { padding-top: 70px; }
.precio-card .pname {
  font-family: 'Anton', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.precio-card .ptag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  margin-bottom: 28px;
}
.precio-card .pprice {
  font-family: 'Anton', sans-serif;
  font-size: 4.5rem;
  color: var(--accent);
  line-height: 1;
}
.precio-card .pprice .currency { font-size: 1.5rem; vertical-align: top; }
.precio-card .pprice .period {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
  margin-left: 8px;
  letter-spacing: 0.1em;
}
.precio-card ul {
  list-style: none;
  margin: 30px 0;
  flex: 1;
}
.precio-card ul li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px dashed var(--line);
  font-size: 0.95rem;
  font-weight: 300;
}
.precio-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.precio-card ul li.dim { color: var(--text-dim); }
.precio-card ul li.dim::before { content: "—"; }
.precio-card .pcta {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 14px 22px;
  font-family: 'Anton', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s;
  display: inline-block;
  text-align: center;
}
.precio-card .pcta:hover { background: var(--accent); color: #fff; }
.precio-card.featured .pcta { background: var(--accent); color: #fff; }
.precio-card.featured .pcta:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

.precio-extras {
  margin-top: 80px;
  padding: 0 40px;
}
.extras-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.extra {
  background: var(--bg);
  padding: 30px 24px;
}
.extra .ename {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.extra .eprice {
  font-family: 'Anton', sans-serif;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 8px;
  line-height: 1;
}
.extra p { font-size: 0.9rem; color: var(--text-dim); font-weight: 300; line-height: 1.5; }

.precio-notes {
  padding: 0 40px;
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.precio-notes .note {
  border-left: 3px solid var(--accent);
  padding-left: 18px;
}
.precio-notes h4 { font-size: 1.2rem; margin-bottom: 10px; }
.precio-notes p { font-size: 0.98rem; color: var(--text-dim); font-weight: 300; line-height: 1.6; }

/* === NIVELES === */
.niveles-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0 40px;
  gap: 0;
  position: relative;
}
.nivel {
  padding: 30px 24px;
  border: 1px solid var(--line);
  margin-left: -1px;
  position: relative;
}
.nivel:first-child { margin-left: 0; }
.nivel-num {
  font-family: 'Anton', sans-serif;
  font-size: 4rem;
  line-height: 1;
  -webkit-text-stroke: 2px var(--accent);
  color: transparent;
}
.nivel-name {
  font-family: 'Anton', sans-serif;
  font-size: 1.4rem;
  margin: 12px 0 8px;
  letter-spacing: 0.04em;
}
.nivel-belt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.nivel p { font-size: 0.9rem; color: var(--text-dim); line-height: 1.5; font-weight: 300; }

/* === TESTIMONIOS === */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0 40px;
}
.testi {
  border: 1px solid var(--line);
  padding: 32px 28px;
  position: relative;
  background: var(--bg);
}
.testi::before {
  content: "❝";
  font-family: 'Anton', sans-serif;
  font-size: 5rem;
  color: var(--accent);
  position: absolute;
  top: -10px; left: 16px;
  line-height: 1;
}
.testi p { font-size: 1.05rem; line-height: 1.55; margin: 30px 0 20px; font-weight: 300; }
.testi-author {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}
.testi-author .name { color: var(--text); font-weight: 700; }

/* === CTA === */
.cta {
  padding: 140px 40px;
  background: var(--accent);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(0,0,0,0.06) 0 2px, transparent 2px 12px);
  pointer-events: none;
}
.cta-content {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}
.cta h2 {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  flex: 1;
  min-width: 300px;
}
.cta p { max-width: 320px; font-size: 1.1rem; margin-bottom: 24px; font-weight: 300; }
.cta-btn {
  background: #0a0a0a;
  color: #fff;
  padding: 22px 38px;
  font-family: 'Anton', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.15s;
}
.cta-btn:hover { transform: translate(-3px,-3px); box-shadow: 6px 6px 0 #000; }
.cta-btn.wa { background: var(--wa); }

/* === CONTACTO === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 0 40px;
}
.contact-info h3 { font-size: 2rem; margin-bottom: 24px; }
.contact-block {
  border: 1px solid var(--line);
  padding: 26px 28px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.2s;
}
.contact-block:hover { border-color: var(--accent); transform: translateX(4px); }
.contact-block .ico {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(45deg);
}
.contact-block .ico svg { transform: rotate(-45deg); width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 2; }
.contact-block .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-block .val {
  font-family: 'Anton', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
}
.contact-block .val a:hover { color: var(--accent); }

.contact-form {
  background: var(--bg-elev);
  padding: 40px;
  border: 1px solid var(--line);
}
.contact-form h3 { font-size: 1.6rem; margin-bottom: 24px; }
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 14px 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.15s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { border-color: var(--accent); }
.form-row textarea { min-height: 110px; resize: vertical; }
.form-submit {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 16px 32px;
  font-family: 'Anton', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  transition: background 0.15s;
}
.form-submit:hover { background: var(--accent-deep); }

.map-block {
  margin-top: 60px;
  padding: 0 40px;
}
.map-frame {
  border: 1px solid var(--line);
  background: var(--bg-elev);
  height: 360px;
  position: relative;
  overflow: hidden;
}
.map-frame::before {
  content: "[ ZARAUTZ — GIPUZKOA ]";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Anton', sans-serif;
  font-size: 2.5rem;
  color: var(--line);
  letter-spacing: 0.15em;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; position: relative; z-index: 2; }

/* === FOOTER === */
footer { background: #0a0a0a; padding: 60px 40px 24px; border-top: 1px solid var(--line); }
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.foot-col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 8px; color: var(--text-dim); font-size: 0.95rem; }
.foot-col a:hover { color: var(--accent); }
.foot-brand .logo { margin-bottom: 16px; }
.foot-brand p { color: var(--text-dim); font-size: 0.95rem; line-height: 1.5; max-width: 320px; font-weight: 300; }
.foot-socials { display: flex; gap: 10px; margin-top: 18px; }
.foot-socials a {
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: all 0.15s;
}
.foot-socials a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.foot-socials svg { width: 18px; height: 18px; }
.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

/* === RESPONSIVE === */
@media (max-width: 980px) {
  nav { padding: 10px 16px; }
  .logo { height: 50px; }
  .logo-img { max-height: 50px; }
  .nav-cta { padding: 8px 14px; font-size: 0.8rem; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-social {
    display: flex;
    gap: 6px;
  }
  .nav-social a {
    width: 36px;
    height: 36px;
  }
  .nav-social svg { width: 18px; height: 18px; }
  .menu-toggle { display: block; }

  .hero { padding: 120px 20px 60px; }
  .hero {
    grid-template-columns: 1fr;
    padding: 110px 20px 50px;
    gap: 32px;
    min-height: auto;
  }
  .hero-content { gap: 26px; }
  .hero-visual {
    height: 50vh;
    min-height: 320px;
    max-height: 420px;
    order: 1;
  }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; }
  .hero-stats > div { padding: 14px 12px; }
  .stat-num { font-size: 2rem; }
  .hero-visual .km-mark { font-size: clamp(5rem, 30vw, 9rem); }
  .hero-visual .badges { bottom: 16px; left: 16px; right: 16px; font-size: 0.6rem; }
  .hero-visual .corner { width: 22px; height: 22px; }
  .hero-btn { padding: 14px 18px; font-size: 0.95rem; flex: 1; justify-content: center; }
  .page-header { padding: 130px 20px 60px; }
  .section-header, .schedule-legend, .niveles-grid, .testi-grid, .cta, footer, .container, .precio-extras, .precio-notes, .map-block, .contact-grid, .timeline { padding-left: 20px; padding-right: 20px; }
  .niveles-grid { margin-left: 20px; margin-right: 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; padding: 0 20px; }
  .cursos-grid, .precios-grid { grid-template-columns: 1fr; }
  .niveles-grid { grid-template-columns: repeat(2,1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .extras-grid { grid-template-columns: repeat(2, 1fr); }
  /* Horario: tarjetas de día responsive */
  .week-grid {
    grid-template-columns: 1fr;
    margin: 0 20px;
    gap: 0;
  }
  .day-card { min-height: auto; }
  .day-classes { padding: 14px; gap: 10px; }
  .schedule-legend { margin: 24px 20px 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .contact-grid, .precio-notes { grid-template-columns: 1fr; }
  .curso-detail { grid-template-columns: 1fr; gap: 30px; }
  .wa-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .wa-float svg { width: 28px; height: 28px; }
}

/* Tablet: 2-3 columnas para el horario */
@media (min-width: 540px) and (max-width: 980px) {
  .week-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
  }
}

@media (min-width: 720px) and (max-width: 980px) {
  .week-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* TV / pantallas grandes: que no quede el horario diluido */
@media (min-width: 1600px) {
  .week-grid { max-width: 1500px; margin: 0 auto; }
  .day-card { min-height: 420px; }
  .day-name { font-size: 1.4rem; }
  .class-item .info strong { font-size: 1.15rem; }
  .class-item .time { font-size: 0.85rem; }
}
  /* === Vídeo de YouTube en el hero === */ 
.hero-visual .hero-video {
  position: absolute;
  inset: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  border: 0;
  z-index: 1;
  background: #000;
}
.hero-visual .corner,
.hero-visual .pulse-label,
.hero-visual .pulse-dot,
.hero-visual .badges {
  z-index: 4;
}
.hero-visual .hero-video-link {
  position: absolute;
  inset: 16px;
  z-index: 1;
  display: block;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}
.hero-visual .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.3s ease;
}
.hero-visual .hero-video-link:hover .hero-video {
  transform: scale(1.04);
  filter: brightness(0.7);
}
.hero-visual .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(230, 57, 70, 0.92);
  color: #fff;
  font-size: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 8px;
  z-index: 5;
  box-shadow: 0 0 0 8px rgba(230, 57, 70, 0.18), 0 12px 30px rgba(0,0,0,0.5);
  transition: transform 0.2s ease, background 0.2s ease;
}
.hero-visual .hero-video-link:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(230, 57, 70, 1);
}
/* === Video debajo del hero === */
.hero-video-section {
  padding: 0 40px 60px;
  background: var(--bg);
}
.hero-video-wrap {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: #000;
}
.hero-video-full {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 980px) {
  .hero-video-section { padding: 0 20px 40px; }
}

/* === Reordenar hero en m\u00f3vil: cuadro REC arriba, texto despu\u00e9s, v\u00eddeo abajo === */
@media (max-width: 980px) {
  .hero { display: flex; flex-direction: column; }
  .hero-visual { order: 1; }
  .hero-content { order: 2; }
}

/* === Forzar tama\u00f1o del cuadro REC en m\u00f3vil === */
@media (max-width: 980px) {
  .hero-visual {
    min-height: 50vh;
    height: auto;
    aspect-ratio: 4 / 5;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-visual .km-mark {
    font-size: clamp(4rem, 22vw, 9rem);
    line-height: 0.85;
    text-align: left;
    padding: 0 24px;
  }
}

/* === Centrar KRAV RAMA en m\u00f3vil === */
@media (max-width: 980px) {
  .hero-visual .km-mark {
    width: 100%;
  }
}

/* === Centrar KRAV RAMA en mobil === */
@media (max-width: 980px) {
  .hero-visual .km-mark {
    text-align: center !important;
    padding: 0 !important;
    width: 100%;
  }
}

/* === Mini logo en footer === */
.foot-mini-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}
.foot-mini-logo .kr-mark {
  font-family: 'Anton', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  border: 1px solid var(--text-dim);
  padding: 6px 14px;
  display: inline-block;
  transition: all 0.2s;
}
.foot-mini-logo .kr-mark:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* === Checkbox politica de privacidad === */
.form-privacy { margin: 18px 0; }
.check-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.4;
  font-weight: 300;
}
.check-line input[type=checkbox] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}
.check-line a {
  color: var(--accent);
  text-decoration: underline;
}
.check-line a:hover { color: var(--accent-deep); }

/* === Pagina legal === */
.legal-section { padding: 0 40px 80px; }
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 300;
}
.legal-block {
  margin-bottom: 38px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.legal-block:last-of-type { border-bottom: 0; }
.legal-block h2 {
  font-family: 'Anton', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.legal-block p {
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 12px;
  color: var(--text);
}
.legal-block ul {
  margin: 12px 0 12px 20px;
  list-style: none;
}
.legal-block ul li {
  padding: 6px 0 6px 18px;
  position: relative;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
}
.legal-block ul li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
}
.legal-block a {
  color: var(--accent);
  text-decoration: underline;
}
.legal-block strong { color: var(--text); font-weight: 600; }
.legal-note {
  font-style: italic;
  color: var(--text-dim);
  font-size: 0.9rem !important;
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  margin-top: 10px !important;
}
.legal-update {
  text-align: center;
  margin-top: 40px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
@media (max-width: 980px) {
  .legal-section { padding: 0 20px 60px; }
}

/* === Botón descarga PDF === */
.pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: #fff;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 26px;
  text-decoration: none;
  border: 2px solid var(--accent);
  margin-top: 24px;
  transition: background 0.18s ease, color 0.18s ease;
}
.pdf-btn:hover {
  background: transparent;
  color: var(--accent);
}
.pdf-btn svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}
