/* Maryland Self Defense Academy — mobile-first styles */
:root {
  --red: #c8102e;
  --red-dark: #9e0c24;
  --red-bright: #e3233f;
  --black: #111214;
  --charcoal: #1c1d21;
  --charcoal-2: #26282d;
  --gray-100: #f4f4f5;
  --gray-200: #e6e6e8;
  --gray-600: #55575e;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.12);
  --font-head: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  color: var(--black); background: var(--white);
  padding-bottom: 64px; /* room for mobile bar */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.05; margin: 0 0 .5em; letter-spacing: .01em; }
p { margin: 0 0 1em; }
address { font-style: normal; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.faq-layout { display: grid; gap: 8px; }
.faq-intro { margin-bottom: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--white); color: var(--black); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid #ffbf47; outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; padding: .7em 1.3em; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
  min-height: 48px; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 6px 18px rgba(200,16,46,.35); }
.btn-primary:hover { background: var(--red-dark); }
.btn-light { background: var(--white); color: var(--red-dark); }
.btn-light:hover { background: var(--gray-100); }
.btn-outline-light { border-color: rgba(255,255,255,.85); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--black); }
.btn-lg { font-size: 1.25rem; padding: .8em 1.5em; }
.btn-sm { font-size: 1rem; min-height: 42px; padding: .5em 1.1em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(17,18,20,.96); backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 3px solid var(--red);
}
.header-inner { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; margin-right: auto; min-width: 0; }
.brand img { width: 46px; height: 46px; flex: none; }
.brand-text { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; line-height: 1; display: flex; flex-direction: column; }
.brand-top { font-size: 1.15rem; color: var(--white); }
.brand-bottom { font-size: .74rem; color: #ff6b7f; letter-spacing: .04em; white-space: nowrap; }
.btn-header { display: none; font-size: .95rem; min-height: 42px; padding: .45em .9em; white-space: nowrap; box-shadow: none; gap: 0; }
@media (min-width: 360px) { .btn-header { display: inline-flex; order: 2; } .nav-toggle { order: 3; } }
.hide-sm { display: none; }
@media (min-width: 960px) { .hide-sm { display: inline; margin-right: .3em; } }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  background: transparent; border: 2px solid rgba(255,255,255,.3); border-radius: 10px; cursor: pointer; padding: 0;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 22px; height: 2.5px; background: var(--white); border-radius: 2px; position: relative; transition: transform .2s ease, opacity .2s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--white); text-decoration: none; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 1.1rem; }
.site-nav a:hover { color: #ff6b7f; }

/* Mobile nav: dropdown panel (JS) ; without JS the nav is shown inline below */
.site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--black); border-bottom: 3px solid var(--red); }
.js .site-nav { display: none; }
.js .site-nav.open { display: block; }
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .site-nav { position: static; }
html:not(.js) .header-inner { flex-wrap: wrap; }
.site-nav li a { display: block; padding: 14px 20px; border-top: 1px solid rgba(255,255,255,.08); }

/* Hero */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  /* mobile: stripes only in the logo area at the top, so text stays readable */
  background:
    linear-gradient(115deg, transparent 0 40%, rgba(200,16,46,.95) 40% 52%, transparent 52% 56%, rgba(255,255,255,.85) 56% 58%, transparent 58% 62%, rgba(200,16,46,.85) 62% 100%) top / 100% 340px no-repeat,
    radial-gradient(ellipse at 20% 10%, #33353b 0%, var(--charcoal) 45%, var(--black) 100%);
}
.hero::before { /* fade stripes into the dark background */
  content: ""; position: absolute; left: 0; right: 0; top: 240px; height: 110px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(28,29,33,0), #1f2024);
}
@media (min-width: 960px) {
  .hero {
    background:
      linear-gradient(115deg, transparent 0 58%, rgba(200,16,46,.95) 58% 64%, transparent 64% 67%, rgba(255,255,255,.9) 67% 68.5%, transparent 68.5% 71%, rgba(200,16,46,.85) 71% 100%),
      radial-gradient(ellipse at 20% 10%, #33353b 0%, var(--charcoal) 45%, var(--black) 100%);
  }
  .hero::before { display: none; }
}
.hero::after { /* subtle mat texture */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .08;
  background-image: repeating-linear-gradient(45deg, #fff 0 1px, transparent 1px 14px), repeating-linear-gradient(-45deg, #fff 0 1px, transparent 1px 14px);
}
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column-reverse; align-items: center; gap: 18px; padding-top: 28px; padding-bottom: 48px; }
.hero-logo { width: min(68vw, 300px); filter: drop-shadow(0 18px 30px rgba(0,0,0,.55)); }
.hero-copy { text-align: center; }
.eyebrow { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: #ff8a9a; margin-bottom: .6em; font-size: 1rem; }
.hero h1 { text-transform: uppercase; font-weight: 800; margin-bottom: .45em; }
.hero-line1 { display: block; font-size: clamp(2.6rem, 11vw, 5.4rem); line-height: .95; text-shadow: 0 4px 0 rgba(0,0,0,.35); }
.hero-line2 {
  display: inline-block; margin-top: .3em; font-size: clamp(1.7rem, 7vw, 3.1rem);
  background: var(--red); color: var(--white); padding: .12em .45em; transform: skew(-8deg); box-shadow: 6px 6px 0 rgba(0,0,0,.45);
}
.hero-lead { font-size: 1.15rem; max-width: 34em; margin: 0 auto 1.1em; color: #e9e9ec; }
.hero-facts { list-style: none; padding: 0; margin: 0 auto 1.6em; display: grid; gap: 10px; max-width: 26rem; text-align: left; }
.hero-facts li { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 10px 14px; }
.fact-icon { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.fact-icon svg { width: 18px; height: 18px; fill: var(--white); }
.hero-ctas { display: flex; flex-direction: column; gap: 12px; align-items: stretch; max-width: 26rem; margin: 0 auto; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--gray-100); }
.section-dark { background: var(--charcoal); color: var(--white); }
.section-red { background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); color: var(--white); position: relative; overflow: hidden; }
.section-red::before { content: ""; position: absolute; right: -10%; top: 0; bottom: 0; width: 45%; background: repeating-linear-gradient(115deg, rgba(0,0,0,.12) 0 18px, transparent 18px 46px); pointer-events: none; }
.section-red .container { position: relative; }
.section-kicker { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--red); margin-bottom: .4em; font-size: 1.05rem; }
.section-dark .section-kicker { color: #ff7a8c; }
.kicker-light { color: #ffe1e5 !important; }
.section-title { font-size: clamp(2.1rem, 7vw, 3.4rem); font-weight: 800; text-transform: uppercase; margin-bottom: .7em; }
.section-title::after { content: ""; display: block; width: 72px; height: 5px; background: var(--red); margin-top: .3em; transform: skew(-20deg); }
.section-red .section-title::after { background: var(--white); }
.lead { font-size: 1.2rem; }

.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 24px; border-top: 5px solid var(--red); }

/* Benefits */
.benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.benefit h3 { font-size: 1.6rem; text-transform: uppercase; }
.benefit p { color: var(--gray-600); margin: 0; }
.benefit-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--black); display: grid; place-items: center; margin-bottom: 16px; transform: rotate(-6deg); }
.benefit-icon svg { width: 30px; height: 30px; fill: var(--red-bright); transform: rotate(6deg); }

/* Schedule */
.schedule-grid { display: grid; gap: 28px; }
.schedule-info { display: grid; gap: 22px; }
.info-block h3 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .12em; color: #ff7a8c; margin-bottom: .3em; }
.info-block p, .info-block address { font-size: 1.15rem; margin-bottom: .8em; }
.info-block .big { font-family: var(--font-head); font-weight: 800; font-size: 2.3rem; line-height: 1.05; text-transform: uppercase; }
.free-badge { display: inline-block; justify-self: start; background: var(--red); color: var(--white); font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: 1.4rem; letter-spacing: .03em; padding: .35em .8em; transform: skew(-8deg); margin: 0; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 4px solid var(--red); min-height: 320px; background: #2b2d33; }
.map-wrap iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }

/* Coach */
.coach-grid { display: grid; gap: 28px; align-items: center; }
.coach-badge { width: min(60vw, 260px); margin: 0 auto; position: relative; }
.coach-badge::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; background: conic-gradient(var(--red) 0 25%, var(--black) 0 50%, var(--red) 0 75%, var(--black) 0); opacity: .9; z-index: -1; }
.coach-badge img { border-radius: 50%; }
.coach-copy .lead { font-weight: 500; }

/* Parents */
.parent-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.parent-points h3 { font-size: 1.55rem; text-transform: uppercase; }
.parent-points p { margin: 0; color: var(--gray-600); }

/* Español */
.es-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.es-list li { background: rgba(0,0,0,.18); border-left: 4px solid var(--white); padding: 10px 14px; border-radius: 0 10px 10px 0; }
.es-cta-title { font-size: 1.2rem; }
.cta-buttons { display: flex; flex-direction: column; gap: 12px; }
.es-grid > div { max-width: 880px; }

/* FAQ */
.faq details { border: 2px solid var(--gray-200); border-radius: 12px; margin-bottom: 12px; background: var(--white); transition: border-color .15s; }
.faq details[open] { border-color: var(--red); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; font-weight: 700; font-size: 1.12rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--gray-600); }

/* CTA / Contact */
.cta { background:
  linear-gradient(115deg, var(--charcoal) 0 70%, rgba(200,16,46,.9) 70% 74%, var(--charcoal) 74% 76%, rgba(200,16,46,.9) 76% 100%); }
.cta-grid { display: grid; gap: 36px; align-items: center; }
.contact-buttons { display: grid; gap: 12px; margin: 1.4em 0; }
.contact-btn {
  display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--white);
  background: rgba(255,255,255,.06); border: 2px solid rgba(255,255,255,.18); border-radius: 14px; padding: 14px 16px;
  transition: background .15s, border-color .15s, transform .15s; min-width: 0;
}
.contact-btn:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.contact-icon { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.contact-btn:hover .contact-icon { background: var(--black); }
.contact-icon svg { width: 22px; height: 22px; fill: var(--white); }
.contact-label { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .95rem; color: #ffb3bd; }
.contact-btn:hover .contact-label { color: var(--white); }
.contact-value { display: block; font-weight: 700; font-size: 1.15rem; }
.contact-value.email { word-break: break-all; font-size: 1.02rem; }
.cta-note { color: #d4d4d8; }
.flyer { margin: 0; text-align: center; }
.flyer img { border-radius: 10px; box-shadow: 0 20px 40px rgba(0,0,0,.5); margin: 0 auto 14px; max-width: 360px; width: 100%; border: 4px solid var(--white); }

/* Footer */
.site-footer { background: var(--black); color: #c9c9cf; padding: 44px 0 20px; font-size: .98rem; }
.site-footer a { color: var(--white); }
.footer-inner { display: grid; gap: 22px; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand img { width: 56px; height: 56px; flex: none; }
.footer-name { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; color: var(--white); margin: 0 0 .1em; }
.footer-brand p:last-child, .footer-info p { margin: 0 0 .3em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding-top: 16px; font-size: .9rem; }
.footer-bottom p { margin: 0; }

/* Mobile quick bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr 1fr 1.4fr;
  background: var(--black); border-top: 3px solid var(--red); padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a { color: var(--white); text-decoration: none; text-align: center; padding: 16px 4px; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 1.05rem; border-right: 1px solid rgba(255,255,255,.1); }
.mobile-bar .mobile-bar-primary { background: var(--red); border-right: 0; }

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .benefits, .parent-points { grid-template-columns: 1fr 1fr; }
  .hero-ctas, .cta-buttons { flex-direction: row; flex-wrap: wrap; justify-content: center; max-width: none; }
  .cta-buttons { justify-content: flex-start; }
  .contact-buttons { grid-template-columns: 1fr 1fr; }
  .contact-buttons .contact-btn:last-child { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ---------- Desktop ---------- */
@media (min-width: 960px) {
  :root { --header-h: 76px; }
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .nav-toggle { display: none !important; }
  .js .site-nav, .site-nav { display: block; position: static; background: none; border: 0; }
  .site-nav ul { display: flex; gap: 22px; }
  .site-nav li a { padding: 6px 0; border: 0; font-size: 1.05rem; }
  .btn-header { display: inline-flex; font-size: 1rem; padding: .5em 1.1em; box-shadow: 0 6px 18px rgba(200,16,46,.35); }
  .brand img { width: 56px; height: 56px; }
  .brand-top { font-size: 1.35rem; }
  .brand-bottom { font-size: .95rem; }

  .hero-inner { flex-direction: row; justify-content: space-between; padding-top: 64px; padding-bottom: 84px; gap: 40px; }
  .hero-copy { text-align: left; flex: 1 1 56%; }
  .hero-lead { margin-left: 0; }
  .hero-facts { margin-left: 0; }
  .hero-ctas { justify-content: flex-start; margin: 0; }
  .hero-logo { flex: 0 0 auto; width: 420px; }

  .section { padding: 96px 0; }
  .benefits { grid-template-columns: repeat(4, 1fr); }
  .schedule-grid { grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: stretch; }
  .map-wrap, .map-wrap iframe { min-height: 440px; }
  .coach-grid { grid-template-columns: 320px 1fr; gap: 72px; }
  .coach-badge { width: 300px; }
  .parent-points { grid-template-columns: repeat(4, 1fr); }
  .cta-grid { grid-template-columns: 1.3fr 1fr; gap: 64px; }
  .faq-layout { grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
  .faq-intro { position: sticky; top: calc(var(--header-h) + 24px); }
  .contact-buttons { grid-template-columns: 1fr; }
  .contact-buttons .contact-btn:last-child { grid-column: auto; }
  .flyer img { max-width: 400px; }
}
@media (min-width: 1100px) {
  .contact-buttons { grid-template-columns: 1fr 1fr; }
  .contact-buttons .contact-btn:last-child { grid-column: 1 / -1; }
}

/* ---------- Language switch ---------- */
:root { --lang-h: 30px; }
html { scroll-padding-top: calc(var(--header-h) + var(--lang-h) + 12px); }
.lang-bar { background: var(--black); border-bottom: 1px solid rgba(255,255,255,.08); }
.lang-inner { display: flex; justify-content: flex-end; align-items: center; min-height: var(--lang-h); }
.lang-switch { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; color: rgba(255,255,255,.45); }
.lang-switch a { color: #d4d4d8; text-decoration: none; padding: 3px 8px; border-radius: 999px; }
.lang-switch a:hover { color: var(--white); }
.lang-switch a[aria-current="page"] { background: var(--red); color: var(--white); }
.header-inner { position: relative; }

/* ---------- Spanish pointer banner (English page) ---------- */
.es-banner { background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); padding: 22px 0; text-align: center; }
.es-banner-link { color: var(--white); text-decoration: none; font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: clamp(1.35rem, 5vw, 1.9rem); line-height: 1.2; }
.es-banner-link span { display: inline-block; border-bottom: 3px solid var(--white); margin-left: .25em; }
.es-banner-link:hover span { border-bottom-color: transparent; }

/* ---------- Footer LLC line ---------- */
.footer-bottom .llc { font-size: .8rem; color: #9a9aa2; letter-spacing: .02em; }

/* ---------- Price special (hero) ---------- */
.hero-special { display: inline-block; margin: 0 auto 1em; padding: .35em .9em; border: 2px solid #ffbf47; border-radius: 999px; color: #fff; background: rgba(0,0,0,.35); font-size: 1.05rem; line-height: 1.35; }
.hero-special strong { color: #ffbf47; text-transform: uppercase; letter-spacing: .04em; }

/* Coach Rico story video */
.story-wrap { text-align: center; }
.story-video { max-width: 360px; margin: 24px auto 0; border-radius: 16px; overflow: hidden; border: 3px solid var(--red); box-shadow: 0 10px 30px rgba(0,0,0,.45); background: var(--black); }
.story-video video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; }

/* ---------- Tuition cards (keep after the seasonal promo comes down) ---------- */
.pricing-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 18px;
}
.price-card h3 {
  font-size: 1.45rem;
  text-transform: uppercase;
  margin-bottom: .25em;
}
.price-card .price-amt {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.15rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 .35em;
}
.price-card p { margin: 0; color: var(--gray-600); }
#pricing, #precios { scroll-margin-top: calc(var(--header-h) + var(--lang-h) + 12px); }
@media (min-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr 1fr 1fr; }
}
