
:root {
  --blue-950: #06304e;
  --blue-900: #075985;
  --blue-800: #0369a1;
  --blue-700: #0284c7;
  --blue-600: #0ea5e9;
  --blue-100: #e0f2fe;
  --blue-050: #f0f9ff;
  --green-700: #15803d;
  --green-600: #22c55e;
  --green-100: #dcfce7;
  --teal-600: #14b8a6;
  --orange-500: #fb923c;
  --orange-100: #ffedd5;
  --yellow-500: #facc15;
  --yellow-100: #fef9c3;
  --rose-100: #ffe4e6;
  --ink: #102033;
  --muted: #526274;
  --line: rgba(7, 89, 133, 0.16);
  --paper: #ffffff;
  --bg: #f7fcff;
  --shadow: 0 24px 70px rgba(7, 89, 133, 0.16);
  --shadow-soft: 0 14px 42px rgba(7, 89, 133, 0.10);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 5%, rgba(14,165,233,.22), transparent 30rem),
    radial-gradient(circle at 83% 14%, rgba(250,204,21,.26), transparent 24rem),
    radial-gradient(circle at 18% 72%, rgba(34,197,94,.16), transparent 28rem),
    linear-gradient(180deg, #f8fdff 0%, #f4fbf6 100%);
  line-height: 1.6;
}

img, svg { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration-thickness: .1em;
  text-underline-offset: .18em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 4px solid var(--yellow-500);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--yellow-500);
  color: var(--blue-950);
  font-weight: 800;
  transition: top .2s ease;
}

.skip-link:focus { top: 16px; }

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.topbar {
  background: linear-gradient(90deg, var(--blue-900), var(--teal-600));
  color: #fff;
  font-size: 14px;
}

.topbar__inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar__links { display: flex; gap: 16px; flex-wrap: wrap; font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand__mark {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue-700), var(--green-600));
  color: #fff;
  font-weight: 900;
  letter-spacing: -.04em;
  box-shadow: 0 14px 28px rgba(14,165,233,.22);
}

.brand__title {
  font-weight: 900;
  color: var(--blue-950);
  line-height: 1.1;
  font-size: 18px;
}

.brand__sub {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  text-decoration: none;
  font-weight: 800;
  color: var(--blue-950);
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 14px;
}

.nav a:hover { background: var(--blue-100); color: var(--blue-900); }
.nav .nav__cta { background: var(--yellow-500); color: var(--blue-950); box-shadow: 0 8px 22px rgba(250,204,21,.28); }
.nav .nav__cta:hover { background: #fde047; }

.menu-btn {
  display: none;
  border: 0;
  border-radius: 999px;
  background: var(--blue-900);
  color: #fff;
  font-weight: 900;
  padding: 12px 18px;
  cursor: pointer;
}

.hero {
  padding: 58px 0 42px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 18px 0 auto 0;
  height: 440px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(224,242,254,.72), rgba(220,252,231,.55), rgba(254,249,195,.58));
  z-index: -1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.82);
  border-radius: 999px;
  color: var(--blue-900);
  font-weight: 900;
  font-size: 14px;
  box-shadow: 0 8px 22px rgba(7,89,133,.06);
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-600);
}

h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.035em; }

.hero h1 {
  margin-top: 24px;
  font-size: clamp(44px, 6.6vw, 78px);
  color: var(--blue-950);
}

.lead {
  margin: 22px 0 0;
  max-width: 690px;
  color: #2c3c4f;
  font-size: clamp(18px, 2.1vw, 23px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue-900); color: #fff; box-shadow: 0 12px 26px rgba(7,89,133,.22); }
.btn--primary:hover { background: var(--blue-800); }
.btn--accent { background: var(--yellow-500); color: var(--blue-950); box-shadow: 0 12px 26px rgba(250,204,21,.28); }
.btn--accent:hover { background: #fde047; }
.btn--ghost { background: rgba(255,255,255,.82); border-color: var(--line); color: var(--blue-950); }
.btn--ghost:hover { background: var(--blue-100); }

.hero__media { position: relative; }

.hero__image-card {
  overflow: hidden;
  border-radius: 42px;
  background: #fff;
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: var(--shadow);
  min-height: 430px;
}

.hero__image-card img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.03) brightness(1.04);
}

.hero__badge {
  position: absolute;
  left: -18px;
  bottom: 30px;
  width: min(300px, 72%);
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.hero__badge strong {
  display: block;
  font-size: 32px;
  line-height: 1;
  color: var(--blue-900);
}

.hero__badge span { color: var(--muted); font-weight: 700; }

.quick { margin-top: 34px; }

.quick__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.quick-card {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(255,255,255,.82);
  border-radius: var(--radius-lg);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(7, 89, 133, .07);
  position: relative;
  overflow: hidden;
}

.quick-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue-600), var(--green-600), var(--yellow-500), var(--orange-500));
}

.quick-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  background: #fff;
}

.quick-card b { color: var(--blue-950); font-size: 18px; }
.quick-card span { color: var(--muted); font-size: 14px; font-weight: 700; }

.section { padding: 74px 0; }
.section--tint { background: rgba(255,255,255,.58); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 28px;
}

.section-head h2 { font-size: clamp(32px, 4.5vw, 54px); color: var(--blue-950); }
.section-head p { margin: 12px 0 0; max-width: 650px; color: var(--muted); font-size: 18px; }

.notice {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 24px;
  padding: 30px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #fff7c2, #e0f2fe 58%, #dcfce7);
  border: 1px solid rgba(250, 204, 21, .45);
  box-shadow: var(--shadow-soft);
}

.notice__label { color: var(--blue-950); font-weight: 900; font-size: 30px; line-height: 1.12; }
.notice__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.notice__list a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(7,89,133,.12);
  border-radius: 16px;
  text-decoration: none;
  font-weight: 900;
  color: var(--blue-950);
}
.notice__list a:hover { background: #fff; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.news-card,
.info-card,
.contact-card,
.doc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 35px rgba(7,89,133,.08);
  overflow: hidden;
}

.news-card__image,
.info-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.02) brightness(1.04);
}

.info-card img { border-radius: 18px; margin-bottom: 18px; }

.news-card__body,
.info-card,
.contact-card,
.doc-card { padding: 22px; }

.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 14px;
}

.news-card h3 { font-size: 23px; color: var(--blue-950); }
.news-card p, .info-card p, .contact-card p, .doc-card p { color: var(--muted); margin: 12px 0 0; }
.news-card a, .doc-card a { display: inline-block; margin-top: 18px; font-weight: 900; color: var(--blue-900); }

.card-strip { height: 9px; background: linear-gradient(90deg, var(--blue-600), var(--green-600), var(--yellow-500), var(--orange-500)); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 32px;
  min-height: 420px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.panel::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
}
.panel--blue { background: linear-gradient(135deg, var(--blue-800), #0e7490); color: #fff; }
.panel--green { background: linear-gradient(135deg, var(--green-700), #0f766e); color: #fff; }
.panel h2 { font-size: clamp(30px, 4vw, 48px); }
.panel p { color: rgba(255,255,255,.90); max-width: 580px; }
.panel .btn { margin-top: 20px; }

.panel__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 26px; }
.panel__list a {
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.14);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.18);
}
.panel__list a:hover { background: rgba(255,255,255,.23); }

.feature-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: stretch; }
.feature-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.feature-main__content { padding: 30px; }
.feature-main h2 { color: var(--blue-950); font-size: clamp(30px, 4vw, 48px); }
.feature-main p { color: var(--muted); }
.feature-main img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; filter: saturate(1.08) contrast(1.02) brightness(1.04); }

.mini-list { display: grid; gap: 14px; }
.mini-item { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 10px 28px rgba(7,89,133,.06); }
.mini-item:nth-child(1) { background: linear-gradient(135deg, #fff, var(--orange-100)); }
.mini-item:nth-child(2) { background: linear-gradient(135deg, #fff, var(--blue-100)); }
.mini-item:nth-child(3) { background: linear-gradient(135deg, #fff, var(--green-100)); }
.mini-item b { color: var(--blue-950); font-size: 20px; }
.mini-item p { margin: 7px 0 0; color: var(--muted); }

.docs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.doc-card h3 { color: var(--blue-950); font-size: 20px; }
.doc-card { transition: transform .18s ease, box-shadow .18s ease; }
.doc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }

.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.contact-card h3 { color: var(--blue-950); font-size: 24px; }
.contact-grid { display: grid; gap: 12px; margin-top: 18px; }
.contact-row { display: grid; grid-template-columns: 145px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-row span:first-child { color: var(--muted); font-weight: 800; }
.contact-note { background: var(--blue-100); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; margin-top: 18px; color: #263d56; }

.map-card {
  min-height: 460px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, #dcfce7, #e0f2fe 60%, #fff7c2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: 28px;
}
.map-card__inner {
  width: 100%; height: 100%; min-height: 360px; border-radius: 24px;
  border: 2px dashed rgba(7,89,133,.26); display: grid; place-items: center; text-align: center; padding: 28px;
  background: rgba(255,255,255,.38);
}
.map-card h3 { font-size: 28px; color: var(--blue-950); }
.map-card p { color: var(--muted); max-width: 520px; margin-inline: auto; }

.site-footer {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-950), #075985 55%, #0f766e);
  padding: 56px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 28px; }
.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer p { color: rgba(255,255,255,.78); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-links { display: grid; gap: 10px; margin-top: 12px; }
.footer-bottom { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.75); font-size: 14px; }

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 0;
  background: var(--blue-900);
  color: #fff;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: .2s ease;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

@media (max-width: 1040px) {
  .nav {
    position: fixed;
    inset: 126px 18px auto 18px;
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: grid; }
  .nav a { padding: 14px 16px; background: var(--blue-050); }
  .menu-btn { display: inline-flex; }
  .hero__grid, .feature-grid, .contact-wrap { grid-template-columns: 1fr; }
  .quick__grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr 1fr; }
  .docs { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .topbar__inner { align-items: flex-start; flex-direction: column; padding: 10px 0; gap: 8px; }
  .header__inner { min-height: 76px; }
  .brand__sub { display: none; }
  .hero { padding-top: 34px; }
  .hero__image-card, .hero__image-card img { min-height: 300px; }
  .quick__grid, .cards, .split, .feature-main, .docs { grid-template-columns: 1fr; }
  .notice { grid-template-columns: 1fr; padding: 22px; }
  .section { padding: 52px 0; }
  .section-head { display: block; }
  .panel { min-height: auto; padding: 24px; }
  .panel__list { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 1fr; gap: 3px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__badge { position: static; width: auto; margin: -18px 16px 0; }
  .news-card__image, .info-card img { height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}


/* ------------------------------------------------------------
   ZŠ Lubenec – barevnější a hravější varianta
   Zachovává kompozici, ale přidává pestřejší školní atmosféru
   a kontrastnější mobilní harmonika/offcanvas menu.
------------------------------------------------------------ */
:root {
  --violet-700: #7c3aed;
  --violet-100: #ede9fe;
  --pink-600: #db2777;
  --pink-100: #fce7f3;
  --red-500: #ef4444;
  --lime-500: #84cc16;
  --cyan-500: #06b6d4;
  --playful-shadow: 0 26px 70px rgba(59, 130, 246, .18), 0 10px 28px rgba(219, 39, 119, .08);
}

body {
  background:
    radial-gradient(circle at 8% 5%, rgba(14,165,233,.28), transparent 25rem),
    radial-gradient(circle at 90% 8%, rgba(219,39,119,.18), transparent 22rem),
    radial-gradient(circle at 12% 48%, rgba(132,204,22,.18), transparent 24rem),
    radial-gradient(circle at 86% 68%, rgba(250,204,21,.25), transparent 28rem),
    radial-gradient(circle at 47% 94%, rgba(124,58,237,.12), transparent 24rem),
    linear-gradient(180deg, #f8fbff 0%, #fffaf0 42%, #f4fff8 100%);
}

.topbar {
  background: linear-gradient(90deg, #075985 0%, #0f766e 28%, #65a30d 52%, #ea580c 76%, #be123c 100%);
}

.site-header {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(15, 118, 110, .18);
}

.brand__mark {
  background: conic-gradient(from 210deg, #0284c7, #14b8a6, #84cc16, #facc15, #fb923c, #db2777, #7c3aed, #0284c7);
  box-shadow: 0 14px 32px rgba(124,58,237,.20);
}

.nav a:hover {
  background: linear-gradient(135deg, var(--yellow-100), var(--green-100));
  color: #062b45;
}

.nav .nav__cta {
  background: linear-gradient(135deg, #facc15, #fb923c);
  color: #23170b;
  box-shadow: 0 10px 26px rgba(251,146,60,.28);
}

.menu-btn {
  background: linear-gradient(135deg, #071c38, #0f3d66);
  color: #fff;
  border: 2px solid #facc15;
  box-shadow: 0 12px 28px rgba(6, 48, 78, .24);
}

.hero::before {
  background:
    radial-gradient(circle at 12% 20%, rgba(250,204,21,.35), transparent 18rem),
    radial-gradient(circle at 62% 15%, rgba(34,197,94,.24), transparent 20rem),
    radial-gradient(circle at 90% 52%, rgba(219,39,119,.16), transparent 18rem),
    linear-gradient(90deg, rgba(224,242,254,.86), rgba(240,253,244,.68), rgba(255,237,213,.78));
}

.hero h1 {
  color: #09233c;
}

.hero__image-card {
  border: 8px solid rgba(255,255,255,.85);
  box-shadow: var(--playful-shadow);
}

.hero__badge {
  border: 2px solid rgba(250,204,21,.45);
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,251,235,.96));
}

.btn--primary {
  background: linear-gradient(135deg, #075985, #0f766e);
}

.btn--accent {
  background: linear-gradient(135deg, #facc15, #fb923c);
  color: #2d1705;
}

.btn--ghost {
  background: rgba(255,255,255,.90);
}

.quick-card {
  border: 1px solid rgba(255,255,255,.92);
  box-shadow: 0 16px 38px rgba(7, 89, 133, .09);
}

.quick-card:nth-child(1) { background: linear-gradient(135deg, #ffffff, #e0f2fe); }
.quick-card:nth-child(2) { background: linear-gradient(135deg, #ffffff, #ede9fe); }
.quick-card:nth-child(3) { background: linear-gradient(135deg, #ffffff, #fce7f3); }
.quick-card:nth-child(4) { background: linear-gradient(135deg, #ffffff, #fef9c3); }
.quick-card:nth-child(5) { background: linear-gradient(135deg, #ffffff, #dcfce7); }
.quick-card:nth-child(6) { background: linear-gradient(135deg, #ffffff, #ffedd5); }
.quick-card:nth-child(7) { background: linear-gradient(135deg, #ffffff, #cffafe); }
.quick-card:nth-child(8) { background: linear-gradient(135deg, #ffffff, #ffe4e6); }

.quick-card::after,
.card-strip {
  background: linear-gradient(90deg, #0284c7, #14b8a6, #84cc16, #facc15, #fb923c, #db2777, #7c3aed);
}

.notice {
  background: linear-gradient(135deg, #fef08a 0%, #bbf7d0 32%, #bae6fd 66%, #fbcfe8 100%);
  border: 2px solid rgba(251,146,60,.35);
}

.section--tint {
  background: linear-gradient(180deg, rgba(255,255,255,.70), rgba(240,249,255,.68));
}

.panel--blue {
  background: linear-gradient(135deg, #075985, #0891b2 46%, #7c3aed);
}

.panel--green {
  background: linear-gradient(135deg, #15803d, #0f766e 48%, #65a30d);
}

.news-card,
.info-card,
.contact-card,
.doc-card,
.feature-main,
.mini-item {
  box-shadow: 0 18px 42px rgba(7,89,133,.08);
}

.news-card:hover,
.info-card:hover,
.doc-card:hover,
.quick-card:hover {
  transform: translateY(-4px);
}

.info-card:nth-child(1) { background: linear-gradient(180deg, #ffffff, #f0f9ff); }
.info-card:nth-child(2) { background: linear-gradient(180deg, #ffffff, #f0fdf4); }
.info-card:nth-child(3) { background: linear-gradient(180deg, #ffffff, #fff7ed); }

.section--photos {
  position: relative;
  background:
    radial-gradient(circle at 7% 8%, rgba(250,204,21,.22), transparent 20rem),
    radial-gradient(circle at 88% 18%, rgba(219,39,119,.14), transparent 24rem),
    radial-gradient(circle at 26% 82%, rgba(20,184,166,.18), transparent 24rem),
    linear-gradient(135deg, rgba(255,255,255,.80), rgba(240,253,244,.82));
}

.section-head--center {
  justify-content: center;
  text-align: center;
}
.section-head--center p { margin-inline: auto; }

.photo-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 16px;
}

.photo-wall__item {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 26px;
  background: #fff;
  border: 7px solid rgba(255,255,255,.92);
  box-shadow: 0 18px 44px rgba(7,89,133,.10);
}

.photo-wall__item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.photo-wall__item--wide {
  grid-column: span 2;
}

.photo-wall__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.14) contrast(1.04) brightness(1.04);
  transition: transform .35s ease;
}

.photo-wall__item:hover img { transform: scale(1.045); }

.photo-wall__item figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(7, 30, 58, .78);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.site-footer {
  background: linear-gradient(135deg, #062b45 0%, #075985 32%, #0f766e 57%, #7c3aed 100%);
}

@media (max-width: 1040px) {
  .nav {
    inset: 98px 14px auto 14px;
    background: linear-gradient(135deg, #061a33, #082f49 48%, #164e63);
    border: 3px solid #facc15;
    border-radius: 28px;
    box-shadow: 0 28px 80px rgba(2, 6, 23, .38);
  }
  .nav a {
    background: rgba(255,255,255,.10);
    color: #fff;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 18px;
    font-size: 16px;
  }
  .nav a:hover {
    background: #facc15;
    color: #071c38;
  }
  .nav .nav__cta {
    background: linear-gradient(135deg, #facc15, #fb923c);
    color: #1f1304;
  }
  .photo-wall {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
}

@media (max-width: 760px) {
  .nav {
    inset: 86px 12px auto 12px;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
  }
  .photo-wall {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }
  .photo-wall__item,
  .photo-wall__item--large,
  .photo-wall__item--wide {
    grid-column: auto;
    grid-row: auto;
  }
}
