/* ── RESET & VARS ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0d1f3c;
  --navy-dark:  #091528;
  --navy-card:  #152d52;
  --navy-card2: #1b3663;
  --gold:       #d49200;
  --gold-light: #f0b400;
  --gold-dim:   #a37000;
  --gold-alpha: rgba(212,146,0,.12);
  --gold-border:rgba(212,146,0,.28);
  --cream:      #f0e6cc;
  --text:       #ddd4bf;
  --muted:      #7a97bb;
  --border:     rgba(255,255,255,.08);
  --radius:     12px;
  --radius-sm:  8px;
  --nav-h:      62px;
  --shadow:     0 4px 24px rgba(0,0,0,.4);
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', system-ui, sans-serif;
  background: var(--navy-dark);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ───────────────────────────────────────────────── */
.ec-nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--navy);
  border-bottom: 1px solid var(--gold-border);
  box-shadow: 0 2px 20px rgba(0,0,0,.35);
}
.ec-nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 20px;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.ec-logo-link {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.ec-logo-img { height: 38px; width: auto; object-fit: contain; }
.ec-brand { font-size: .88rem; font-weight: 700; color: var(--cream); line-height: 1.2; }
.ec-brand-sub { font-weight: 400; color: var(--gold-light); font-size: .76rem; display: block; }
.ec-back-link {
  display: flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 600; color: var(--muted);
  text-decoration: none; transition: color .18s;
}
.ec-back-link:hover { color: var(--gold-light); }

/* ── PAGE HEADER ───────────────────────────────────────── */
.ec-page-header {
  text-align: center;
  padding: 32px 20px 0;
  max-width: 640px; margin: 0 auto;
}
.ec-eyebrow {
  display: inline-block; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--gold-light); margin-bottom: 6px;
}
.ec-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.55rem, 4vw, 2.1rem);
  color: var(--cream); line-height: 1.2; margin-bottom: 8px;
}
.ec-sub { font-size: .88rem; color: var(--muted); }

/* ── MAIN LAYOUT ───────────────────────────────────────── */
.ec-main { padding: 24px 16px 120px; }
.ec-wrap { max-width: 1100px; margin: 0 auto; }

/* Service selector tab strip */
.ec-service-tabs-wrap {
  margin-bottom: 24px;
  position: relative;
}
.ec-service-tabs-wrap::after {
  content: '';
  position: absolute; right: 0; top: 0; bottom: 0; width: 40px;
  background: linear-gradient(to right, transparent, var(--navy-dark));
  pointer-events: none;
}
#calc-service-tabs {
  display: flex; gap: 8px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding-bottom: 4px;
}
#calc-service-tabs::-webkit-scrollbar { display: none; }

.svc-tab {
  flex-shrink: 0; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: var(--navy-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px 9px;
  cursor: pointer; font-family: inherit; transition: all .18s;
  min-width: 88px;
}
.svc-tab:hover {
  border-color: var(--gold-border);
  background: var(--navy-card2);
}
.svc-tab.active {
  border-color: var(--gold);
  background: var(--gold-alpha);
  box-shadow: 0 0 0 1px var(--gold-dim);
}
.svc-tab-icon { font-size: 1.4rem; line-height: 1; }
.svc-tab-name {
  font-size: .68rem; font-weight: 700;
  color: var(--text); text-align: center; line-height: 1.3;
  white-space: nowrap;
}
.svc-tab.active .svc-tab-name { color: var(--gold-light); }

/* Two-column layout */
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

/* ── LEFT: FIELDS ──────────────────────────────────────── */
.calc-left {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.calc-left-head {
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.calc-left-icon { font-size: 1.6rem; line-height: 1; }
.calc-left-title {
  font-size: 1rem; font-weight: 700; color: var(--cream);
}
.calc-left-desc { font-size: .78rem; color: var(--muted); margin-top: 1px; }

#calc-fields { padding: 22px; display: flex; flex-direction: column; gap: 24px; }

.calc-field { display: flex; flex-direction: column; gap: 10px; }
.calc-field[hidden] { display: none; }
.calc-field-label { font-size: .85rem; font-weight: 700; color: var(--cream); }

/* Radio option cards */
.rc-group { display: flex; flex-direction: column; gap: 7px; }
.rc-option { cursor: pointer; }
.rc-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.rc-box {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  background: var(--navy-dark);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all .16s;
}
.rc-option:hover .rc-box { border-color: var(--gold-border); background: rgba(255,255,255,.04); }
.rc-option input:checked + .rc-box {
  border-color: var(--gold);
  background: var(--gold-alpha);
}
.rc-dot {
  width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--muted); transition: all .16s; position: relative;
}
.rc-option input:checked + .rc-box .rc-dot {
  border-color: var(--gold-light);
  background: var(--gold-light);
}
.rc-option input:checked + .rc-box .rc-dot::after {
  content: ''; position: absolute; inset: 3px; background: var(--navy-dark); border-radius: 50%;
}
.rc-text { flex: 1; font-size: .85rem; color: var(--text); line-height: 1.35; }
.rc-option input:checked + .rc-box .rc-text { color: var(--cream); }
.rc-price {
  font-size: .75rem; font-weight: 700; color: var(--gold-light);
  background: rgba(212,146,0,.15); border-radius: 4px; padding: 2px 6px;
  white-space: nowrap;
}

/* Number input */
.num-input {
  width: 100%; max-width: 200px;
  background: var(--navy-dark);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--cream); font-family: inherit; font-size: 1rem; font-weight: 600;
  padding: 11px 14px; outline: none; transition: border-color .16s;
}
.num-input:focus { border-color: var(--gold-light); }
.num-input::placeholder { color: var(--muted); font-weight: 400; font-size: .88rem; }
.field-hint { font-size: .74rem; color: var(--muted); margin-top: 2px; }

/* ── RIGHT: PRICE BOX ──────────────────────────────────── */
.calc-right {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}
.price-box {
  background: var(--navy-card);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 1px rgba(212,146,0,.06);
}
.price-box-head {
  background: linear-gradient(135deg, var(--navy-card2), var(--navy-card));
  border-bottom: 1px solid var(--gold-border);
  padding: 20px 22px 18px;
  text-align: center;
  position: relative;
}
.price-box-head::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(212,146,0,.1), transparent 70%);
  pointer-events: none;
}
.price-label {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .09em; color: var(--muted); margin-bottom: 6px;
}
.price-total {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.6rem; line-height: 1; color: var(--gold-light);
  font-weight: 700; margin-bottom: 4px;
}
.price-disclaimer {
  font-size: .7rem; color: var(--muted); line-height: 1.5;
  padding: 0 4px;
}

.price-breakdown {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0;
}
.bd-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 8px; padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.bd-row:last-child { border-bottom: none; }
.bd-lbl { font-size: .8rem; color: var(--text); flex: 1; line-height: 1.35; }
.bd-amt { font-size: .85rem; font-weight: 700; color: var(--cream); white-space: nowrap; }
.bd-note {
  font-size: .76rem; color: var(--muted); font-style: italic;
  padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.04);
  line-height: 1.4;
}
.bd-divider {
  height: 1px; background: var(--gold-border);
  margin: 6px 0;
}
.bd-min-row .bd-lbl { color: var(--gold-light); }
.bd-min-amt { color: var(--gold-light) !important; }
.bd-min-note {
  font-size: .7rem; color: var(--muted); font-style: italic; padding-top: 4px;
}

/* ── Add to Booking button ────────────────────────────── */
.ec-add-btn {
  display: block;
  width: calc(100% - 32px); margin: 0 16px;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold-light));
  border: none;
  color: var(--navy-dark);
  font-size: .9rem; font-weight: 800;
  padding: 13px 14px; border-radius: var(--radius-sm);
  cursor: pointer; transition: all .18s;
  box-shadow: 0 4px 18px rgba(212,146,0,.35);
  letter-spacing: .01em;
}
.ec-add-btn:hover { filter: brightness(1.08); box-shadow: 0 6px 24px rgba(212,146,0,.5); transform: translateY(-1px); }
.ec-add-btn:active { transform: none; box-shadow: 0 2px 10px rgba(212,146,0,.3); }

/* ── Cart ─────────────────────────────────────────────── */
.ec-cart {
  margin: 0 16px;
  background: var(--gold-alpha);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.ec-cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 13px;
  border-bottom: 1px solid var(--gold-border);
}
.ec-cart-title { font-size: .72rem; font-weight: 700; color: var(--gold-light); text-transform: uppercase; letter-spacing: .06em; }
.ec-cart-clear-btn { font-size: .72rem; color: var(--muted); background: none; border: none; cursor: pointer; }
.ec-cart-clear-btn:hover { color: #e88; }
.ec-cart-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 13px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.ec-cart-item:last-child { border-bottom: none; }
.ec-cart-item-name { flex: 1; font-size: .82rem; color: var(--cream); }
.ec-cart-item-price { font-size: .82rem; font-weight: 700; color: var(--gold-light); white-space: nowrap; }
.ec-cart-rm { background: none; border: none; color: var(--muted); font-size: 1.1rem; line-height: 1; cursor: pointer; padding: 0 2px; }
.ec-cart-rm:hover { color: #e88; }
.ec-cart-min-note {
  font-size: .68rem; color: var(--muted); font-style: italic;
  padding: 4px 13px 6px; text-align: center;
}
.ec-cart-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 13px;
  border-top: 1px solid var(--gold-border);
  background: rgba(212,146,0,.1);
}
.ec-cart-total-lbl { font-size: .72rem; font-weight: 700; color: var(--gold-light); text-transform: uppercase; letter-spacing: .06em; }
.ec-cart-total-amt { font-size: 1.25rem; font-weight: 800; color: var(--gold-light); font-family: 'Playfair Display', Georgia, serif; }

.addr-wrap {
  padding: 14px 16px 0;
  display: flex; flex-direction: column; gap: 5px;
}
.addr-label {
  font-size: .82rem; font-weight: 700; color: var(--cream);
}
.addr-opt { font-weight: 400; color: var(--muted); font-size: .75rem; }
.addr-req { color: #e87070; font-size: .8rem; margin-left: 2px; }
.addr-input.field-error { border-color: #e87070; box-shadow: 0 0 0 2px rgba(232,112,112,.2); }
.field-error-msg { font-size: .72rem; color: #e87070; margin-top: 4px; display: none; }
.field-error-msg.visible { display: block; }
.addr-input {
  width: 100%;
  background: var(--navy-dark);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--cream); font-family: inherit; font-size: .9rem;
  padding: 10px 13px; outline: none; transition: border-color .16s;
}
.addr-input:focus { border-color: var(--gold-light); }
.addr-input::placeholder { color: var(--muted); font-size: .84rem; }

.price-ctas {
  padding: 16px 16px 18px;
  display: flex; flex-direction: column; gap: 9px;
}

/* ── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-family: inherit; font-size: .9rem; font-weight: 700;
  border: none; border-radius: var(--radius-sm);
  cursor: pointer; text-decoration: none; text-align: center;
  padding: 13px 18px; line-height: 1; transition: all .18s;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-dim), var(--gold-light));
  color: var(--navy-dark);
}
.btn-gold:hover { filter: brightness(1.08); box-shadow: 0 4px 18px rgba(212,146,0,.45); transform: translateY(-1px); }
.btn-gold:active { transform: none; }
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.2);
  color: var(--cream);
}
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* ── TRUST STRIP ───────────────────────────────────────── */
.ec-trust {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 20px; margin: 28px 0 0;
  padding: 14px 20px;
  background: var(--navy-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: .74rem; color: var(--muted);
}
.ec-trust span { display: flex; align-items: center; gap: 5px; }

/* ── MOBILE FLOATING BAR ───────────────────────────────── */
.mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  background: var(--navy);
  border-top: 1px solid var(--gold-border);
  padding: 10px 16px 14px;
  align-items: center; gap: 12px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.5);
}
.mbar-label { font-size: .7rem; color: var(--muted); line-height: 1; }
.mbar-total { font-size: 1.3rem; font-weight: 800; color: var(--gold-light); line-height: 1; }
.mbar-price { flex: 0 0 auto; }
.mbar-cta { flex: 1; }

/* ── RESPONSIVE ────────────────────────────────────────── */

@media (max-width: 820px) {
  .calc-layout { grid-template-columns: 1fr; }
  .calc-right { position: static; }
  .mobile-bar { display: flex; }
  .ec-main { padding-bottom: 90px; }
}

@media (max-width: 520px) {
  .ec-main { padding: 16px 12px 90px; }
  #calc-fields { padding: 16px; gap: 20px; }
  .calc-left-head { padding: 14px 16px; }
  .price-box-head { padding: 16px 16px 14px; }
  .price-total { font-size: 2.1rem; }
  .price-breakdown { padding: 12px 14px; }
  .price-ctas { padding: 12px 14px 16px; }
  .ec-add-btn { width: calc(100% - 28px); margin: 0 14px; padding: 12px; }
  .ec-cart { margin: 0 14px; }
  .addr-wrap { padding: 12px 14px 0; }
}

@media (max-width: 360px) {
  .svc-tab { min-width: 76px; padding: 8px 10px; }
  .svc-tab-icon { font-size: 1.2rem; }
  .svc-tab-name { font-size: .62rem; }
  .rc-text { font-size: .8rem; }
}

/* ── Schedule disclaimer ──────────────────────────────── */
.schedule-disclaimer {
  font-size: .7rem;
  color: var(--muted);
  line-height: 1.55;
  padding: 10px 16px 14px;
}
.schedule-disclaimer strong { color: var(--text); }

/* ── FOOTER ────────────────────────────────────────────── */
.ec-footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 18px 20px; text-align: center;
  font-size: .76rem; color: var(--muted);
}
.ec-footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 6px 16px;
}
