/* Render 7 School — home. Tokens synced from Claude Design (Nocturne),
   accent overridden to the hero's tech blue and background darkened per brief. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #0d0e12;
  --bg-alt: #15171e;
  --surface: #181a22;
  --surface-2: #1f222c;
  --fg: #e9e9ed;
  --fg-muted: rgba(233, 233, 237, 0.65);
  --fg-faint: rgba(233, 233, 237, 0.4);
  --border: rgba(233, 233, 237, 0.12);

  --bg-light: #f5f6fa;
  --surface-light: #ffffff;
  --surface-2-light: #eef0f6;
  --fg-on-light: #12131a;
  --fg-on-light-muted: rgba(18, 19, 26, 0.65);
  --border-light: rgba(18, 19, 26, 0.1);

  --accent: #2f6fed;
  --accent-2: #1c3a70;
  --accent-soft: color-mix(in srgb, #2f6fed 14%, transparent);

  --accent-orange: #ff8a3d;
  --accent-orange-2: #c85a1f;
  --accent-orange-soft: color-mix(in srgb, #ff8a3d 16%, transparent);

  --font-heading: "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --container: 1240px;
  --pad-x: clamp(24px, 4vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  margin: 0 0 12px;
  line-height: 1.12;
  letter-spacing: -0.015em;
}
p { margin: 0 0 12px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--accent) 30%, transparent); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x); position: relative; z-index: 1; }
.section { padding: 88px var(--pad-x); position: relative; overflow: hidden; }

/* ---------- decorative parallax glows ---------- */
.section-glow {
  position: absolute; inset: -10% -5%; z-index: 0; pointer-events: none; will-change: transform;
  background:
    radial-gradient(760px 480px at 12% 8%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%),
    radial-gradient(640px 460px at 92% 96%, color-mix(in srgb, var(--accent-2) 55%, transparent), transparent 65%);
}
.section--tight { padding: 56px var(--pad-x); }
.section--dark { background: var(--bg); color: var(--fg); }
#academia {
  background: linear-gradient(rgba(6,7,10,.78), rgba(6,7,10,.78)), url('assets/beneficios-bg.webp') center/cover no-repeat;
}
.section--dark-alt { background: var(--bg-alt); color: var(--fg); }
#nosotros {
  background: linear-gradient(rgba(6,7,10,.78), rgba(6,7,10,.78)), url('assets/nosotros-bg.webp') center top/cover no-repeat;
}
#nosotros .text-muted { color: rgba(255,255,255,.92); }
.section--light {
  background: var(--bg-light); color: var(--fg-on-light);
}
.section--light .text-muted { color: var(--fg-on-light-muted); }
.text-muted { color: var(--fg-muted); }

.visually-hidden {
  position: absolute; 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(--accent); color: #fff; padding: 10px 16px;
  border-radius: var(--radius-sm); transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding-left: 44px; font-size: 13px; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 32px; height: 1px;
  background: var(--accent);
}
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer; border: 1px solid transparent; border-radius: var(--radius-md);
  font-family: var(--font-heading); font-weight: 600; font-size: 14px;
  letter-spacing: .02em; padding: 14px 28px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 0 1px var(--accent), 0 0 26px 5px color-mix(in srgb, var(--accent) 60%, transparent);
}
.btn-secondary {
  background: transparent; color: var(--fg); border-color: var(--border);
}
.btn-secondary:hover { background: color-mix(in srgb, var(--fg) 8%, transparent); }
.section--light .btn-secondary { color: var(--fg-on-light); border-color: var(--border-light); }
.section--light .btn-secondary:hover { background: color-mix(in srgb, var(--fg-on-light) 6%, transparent); }
.btn-sm { padding: 10px 18px; font-size: 13px; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, #000 55%, var(--bg));
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; gap: 28px;
  padding: 14px var(--pad-x);
}
.nav-brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.nav-brand img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; }
.nav-brand span { font-family: var(--font-heading); font-weight: 700; font-size: 21px; line-height: 1; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-links a, .nav-links button {
  background: none; border: none; color: var(--fg); font: inherit; font-size: 14px; font-weight: 500;
  cursor: pointer; display: inline-flex; align-items: center; gap: 4px; padding: 0;
}
.nav-links a:hover, .nav-links button:hover { color: var(--accent); }

.nav-item { position: relative; }
.nav-item .chevron { width: 10px; height: 10px; transition: transform .15s ease; }
.nav-item.open .chevron, .nav-item:hover .chevron { transform: rotate(180deg); }
.dropdown {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%); min-width: 190px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; translate: 0 6px;
  transition: opacity .15s ease, translate .15s ease, visibility .15s ease;
}
.nav-item:hover .dropdown,
.nav-item.open .dropdown { opacity: 1; visibility: visible; translate: 0 0; }
.dropdown li a { display: block; padding: 8px 10px; border-radius: var(--radius-sm); font-size: 13px; width: 100%; }
.dropdown li a:hover { background: color-mix(in srgb, var(--fg) 8%, transparent); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none; background: none; border: none; color: var(--fg); cursor: pointer;
  width: 40px; height: 40px; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: all .2s ease; }

@media (max-width: 980px) {
  .nav-links { position: fixed; inset: 0; top: 73px; background: var(--bg);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--pad-x) 24px;
    transform: translateX(100%); transition: transform .25s ease; overflow-y: auto;
  }
  body.nav-open .nav-links { transform: translateX(0); }
  .nav-links li, .nav-item { width: 100%; border-bottom: 1px solid var(--border); }
  .nav-links a, .nav-links > li > button { width: 100%; padding: 16px 4px; justify-content: space-between; }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; translate: 0;
    box-shadow: none; border: none; background: var(--surface-2); display: none; margin: 0 0 8px;
  }
  .nav-item.open .dropdown { display: block; }
  .nav-item .chevron { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; min-height: 92vh; display: flex; flex-direction: column;
  justify-content: flex-end; isolation: isolate;
}
.hero-video-wrap { position: absolute; inset: -8% 0; z-index: 0; background: #0d0e12; will-change: transform; }
.hero-video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: color-mix(in srgb, #0d0e12 42%, transparent);
}
.hero-glow {
  position: absolute; inset: -8% 0; z-index: 2; pointer-events: none; mix-blend-mode: screen;
  will-change: transform;
  background:
    radial-gradient(1700px 1150px at 50% 145%, color-mix(in srgb, #2f6fed 92%, transparent), transparent 68%),
    radial-gradient(1300px 800px at 88% -160px, color-mix(in srgb, #1c3a70 92%, transparent), transparent 64%),
    radial-gradient(900px 600px at 8% 20%, color-mix(in srgb, #2f6fed 45%, transparent), transparent 60%);
}
.hero-content { position: relative; z-index: 3; padding: 140px var(--pad-x) 72px; width: 100%; }
.hero-content { animation: hero-in .9s cubic-bezier(.2,.7,.2,1) both; }
@keyframes hero-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.hero-content h1 {
  font-weight: 500; font-size: clamp(38px, 4.6vw, 62px); line-height: 1.08;
  max-width: 900px; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.hero-content p {
  font-size: 18px; line-height: 1.6; max-width: 620px; margin-top: 24px;
  color: rgba(255,255,255,.86);
}
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.hero-actions .btn-secondary { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.28); color: #fff; backdrop-filter: blur(4px); }
.hero-actions .btn-secondary:hover { background: rgba(255,255,255,.14); }

/* ---------- tech ticker ---------- */
.tech-strip { position: relative; z-index: 3; background: var(--bg); padding: 26px var(--pad-x) 34px; }
.tech-strip .hr { height: 1px; border: 0; margin: 0 0 22px; background: var(--border); }
.tech-strip-row { display: flex; align-items: baseline; gap: 28px; flex-wrap: wrap; }
.tech-strip-label {
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-faint); white-space: nowrap;
}
.tech-marquee {
  flex: 1; min-width: 0; overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 48px, black calc(100% - 48px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 48px, black calc(100% - 48px), transparent);
}
.tech-track {
  display: flex; gap: 18px; width: max-content; list-style: none; margin: 0; padding: 0;
  font-size: 14px; color: var(--fg-muted);
  animation: tech-marquee 26s linear infinite;
}
.tech-marquee:hover .tech-track { animation-play-state: paused; }
.tech-track li { display: flex; gap: 18px; white-space: nowrap; }
.tech-track li:not(:last-child)::after { content: "·"; margin-left: 18px; color: var(--border); }
@keyframes tech-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- device showcase (full-width, D5-style) ---------- */
.device-showcase { position: relative; overflow: hidden; isolation: isolate; }
.device-showcase__top {
  position: relative; padding: 96px 0 0;
  background: linear-gradient(180deg,
    var(--bg) 0%, var(--bg) 24%,
    color-mix(in srgb, var(--accent-2) 78%, var(--bg)) 66%,
    color-mix(in srgb, var(--accent) 62%, var(--accent-2)) 100%);
}
.device-frame {
  position: relative; z-index: 1; max-width: 1600px; margin: 0 auto -88px;
  padding: 0 var(--pad-x); box-sizing: border-box; transition: margin-bottom .3s ease;
}
/* Drop the overlap once the real player loads, so its controls (seek bar,
   volume, fullscreen) aren't hidden under the black bar below. */
.device-frame.is-playing { margin-bottom: 32px; }
.device-frame__bezel {
  position: relative; padding: 16px; border-radius: 32px;
  background: linear-gradient(155deg, rgba(255,255,255,.24), rgba(255,255,255,.04) 35%, rgba(0,0,0,.35) 100%);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 50px 110px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.3), inset 0 -1px 0 rgba(0,0,0,.35);
}
.device-frame__cam {
  display: block; width: 9px; height: 9px; margin: 0 auto 14px; border-radius: 50%;
  background: rgba(255,255,255,.3); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.device-frame__screen {
  position: relative; border-radius: 20px; overflow: hidden; background: #000; aspect-ratio: 16 / 8.2;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
.device-frame__screen video,
.device-frame__screen iframe { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; }
.device-frame__poster { width: 100%; height: 100%; object-fit: cover; display: block; }
.device-frame__play {
  position: absolute; inset: 0; margin: auto; width: 78px; height: 78px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  background: rgba(13, 14, 18, .55); border: 2px solid rgba(255, 255, 255, .85); color: #fff;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.device-frame__play svg { width: 28px; height: 28px; margin-left: 4px; }
.device-frame__play:hover { transform: scale(1.08); background: var(--accent); border-color: #fff; }
@media (max-width: 640px) {
  .device-frame { margin-bottom: -40px; }
  .device-frame__bezel { padding: 8px; border-radius: 20px; }
  .device-frame__screen { border-radius: 12px; aspect-ratio: 4 / 3.4; }
}

.device-showcase__bar { position: relative; z-index: 2; background: #000; padding: 132px var(--pad-x) 72px; }
@media (max-width: 640px) { .device-showcase__bar { padding-top: 76px; } }

.tools-row { text-align: center; }
.tools-row__title { font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; color: #fff; margin-bottom: 10px; }
.tools-row__label { font-size: 13px; letter-spacing: .04em; margin-bottom: 24px; }
.tools-row__icons { display: flex; justify-content: center; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
.tool-icon {
  width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
}
.tool-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tool-icon--square {
  background: none; border: none; border-radius: 0; overflow: visible;
}
.tool-icon--square img { object-fit: contain; }
.tool-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.tool-item__label { font-size: 12px; color: var(--fg-muted); white-space: nowrap; }

/* ---------- floating model marquee (lightweight image loop, no video) ---------- */
.model-marquee {
  position: relative; overflow: hidden; padding: 28px 0 40px;
  mask-image: linear-gradient(to right, transparent, black 96px, black calc(100% - 96px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 96px, black calc(100% - 96px), transparent);
}
.model-marquee__track {
  display: flex; align-items: center; gap: 96px; width: max-content;
  animation: model-marquee 32s linear infinite;
}
.model-marquee:hover .model-marquee__track { animation-play-state: paused; }
.model-marquee__item {
  height: 150px; width: auto; object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(18, 19, 26, .14));
  animation: model-float 5s ease-in-out infinite;
}
.model-marquee__item:nth-child(3n+2) { animation-delay: -1.6s; }
.model-marquee__item:nth-child(3n+3) { animation-delay: -3.2s; }
@keyframes model-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes model-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@media (prefers-reduced-motion: reduce) {
  .model-marquee__track { animation: none; }
  .model-marquee__item { animation: none; }
}

/* ---------- scroll reveal ---------- */
.reveal, .reveal-scale, .reveal-left, .reveal-right {
  transition: opacity .85s cubic-bezier(.16,.84,.44,1), transform .85s cubic-bezier(.16,.84,.44,1);
}
.reveal { opacity: 0; transform: translateY(52px); }
.reveal-scale { opacity: 0; transform: translateY(36px) scale(.92); }
.reveal-left { opacity: 0; transform: translateX(-70px); }
.reveal-right { opacity: 0; transform: translateX(70px); }
.reveal.is-visible,
.reveal-scale.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible { opacity: 1; transform: translate(0, 0) scale(1); }

.course-grid .reveal-scale:nth-child(2) { transition-delay: 90ms; }
.course-grid .reveal-scale:nth-child(3) { transition-delay: 180ms; }
.course-grid .reveal-scale:nth-child(4) { transition-delay: 270ms; }
.benefit-grid .reveal-scale:nth-child(2),
.why-grid .reveal-scale:nth-child(2),
.testimonial-grid .reveal-scale:nth-child(2) { transition-delay: 110ms; }
.benefit-grid .reveal-scale:nth-child(3),
.why-grid .reveal-scale:nth-child(3),
.testimonial-grid .reveal-scale:nth-child(3) { transition-delay: 220ms; }
.testimonial-grid .reveal-scale:nth-child(4) { transition-delay: 330ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-scale, .reveal-left, .reveal-right {
    opacity: 1; transform: none; transition: none;
  }
  .hero-content { animation: none; }
  .tech-track { animation: none; }
  .course-card__thumb img { animation: none; }
}

/* ---------- courses ---------- */
.catalog-split {
  display: grid; grid-template-columns: minmax(280px, 460px) 1fr; gap: 48px; align-items: center; margin-bottom: 64px;
}
@media (max-width: 900px) { .catalog-split { grid-template-columns: 1fr; } }

.showcase-card {
  border-radius: var(--radius-lg); overflow: hidden; background: #0d0e12;
  border: 1px solid var(--border-light); box-shadow: 0 24px 60px rgba(18, 19, 26, .16);
}
.showcase-card__frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.showcase-card__frame video,
.showcase-card__frame iframe,
.showcase-card__poster { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; }
.showcase-card__play {
  position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  background: rgba(13, 14, 18, .55); border: 2px solid rgba(255, 255, 255, .85); color: #fff;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.showcase-card__play svg { width: 24px; height: 24px; margin-left: 3px; }
.showcase-card__play:hover { transform: scale(1.08); background: var(--accent); border-color: #fff; }
.showcase-card__caption { padding: 22px 26px; background: #12131a; }
.showcase-card__caption h3 { color: #fff; font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.showcase-card__caption p { color: rgba(255,255,255,.65); font-size: 13px; margin: 0; }

.course-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
@media (max-width: 1080px) { .course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .course-grid { grid-template-columns: 1fr; } }

.course-card {
  background: var(--surface-light); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-light); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.course-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(18,19,26,.12); }
.course-card__thumb { position: relative; aspect-ratio: 8/5; overflow: hidden; }
.course-card__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 16s ease-in-out infinite alternate;
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
.badge {
  position: absolute; top: 12px; left: 12px; background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .04em; padding: 4px 9px; border-radius: 999px;
}
.course-card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.course-card__title { font-size: 16px; font-weight: 600; line-height: 1.3; }
.course-card__link { margin-top: auto; font-weight: 600; font-size: 13px; color: var(--accent); }
.course-card__link:hover { text-decoration: underline; }

/* ---------- benefits ---------- */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 800px) { .benefit-grid { grid-template-columns: 1fr; } }
.benefit {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 26px; text-align: left;
}
.icon-badge {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md); background: var(--accent-soft); color: var(--accent); margin-bottom: 18px;
}
.icon-badge svg { width: 24px; height: 24px; }
.benefit h3 { font-size: 18px; font-weight: 600; }

/* ---------- featured CTA block ---------- */
.cta-block {
  background: linear-gradient(135deg, var(--accent-2), #0d1a33);
  border-radius: var(--radius-lg); padding: 64px clamp(28px,5vw,72px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; position: relative; overflow: hidden;
}
.cta-block__glow {
  position: absolute; inset: -20% -10%; pointer-events: none; will-change: transform;
  background: radial-gradient(900px 500px at 90% 10%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%);
}
.cta-block > * { position: relative; z-index: 1; }
.cta-block > .cta-block__glow { z-index: 0; }
.cta-block .eyebrow { color: #bcd0ff; }
.cta-block .eyebrow::before { background: #bcd0ff; }
.cta-block h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); font-weight: 600; max-width: 640px; }
.cta-block .btn-primary { margin-top: 18px; }

/* ---------- why choose us ---------- */
.why-intro { max-width: 700px; margin-bottom: 44px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.why-block .icon-badge { background: var(--accent-orange-soft); color: var(--accent-orange); }
@media (max-width: 800px) { .why-grid { grid-template-columns: 1fr; } }
.why-block h3 { font-size: 18px; font-weight: 600; margin-top: 4px; }
.why-block p { font-size: 14px; }

/* ---------- testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1080px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial-card {
  background: var(--surface-light); border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 24px; display: flex; flex-direction: column; gap: 14px;
}
.stars { display: flex; gap: 3px; }
.stars svg { width: 15px; height: 15px; fill: #f5b400; }
.testimonial-quote { font-size: 13.5px; line-height: 1.6; color: var(--fg-on-light-muted); flex: 1; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-person strong { display: block; font-size: 13.5px; }
.testimonial-person strong a { color: inherit; }
.testimonial-person strong a:hover { color: var(--accent); }
.testimonial-person span { display: block; font-size: 12px; color: var(--fg-on-light-muted); }

/* ---------- footer ---------- */
.site-footer { background: #000; padding: 64px var(--pad-x) 28px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand__row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand__row img { width: 48px; height: 48px; border-radius: 8px; }
.footer-brand__row span { font-family: var(--font-heading); font-weight: 700; font-size: 19px; color: #fff; }
.footer-brand p { color: var(--fg-muted); font-size: 13.5px; max-width: 320px; }
.footer-legal { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.footer-legal a { font-size: 13px; color: var(--fg-muted); }
.footer-legal a:hover { color: var(--accent); }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--fg-faint); margin-bottom: 18px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-list a { font-size: 13.5px; color: var(--fg-muted); }
.footer-list a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); display: flex;
  align-items: center; justify-content: center; color: var(--fg-muted);
}
.footer-social a:hover { color: var(--accent); border-color: var(--accent); }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 12px; font-size: 12.5px; color: var(--fg-faint); }
.footer-trademark { margin-top: 12px; font-size: 10.5px; line-height: 1.5; color: var(--fg-faint); }
