/* =========================================================
   Vizsgafix — styles
   Palette: warm beige background, charcoal-brown text,
   terracotta accent (harmonizes with logo's red).
   ========================================================= */

:root {
  --bg: #f5efe6;
  --surface: #fbf7f0;
  --surface-alt: #ede4d3;
  --border: #d8cab3;
  --border-strong: #c2b193;

  --text: #2b211a;
  --text-soft: #5a4d42;
  --muted: #8a7c70;

  --accent: #b8543a;
  --accent-strong: #963f29;
  --accent-soft: #f1d9cc;

  --shadow-sm: 0 1px 2px rgba(60, 40, 25, 0.06);
  --shadow-md: 0 6px 18px rgba(60, 40, 25, 0.08);
  --shadow-lg: 0 18px 40px rgba(60, 40, 25, 0.12);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --container: 1180px;
  --header-h: 72px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

a, button { touch-action: manipulation; }

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

a {
  color: var(--accent-strong);
  text-decoration: none;
  transition: color .15s ease;
}
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.85rem, 6vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

.muted { color: var(--text-soft); }
.small { font-size: .9rem; }

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

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--text);
  color: #fff;
  padding: 10px 14px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 239, 230, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  background: #000;
  box-shadow: var(--shadow-sm);
}

.brand-name {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

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

.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 22px;
}

.primary-nav a {
  color: var(--text-soft);
  font-weight: 500;
  font-size: .98rem;
  padding: 6px 2px;
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}
.primary-nav a:hover { color: var(--text); }
.primary-nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, color .15s ease, box-shadow .15s ease, border-color .15s ease;
  text-align: center;
  line-height: 1.1;
}

.btn:focus-visible {
  outline: 3px solid rgba(184, 84, 58, .35);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-strong); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--text);
  color: #fff;
}
.btn-secondary:hover { background: #000; color: #fff; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--text-soft); color: var(--text); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding: 64px 0 80px;
  background:
    radial-gradient(1100px 450px at 110% -10%, rgba(184, 84, 58, .12), transparent 60%),
    radial-gradient(800px 400px at -10% 30%, rgba(184, 84, 58, .06), transparent 60%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero-text .lead {
  font-size: 1.15rem;
  color: var(--text-soft);
  max-width: 56ch;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: var(--text-soft);
  font-size: .95rem;
}
.hero-points li {
  position: relative;
  padding-left: 22px;
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 14px; height: 14px;
  transform: translateY(-50%);
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 13l4 4L19 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 13l4 4L19 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-visual-inner {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #1a1410, #2a201a 60%, #3a2c22);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid #0a0806;
}

.hero-visual-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(184,84,58,.18), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,.06), transparent 60%);
  pointer-events: none;
}

.hero-logo {
  max-width: 78%;
  max-height: 86%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 22px rgba(0,0,0,.4));
}

.visual-caption {
  font-size: .85rem;
  color: var(--muted);
  margin: 0;
}

/* =========================================================
   Sections (generic)
   ========================================================= */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--surface-alt);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}
.section-head.left {
  text-align: left;
  margin: 0 0 28px;
}
.section-head p {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin: 0;
}

/* =========================================================
   Service cards
   ========================================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.card-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent-strong);
  border-radius: 12px;
  margin-bottom: 16px;
}
.card-icon svg { width: 28px; height: 28px; }

.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-soft); margin: 0; }

/* =========================================================
   Price table
   ========================================================= */
.price-group {
  max-width: 820px;
  margin: 0 auto 36px;
}
.price-group:last-of-type { margin-bottom: 0; }
.price-group > h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}
.price-group > .group-note {
  margin: 0 0 14px;
  color: var(--text-soft);
  font-size: .92rem;
}

.price-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.price-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.price-row:last-child { border-bottom: 0; }

.price-table-3 .price-row {
  grid-template-columns: 1.5fr 1fr 1fr;
}

.price-head {
  background: var(--surface-alt);
  font-weight: 600;
  color: var(--text);
  font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.price-subhead {
  background: var(--surface-alt);
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text);
  grid-template-columns: 1fr !important;
  padding: 10px 22px;
  border-top: 1px solid var(--border);
}

.cat { color: var(--text); }

.price {
  color: var(--accent-strong);
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}
.price-table-3 .price { text-align: right; }

.note {
  text-align: center;
  margin: 22px auto 0;
  max-width: 720px;
}

/* =========================================================
   Booking
   ========================================================= */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--text-soft);
}
.info-list strong { color: var(--text); margin-right: 6px; }

.card-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.form .grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }

.field label {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="password"],
.field input[type="date"],
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px; /* prevents iOS Safari zoom-on-focus */
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  min-height: 46px;
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none;
          appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a4d42' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 38px;
}

.field textarea { resize: vertical; min-height: 90px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 84, 58, .18);
}

.field input.invalid,
.field select.invalid,
.field textarea.invalid {
  border-color: #b94a48;
  box-shadow: 0 0 0 3px rgba(185, 74, 72, .15);
}

.field .hint {
  margin: 4px 0 0;
  font-size: .82rem;
  color: var(--muted);
}

.checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}
.checkbox input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); }
.checkbox label { font-weight: 400; color: var(--text-soft); font-size: .95rem; }

.form-actions {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-status {
  margin: 0;
  font-size: .95rem;
}
.form-status.success { color: #2c6b3f; }
.form-status.error { color: #b94a48; }

/* =========================================================
   Account
   ========================================================= */
.tracking-grid {
  display: grid;
  grid-template-columns: minmax(0, 640px);
  justify-content: center;
  gap: 24px;
  align-items: start;
}

.tracking .card-form h3 {
  margin-top: 0;
  margin-bottom: 18px;
}

.tracking .card-form .field { margin-bottom: 14px; }

.auth-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 18px;
  padding: 4px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.auth-tab {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text-soft);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.auth-tab.is-active {
  background: var(--text);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.auth-tab:focus-visible {
  outline: 3px solid rgba(184, 84, 58, .24);
  outline-offset: 2px;
}

.auth-form .form-status {
  margin-top: 12px;
}

.account-state {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px;
  background: var(--bg);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
}
.account-state p { margin: 0; color: var(--text-soft); }

.booking-list {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.booking-list h4 {
  margin: 0 0 10px;
  font-size: 1rem;
}
.booking-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.booking-item {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: grid;
  gap: 2px;
}
.booking-item span,
.booking-item em {
  color: var(--text-soft);
  font-size: .82rem;
  font-style: normal;
}

/* =========================================================
   Contact
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.contact-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.contact-label {
  color: var(--muted);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  align-self: center;
}

.map-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-sm);
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
}
.map-note {
  margin: 10px 4px 2px;
  font-size: .82rem;
  color: var(--muted);
}

/* =========================================================
   Terms
   ========================================================= */
.terms-inner {
  max-width: 820px;
  margin: 0 auto;
}

.placeholder-list {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  display: grid;
  gap: 8px;
}
.placeholder-list li {
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-soft);
  font-style: italic;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: #1f1813;
  color: #d6c9b8;
  padding: 56px 0 24px;
  margin-top: 0;
}
.site-footer .brand-name { color: #fff; }
.site-footer .brand { color: #fff; }
.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
}
.site-footer a { color: #e7d9c5; }
.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand p { margin: 8px 0 0; }
.footer-brand .muted { color: #b3a08b; }

.footer-nav ul, .footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 22px;
  font-size: .9rem;
}
.footer-bottom .muted { color: #b3a08b; }
.footer-bottom p { margin: 0; }

/* =========================================================
   Admin
   ========================================================= */
.admin-page .section { min-height: calc(100vh - var(--header-h)); }
.admin-shell { max-width: 1320px; }

.admin-login {
  max-width: 760px;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.admin-toolbar p { margin: 0; }
.admin-toolbar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}
.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  font-size: .92rem;
}
.admin-table th {
  background: var(--surface-alt);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-soft);
}
.admin-table tbody tr:last-child td { border-bottom: 0; }

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 600;
  font-size: .82rem;
  white-space: nowrap;
}

.inline-actions {
  display: grid;
  grid-template-columns: minmax(150px, 1fr);
  gap: 8px;
}
.inline-actions select,
.inline-actions input {
  width: 100%;
  font: inherit;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  min-height: 40px;
  padding: 8px 10px;
}
.inline-actions .btn {
  min-height: 40px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid,
  .booking-grid,
  .contact-grid,
  .tracking-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero { padding: 48px 0 56px; }
  .hero-grid { gap: 36px; }
  .section { padding: 64px 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero-visual-inner { aspect-ratio: 16 / 10; }
  .booking-grid { gap: 32px; }
  .contact-grid { gap: 28px; }
  .map-wrap iframe { height: 320px; }
}

@media (max-width: 720px) {
  :root {
    --header-h: 60px;
  }

  .container { padding: 0 16px; }

  .nav-toggle { display: inline-flex; }

  .primary-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px 22px;
    gap: 10px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    box-shadow: var(--shadow-md);
  }
  .primary-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .primary-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .primary-nav ul li {
    border-bottom: 1px solid var(--border);
  }
  .primary-nav ul li:last-child {
    border-bottom: 0;
  }
  .primary-nav ul a {
    display: flex;
    width: 100%;
    padding: 14px 4px;
    min-height: 48px;
    font-size: 1rem;
  }

  .brand-mark { width: 38px; height: 38px; border-radius: 9px; }
  .brand-name { font-size: 1.1rem; }

  .hero { padding: 36px 0 44px; }
  .hero-text .lead { font-size: 1.02rem; margin-bottom: 22px; }
  .hero-actions { gap: 10px; margin-bottom: 22px; }
  .hero-points { font-size: .9rem; gap: 6px 18px; }
  .hero-visual-inner { aspect-ratio: 5 / 4; padding: 18px; border-radius: 18px; }

  .section { padding: 48px 0; }
  .section-head { margin-bottom: 30px; }
  .section-head p { font-size: .98rem; }

  .cards { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 22px; }
  .card-icon { width: 46px; height: 46px; }
  .card-icon svg { width: 24px; height: 24px; }

  .form .grid-2 { grid-template-columns: 1fr; gap: 14px; }
  .card-form { padding: 20px; border-radius: 14px; }
  .form-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .form-actions .btn { width: 100%; }

  .price-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 16px;
  }
  .price-table-3 .price-row { grid-template-columns: 1fr; }
  .price { text-align: left; }
  .price-head { display: none; } /* header row not useful when stacked */
  .price-subhead { padding: 10px 16px; }
  .price[data-label]::before {
    content: attr(data-label) " · ";
    color: var(--muted);
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    margin-right: 4px;
  }

  .contact-list li { grid-template-columns: 1fr; gap: 2px; padding: 12px 14px; }
  .contact-label { font-size: .78rem; }

  .map-wrap { padding: 8px; }
  .map-wrap iframe { height: 260px; }

  .hero-actions .btn { width: 100%; }

  .site-footer { padding: 40px 0 20px; }
  .footer-grid { gap: 28px; padding-bottom: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

}

@media (max-width: 480px) {
  .container { padding: 0 14px; }

  .header-inner { gap: 8px; }

  h1 { font-size: 1.7rem; line-height: 1.18; }
  h2 { font-size: 1.4rem; }

  .eyebrow { font-size: .75rem; padding: 5px 10px; }

  .hero { padding: 28px 0 36px; }
  .hero-actions .btn { padding: 12px 18px; font-size: .98rem; }

  .section { padding: 40px 0; }
  .section-head { margin-bottom: 24px; }

  .card { padding: 18px; border-radius: 12px; }
  .card-form { padding: 16px; }

  .price-row { padding: 12px 14px; }

  .map-wrap iframe { height: 220px; }

  .visual-caption { font-size: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
