:root {
  --ineika-turquoise: #00918a;
  --ineika-dark: #0f3b46;
  --ineika-surfblue: #2e8bc0;
  --ineika-sand: #f5e9cf;
  --ineika-apricot: #ff8d61;
  --ineika-sky: #38c7e3;
  --ineika-border: #d9e5ea;
  --ineika-bg: #f6f8fa;
  --ineika-shadow: 0 18px 48px rgba(15, 59, 70, 0.08);
  --ineika-card-radius: 22px;
  --font-headline: 'Quicksand', 'Montserrat', Arial, sans-serif;
  --font-body: 'Oxygen', 'Inter', Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--ineika-bg); color: #213038; font-family: var(--font-body); }
body { min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--ineika-turquoise); text-decoration: none; }
a:hover { text-decoration: underline; }

.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 59, 70, 0.08);
}
.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
}
.brand-row { display: flex; align-items: center; gap: 0.9rem; min-width: 0; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ineika-turquoise), var(--ineika-sky)); color: #fff; font-weight: 700; font-family: var(--font-headline);
}
.brand-kicker { font-size: 0.78rem; color: #6a7d86; text-transform: uppercase; letter-spacing: 0.08em; }
.brand-title { font-family: var(--font-headline); font-size: 1.35rem; font-weight: 700; line-height: 1.1; }
.header-meta { text-align: right; }
.header-phone { font-weight: 700; color: var(--ineika-dark); }
.header-copy { font-size: 0.9rem; color: #6a7d86; }
.stepper-wrap { border-top: 1px solid rgba(15, 59, 70, 0.06); background: #fbfcfd; }
.stepper-inline {
  display: flex; gap: 0.55rem; padding: 0.85rem 1.25rem 1rem; overflow-x: auto; scrollbar-width: none;
}
.stepper-inline::-webkit-scrollbar { display: none; }
.step-chip {
  flex: 0 0 auto; padding: 0.55rem 0.85rem; border-radius: 999px; border: 1px solid var(--ineika-border);
  background: #fff; color: #6a7d86; font-size: 0.9rem; white-space: nowrap;
}
.step-chip.is-active { background: rgba(0,145,138,0.1); border-color: rgba(0,145,138,0.22); color: var(--ineika-dark); font-weight: 700; }

.main-content { flex: 1; }
.page-shell { padding: 2rem 1.25rem 3rem; }
.hero-panel { max-width: 760px; margin: 0 auto 1.75rem; }
.eyebrow { font-size: 0.84rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ineika-turquoise); margin-bottom: 0.7rem; font-weight: 700; }
.step-headline { font-family: var(--font-headline); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; margin: 0 0 0.85rem; }
.step-lead { max-width: 62ch; margin: 0 auto; font-size: 1.08rem; line-height: 1.6; color: #5f7179; }
.flow-form { max-width: 1120px; margin: 0 auto; }

.cards-grid { display: grid; gap: 1.25rem; align-items: stretch; }
.cards-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin: 0 auto; }
.booking-card {
  background: #fff; border-radius: var(--ineika-card-radius); overflow: hidden; border: 1px solid rgba(15, 59, 70, 0.08);
  box-shadow: 0 10px 30px rgba(15, 59, 70, 0.06); display: flex; flex-direction: column; min-height: 100%; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.booking-card:hover, .booking-card:focus, .booking-card.selected {
  transform: translateY(-3px); border-color: rgba(56,199,227,0.55); box-shadow: var(--ineika-shadow); outline: none;
}
.booking-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.booking-card-body { padding: 1.2rem 1.2rem 1.35rem; display: flex; flex-direction: column; gap: 0.8rem; flex: 1; }
.booking-card-title { font-family: var(--font-headline); font-size: 1.32rem; line-height: 1.2; font-weight: 700; color: #17252d; }
.booking-card-meta { color: #62747d; line-height: 1.55; font-size: 0.98rem; flex: 1; }
.option-price {
  align-self: flex-start; padding: 0.45rem 0.8rem; border-radius: 999px; background: rgba(255,141,97,0.14);
  color: #b8502b; font-weight: 700; font-family: var(--font-headline);
}
.step-note { text-align: center; color: #6a7d86; margin: 1rem auto 0; max-width: 48rem; }
.btn-main {
  margin: 1.6rem auto 0; min-height: 58px; display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.95rem 1.4rem; border: 0; border-radius: 18px; background: linear-gradient(135deg, var(--ineika-turquoise), var(--ineika-surfblue));
  color: #fff; font-family: var(--font-headline); font-size: 1.08rem; font-weight: 700; box-shadow: 0 14px 30px rgba(0,145,138,0.18);
}
.btn-main:disabled { opacity: 0.5; box-shadow: none; cursor: not-allowed; }
.btn-main-full { width: 100%; margin-top: 1.4rem; }
.btn-main-inline { display: inline-flex; }

.split-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr); gap: 1.25rem; align-items: start; }
.panel {
  background: #fff; border-radius: 24px; border: 1px solid rgba(15, 59, 70, 0.08); box-shadow: 0 10px 30px rgba(15, 59, 70, 0.06);
  padding: 1.5rem;
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.stack-form { display: flex; flex-direction: column; gap: 1rem; }
.form-label { font-weight: 700; color: #213038; margin-bottom: 0.45rem; }
.form-control, .form-control:focus { border-radius: 16px; border-color: #ccd8de; box-shadow: none; }
textarea.form-control { min-height: 122px; }
.summary-title { font-family: var(--font-headline); font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid rgba(15, 59, 70, 0.08); }
.summary-row span { color: #6a7d86; }
.summary-row strong { text-transform: capitalize; text-align: right; }
.summary-note { margin-top: 1rem; color: #62747d; line-height: 1.6; }
.consent-check { margin-top: 0.35rem; }
.success-panel { max-width: 760px; }
.success-box { margin: 1.25rem 0 0; padding: 1.1rem 1.2rem; border-radius: 20px; background: #eef9f8; color: #2c4f58; display: grid; gap: 0.65rem; }

.main-footer { background: #fff; border-top: 1px solid rgba(15, 59, 70, 0.08); }
.footer-shell {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; color: #5f7179;
}
.footer-heading { font-family: var(--font-headline); font-weight: 700; color: #17252d; }
.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: flex-end; }
.footer-rating-block { text-align: center; }
.footer-rating-score { display: block; font-weight: 700; color: #17252d; }
.footer-rating-text { font-size: 0.9rem; }

@media (max-width: 991px) {
  .cards-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-layout { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .header-shell, .footer-shell { flex-direction: column; align-items: flex-start; }
  .header-meta { text-align: left; }
  .page-shell { padding: 1.25rem 1rem 2rem; }
  .cards-grid-3, .cards-grid-2, .form-grid { grid-template-columns: 1fr; }
  .booking-card-body { padding: 1rem 1rem 1.15rem; }
  .step-headline { font-size: 2rem; }
  .step-lead { font-size: 1rem; }
  .btn-main { width: 100%; }
}

.step-headline-compact {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
}
.step-lead-left {
  margin-left: 0;
  margin-right: 0;
}
.alert-box {
  border-radius: 18px;
  padding: 0.95rem 1rem;
  margin: 0 0 1rem;
  border: 1px solid transparent;
}
.alert-box-error {
  background: #fff1f1;
  border-color: #f2c7c7;
  color: #9b2f2f;
}
.info-strip {
  display: grid;
  gap: 0.3rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: #f4fafb;
  color: #31515b;
  border: 1px solid rgba(46, 139, 192, 0.12);
}
.info-strip-soft {
  background: #f9fbfc;
  border-color: rgba(15, 59, 70, 0.08);
}
.field-help {
  margin-top: 0.45rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #69808a;
}
.action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.8rem 1.15rem;
  border-radius: 16px;
  border: 1px solid var(--ineika-border);
  background: #fff;
  color: var(--ineika-dark);
  font-weight: 700;
}
.btn-secondary:hover {
  text-decoration: none;
  border-color: rgba(0,145,138,0.35);
}
.panel-summary-sticky {
  position: sticky;
  top: 136px;
}
.summary-block {
  margin-top: 1.1rem;
  padding-top: 1rem;
}
.summary-block-title {
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: #17313a;
}
.summary-list {
  padding-left: 1.1rem;
  margin: 0;
  color: #62747d;
  display: grid;
  gap: 0.55rem;
}
.form-section {
  display: grid;
  gap: 0.9rem;
}
.form-section-title {
  font-family: var(--font-headline);
  font-size: 1.15rem;
  font-weight: 700;
  color: #17313a;
}
.form-control-textarea {
  min-height: 152px;
}
.form-grid-dates {
  align-items: start;
}
.success-box-left {
  text-align: left;
}
.success-title {
  font-family: var(--font-headline);
  font-size: 1.15rem;
  font-weight: 700;
  color: #17313a;
}
.success-step {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.75rem;
  align-items: start;
}
.success-summary {
  margin: 1.35rem 0;
  padding: 1rem 1.15rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(15, 59, 70, 0.08);
  text-align: left;
}
.contact-inline {
  margin-bottom: 1.1rem;
  color: #5f7179;
}

@media (max-width: 991px) {
  .panel-summary-sticky {
    position: static;
  }
}

@media (max-width: 767px) {
  .action-row {
    align-items: stretch;
  }
  .action-row > * {
    width: 100%;
  }
  .success-step {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}


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

.check-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.check-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 58px;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--ineika-border);
  color: var(--ineika-dark);
  font-weight: 700;
}
.check-card input {
  width: 1.05rem;
  height: 1.05rem;
}
.action-row-top {
  margin-top: 1.25rem;
}

@media (max-width: 1200px) {
  .cards-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .cards-grid-4, .check-grid { grid-template-columns: 1fr; }
}
