/* ===== Design tokens ===== */
:root {
  --brand:      #c44348;
  --brand-dark: #a33338;
  --ink:        #15171f;
  --ink-soft:   #555a68;
  --line:       #e7e8ee;
  --bg:         #ffffff;
  --bg-alt:     #f6f7fb;
  --radius:     16px;
  --shadow:     0 12px 40px rgba(60, 10, 12, 0.1);
  --maxw:       1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }

body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }

/* ===== Skip link ===== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--brand);
  color: #fff;
  padding: .8rem 1.3rem;
  border-radius: 0 0 10px 0;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
}

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

/* Accent text (replaces gradient-text) */
.gradient-text { color: var(--brand); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 .6em;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 24px rgba(196, 67, 72, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(196, 67, 72, 0.35); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ===== Header / Navigation ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-logo { height: 44px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 1rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.brand-sub  { font-size: .72rem; font-weight: 500; color: var(--ink-soft); letter-spacing: .04em; text-transform: uppercase; }

/* Primary nav */
.main-nav { display: flex; align-items: center; }
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .2rem;
  margin: 0; padding: 0;
}

/* Nav item with possible dropdown */
.nav-item { position: relative; }
.nav-item > a,
.nav-item > button.nav-link-btn {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .5rem .8rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: .93rem;
  color: var(--ink-soft);
  transition: color .15s, background .15s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.nav-item > a:hover,
.nav-item > button.nav-link-btn:hover,
.nav-item.open > a,
.nav-item.open > button.nav-link-btn {
  color: var(--ink);
  background: var(--bg-alt);
}
.nav-item > a.active { color: var(--brand); }

.nav-caret {
  width: 10px; height: 10px;
  stroke: currentColor;
  flex-shrink: 0;
  transition: transform .2s;
}
.nav-item.open .nav-caret { transform: rotate(180deg); }

/* CTA link */
.nav-cta {
  padding: .5rem 1.1rem !important;
  border-radius: 999px !important;
  background: var(--brand) !important;
  color: #fff !important;
}
.nav-cta:hover { opacity: .9; background: var(--brand) !important; }

/* Dropdown */
.dropdown {
  position: absolute;
  list-style: none;
  margin: 0;
  top: calc(100% + 6px);
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: .4rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease;
  z-index: 200;
}
.nav-item.open .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: .55rem 1rem;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background .12s, color .12s;
}
.dropdown a:hover { background: var(--bg-alt); color: var(--ink); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: clamp(64px, 12vw, 120px) 0; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 80% 10%, rgba(196,67,72,.07), transparent 60%),
    radial-gradient(55% 65% at 10% 30%, rgba(196,67,72,.04), transparent 60%);
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.hero-title { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: .3em; }
.hero-lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 600px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.8rem; }

/* Inner page hero (smaller) */
.hero-inner-page { padding: clamp(40px, 7vw, 80px) 0; }
.hero-inner-page .hero-title { font-size: clamp(1.8rem, 4vw, 2.8rem); }

/* ===== Sections ===== */
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 0 2.5rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.section-sub { font-size: 1.05rem; color: var(--ink-soft); margin: 0; }

/* ===== Cards ===== */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  margin-bottom: 1rem;
}
.card-photo {
  display: block;
  width: calc(100% + 3.6rem);
  margin: -1.8rem -1.8rem 1.4rem;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}
.card h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.card p  { color: var(--ink-soft); margin: 0; font-size: .95rem; }

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* ===== Project area cards (homepage) ===== */
.area-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
  color: #fff;
  transition: transform .2s ease;
}
.area-card:hover { transform: translateY(-4px); }
.area-card-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.area-card-bg-sport   { background: #c44348; }
.area-card-bg-edu     { background: #8b2e32; }
.area-card-bg-history { background: #221010; }
.area-card-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 1;
}
.area-card-content { position: relative; z-index: 2; }
.area-card-content .eyebrow { color: rgba(255,255,255,.75); }
.area-card-content h3 { font-size: 1.4rem; color: #fff; margin-bottom: .3rem; }
.area-card-content p  { color: rgba(255,255,255,.85); font-size: .92rem; margin: 0; }

/* ===== Stats ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.stat {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}
.stat-num  { font-size: 2.8rem; font-weight: 800; display: block; line-height: 1; color: var(--brand); }
.stat-label { color: var(--ink-soft); font-weight: 500; font-size: .95rem; }

/* ===== Two-percent banner ===== */
.percent-banner {
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.percent-banner h3 { font-size: 1.4rem; color: #fff; margin-bottom: .4rem; }
.percent-banner p  { color: rgba(255,255,255,.9); margin: 0; }
.percent-banner .btn { background: #fff; color: var(--brand); border-color: transparent; white-space: nowrap; }
.percent-banner .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }

/* ===== News/projects feed ===== */
.news-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.news-card-img {
  height: 180px;
  background: var(--bg-alt);
  flex-shrink: 0;
}
.news-card-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.news-card-tag  { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); margin-bottom: .5rem; }
.news-card-body h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.news-card-body p  { color: var(--ink-soft); font-size: .92rem; flex: 1; }

/* ===== Breadcrumb ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  color: var(--ink-soft);
  margin-bottom: .8rem;
}
.breadcrumb a { color: var(--brand); }
.breadcrumb-sep { opacity: .4; }

/* ===== Form styles ===== */
.form-page { max-width: 760px; }

.form-section {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.form-section-header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.form-section-header h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}
.form-section-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.form-section-body { padding: 1.5rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-row-3 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
}

.form-group { margin-bottom: 1.1rem; }
.form-group:last-child { margin-bottom: 0; }

label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .4rem;
}
label .req {
  color: var(--brand);
  margin-left: 2px;
}
label .opt {
  color: var(--ink-soft);
  font-weight: 400;
  font-size: .82rem;
  margin-left: 4px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: .95rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(196, 67, 72, 0.12);
}
input.error,
select.error,
textarea.error {
  border-color: var(--brand);
}
textarea { resize: vertical; min-height: 120px; }

/* File upload */
.file-upload-area {
  border: 2px dashed var(--line);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  position: relative;
}
.file-upload-area:hover,
.file-upload-area.dragover {
  border-color: var(--brand);
  background: rgba(196, 67, 72, 0.04);
}
.file-upload-area input[type="file"] {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: pointer;
  border: none;
  padding: 0;
  box-shadow: none;
}
.file-upload-icon {
  display: block;
  margin: 0 auto .8rem;
  color: var(--brand);
  opacity: .7;
}
.file-upload-label { font-weight: 600; color: var(--ink); }
.file-upload-sub   { font-size: .85rem; color: var(--ink-soft); margin: .3rem 0 0; }

.file-list { margin-top: 1rem; list-style: none; padding: 0; }
.file-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem .8rem;
  background: var(--bg-alt);
  border-radius: 8px;
  font-size: .88rem;
  margin-bottom: .4rem;
}
.file-list li span { flex: 1; color: var(--ink); }
.file-list li small { color: var(--ink-soft); }
.file-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-soft);
  padding: 2px;
  display: flex;
  align-items: center;
  border-radius: 4px;
  transition: color .12s, background .12s;
}
.file-remove:hover { color: var(--brand); background: rgba(196,67,72,.1); }

/* Checkboxes */
.checkbox-group {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  margin-bottom: .9rem;
}
.checkbox-group:last-child { margin-bottom: 0; }
.checkbox-group input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--brand);
  cursor: pointer;
  border: 1.5px solid var(--line);
  border-radius: 4px;
}
.checkbox-group label {
  font-size: .9rem;
  font-weight: 400;
  color: var(--ink-soft);
  cursor: pointer;
  margin: 0;
  line-height: 1.5;
}
.checkbox-group label a { color: var(--brand); text-decoration: underline; }

/* Form submit area */
.form-submit { margin-top: 1.5rem; }
.form-submit .btn { min-width: 200px; padding: 1rem 2rem; font-size: 1rem; }

/* Alerts */
.alert {
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
  font-size: .92rem;
  display: flex;
  gap: .7rem;
  align-items: flex-start;
}
.alert-error   { background: #fff1f0; border: 1px solid rgba(196,67,72,.3); color: #7f1d1d; }
.alert-success { background: #f0fdf4; border: 1px solid #86efac; color: #14532d; }
.alert ul { margin: .4rem 0 0 1rem; padding: 0; }
.alert li { margin-bottom: .2rem; }

/* Loading state */
.btn[disabled] { opacity: .65; cursor: not-allowed; transform: none !important; }
.spinner {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  vertical-align: middle;
  margin-right: .5rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Form success state */
.form-success {
  text-align: center;
  padding: 3rem 2rem;
}
.form-success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #f0fdf4;
  border: 2px solid #86efac;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #16a34a;
}
.form-success h2 { font-size: 1.6rem; margin-bottom: .5rem; }
.form-success p  { color: var(--ink-soft); font-size: 1rem; }

/* ===== Content / Prose ===== */
.prose h2 { font-size: 1.4rem; margin-top: 2rem; margin-bottom: .6rem; }
.prose p  { color: var(--ink-soft); }
.prose ul { color: var(--ink-soft); padding-left: 1.3rem; margin: 0 0 1em; }
.prose li { margin-bottom: .4rem; }
.prose strong { color: var(--ink); }

/* ===== Help / Info box ===== */
.info-box {
  background: rgba(196, 67, 72, 0.05);
  border: 1px solid rgba(196, 67, 72, 0.18);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  margin: 1.5rem 0;
  font-size: .92rem;
  color: var(--ink-soft);
}
.info-box strong { color: var(--ink); }

/* ===== Requirement lists (Požiadajte o podporu) ===== */
.req-list { list-style: none; margin: 0; padding: 0; }
.req-list li {
  position: relative;
  padding: .6rem 0 .6rem 1.6rem;
  border-bottom: 1px solid var(--line);
  line-height: 1.55;
}
.req-list li:last-child { border-bottom: none; }
.req-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .95rem;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
}
.req-list .req-star { color: var(--brand); font-weight: 700; }
.req-list .req-note { color: var(--ink-soft); font-size: .88rem; }

/* ===== News / blog articles ===== */
.article { max-width: 760px; margin: 0 auto; }
.article p { margin: 1.1rem 0; line-height: 1.8; }
.article p:first-of-type { font-size: 1.05rem; }
.article strong { color: var(--ink); }
.article ol, .article ul { margin: 1.1rem 0; padding-left: 1.6rem; }
.article li { margin: .45rem 0; line-height: 1.65; }
.article img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius); margin: 1.5rem 0;
}
.article h2 { font-size: 1.3rem; margin: 2rem 0 .6rem; }
.article h3 { font-size: 1.1rem; margin: 1.6rem 0 .5rem; }
.post-date {
  font-size: .85rem; color: var(--ink-soft); margin: 0 0 .3rem;
}
.article-back {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-top: 2.5rem; font-weight: 600; text-decoration: none;
}
.article-back:hover { text-decoration: underline; }

/* News list on project pages */
.news-head { margin-bottom: 1.5rem; }
.news-head .eyebrow { margin-bottom: .3rem; }
.news-head h2 { font-size: clamp(1.4rem, 3vw, 1.7rem); margin: 0; }
.card-link h3 { margin-top: .2rem; }
.card-link .card-excerpt { color: var(--ink-soft); font-size: .92rem; margin: .4rem 0 0; }
.article figure { margin: 1.5rem 0; }
.article figure img { margin: 0; }
.article figcaption { font-size: .85rem; color: var(--ink-soft); text-align: center; margin-top: .5rem; }
.article h4 { font-size: 1.02rem; margin: 1.5rem 0 .4rem; }
.article-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .7rem; margin: 1.5rem 0; }
.article-gallery img { margin: 0; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

/* ===== Kontakt page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.contact-item { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1.2rem; }
.contact-item-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--brand);
}
.contact-item-text p { margin: 0; }
.contact-item-text .label { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.contact-item-text .value { font-weight: 600; color: var(--ink); }
.contact-item-text a { color: var(--brand); }

/* ===== Footer ===== */
.site-footer {
  background: #0f1117;
  color: #c7cad6;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #232634;
}
.footer-col h4 { color: #fff; font-size: .93rem; margin-bottom: .9rem; }
.footer-col p  { margin: 0 0 .45rem; font-size: .88rem; }
.footer-col a  { color: #c7cad6; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-note { color: #7c8194; font-size: .82rem; }
.footer-brand { color: #fff; font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: .5rem; }
.footer-brand small { display: block; font-size: .75rem; font-weight: 500; color: #7c8194; letter-spacing: .04em; text-transform: uppercase; }

.footer-social { display: flex; gap: .6rem; margin-top: .8rem; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: #232634;
  color: #c7cad6;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.footer-social a:hover { background: var(--brand); color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { margin: 0; font-size: .82rem; color: #7c8194; }
.footer-bottom a { color: #7c8194; }
.footer-bottom a:hover { color: #c7cad6; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: .5rem 12px 1rem;
    display: none;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-item > a, .nav-item > button.nav-link-btn {
    width: 100%;
    justify-content: space-between;
    padding: .65rem 1rem;
    border-radius: 8px;
  }
  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 1rem;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height .2s ease;
  }
  .nav-item.open .dropdown { max-height: 300px; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .percent-banner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
