:root {
  --bg: #081526;
  --bg-2: #0d1b2f;
  --bg-3: #14243a;
  --card: rgba(24, 39, 60, 0.86);
  --card-solid: #17263d;
  --line: rgba(143, 199, 229, 0.14);
  --text: #f4f8ff;
  --muted: #a9b9cc;
  --muted-2: #7f91a8;
  --accent: #16b8f3;
  --accent-2: #00d0ff;
  --accent-3: #0a86c9;
  --success: #20d3a2;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
  --radius: 26px;
  --radius-sm: 16px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 12%, rgba(22, 184, 243, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 20%, rgba(0, 208, 255, 0.12), transparent 30rem),
    linear-gradient(180deg, rgba(8, 21, 38, 0.4), rgba(8, 21, 38, 1));
  z-index: -2;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 760px); }
.section { padding: 96px 0; position: relative; }
.section-dark { background: linear-gradient(180deg, #081526 0%, #0a1628 100%); }
.section-dark-soft { background: linear-gradient(180deg, #0d1b2f 0%, #0a1628 100%); }

.skip-link {
  position: absolute; left: 16px; top: -100px; background: var(--accent); color: #00111d;
  padding: 10px 14px; border-radius: 999px; z-index: 10000; font-weight: 800;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  padding: 18px 0;
  transition: background 0.25s ease, padding 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled,
.site-header:has(.site-nav.open) {
  background: rgba(8, 21, 38, 0.9);
  border-color: var(--line);
  backdrop-filter: blur(16px);
  padding: 12px 0;
}
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; min-width: 190px; }
.brand img { width: 176px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 18px; font-size: 13px; font-weight: 700; color: #d6e5f5; }
.site-nav a:not(.btn) { position: relative; opacity: 0.9; white-space: nowrap; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; background: rgba(255,255,255,0.06); border: 1px solid var(--line); width: 46px; height: 46px; border-radius: 12px; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--text); transition: transform .25s ease, opacity .25s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 14px; border: 1px solid transparent;
  font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #03111d; box-shadow: 0 14px 32px rgba(0, 183, 255, 0.25); }
.btn-primary:hover { box-shadow: 0 18px 42px rgba(0, 183, 255, 0.35); }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: #eff7ff; border-color: var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-sm { min-height: 42px; padding: 0 16px; border-radius: 11px; }
.full-width { width: 100%; }

.hero { min-height: 860px; padding: 150px 0 70px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(90deg, rgba(8, 21, 38, 0.96), rgba(8, 21, 38, 0.86) 44%, rgba(8, 21, 38, 0.65)),
    url('../images/banner1.jpg') center/cover no-repeat;
  opacity: .96;
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -20% -10%; height: 300px;
  background: linear-gradient(0deg, #0d1b2f, rgba(13, 27, 47, 0)); z-index: 1;
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.04fr .86fr; gap: 70px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  color: #87e7ff; background: rgba(22, 184, 243, .13); border: 1px solid rgba(22, 184, 243, .2);
  border-radius: 999px; padding: 7px 13px; font-weight: 900; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}
.hero h1, .page-hero h1 { margin: 22px 0 18px; font-size: clamp(46px, 6.8vw, 82px); line-height: .96; letter-spacing: -0.055em; font-weight: 900; }
h1 span, h2 span { color: var(--accent); }
.lead { color: #c4d2e2; font-size: 18px; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-card {
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(26, 43, 68, .94), rgba(20, 36, 58, .88));
  border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.hero-card::before {
  content: ""; position: absolute; inset: -50% -20% auto auto; width: 260px; height: 260px; border-radius: 999px;
  border: 36px solid rgba(0, 208, 255, 0.08);
}
.hero-card h2 { margin: 16px 0; font-size: 25px; line-height: 1.2; }
.card-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(22, 184, 243, .12); border: 1px solid rgba(22, 184, 243, .18); box-shadow: inset 0 0 18px rgba(22,184,243,.08);
}
.check-list { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; color: var(--muted); }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 900; }
.check-list.compact { gap: 10px; }
.metrics {
  position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 70px;
}
.metrics div { border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: rgba(255,255,255,.045); backdrop-filter: blur(12px); }
.metrics strong { display: block; font-size: 34px; color: var(--accent); line-height: 1; }
.metrics span { color: var(--muted); font-weight: 700; }

.section-title { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.section-title h2, .split-copy h2, .video-copy h2, .student-copy h2, .compact-title h2 {
  margin: 14px 0 14px; font-size: clamp(32px, 4.2vw, 54px); line-height: 1.02; font-weight: 900; letter-spacing: -0.04em;
}
.section-title p, .split-copy p, .video-copy p, .student-copy p, .compact-title p { color: var(--muted); margin: 0; }
.cards-grid { display: grid; gap: 24px; }
.three-cols { grid-template-columns: repeat(3, 1fr); }
.info-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 28px; min-height: 280px;
  box-shadow: 0 16px 46px rgba(0,0,0,.18); transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.info-card:hover { transform: translateY(-7px); border-color: rgba(22, 184, 243, .34); background: rgba(27, 46, 73, .96); }
.info-card h3 { margin: 22px 0 12px; font-size: 20px; }
.info-card p { color: var(--muted); margin: 0; }

.split-section { background: #14243a; }
.split-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 62px; align-items: center; }
.amenity-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.amenity-list span {
  position: relative; padding: 14px 16px 14px 44px; border-radius: 14px; background: rgba(255,255,255,.055); border: 1px solid var(--line); color: #d8e7f6; font-weight: 700;
}
.amenity-list span::before {
  content: "•"; position: absolute; left: 17px; top: 50%; transform: translateY(-52%); width: 18px; height: 18px;
  display: grid; place-items: center; border-radius: 999px; color: var(--accent); background: rgba(22,184,243,.12);
}
.room-feature { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-height: 460px; box-shadow: var(--shadow); }
.room-feature img { width: 100%; height: 520px; object-fit: cover; filter: saturate(1.02) contrast(1.03); }
.room-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,21,38,.72), rgba(8,21,38,.04)); }
.feature-badge { position: absolute; left: 28px; bottom: 28px; z-index: 2; font-size: 30px; font-weight: 900; color: #94edff; }
.feature-tag { position: absolute; top: 22px; right: 22px; z-index: 2; border-radius: 999px; padding: 9px 14px; color: #03111d; background: linear-gradient(135deg, var(--accent), var(--accent-2)); font-weight: 900; font-size: 12px; text-transform: uppercase; }


.location-grid { display: grid; grid-template-columns: 360px 1fr; gap: 0; align-items: stretch; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--card-solid); }
.location-panel { padding: 34px; background: var(--card-solid); }
.location-panel h2, .location-panel h3 { margin: 0 0 16px; font-size: 24px; }
.location-panel p { color: var(--muted); margin: 0 0 20px; }
.location-panel a:not(.btn) { color: var(--accent); }
.map-card { min-height: 460px; background: #0f1e31; }
.map-card iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; filter: saturate(.9) contrast(1.02); }
.standalone-map { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

.student-section { background: #162842; }
.student-card { display: grid; grid-template-columns: 1fr .86fr; gap: 60px; align-items: center; padding: 54px; border: 1px solid rgba(22,184,243,.16); border-radius: var(--radius); background: linear-gradient(135deg, rgba(18,68,94,.72), rgba(20,36,58,.86)); box-shadow: var(--shadow); }
.student-image img { width: 100%; height: 340px; object-fit: cover; border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 20px 46px rgba(0,0,0,.25); }

.video-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }
.video-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #0a1628; box-shadow: var(--shadow); }
.video-frame video { width: 100%; max-height: 620px; display: block; background: #000; }

.faq-list { display: grid; gap: 16px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.055); overflow: hidden; }
.faq-item button { width: 100%; background: transparent; color: #f4f8ff; border: 0; text-align: left; padding: 22px 56px 22px 24px; cursor: pointer; font-weight: 900; position: relative; }
.faq-item button::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 26px; }
.faq-item.active button::after { content: "−"; }
.faq-panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-panel p { color: var(--muted); margin: 0; padding: 0 24px 24px; }
.faq-item.active .faq-panel { max-height: 240px; }

.cta-section { background: linear-gradient(180deg, #14243a 0%, #172a40 100%); }
.quote-card { width: min(100%, 760px); margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius); padding: 42px; background: rgba(22,35,55,.9); box-shadow: var(--shadow); }
.compact-title { margin-bottom: 28px; }
.quote-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.quote-form label { display: grid; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 800; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; color: var(--text); background: #081326; border: 1px solid rgba(143,199,229,.12); border-radius: 12px; padding: 14px 15px; outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: rgba(22,184,243,.7); box-shadow: 0 0 0 4px rgba(22,184,243,.1); }
.quote-form textarea { resize: vertical; min-height: 128px; }
.span-2 { grid-column: span 2; }
.form-note { margin: 0; color: var(--muted); text-align: center; font-size: 14px; }
.form-note a { color: #8cecff; font-weight: 900; }
.contact-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.contact-layout .quote-card { width: 100%; }
.contact-page { padding-top: 70px; }

.page-hero { padding: 170px 0 90px; background: linear-gradient(90deg, rgba(8,21,38,.94), rgba(8,21,38,.7)), url('../images/banner2.jpg') center/cover; }
.page-hero h1 { max-width: 850px; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 650px; }

.site-footer { background: #071224; border-top: 1px solid var(--line); padding: 48px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr; gap: 40px; }
.footer-logo { width: 170px; margin-bottom: 16px; }
.site-footer p, .site-footer a, .footer-bottom { color: var(--muted); }
.site-footer h3 { margin: 0 0 14px; font-size: 16px; }
.site-footer a { display: block; margin: 8px 0; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 34px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }

.whatsapp-float, .scroll-top { position: fixed; z-index: 900; border: 0; display: grid; place-items: center; border-radius: 999px; box-shadow: 0 14px 32px rgba(0,0,0,.3); cursor: pointer; }
.whatsapp-float { right: 24px; bottom: 24px; width: 58px; height: 58px; color: #03111d; background: #25d366; font-size: 24px; font-weight: 900; }
.scroll-top { right: 24px; bottom: 94px; width: 48px; height: 48px; color: #04111e; background: var(--accent); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.scroll-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1060px) {
  .site-nav { gap: 18px; }
  .hero-grid, .split-grid, .student-card, .video-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .three-cols { grid-template-columns: 1fr; }
  .location-grid, .contact-layout { grid-template-columns: 1fr; }
  .room-feature img { height: 430px; }
}
@media (max-width: 860px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 14px; right: 14px; top: 72px; display: grid; gap: 4px;
    background: rgba(8, 21, 38, .96); border: 1px solid var(--line); border-radius: 18px; padding: 16px;
    box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
  }
  .site-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .site-nav a { padding: 12px; }
  .brand img { width: 150px; }
  .hero { padding-top: 130px; }
  .metrics { grid-template-columns: 1fr; margin-top: 42px; }
  .amenity-list, .quote-form, .footer-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .quote-card, .student-card { padding: 28px; }
  .section { padding: 74px 0; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 560px) {
  .hero h1, .page-hero h1 { font-size: 44px; }
  .lead, .page-hero p { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .location-panel { padding: 24px; }
  .map-card iframe, .map-card { min-height: 360px; }
  .whatsapp-float { right: 16px; bottom: 16px; }
  .scroll-top { right: 16px; bottom: 86px; }
}

/* Galería profesional de instalaciones: vista estética sin ampliación */
.gallery-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 25%, rgba(22, 184, 243, .12), transparent 26rem),
    radial-gradient(circle at 92% 70%, rgba(0, 208, 255, .08), transparent 28rem),
    linear-gradient(180deg, #0d1b2f 0%, #0a1628 100%);
}
.gallery-heading { margin-bottom: 38px; }
.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.gallery-filter {
  min-height: 42px;
  padding: 0 16px;
  color: #c9d8e8;
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.gallery-filter:hover { color: #fff; border-color: rgba(22,184,243,.38); transform: translateY(-1px); }
.gallery-filter.active {
  color: #03111d;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 26px rgba(0,183,255,.2);
}
.gallery-nav { display: flex; gap: 10px; flex: 0 0 auto; }
.gallery-nav button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #eaf7ff;
  background: rgba(255,255,255,.065);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  font-size: 21px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, opacity .2s ease;
}
.gallery-nav button:hover:not(:disabled) {
  background: rgba(22,184,243,.15);
  border-color: rgba(22,184,243,.4);
  transform: translateY(-2px);
}
.gallery-nav button:disabled { opacity: .34; cursor: default; }
.gallery-carousel {
  position: relative;
  outline: none;
  margin-inline: calc((100vw - min(calc(100vw - 40px), var(--max))) / -2) 0;
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
}
.gallery-carousel::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: 0;
  right: 0;
  bottom: 26px;
  width: min(8vw, 96px);
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(10,22,40,.88));
}
.gallery-carousel:focus-visible {
  border-radius: var(--radius);
  box-shadow: 0 0 0 4px rgba(22,184,243,.18);
}
.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(292px, 29vw, 358px);
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
  padding: 6px max(20px, calc((100vw - var(--max)) / 2)) 28px 0;
  scroll-behavior: smooth;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  color: var(--text);
  text-align: left;
  background:
    linear-gradient(180deg, rgba(25,44,69,.95), rgba(15,29,48,.96));
  border: 1px solid rgba(143,199,229,.16);
  border-radius: 24px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 18px 46px rgba(0,0,0,.24);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, opacity .24s ease;
}
.gallery-card::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(22,184,243,.92), transparent);
  opacity: .7;
}
.gallery-card[hidden] { display: none; }
.gallery-card:hover {
  transform: translateY(-5px);
  border-color: rgba(22,184,243,.36);
  box-shadow: 0 26px 62px rgba(0,0,0,.32);
}
.gallery-card-media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin: 10px 10px 0;
  border-radius: 17px;
  background:
    radial-gradient(circle at 50% 20%, rgba(22,184,243,.12), transparent 50%),
    #081526;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.055);
}
.gallery-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.01) saturate(1.03) contrast(1.02);
  transition: filter .28s ease;
}
.gallery-card:hover .gallery-card-media img { filter: brightness(1.05) saturate(1.05) contrast(1.02); }
.gallery-card-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5,14,25,.03) 55%, rgba(5,14,25,.38) 100%),
    linear-gradient(90deg, rgba(5,14,25,.08), transparent 28%, transparent 72%, rgba(5,14,25,.08));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  border-radius: inherit;
}
.gallery-card-category {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #eaf8ff;
  background: rgba(6,18,31,.72);
  border: 1px solid rgba(255,255,255,.17);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.gallery-card-body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  min-height: 118px;
  padding: 18px 19px 20px;
}
.gallery-card-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--accent);
  background: rgba(22,184,243,.1);
  border: 1px solid rgba(22,184,243,.18);
  font-size: 12px;
  font-weight: 900;
}
.gallery-card-copy { display: grid; gap: 5px; }
.gallery-card-copy strong { color: #f5f9ff; font-size: 16px; line-height: 1.25; }
.gallery-card-copy small { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.gallery-summary {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
}
.gallery-progress {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}
.gallery-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .18s ease;
}
.gallery-summary-copy { display: grid; min-width: 270px; }
.gallery-summary-copy strong { color: #eaf7ff; font-size: 14px; }
.gallery-summary-copy span { color: var(--muted); font-size: 12px; }

@media (max-width: 1060px) {
  .site-nav { gap: 16px; }
}
@media (max-width: 760px) {
  .gallery-toolbar { align-items: flex-end; }
  .gallery-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 2px 0 8px;
    scrollbar-width: none;
  }
  .gallery-filters::-webkit-scrollbar { display: none; }
  .gallery-filter { white-space: nowrap; }
  .gallery-track { grid-auto-columns: min(82vw, 340px); gap: 14px; }
  .gallery-summary { grid-template-columns: 1fr; gap: 14px; }
  .gallery-summary-copy { min-width: 0; }
  .gallery-carousel::after { width: 42px; }
}
@media (max-width: 560px) {
  .gallery-toolbar { display: grid; grid-template-columns: 1fr auto; }
  .gallery-filters { grid-column: 1 / -1; grid-row: 2; }
  .gallery-nav { grid-column: 2; grid-row: 1; }
  .gallery-track { grid-auto-columns: 84vw; }
  .gallery-card-body { min-height: 108px; }
  .gallery-card-media { margin: 8px 8px 0; }
  .gallery-summary { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-track { scroll-behavior: auto; }
  .gallery-card,
  .gallery-card-media img { transition: none; }
}

