
:root {
  --ink: #111827;
  --ink-soft: #1f2937;
  --muted: #667085;
  --line: rgba(17, 24, 39, 0.11);
  --paper: #f7f4ed;
  --surface: #ffffff;
  --surface-soft: #fffaf1;
  --green: #0b6b5f;
  --green-2: #12b28c;
  --lime: #d6ff62;
  --clay: #e97852;
  --blue: #2456f4;
  --gold: #f3b83f;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.13);
  --shadow-soft: 0 12px 35px rgba(17, 24, 39, 0.08);
  --radius-xl: clamp(28px, 4vw, 48px);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 112px);
}

* { box-sizing: border-box; }
*,
*::before,
*::after { min-width: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 0%, rgba(214, 255, 98, 0.24), transparent 34rem),
    radial-gradient(circle at 94% 12%, rgba(18, 178, 140, 0.12), transparent 28rem),
    linear-gradient(180deg, #fffaf1 0%, #f7f4ed 46%, #ffffff 100%);
  color: var(--ink);
  font-family: "Inter", "Aptos", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(15.5px, 1.1vw, 17px);
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { width: 100%; height: auto; }
a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(18, 178, 140, 0.35); outline-offset: 3px; }

.container { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
.section { padding: var(--section) 0; }
.stack { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.grid-2, .grid-3, .grid-4, .split, .hero-grid, .catalog-layout, .detail-layout, .footer-grid, .policy-layout { display: grid; gap: clamp(18px, 3vw, 30px); }

h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { letter-spacing: -0.04em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 6vw, 4.8rem); max-width: 900px; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.75rem, 4vw, 3.25rem); max-width: 760px; overflow-wrap: anywhere; }
h3 { font-size: clamp(1.05rem, 2vw, 1.45rem); line-height: 1.15; overflow-wrap: anywhere; }
p { max-width: 68ch; }
.lead { color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.2rem); line-height: 1.65; }
.small-muted, .muted { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; width: fit-content; color: var(--green); font-size: clamp(0.72rem, 1vw, 0.82rem); font-weight: 850; letter-spacing: 0.11em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--lime); box-shadow: 0 0 0 6px rgba(214,255,98,.24); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(26px, 4vw, 44px); }
.section-head.between { align-items: end; }

.icon { width: 20px; height: 20px; flex: 0 0 auto; }
.icon-lg { width: 28px; height: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: max-content; font-size: clamp(1.05rem, 2vw, 1.24rem); font-weight: 950; letter-spacing: -0.04em; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 15px; background: linear-gradient(135deg, var(--green), var(--green-2)); color: var(--lime); box-shadow: 0 14px 30px rgba(11,107,95,.25); font-size: .86rem; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; max-width: 100%; min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 850; cursor: pointer; white-space: nowrap; text-align: center; transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease, color .22s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.primary { background: linear-gradient(135deg, var(--green), #063c38); }
.btn.accent { background: var(--lime); color: var(--ink); }
.btn.ghost { background: rgba(255,255,255,.72); color: var(--ink); border-color: var(--line); }
.btn.full { width: 100%; }

.site-header { position: sticky; top: 0; z-index: 60; border-bottom: 1px solid rgba(255,255,255,.45); background: rgba(255,250,241,.78); backdrop-filter: blur(22px); }
.nav-wrap { min-height: 74px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(10px, 1.4vw, 18px); }
.desktop-nav, .header-actions { display: none; }
.desktop-nav { align-items: center; justify-content: center; gap: clamp(10px, 1.1vw, 16px); color: #364152; font-size: clamp(.78rem, .86vw, .92rem); font-weight: 780; min-width: 0; }
.desktop-nav a { position: relative; padding: 10px 0; white-space: nowrap; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; transform: scaleX(0); transform-origin: right; background: var(--green); transition: transform .25s ease; }
.desktop-nav a:hover::after, .desktop-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header-actions { align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; }
.global-search, .city-pill { min-height: 42px; border: 1px solid var(--line); background: rgba(255,255,255,.68); border-radius: 999px; }
.global-search { width: clamp(150px, 13vw, 205px); padding: 0 16px; outline: 0; }
.city-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: max-content; padding: 0 13px; font-size: .86rem; font-weight: 830; cursor: pointer; white-space: nowrap; }
.burger { position: relative; z-index: 75; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.76); cursor: pointer; }
.burger span { position: absolute; left: 14px; width: 18px; height: 2px; border-radius: 99px; background: var(--ink); transition: transform .28s ease, top .28s ease, opacity .2s ease; }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 23px; } .burger span:nth-child(3) { top: 29px; }
.burger.is-open span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 23px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 55; display: grid; grid-template-rows: 1fr auto; gap: 22px; padding: 96px var(--gutter) 28px; background: rgba(17,24,39,.96); color: #fff; transform: translateY(-105%); transition: transform .36s cubic-bezier(.2,.8,.2,1); }
.mobile-menu.is-open { transform: translateY(0); }
.mobile-links { display: grid; align-content: center; gap: clamp(14px, 3vh, 22px); }
.mobile-menu a { width: fit-content; font-size: clamp(2rem, 11vw, 4.2rem); font-weight: 920; letter-spacing: -.06em; line-height: .98; }
.mobile-mini { display: grid; gap: 12px; color: rgba(255,255,255,.76); }
.mobile-mini a { font-size: 1rem; letter-spacing: 0; }
.mobile-search { display: grid; gap: 10px; }
.mobile-search input { min-height: 48px; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; background: rgba(255,255,255,.1); color: #fff; padding: 0 14px; }

.hero { padding: clamp(34px, 5vw, 62px) 0 clamp(54px, 7vw, 86px); }
.hero-grid { align-items: center; }
.hero-copy { display: grid; gap: clamp(16px, 2.3vw, 24px); min-width: 0; }
.hero-card { position: relative; overflow: hidden; min-height: clamp(340px, 48vw, 620px); border-radius: var(--radius-xl); box-shadow: var(--shadow); isolation: isolate; background: #dfe5dc; }
.hero-card img { height: 100%; min-height: inherit; object-fit: cover; }
.hero-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 24%, rgba(17,24,39,.58)); }
.floating-panel { position: absolute; left: clamp(12px, 2vw, 20px); right: clamp(12px, 2vw, 20px); bottom: clamp(12px, 2vw, 20px); z-index: 2; display: grid; gap: 5px; padding: clamp(14px, 2vw, 20px); border: 1px solid rgba(255,255,255,.34); border-radius: 24px; background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(18px); }
.floating-panel strong { font-size: clamp(1.05rem, 2.1vw, 1.45rem); line-height: 1.15; letter-spacing: -.03em; }

.search-box, .form-card { display: grid; gap: 10px; padding: clamp(10px, 1.4vw, 14px); border: 1px solid var(--line); border-radius: 26px; background: rgba(255,255,255,.78); box-shadow: var(--shadow-soft); }
.search-box input, .search-box select, .field input, .field select, .field textarea, .blog-search, .mobile-search input { width: 100%; min-width: 0; min-height: 52px; border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 0 16px; color: var(--ink); outline: none; transition: border .2s ease, box-shadow .2s ease, background .2s ease; }
.field textarea { min-height: 130px; padding: 14px 16px; resize: vertical; }
:is(input, select, textarea):focus { border-color: rgba(11,107,95,.48); box-shadow: 0 0 0 4px rgba(18,178,140,.12); }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { color: #334155; font-size: .88rem; font-weight: 830; }
.form-card { padding: clamp(18px, 3vw, 30px); border-radius: var(--radius-lg); }
.form-message { display: none; padding: 14px 16px; border-radius: 16px; background: rgba(18,178,140,.13); color: var(--green); font-weight: 850; }
.form-message.is-visible { display: block; }

.card, .category-pill, .stat-card, .step-card, .venue-card, .benefit-card, .article-card, .feature-card, .price-card, .team-card, .contact-card, .legal-card, .filters, .detail-panel { border: 1px solid var(--line); background: rgba(255,255,255,.76); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.card, .stat-card, .step-card, .benefit-card, .feature-card, .price-card, .team-card, .contact-card, .legal-card { padding: clamp(20px, 3vw, 28px); }
.card :where(h3, p), .benefit-card :where(h3, p), .feature-card :where(h3, p), .step-card :where(h3, p) { min-width: 0; }
.category-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 240px); gap: 14px; overflow-x: auto; padding: 8px 2px 18px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.category-pill { scroll-snap-align: start; display: flex; align-items: center; justify-content: space-between; min-height: 96px; padding: 18px; font-weight: 900; transition: transform .24s ease, background .24s ease, box-shadow .24s ease; }
.category-pill .icon-wrap, .step-card .num, .sport-icon, .feature-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 16px; background: var(--ink); color: var(--lime); flex: 0 0 auto; }
.category-pill:hover, .venue-card:hover, .article-card:hover, .benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: #fff; }
.step-card { position: relative; overflow: hidden; display: grid; gap: 14px; align-content: start; }
.step-card .num { background: var(--lime); color: var(--ink); font-weight: 950; }
.step-card::after { content: ""; position: absolute; right: -42px; top: -42px; width: 120px; height: 120px; border-radius: 999px; background: rgba(18,178,140,.12); }
.stat-card { display: grid; gap: 8px; }
.stat-card strong { color: var(--green); font-size: clamp(2.1rem, 5vw, 4rem); line-height: 1; letter-spacing: -.06em; }
.stat-card span, .step-card p, .benefit-card p, .feature-card p, .article-card p, .price-card p, .team-card p, .contact-card p, .venue-card p, .rules-list, .footer, .legal-card p, .legal-card li { color: var(--muted); }
.image-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.image-stack img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }

.testimonial-shell { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: radial-gradient(circle at 90% 10%, rgba(214,255,98,.18), transparent 18rem), var(--ink); color: #fff; padding: clamp(26px, 5vw, 56px); }
.testimonial { display: none; gap: 14px; }
.testimonial.is-active { display: grid; animation: fadeUp .45s ease both; }
.testimonial blockquote { max-width: 920px; font-size: clamp(1.35rem, 4vw, 3rem); line-height: 1.12; letter-spacing: -.045em; font-weight: 850; }
.slider-controls { display: flex; gap: 10px; margin-top: 24px; }
.slider-controls button, .gallery-btn, .chat-toggle { border: 0; cursor: pointer; }
.slider-controls button { width: 46px; height: 46px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; transition: background .2s ease, transform .2s ease; }
.slider-controls button:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.cta-block { display: grid; gap: 22px; overflow: hidden; max-width: 100%; padding: clamp(24px, 6vw, 62px); border-radius: var(--radius-xl); background: radial-gradient(circle at 92% 12%, rgba(214,255,98,.52), transparent 18rem), linear-gradient(135deg, #0a564f, #111827); color: #fff; box-shadow: var(--shadow); }
.cta-block p { color: rgba(255,255,255,.74); }

.catalog-layout { align-items: start; }
.filters { display: grid; gap: 14px; padding: clamp(16px, 2.3vw, 22px); }
.venues-grid, .articles-grid { display: grid; gap: 20px; }
.venue-card, .article-card { overflow: hidden; transition: transform .24s ease, box-shadow .24s ease, background .24s ease; }
.venue-card[hidden], .article-card[hidden] { display: none; }
.venue-media { position: relative; overflow: hidden; background: #dfe5dc; }
.venue-media > img, .article-card img { height: clamp(220px, 28vw, 285px); object-fit: cover; transition: transform .4s ease; }
.venue-card:hover .venue-media > img, .article-card:hover img { transform: scale(1.035); }
.thumbs { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; max-width: calc(100% - 28px); }
.thumbs img { width: 58px; height: 42px; object-fit: cover; border: 2px solid rgba(255,255,255,.86); border-radius: 12px; }
.venue-body, .article-card .body { display: grid; gap: 14px; padding: clamp(18px, 2.5vw, 24px); }
.venue-meta, .venue-actions, .icon-row, .price-rating, .slot-grid, .social-row, .payment-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-width: 0; }
.venue-actions .btn { flex: 1 1 150px; }
.badge, .slot, .pay-icon { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 999px; font-weight: 850; }
.badge { min-height: 32px; padding: 0 12px; background: rgba(18,178,140,.12); color: var(--green); font-size: .82rem; }
.sport-icon { width: 36px; height: 36px; background: #f1f5f9; color: var(--green); border-radius: 999px; }
.price-rating { justify-content: space-between; }
.price { font-size: clamp(1.15rem, 2vw, 1.38rem); font-weight: 950; letter-spacing: -.03em; }
.rating { color: #8a5a00; font-weight: 900; }
.detail-hero { padding: clamp(34px, 6vw, 64px) 0 clamp(44px, 7vw, 76px); }
.gallery { display: grid; gap: 12px; }
.gallery-main { overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow); background: #dfe5dc; }
.gallery-main img { height: clamp(320px, 58vw, 590px); object-fit: cover; }
.gallery-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(84px, 118px); gap: 10px; overflow-x: auto; padding-bottom: 8px; }
.gallery-btn { overflow: hidden; height: 76px; border-radius: 18px; opacity: .72; border: 2px solid transparent; background: transparent; padding: 0; transition: opacity .2s ease, border-color .2s ease, transform .2s ease; }
.gallery-btn:hover { opacity: 1; transform: translateY(-2px); }
.gallery-btn.is-active { opacity: 1; border-color: var(--green-2); }
.gallery-btn img { height: 100%; object-fit: cover; }
.detail-panel { display: grid; gap: 18px; align-self: start; padding: clamp(18px, 3vw, 26px); }
.rules-list, .legal-card ul { padding-left: 20px; margin: 0; }
.calendar { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; }
.calendar-head, .calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar-head span, .calendar-grid span { display: grid; place-items: center; min-height: 42px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 800; font-size: clamp(.8rem, 1.6vw, 1rem); }
.calendar-grid span.available { background: rgba(18,178,140,.12); color: var(--green); }
.slot { min-height: 40px; padding: 0 14px; background: #eefdf8; color: var(--green); border: 1px solid rgba(18,178,140,.2); }

.map-embed { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); background: #e5e7eb; }
.map-embed iframe { width: 100%; height: clamp(260px, 42vw, 390px); border: 0; }
.site-footer { padding: clamp(50px, 7vw, 76px) 0 30px; background: #0d1320; color: #fff; }
.footer-grid { align-items: start; }
.footer-brand-block { display: grid; gap: 18px; }
.footer-card { min-width: 0; padding: 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: rgba(255,255,255,.06); }
.footer-card p, .footer a, .site-footer p { color: rgba(255,255,255,.72); }
.footer-links { display: grid; gap: 10px; }
.footer-links a, .social-link { transition: color .2s ease, transform .2s ease; }
.footer-links a:hover, .social-link:hover { color: #fff; transform: translateX(2px); }
.footer-map { overflow: hidden; border-radius: 22px; border: 1px solid rgba(255,255,255,.12); min-height: 240px; }
.footer-map iframe { width: 100%; height: 100%; min-height: 240px; border: 0; filter: saturate(.85) contrast(.95); }
.pay-icon { min-width: 64px; min-height: 38px; padding: 0 12px; background: rgba(255,255,255,.1); color: #fff; font-size: .78rem; letter-spacing: .02em; border: 1px solid rgba(255,255,255,.1); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.55); font-size: .9rem; }

.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; display: none; gap: 16px; align-items: center; justify-content: space-between; max-width: 760px; margin-inline: auto; padding: 16px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.cookie-banner.is-visible { display: grid; }
.chat-widget { position: fixed; right: 18px; bottom: 18px; z-index: 85; }
.chat-toggle { display: grid; place-items: center; width: auto; min-width: 112px; height: 58px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: var(--lime); box-shadow: var(--shadow); font-weight: 950; }
.chat-panel { position: absolute; right: 0; bottom: 72px; display: none; width: min(360px, calc(100vw - 36px)); overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.chat-panel.is-open { display: block; animation: fadeUp .25s ease both; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: linear-gradient(135deg, var(--green), #063c38); color: #fff; font-weight: 900; }
.chat-close { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; font-size: 1.2rem; line-height: 1; }
.chat-body { display: grid; gap: 12px; padding: 14px; }
.chat-messages { display: grid; gap: 10px; max-height: 290px; overflow-y: auto; padding-right: 2px; }
.chat-bubble { width: fit-content; max-width: 88%; padding: 11px 12px; border-radius: 16px; background: #f1f5f9; color: #334155; font-size: .94rem; line-height: 1.45; }
.chat-bubble.user { justify-self: end; background: var(--ink); color: #fff; border-bottom-right-radius: 5px; }
.chat-bubble.bot { justify-self: start; border-bottom-left-radius: 5px; }
.chat-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.chat-form .btn { min-height: 52px; padding-inline: 16px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .58s ease, transform .58s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 640px) {
  .grid-2, .policy-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-box { grid-template-columns: minmax(0, 1.2fr) minmax(150px, .7fr) auto; align-items: center; }
  .image-stack { grid-template-columns: 1fr .75fr; }
  .image-stack img:nth-child(2) { margin-top: 44px; }
  .cookie-banner.is-visible { display: flex; }
}
@media (min-width: 760px) {
  .grid-3, .venues-grid, .articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr); }
  .section-head.between { grid-template-columns: 1fr auto; }
}
@media (min-width: 1180px) {
  .desktop-nav, .header-actions { display: flex; }
  .burger { display: none; }
  .hero-grid, .split { grid-template-columns: minmax(0, 1fr) minmax(420px, .88fr); }
  .detail-layout { grid-template-columns: minmax(0, 1fr) minmax(340px, 400px); align-items: start; }
  .catalog-layout { grid-template-columns: 280px minmax(0, 1fr); }
  .filters { position: sticky; top: 96px; }
  .grid-3, .articles-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .venues-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, .9fr) minmax(0, .7fr) minmax(360px, .8fr); }
}

@media (min-width: 1180px) {
  #alta .split {
    grid-template-columns: minmax(460px, .95fr) minmax(520px, 1.05fr);
    align-items: stretch;
  }

  #alta .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: stretch;
  }

  #alta .benefit-card {
    display: grid;
    align-content: start;
    min-height: 180px;
  }
}

@media (max-width: 520px) {
  :root {
    --gutter: 16px;
    --section: clamp(52px, 14vw, 72px);
    --radius-xl: 30px;
    --radius-lg: 24px;
    --radius-md: 20px;
  }

  body {
    font-size: 15.5px;
  }

  .container {
    width: calc(100% - 32px);
  }

  h1 {
    font-size: clamp(2rem, 11vw, 2.85rem);
    line-height: 1.06;
  }

  h2 {
    font-size: clamp(1.65rem, 9.2vw, 2.35rem);
    line-height: 1.08;
  }

  h3 {
    font-size: clamp(1.05rem, 6vw, 1.28rem);
  }

  .lead,
  p {
    line-height: 1.55;
  }

  .btn {
    width: 100%;
    min-height: 50px;
    padding: 12px 16px;
    white-space: normal;
    line-height: 1.16;
    overflow-wrap: anywhere;
  }

  .cluster .btn, .venue-actions .btn { flex: 1 1 100%; }
  .price-rating { align-items: flex-start; flex-direction: column; }
  .thumbs img { width: 50px; height: 38px; }
  .chat-widget { right: 12px; bottom: 12px; }
  .chat-panel {
    width: min(330px, calc(100vw - 24px));
  }

  .chat-form {
    grid-template-columns: 1fr;
  }

  .cookie-banner { bottom: 84px; }

  .cta-block {
    gap: 18px;
    padding: 24px 20px;
    border-radius: 28px;
  }

  .cta-block h2 {
    font-size: clamp(1.85rem, 10vw, 2.55rem);
  }

  .cta-block .btn {
    justify-self: stretch;
  }

  .social-row {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 10px;
  }

  .social-row .btn {
    justify-content: flex-start;
    text-align: left;
  }

  .footer-grid {
    gap: 16px;
  }

  .footer-card {
    padding: 16px;
    border-radius: 20px;
  }

  .footer-card .cluster {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
  }

  .footer-card .cluster a,
  .footer-card .cluster span,
  .contact-card p,
  .contact-card a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .footer-map,
  .footer-map iframe {
    min-height: 210px;
  }

  .payment-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pay-icon {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Compatibility aliases for existing page markup */
.steps-grid, .stats-grid, .benefits-grid, .features-grid, .pricing-grid, .team-grid, .contact-grid, .policy-grid { display: grid; gap: clamp(18px, 3vw, 30px); }
.feature-card { display: grid; gap: 12px; align-content: start; }
.rating { display: inline-flex; align-items: center; gap: 6px; }
.city-pill .icon, .btn .icon, .pay-icon .icon, .cluster .icon { width: 18px; height: 18px; }
@media (min-width: 640px) { .policy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 760px) { .steps-grid, .stats-grid, .benefits-grid, .features-grid, .team-grid, .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .steps-grid, .stats-grid, .benefits-grid, .features-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .team-grid, .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Desktop polish fixes */
main, section, article, aside, .container, .hero-copy, .section-head, .detail-layout > *, .catalog-layout > * { min-width: 0; }
.section-head h1, .section-head h2, .hero-copy h1 { max-width: 880px; }
.detail-layout article > .lead + .lead { margin-top: 10px; }
.features-grid.section { padding: clamp(28px, 4vw, 54px) 0; }
.detail-panel .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.detail-panel .price-card { padding: 16px 14px; border-radius: 18px; min-width: 0; }
.detail-panel .price-card h3 { font-size: clamp(.98rem, 1.35vw, 1.18rem); letter-spacing: -.03em; line-height: 1.1; }
.detail-panel .price-card p { font-size: .88rem; line-height: 1.35; }
.detail-panel .price { font-size: clamp(1rem, 1.5vw, 1.2rem); }
.feature-card h3 { font-size: clamp(1.05rem, 1.7vw, 1.32rem); }
.feature-card p { line-height: 1.55; }
.chat-toggle { width: auto; min-width: 94px; padding: 0 16px; font-size: .92rem; border-radius: 999px; }
.city-select { min-height: 42px; max-width: 132px; border: 0; background: transparent; color: var(--ink); font-weight: 850; outline: 0; cursor: pointer; }
.city-pill:has(.city-select) { padding-right: 8px; }
@media (max-width: 1179px) { .nav-wrap { display: flex; } }
@media (min-width: 1180px) and (max-width: 1280px) { .brand { font-size: 1.05rem; } .brand-mark { width: 36px; height: 36px; } .global-search { width: 165px; } .city-pill { padding-inline: 10px; } }
@media (max-width: 700px) { h1 { font-size: clamp(2.05rem, 12vw, 3.2rem); } h2 { font-size: clamp(1.65rem, 9vw, 2.55rem); } .detail-panel .pricing-grid { grid-template-columns: 1fr; } }

.detail-layout > article { display: grid; gap: 14px; align-content: start; }
.detail-layout > article > .features-grid { margin-top: clamp(18px, 2vw, 28px); }
.price-card { display: grid; gap: 6px; align-content: start; }

.no-results { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.72); color: var(--muted); font-weight: 800; text-align: center; }
.policy-layout .contact-card { gap: 8px; }
.policy-layout .contact-card .map-embed { margin-top: 8px; }
.footer-brand-block .footer-card.stack { gap: 10px; }
.header-actions { grid-column: 3; }

.policy-grid .contact-card { gap: 8px; }
.policy-grid .contact-card .map-embed { margin-top: 8px; }

@media (max-width: 360px) {
  :root {
    --gutter: 14px;
  }

  .container {
    width: calc(100% - 28px);
  }

  .brand {
    font-size: 1rem;
    gap: 8px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 13px;
    font-size: .78rem;
  }

  .burger {
    width: 44px;
    height: 44px;
  }

  .section {
    padding: 50px 0;
  }

  .cta-block {
    padding: 22px 18px;
  }

  .cta-block h2 {
    font-size: clamp(1.7rem, 9.4vw, 2.15rem);
  }

  .cta-block p {
    font-size: .98rem;
  }

  .footer-card,
  .contact-card {
    padding: 15px;
  }

  .social-row .btn,
  .footer-card,
  .contact-card {
    font-size: .94rem;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(2rem, 11vw, 2.85rem);
  }

  h2 {
    font-size: clamp(1.65rem, 9.2vw, 2.35rem);
  }

  .cta-block h2 {
    font-size: clamp(1.75rem, 9.5vw, 2.35rem);
  }
}

@media (max-width: 360px) {
  .cta-block h2 {
    font-size: clamp(1.7rem, 9.4vw, 2.15rem);
  }
}
