:root {
  --bg: #eef2f7;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: rgba(255, 255, 255, 0.97);
  --text: #172033;
  --muted: #667185;
  --line: rgba(23, 32, 51, 0.1);
  --line-strong: rgba(23, 32, 51, 0.16);
  --primary: #172033;
  --primary-hover: #243047;
  --primary-soft: #edf1f7;
  --success-bg: #eef7f1;
  --success-text: #206246;
  --danger-bg: #fff1f1;
  --danger-text: #a03131;
  --gold-bg: #fbf4e7;
  --gold-text: #8a6530;
  --shadow: 0 22px 48px rgba(25, 35, 56, 0.12);
  --shadow-soft: 0 12px 24px rgba(25, 35, 56, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(198, 207, 221, 0.35), transparent 28%),
    radial-gradient(circle at bottom right, rgba(210, 218, 232, 0.5), transparent 22%),
    linear-gradient(180deg, #f8fafc 0%, var(--bg) 100%);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.page-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
}

.booking-layout,
.booking-layout-results,
.main-panel {
  width: 100%;
}

.glass-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
}

.section-kicker {
  margin: 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
  padding: 10px 0 28px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.brand-logo {
  width: 152px;
  height: auto;
  object-fit: contain;
}

.brand-subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.header-controls {
  margin-left: auto;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.control-group {
  display: flex;
}

.top-select,
.toolbar-select {
  border: 1px solid rgba(23, 32, 51, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  border-radius: 14px;
  padding: 10px 14px;
  font: inherit;
  min-width: 120px;
}

.toolbar-select {
  min-width: 170px;
  padding: 9px 12px;
  font-size: 0.9rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.step-section {
  display: none;
}

.step-section.is-visible {
  display: block;
}

.is-hidden {
  display: none !important;
}

.filter-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 14px;
  align-items: end;
  padding: 18px;
  margin-bottom: 20px;
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.field label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(23, 32, 51, 0.12);
  background: var(--surface-strong);
  color: var(--text);
  border-radius: 16px;
  padding: 14px 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(23, 32, 51, 0.28);
  box-shadow: 0 0 0 4px rgba(23, 32, 51, 0.06);
}

.child-age-selectors {
  display: grid;
  gap: 10px;
}

.child-age-item {
  display: grid;
  gap: 8px;
}

.results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 16px 20px;
  margin-bottom: 14px;
}

.results-toolbar .section-kicker {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
}

.results-toolbar-left h3,
.form-card h3,
.policy-card h3,
.payment-card h3,
.final-summary h3 {
  margin: 6px 0 4px;
  font-size: clamp(1.15rem, 1.6vw, 1.55rem);
  line-height: 1.15;
}

.results-toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.inventory-note {
  color: var(--muted);
  font-size: 0.8rem;
}

.cta-button,
.secondary-button {
  appearance: none;
  border: none;
  border-radius: 18px;
  padding: 14px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.cta-button {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 16px 30px rgba(23, 32, 51, 0.18);
}

.cta-button:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  border: 1px solid var(--line);
}

.secondary-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.link-button {
  appearance: none;
  background: transparent;
  border: none;
  padding: 0;
  color: #205f4d;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.link-button:hover {
  text-decoration: underline;
}

.room-grid {
  display: grid;
  gap: 22px;
}

.room-card {
  display: block;
  padding: 0;
  overflow: hidden;
}

.room-card-selected {
  outline: 2px solid rgba(23, 32, 51, 0.08);
}

.room-card-top {
  display: grid;
  grid-template-columns: 320px minmax(0, 1.35fr);
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.room-visual {
  padding: 18px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #eef2f7 0%, #e2e8f1 100%);
}

.room-gallery {
  display: grid;
  gap: 12px;
}

.room-gallery-main {
  position: relative;
  min-height: 260px;
  border-radius: 18px;
  overflow: hidden;
  background: #dfe5ee;
  box-shadow: inset 0 0 0 1px rgba(23, 32, 51, 0.06);
}

.room-main-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.gallery-count {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(23, 32, 51, 0.74);
  color: #fff;
  border-radius: 10px;
  padding: 4px 8px;
  font-size: 0.8rem;
  font-weight: 700;
}

.room-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.thumb {
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  background: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.thumb img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  display: block;
}

.thumb:hover,
.thumb.is-active {
  transform: translateY(-2px);
  border-color: rgba(23, 32, 51, 0.28);
  box-shadow: 0 10px 18px rgba(23, 32, 51, 0.1);
}

.room-content {
  min-width: 0;
  width: 100%;
  padding: 22px 24px;
}

.room-topline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.room-topline > div:first-child {
  flex: 1;
  min-width: 0;
}

.room-topline h4,
.policy-item h4,
.netopia-panel h4 {
  margin: 10px 0 0;
  font-size: 1.16rem;
}

.room-label-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.room-badge,
.policy-badge,
.meta-dot,
.mini-badge,
.offer-ribbon {
  white-space: normal;
}

.room-badge {
  display: inline-flex;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid var(--line);
  background: rgba(23, 32, 51, 0.08);
}

.room-badge.soft {
  background: rgba(105, 118, 141, 0.1);
}

.offer-ribbon {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: #eef6f1;
  color: #205f4d;
  border: 1px solid rgba(32, 95, 77, 0.12);
}

.price-cluster {
  flex-shrink: 0;
  min-width: 140px;
  text-align: right;
}

.price-cluster span,
.price-cluster small {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.price-cluster strong {
  display: block;
  font-size: 2.1rem;
  line-height: 1.05;
}

.quality-strip,
.room-meta-row,
.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quality-strip {
  margin: 14px 0 10px;
}

.quality-strip span {
  display: inline-flex;
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.room-meta-row {
  margin: 12px 0 14px;
}

.policy-badge,
.meta-dot,
.mini-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.56rem 0.82rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.policy-badge.danger,
.mini-badge.danger {
  background: var(--danger-bg);
  color: var(--danger-text);
  border-color: rgba(160, 49, 49, 0.14);
}

.mini-badge.success {
  background: var(--success-bg);
  color: var(--success-text);
  border-color: rgba(32, 98, 70, 0.14);
}

.mini-badge.gold {
  background: var(--gold-bg);
  color: var(--gold-text);
  border-color: rgba(138, 101, 48, 0.14);
}

.room-description,
.policy-item p,
.payment-lead,
.inline-note p,
.rate-info p {
  color: var(--muted);
  line-height: 1.65;
}

.feature-row {
  margin: 18px 0;
}

.feature-row span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.room-rate-list {
  display: none;
  gap: 0;
}

.room-card.tariffs-ready .room-rate-list {
  display: grid;
}

.rate-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) 180px 140px;
  gap: 18px;
  align-items: center;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
}

.rate-row:first-child {
  border-top: none;
}

.rate-row.is-featured {
  background: rgba(23, 32, 51, 0.02);
}

.rate-info,
.rate-price,
.rate-action {
  min-width: 0;
}

.rate-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.rate-title-row h5 {
  margin: 0;
  font-size: 1rem;
}

.urgency-note,
.offer-note,
.price-note {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.urgency-note {
  color: #8a6530;
  font-weight: 700;
}

.rate-price {
  text-align: right;
}

.rate-price small {
  display: block;
  color: var(--muted);
  margin-bottom: 6px;
}

.price-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.old-price {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.95rem;
}

.rate-price strong {
  font-size: 1.8rem;
  line-height: 1.05;
}

.rate-action {
  display: flex;
  justify-content: flex-end;
}

.rate-action .cta-button {
  min-width: 110px;
}

.details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 20px;
}

.form-card,
.policy-card,
.payment-card,
.final-summary {
  padding: 24px;
}

.details-form,
.policy-stack,
.legal-wrap,
.recap-list {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  gap: 14px;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.child-extras-block {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}

.extras-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.option-tile {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  cursor: pointer;
}

.option-tile input {
  margin-top: 4px;
}

.option-tile strong {
  display: block;
  margin-bottom: 4px;
}

.option-tile small {
  color: var(--muted);
  line-height: 1.5;
}

.payment-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 20px;
}

.payment-lead {
  margin-top: 0;
}

.netopia-panel {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin: 18px 0;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.netopia-logo {
  width: 160px;
  height: auto;
}

.assurance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.assurance-box {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.assurance-box strong {
  display: block;
  margin-bottom: 6px;
}

.assurance-box span {
  color: var(--muted);
  font-size: 0.9rem;
}

.check-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  line-height: 1.5;
}

.check-line input {
  margin-top: 3px;
}

.room-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.recap-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.recap-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 20px 0;
}

.inline-note strong {
  display: block;
  margin-bottom: 8px;
}

.cta-attention {
  animation: heartbeat-subtle 2.5s ease-in-out infinite;
}

.flash-search {
  animation: jello-horizontal 0.85s both;
}

@keyframes heartbeat-subtle {
  0%, 40%, 80%, 100% {
    transform: scale(1);
    box-shadow: 0 16px 30px rgba(23, 32, 51, 0.18);
  }
  8% {
    transform: scale(1.03);
    box-shadow: 0 22px 36px rgba(23, 32, 51, 0.22);
  }
  16% {
    transform: scale(0.995);
  }
  24% {
    transform: scale(1.02);
  }
}

@keyframes jello-horizontal {
  0% { transform: scale3d(1, 1, 1); }
  30% { transform: scale3d(1.12, 0.88, 1); }
  40% { transform: scale3d(0.88, 1.12, 1); }
  50% { transform: scale3d(1.08, 0.92, 1); }
  65% { transform: scale3d(0.97, 1.03, 1); }
  75% { transform: scale3d(1.02, 0.98, 1); }
  100% { transform: scale3d(1, 1, 1); }
}

@media (max-width: 1180px) {
  .details-grid,
  .payment-grid {
    grid-template-columns: 1fr;
  }

  .results-toolbar {
    display: grid;
    align-items: stretch;
  }

  .filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .room-card-top {
    grid-template-columns: 1fr;
  }

  .room-visual {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .rate-row {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .rate-price,
  .rate-action {
    text-align: left;
    justify-content: flex-start;
  }

  .price-stack {
    align-items: flex-start;
  }

  .price-cluster {
    text-align: left;
  }

  .assurance-grid,
  .netopia-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-shell {
    padding: 14px;
  }

  .topbar,
  .room-topline {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-logo {
    width: 120px;
  }

  .header-controls {
    margin-left: 0;
    width: 100%;
  }

  .top-select,
  .toolbar-select,
  .cta-button,
  .secondary-button {
    width: 100%;
  }

  .filter-bar,
  .two-col,
  .room-thumbs,
  .assurance-grid,
  .netopia-panel,
  .extras-grid {
    grid-template-columns: 1fr;
  }

  .room-content,
  .form-card,
  .policy-card,
  .payment-card,
  .final-summary,
  .room-visual {
    padding: 16px;
  }

  .form-actions,
  .room-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .room-gallery-main {
    min-height: 210px;
  }

  .room-main-image {
    height: 220px;
  }

  .thumb img {
    height: 84px;
  }

  .gallery-count {
    font-size: 0.75rem;
  }

  .brand-subtitle {
    font-size: 0.84rem;
  }
}
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-content {
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(17, 17, 17, 0.96);
  color: #fff;
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.cookie-text {
  max-width: 760px;
}

.cookie-text strong {
  display: block;
  margin-bottom: 6px;
}

.cookie-text p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.cookie-link {
  appearance: none;
  border: none;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  appearance: none;
  border-radius: 14px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  border: none;
  background: #fff;
  color: #111;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #fff;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-content {
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 24px;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  box-shadow: 0 20px 45px rgba(25, 35, 56, 0.14);
}

.cookie-text {
  max-width: 760px;
}

.cookie-text strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.cookie-text p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.6;
}

.cookie-link {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--primary);
  font: inherit;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  appearance: none;
  border-radius: 14px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  border: none;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(23, 32, 51, 0.16);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
}

.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
}

.cookie-modal.is-hidden {
  display: none;
}

.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 32, 51, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.cookie-modal-panel {
  position: relative;
  max-width: 760px;
  margin: 60px auto;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  padding: 26px;
  z-index: 1;
  box-shadow: 0 28px 70px rgba(25, 35, 56, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.cookie-modal-kicker {
  margin: 0;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.cookie-modal-header h3 {
  margin: 6px 0 0;
  font-size: 1.45rem;
}

.cookie-close-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cookie-close-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.cookie-modal-body {
  display: grid;
  gap: 14px;
}

.cookie-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.72);
}

.cookie-row-copy strong {
  display: block;
  margin-bottom: 6px;
}

.cookie-row-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.cookie-row-state {
  white-space: nowrap;
  color: var(--muted);
  font-weight: 700;
}

.cookie-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-weight: 700;
  color: var(--text);
}

.cookie-toggle input {
  display: none;
}

.cookie-toggle-ui {
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: #d7dde8;
  position: relative;
  transition: background 0.2s ease;
}

.cookie-toggle-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(23, 32, 51, 0.16);
  transition: transform 0.2s ease;
}

.cookie-toggle input:checked + .cookie-toggle-ui {
  background: var(--primary);
}

.cookie-toggle input:checked + .cookie-toggle-ui::after {
  transform: translateX(20px);
}

.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.cookie-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9998;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(25, 35, 56, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cookie-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(25, 35, 56, 0.2);
}

.cookie-fab.is-hidden {
  display: none;
}

@media (max-width: 768px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .cookie-content,
  .cookie-row,
  .cookie-modal-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions,
  .cookie-actions .btn-primary,
  .cookie-actions .btn-secondary,
  .cookie-modal-actions .btn-primary,
  .cookie-modal-actions .btn-secondary {
    width: 100%;
  }

  .cookie-modal-panel {
    margin: 20px 12px;
    padding: 18px;
  }
}
.site-footer {
  margin-top: 28px;
  padding: 0 0 20px;
}

.footer-inner {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
}

.footer-grid {
  display: grid;
  gap: 24px;
}

.footer-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.footer-col p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 768px) {
  .footer-grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    padding: 20px 16px;
  }
}