@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk-Variable.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C4;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC;
}

:root {
  --alpine-ink: #0a121e;
  --alpine-slate: #111d2e;
  --alpine-panel: #16253a;
  --snow-bg: #f4f7fa;
  --snow-card: #ffffff;
  --snow-alt: #eaf0f6;
  --line-light: #d5dfe9;
  --line-dark: rgba(255, 255, 255, 0.13);
  --text-main: #0d1726;
  --text-muted: #4b5b70;
  --text-on-dark: #f2f6fb;
  --text-on-dark-muted: #a9bacf;
  --accent-red: #d9381e;
  --accent-red-hover: #b82c15;
  --accent-ice: #3898ec;
  --accent-cobalt: #0c58a3;
  --ok-green: #16794b;
  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --hero-hd: url("../img/hd/hero-tatras.webp");
  --hero-sm: url("../img/sm/hero-tatras.webp");
  --max-w: 1240px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--snow-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

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

/* Header - strict single row <= 56px on desktop */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 54px;
  background: rgba(10, 18, 30, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--text-on-dark);
}

.header-inner {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-emblem {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.brand-mark .brand-slash {
  color: #ff5a1f;
}

.brand-tag {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-on-dark-muted);
  padding-left: 9px;
  border-left: 1px solid var(--line-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-on-dark-muted);
  transition: color 0.15s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #ffffff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  overflow: hidden;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-on-dark-muted);
  border: 0;
  padding: 5px 9px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.lang-btn.active {
  background: #ffffff;
  color: var(--alpine-ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 2px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8125rem;
}

.btn-primary {
  background: var(--accent-red);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-red-hover);
}

.btn-outline-light {
  background: rgba(10, 18, 30, 0.55);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.btn-outline-light:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--alpine-ink);
  color: var(--alpine-ink);
}

.btn-outline-dark:hover {
  background: var(--alpine-ink);
  color: #ffffff;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  color: #ffffff;
  width: 36px;
  height: 34px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  background-color: var(--alpine-ink);
  background-image: linear-gradient(102deg, rgba(8, 15, 26, 0.92) 0%, rgba(10, 18, 30, 0.78) 54%, rgba(10, 18, 30, 0.44) 100%), var(--hero-hd);
  background-size: cover;
  background-position: center 38%;
  color: var(--text-on-dark);
  padding: 72px 0 60px;
  border-bottom: 1px solid var(--line-dark);
}

.hero-compact {
  padding: 52px 0 46px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #ff7d66;
  margin-bottom: 14px;
}

.eyebrow-light-bg {
  color: var(--accent-red);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 3.55rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  max-width: 17ch;
}

.hero-compact h1 {
  font-size: clamp(1.95rem, 3.5vw, 2.9rem);
  max-width: 22ch;
}

.hero-lead {
  font-size: 1.06rem;
  line-height: 1.62;
  color: #dbe5f1;
  max-width: 58ch;
  margin: 0 0 26px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
}

.fact-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.fact-label {
  font-size: 0.82rem;
  color: var(--text-on-dark-muted);
  margin-top: 3px;
}

.hero-status-card {
  background: rgba(12, 22, 36, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  padding: 24px;
}

.status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line-dark);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6ee7b7;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
}

.status-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
  font-size: 0.88rem;
}

.status-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  padding-bottom: 9px;
}

.status-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.status-key {
  color: var(--text-on-dark-muted);
}

.status-val {
  font-family: var(--font-display);
  font-weight: 600;
  color: #ffffff;
  text-align: right;
}

/* Brand Strip */
.brand-strip {
  background: var(--snow-card);
  border-bottom: 1px solid var(--line-light);
  padding: 15px 0;
}

.brand-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.brand-strip-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.brand-names {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #243447;
}

/* Sections */
.section {
  padding: 68px 0;
}

.section-alt {
  background: var(--snow-alt);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.section-dark {
  background: var(--alpine-ink);
  color: var(--text-on-dark);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

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

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0;
}

.section-sub {
  color: var(--text-muted);
  max-width: 60ch;
  margin: 8px 0 0;
}

.section-dark .section-sub {
  color: var(--text-on-dark-muted);
}

/* Interactive Rental Calculator + Price Matrix */
.calc-layout {
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  gap: 28px;
  align-items: start;
}

.calc-card {
  background: var(--snow-card);
  border: 1px solid var(--line-light);
  border-radius: 4px;
  padding: 26px;
}

.calc-step-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.duration-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 22px;
}

.dur-btn {
  background: var(--snow-bg);
  border: 1px solid var(--line-light);
  border-radius: 2px;
  padding: 9px 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--text-main);
  cursor: pointer;
  text-align: center;
}

.dur-btn.active {
  background: var(--alpine-ink);
  border-color: var(--alpine-ink);
  color: #ffffff;
}

.qty-list {
  display: grid;
  gap: 9px;
}

.qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line-light);
  border-radius: 2px;
  background: #fafcfe;
}

.qty-info strong {
  display: block;
  font-size: 0.93rem;
}

.qty-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.qty-unit-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--accent-cobalt);
  min-width: 48px;
  text-align: right;
}

.step-btn {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-light);
  background: #ffffff;
  border-radius: 2px;
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  color: var(--text-main);
}

.step-btn:hover {
  border-color: var(--alpine-ink);
}

.qty-val {
  font-family: var(--font-display);
  font-weight: 700;
  min-width: 22px;
  text-align: center;
}

[data-lightbox-src]:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-ice);
  outline-offset: 2px;
}

/* Summary Box */
.summary-panel {
  background: var(--alpine-ink);
  color: var(--text-on-dark);
  border: 1px solid var(--alpine-slate);
  border-radius: 4px;
  padding: 26px;
  position: sticky;
  top: 72px;
}

.summary-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-dark);
}

.summary-lines {
  display: grid;
  gap: 9px;
  margin-bottom: 18px;
  font-size: 0.9rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #d7e2ee;
}

.summary-line strong {
  white-space: nowrap;
}

.summary-line.discount {
  color: #6ee7b7;
}

.summary-total-box {
  border-top: 1px solid var(--line-dark);
  padding-top: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.summary-total-label {
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
}

.summary-total-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.summary-note {
  font-size: 0.78rem;
  color: var(--text-on-dark-muted);
  margin: 12px 0 0;
}

/* Price Matrix Table & Individual Add-ons */
.matrix-wrap {
  margin-top: 32px;
  background: var(--snow-card);
  border: 1px solid var(--line-light);
  border-radius: 4px;
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.92rem;
}

.price-table th,
.price-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-light);
  text-align: center;
}

.price-table th:first-child,
.price-table td:first-child {
  text-align: left;
}

.price-table thead th {
  background: var(--alpine-slate);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.price-table tbody tr:hover {
  background: #f6f9fc;
}

.price-num {
  font-family: var(--font-display);
  font-weight: 700;
  white-space: nowrap;
}

.indiv-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.indiv-card {
  background: var(--snow-card);
  border: 1px solid var(--line-light);
  border-radius: 4px;
  padding: 18px 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.indiv-card strong {
  font-family: var(--font-display);
  font-size: 0.96rem;
  display: block;
}

.indiv-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.indiv-rate {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-cobalt);
  white-space: nowrap;
}

.pricelist-meta-bar {
  margin-top: 20px;
  background: #ffffff;
  border: 1px solid var(--line-light);
  border-left: 3px solid var(--accent-red);
  border-radius: 2px;
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.88rem;
}

.included-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.included-chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

/* Equipment & Services Cards */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.equip-card {
  background: var(--snow-card);
  border: 1px solid var(--line-light);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Photo tiles are buttons that open the lightbox; the <img> loads lazily, a CSS background could not. */
.photo-btn {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--alpine-slate);
  overflow: hidden;
  cursor: zoom-in;
}

.photo-btn img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.equip-photo {
  height: 230px;
}

.equip-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 18, 30, 0.88);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.equip-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.equip-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 8px;
}

.equip-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0 0 16px;
  flex: 1;
}

.spec-list {
  list-style: none;
  padding: 12px 0 0;
  margin: 0;
  border-top: 1px solid var(--line-light);
  display: grid;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--text-main);
}

.spec-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.spec-icon {
  width: 15px;
  height: 15px;
  color: var(--accent-red);
  flex-shrink: 0;
}

/* Season Rental Banner */
.season-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
  background: var(--snow-card);
  border: 1px solid var(--line-light);
  border-radius: 4px;
  overflow: hidden;
}

.season-content {
  padding: 36px;
}

.season-photo {
  height: 100%;
  min-height: 340px;
}

/* Ski Lab / Service Split */
.service-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.service-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mosaic-tile {
  height: 240px;
  border-radius: 4px;
  border: 1px solid var(--line-dark);
}

.mosaic-tile.tall {
  grid-row: span 2;
  height: 494px;
}

.service-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.pillar-box {
  background: var(--alpine-slate);
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  padding: 16px;
}

.pillar-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 4px;
  color: #ffffff;
}

.pillar-box span {
  font-size: 0.84rem;
  color: var(--text-on-dark-muted);
}

/* Location, Links & Direct Contact Form */
.location-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.loc-card {
  background: var(--snow-card);
  border: 1px solid var(--line-light);
  border-radius: 4px;
  padding: 28px;
}

.distance-bars {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
}

.dist-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  background: var(--snow-bg);
  border-left: 3px solid var(--accent-cobalt);
  border-radius: 2px;
  font-size: 0.9rem;
}

.dist-row.primary {
  border-left-color: var(--accent-red);
  background: #fff5f3;
}

.dist-time {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--alpine-ink);
  white-space: nowrap;
}

.useful-links-bar {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
}

.link-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border: 1px solid var(--line-light);
  border-radius: 2px;
  background: var(--snow-bg);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
}

.link-pill:hover {
  border-color: var(--alpine-ink);
  background: #ffffff;
}

/* Booking Landing Process Steps */
.steps-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  background: var(--snow-card);
  border: 1px solid var(--line-light);
  border-radius: 4px;
  padding: 22px;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 2px;
  background: var(--alpine-ink);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 6px;
}

.step-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 10px;
  max-width: 920px;
}

.faq-item {
  background: var(--snow-card);
  border: 1px solid var(--line-light);
  border-radius: 4px;
}

.faq-item summary {
  padding: 16px 20px;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Footer */
.site-footer {
  background: #070d16;
  color: var(--text-on-dark-muted);
  padding: 48px 0 32px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-dark);
}

.site-footer p {
  margin: 0 0 6px;
}

.footer-link {
  color: #ffffff;
  text-decoration: underline;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-title {
  font-family: var(--font-display);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 12px;
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Booking dialog & lightbox: native <dialog>, the padding-free element is the click-outside target */
dialog.modal {
  width: min(640px, calc(100vw - 32px));
  max-width: none;
  max-height: 90vh;
  max-height: 90dvh;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--text-main);
  overflow: visible;
  overscroll-behavior: contain;
}

dialog.modal::backdrop {
  background: rgba(6, 12, 20, 0.8);
}

dialog.modal-lightbox {
  width: auto;
}

.modal-dialog {
  background: var(--snow-card);
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 4px;
  border: 1px solid var(--line-light);
  padding: 28px;
}

@media (prefers-reduced-motion: no-preference) {
  dialog.modal,
  dialog.modal::backdrop {
    transition: opacity 0.18s ease, display 0.18s allow-discrete, overlay 0.18s allow-discrete;
  }

  dialog.modal:not([open]),
  dialog.modal:not([open])::backdrop {
    opacity: 0;
  }

  @starting-style {
    dialog.modal[open],
    dialog.modal[open]::backdrop {
      opacity: 0;
    }
  }
}

.lightbox-frame {
  position: relative;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ffffff;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-light);
}

.modal-header h3 {
  font-family: var(--font-display);
  margin: 0;
  font-size: 1.3rem;
}

.close-btn {
  background: transparent;
  border: 1px solid var(--line-light);
  border-radius: 2px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}

.form-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 9px 11px;
  border: 1px solid #7d8b9a;
  border-radius: 2px;
  background: #ffffff;
}

.shoe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
}

.lightbox-img {
  width: auto;
  height: auto;
  max-width: min(92vw, 1100px);
  max-height: 84vh;
  border-radius: 2px;
  border: 1px solid var(--line-dark);
  background: var(--alpine-ink);
}

/* 404 Page */
.error-shell {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
}

.error-box {
  max-width: 580px;
  background: var(--snow-card);
  border: 1px solid var(--line-light);
  border-radius: 4px;
  padding: 40px;
  text-align: center;
}

.error-code {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--alpine-ink);
  margin-bottom: 12px;
}

.error-code span {
  color: var(--accent-red);
}

/* Responsive */
@media (max-width: 1080px) {
  .nav-links,
  .brand-tag {
    display: none;
  }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 54px;
    left: 0;
    right: 0;
    background: var(--alpine-ink);
    padding: 18px 24px;
    border-bottom: 1px solid var(--line-dark);
    align-items: flex-start;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .hero-grid,
  .calc-layout,
  .cards-grid-3,
  .season-grid,
  .service-split,
  .location-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .indiv-grid,
  .steps-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .summary-panel {
    position: static;
  }
  .season-photo {
    min-height: 250px;
  }
}

@media (max-width: 680px) {
  .hero {
    background-image: linear-gradient(180deg, rgba(8, 15, 26, 0.88) 0%, rgba(10, 18, 30, 0.82) 100%), var(--hero-sm);
    padding: 46px 0 42px;
  }
  .hero-facts,
  .form-grid,
  .service-pillars,
  .indiv-grid,
  .steps-grid-4 {
    grid-template-columns: 1fr;
  }
  .duration-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .service-mosaic {
    grid-template-columns: 1fr;
  }
  .mosaic-tile.tall {
    height: 260px;
  }
  .container {
    padding: 0 16px;
  }
  .calc-card,
  .summary-panel,
  .loc-card,
  .season-content,
  .modal-dialog {
    padding: 20px;
  }
}

/* Spam trap: invisible to people, bots fill it in */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Review round 3: phone layout of the calculator, touch targets, reduced motion */
.qty-info {
  min-width: 0;
}

@media (max-width: 680px) {
  .qty-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .qty-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
  }

  .qty-unit-price {
    margin-right: auto;
    text-align: left;
    font-size: 1rem;
  }

  .step-btn {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }

  .close-btn {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Classes that replace inline styles in the generated pages */
.svg-defs {
  position: absolute;
}

.btn-block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}

.btn-row-center {
  justify-content: center;
}

.btn-wa svg,
.header-wa svg {
  color: #25a55a;
  flex-shrink: 0;
}

.btn-outline-light.btn-wa svg,
.header-wa svg {
  color: #4fd18b;
}

.btn-outline-dark.btn-wa:hover svg {
  color: #ffffff;
}

.header-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 34px;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
}

.header-wa:hover {
  border-color: #ffffff;
}

.status-area {
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--text-on-dark-muted);
}

.pieces-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 26px 0 0;
}

.pieces-note {
  margin: 12px 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.summary-note-strong {
  color: #ffffff;
  font-size: 0.84rem;
}

.season-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.14;
  margin: 0 0 14px;
}

.season-text {
  color: var(--text-muted);
  margin: 0 0 12px;
}

.season-content .spec-list {
  margin: 18px 0;
}

.service-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.12;
  margin: 0 0 14px;
}

/* Answer 19 C: season rental and service prices are given by phone, so say it where people look for a price */
.price-on-call {
  margin: 0 0 16px;
  padding: 10px 14px;
  border-left: 3px solid var(--accent-red);
  background: var(--snow-bg);
  font-weight: 600;
  font-size: 0.92rem;
}

.price-on-call-dark {
  margin-top: 20px;
  background: var(--alpine-slate);
  color: #ffffff;
}

.card-title {
  font-family: var(--font-display);
  margin: 0 0 6px;
}

.card-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.card-meta-gap {
  margin-bottom: 18px;
}

.copy-feedback {
  font-size: 0.82rem;
  color: var(--ok-green);
  margin: 6px 0 0;
  min-height: 1.1em;
}

.links-label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.form-status {
  margin: 10px 0 0;
  font-size: 0.88rem;
  color: var(--accent-cobalt);
  font-weight: 600;
}

.field-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
}

.field-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-field textarea[readonly] {
  background: var(--snow-bg);
  resize: none;
  field-sizing: content;
  min-block-size: 2.6lh;
  max-block-size: 9lh;
}

.form-field input:user-invalid,
.form-field textarea:user-invalid {
  border-color: var(--accent-red);
  box-shadow: inset 0 0 0 1px var(--accent-red);
}

/* Answer 22 C: the visitor confirms having read the privacy notice before sending a form */
.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 14px;
  font-size: 0.86rem;
  cursor: pointer;
}

.consent-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--accent-red);
}

.consent-check a {
  color: var(--accent-cobalt);
  text-decoration: underline;
}

.faq-mark {
  flex-shrink: 0;
}

.faq-item[open] .faq-mark {
  transform: rotate(45deg);
}

.container-narrow {
  max-width: 780px;
}

/* Privacy notice */
.doc-page {
  padding: 56px 0 68px;
}

.doc-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}

.doc-page h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.25;
  margin: 30px 0 8px;
}

.doc-page p {
  margin: 0 0 10px;
  color: var(--text-muted);
}

.doc-page .doc-lead {
  color: var(--text-main);
  font-size: 1.04rem;
}

.doc-back {
  margin-top: 30px;
}

/* 404 in three languages */
.error-block + .error-block {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
}

.error-block h1,
.error-block h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.2;
  margin: 0 0 8px;
}

.error-block p {
  color: var(--text-muted);
  margin: 0 0 16px;
}

.error-contact {
  margin: 26px 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.error-contact a {
  color: var(--accent-cobalt);
  font-weight: 600;
}

@media (max-width: 680px) {
  .modal-dialog {
    padding: 20px;
  }

  /* Three languages, WhatsApp and the booking button do not fit a phone header:
     WhatsApp stays in the hero row, the switch shows only the languages you can change to. */
  .header-wa,
  .lang-btn.active {
    display: none;
  }

  .lang-btn {
    min-height: 34px;
  }
}

@media (max-width: 380px) {
  .header-inner {
    gap: 8px;
  }

  .header-actions {
    gap: 6px;
  }
}

@media (max-width: 340px) {
  .brand-emblem {
    display: none;
  }

  .header-actions .btn-sm {
    padding: 6px 7px;
  }

  .lang-btn {
    padding: 5px 6px;
  }
}
