:root {
  --navy: #092b3b;
  --navy-soft: #123f50;
  --lagoon: #18b7ad;
  --lagoon-dark: #087f7b;
  --foam: #f5f3e9;
  --white: #fffdf8;
  --sand: #e9dfc8;
  --ink: #173743;
  --muted: #6a7d81;
  --amber: #d89032;
  --shadow: 0 18px 50px rgba(9, 43, 59, .1);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--foam); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }

.topbar { position: sticky; top: 0; z-index: 20; height: 78px; padding: 0 max(5vw, 24px); display: flex; align-items: center; justify-content: space-between; background: rgba(245, 243, 233, .94); border-bottom: 1px solid rgba(9,43,59,.08); backdrop-filter: blur(14px); }
.brand { padding: 0; border: 0; background: transparent; display: flex; align-items: center; gap: 11px; text-align: left; cursor: pointer; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50% 50% 42% 58%; background: var(--navy); color: white; font-weight: 800; font-size: 13px; }
.brand strong, .brand small { display: block; }
.brand strong { color: var(--navy); font-size: 15px; letter-spacing: .02em; }
.brand small { color: var(--muted); font-size: 11px; margin-top: 1px; }
.main-nav { display: flex; align-items: center; gap: 7px; }
.main-nav button { border: 0; background: transparent; padding: 10px 13px; border-radius: 12px; color: #49636b; font-weight: 650; cursor: pointer; }
.main-nav button:hover, .main-nav button.active { background: white; color: var(--lagoon-dark); }
.menu-toggle { display: none; border: 1px solid #cbd4d1; background: white; border-radius: 10px; padding: 8px 11px; }

main { min-height: calc(100vh - 140px); }
.screen { display: none; max-width: 1240px; margin: 0 auto; padding: 54px 28px 90px; animation: reveal .35s ease; }
.screen.active { display: block; }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.08; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 5.2vw, 72px); font-weight: 500; letter-spacing: -.035em; }
h2 { font-size: 22px; }
p { line-height: 1.65; }
.eyebrow { margin-bottom: 11px; color: var(--lagoon-dark); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 800; }
.primary, .secondary, .whatsapp { min-height: 48px; padding: 0 20px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 750; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.primary { border: 1px solid var(--navy); background: var(--navy); color: white; box-shadow: 0 10px 24px rgba(9,43,59,.2); }
.primary:hover, .secondary:hover, .whatsapp:hover { transform: translateY(-2px); }
.secondary { border: 1px solid #b8cac8; background: transparent; color: var(--navy); }
.whatsapp { border: 1px solid rgba(255,255,255,.4); color: white; background: rgba(255,255,255,.12); }
.full { width: 100%; }
.text-button { border: 0; background: transparent; color: var(--lagoon-dark); font-weight: 750; cursor: pointer; }

.hero { min-height: 585px; display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; border-radius: 32px; background: var(--navy); box-shadow: var(--shadow); }
.hero-content { padding: clamp(46px, 7vw, 90px); align-self: center; }
.hero h1 { color: white; max-width: 700px; }
.hero .eyebrow { color: #6be0d7; }
.hero-copy { color: #c8d7d9; max-width: 620px; font-size: 18px; }
.hero-actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero .primary { background: var(--lagoon); color: var(--navy); border-color: var(--lagoon); }
.microcopy { margin: 18px 0 0; font-size: 12px; color: #8fa9ae; }
.island-art { position: relative; min-height: 500px; overflow: hidden; background: radial-gradient(circle at 65% 25%, #f6d68b 0 7%, transparent 7.2%), linear-gradient(160deg, #154c5b 0 45%, #0b7780 46% 64%, #19aaa6 65%); }
.sun { position: absolute; width: 150px; height: 150px; right: 11%; top: 12%; border-radius: 50%; background: rgba(255,226,151,.15); }
.leaf { position: absolute; width: 105px; height: 280px; background: #164c45; border-radius: 100% 0 100% 0; transform-origin: bottom center; opacity: .95; }
.leaf::after { content: ""; position: absolute; left: 50%; bottom: -60px; width: 3px; height: 290px; transform: rotate(-18deg); background: #d0a464; opacity: .5; }
.leaf-one { left: 10%; bottom: -70px; transform: rotate(-20deg); }
.leaf-two { right: 2%; bottom: -100px; transform: rotate(20deg) scale(.9); }
.leaf-three { left: 40%; bottom: -160px; transform: rotate(2deg) scale(1.25); opacity: .45; }
.wave { position: absolute; left: -10%; width: 120%; height: 130px; border-radius: 50%; border-top: 2px solid rgba(255,255,255,.25); }
.wave-one { bottom: 110px; transform: rotate(-5deg); }
.wave-two { bottom: 60px; transform: rotate(4deg); }
.security-seal { position: absolute; right: 9%; bottom: 10%; width: 126px; height: 126px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; background: rgba(9,43,59,.22); backdrop-filter: blur(8px); }
.security-seal strong { font-family: Georgia, serif; font-size: 28px; }
.security-seal span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }

.trust-row { margin: 22px 0 52px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #d9ded7; border-radius: 20px; background: rgba(255,255,255,.45); }
.trust-row div { padding: 23px 26px; display: grid; grid-template-columns: 35px 1fr; }
.trust-row div + div { border-left: 1px solid #d9ded7; }
.trust-row span { grid-row: 1 / 3; color: var(--lagoon-dark); font-family: Georgia, serif; font-size: 21px; }
.trust-row strong { font-size: 14px; color: var(--navy); }
.trust-row small { margin-top: 4px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service-card { position: relative; min-height: 390px; padding: 42px; border-radius: var(--radius); overflow: hidden; background: white; box-shadow: var(--shadow); }
.service-card::after { content: ""; position: absolute; right: -50px; top: -50px; width: 220px; height: 220px; border-radius: 47% 53% 60% 40%; background: rgba(24,183,173,.09); }
.service-card p:not(.eyebrow) { color: var(--muted); max-width: 510px; }
.service-card ul { padding-left: 20px; margin: 24px 0 30px; line-height: 2; color: #3e5c63; }
.service-icon { position: relative; z-index: 1; margin-bottom: 48px; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: var(--navy); color: white; font-size: 21px; font-weight: 800; }
.home-card { background: #def2ec; }
.home-card .service-icon { background: var(--lagoon-dark); }

.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.page-heading h1 { margin-bottom: 10px; font-size: clamp(36px, 4vw, 58px); }
.page-heading p:last-child { margin-bottom: 0; color: var(--muted); }
.availability { min-width: 205px; padding: 18px 22px; display: grid; grid-template-columns: 12px 1fr; background: white; border-radius: 16px; box-shadow: var(--shadow); }
.availability-dot { grid-row: 1 / 3; align-self: center; width: 9px; height: 9px; border-radius: 50%; background: #24ad78; box-shadow: 0 0 0 5px #dff3e9; }
.availability strong, .availability small { display: block; }
.availability small { color: var(--muted); margin-top: 3px; }
.soft-badge { padding: 12px 16px; border-radius: 999px; background: #d8efea; color: var(--lagoon-dark); font-weight: 700; font-size: 13px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 26px; border-bottom: 1px solid #d7dfda; }
.steps span { position: relative; padding: 13px 8px; text-align: center; color: #859397; font-size: 12px; font-weight: 700; }
.steps span.current { color: var(--lagoon-dark); }
.steps span.current::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 4px; background: var(--lagoon); }

.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; align-items: start; gap: 25px; }
.form-stack { display: grid; gap: 18px; }
.panel, .summary-card { border: 1px solid rgba(9,43,59,.07); border-radius: var(--radius); background: white; box-shadow: 0 10px 35px rgba(9,43,59,.06); }
.panel { padding: 28px; }
.panel-title { display: flex; gap: 16px; margin-bottom: 23px; }
.panel-title h2, .panel-title p { margin-bottom: 4px; }
.panel-title p { color: var(--muted); font-size: 13px; }
.number { flex: 0 0 auto; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #d8efea; color: var(--lagoon-dark); font-weight: 800; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.compact-top { margin-top: 15px; }
label { display: grid; gap: 8px; color: #526970; font-size: 13px; font-weight: 700; }
input[type="text"], input[type="date"], input[type="number"] { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #cad6d3; border-radius: 12px; background: #fcfdfa; color: var(--navy); outline: 0; }
input:focus { border-color: var(--lagoon); box-shadow: 0 0 0 3px rgba(24,183,173,.12); }
.vehicle-card { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 16px; border: 1px solid #dde4e0; border-radius: 16px; background: #fafaf5; }
.vehicle-visual { width: 78px; height: 62px; display: grid; place-items: center; border-radius: 13px; background: #dce7e4; font-size: 34px; }
.vehicle-card h3 { margin: 3px 0 7px; }
.vehicle-card small { color: var(--muted); }
.plate { border: 1px solid #aebbb8; padding: 3px 7px; border-radius: 5px; font-family: monospace; font-size: 12px; }
.options-list { display: grid; gap: 10px; }
.option-row { grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; padding: 14px; border: 1px solid #dde4e0; border-radius: 14px; cursor: pointer; }
.option-row:has(input:checked) { border-color: var(--lagoon); background: #f0faf7; }
.option-row input { width: 18px; height: 18px; accent-color: var(--lagoon-dark); }
.option-row strong, .option-row small { display: block; }
.option-row small { margin-top: 4px; color: var(--muted); font-weight: 500; }
.option-row b { color: var(--navy); font-size: 13px; }
.summary-card { position: sticky; top: 102px; padding: 29px; background: var(--navy); color: white; }
.summary-card h2 { color: white; margin-bottom: 28px; }
.summary-line { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; color: #bfcfd1; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.summary-line strong { color: white; }
.summary-total { margin: 23px 0; display: flex; justify-content: space-between; align-items: flex-end; }
.summary-total span { font-size: 12px; color: #9db4b8; text-transform: uppercase; letter-spacing: .08em; }
.summary-total strong { font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.summary-card .primary { background: var(--lagoon); border-color: var(--lagoon); color: var(--navy); }
.simulation-note { margin: 16px 0 0; color: #93a9ad; font-size: 11px; text-align: center; line-height: 1.5; }
.success-message { display: none; margin-top: 16px; padding: 12px; border-radius: 11px; background: rgba(58,199,148,.16); color: #91eed0; font-size: 12px; line-height: 1.45; }
.success-message.show { display: block; }
.counter-row { padding: 17px; display: flex; align-items: center; justify-content: space-between; border: 1px solid #dde4e0; border-radius: 14px; }
.counter-row strong, .counter-row small { display: block; }
.counter-row small { color: var(--muted); margin-top: 4px; }
.counter { display: flex; align-items: center; gap: 16px; }
.counter button { width: 34px; height: 34px; border: 1px solid #c6d4d1; border-radius: 10px; background: white; cursor: pointer; font-size: 18px; }
fieldset { margin: 20px 0 0; padding: 0; border: 0; }
legend { margin-bottom: 10px; color: #526970; font-size: 13px; font-weight: 700; }
.choice-row { display: flex; gap: 10px; }
.choice-row label { display: flex; align-items: center; padding: 12px; border: 1px solid #d8e0dd; border-radius: 12px; font-weight: 600; cursor: pointer; }
.choice-row input { accent-color: var(--lagoon-dark); }
.action-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.action-card { position: relative; min-height: 145px; padding: 17px; align-content: start; border: 1px solid #dce4e0; border-radius: 15px; cursor: pointer; }
.action-card:has(input:checked) { border-color: var(--lagoon); background: #f0faf7; }
.action-card input { position: absolute; right: 13px; top: 13px; accent-color: var(--lagoon-dark); }
.action-card span { margin-bottom: 18px; color: var(--lagoon-dark); font-size: 22px; }
.action-card small { color: var(--muted); font-weight: 500; }
.visit-preview { margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; color: white; font-size: 10px; }
.visit-preview span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(24,183,173,.2); }
.visit-preview i { flex: 1; height: 1px; background: rgba(255,255,255,.25); }

.admin-heading { align-items: center; }
.live-indicator { padding: 10px 14px; border: 1px solid #d5dfda; border-radius: 999px; background: white; color: var(--muted); font-size: 12px; }
.live-indicator i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--lagoon); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 20px; }
.stat-grid article { padding: 22px; border-radius: 18px; background: white; box-shadow: 0 8px 30px rgba(9,43,59,.05); }
.stat-grid small, .stat-grid strong, .stat-grid span { display: block; }
.stat-grid small { color: var(--muted); }
.stat-grid strong { margin: 10px 0; color: var(--navy); font-family: Georgia, serif; font-size: 31px; font-weight: 500; }
.trend { color: var(--lagoon-dark); font-size: 11px; }
.trend.amber { color: var(--amber); }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(270px, .6fr); gap: 20px; margin-bottom: 20px; }
.admin-panel-title { margin-bottom: 20px; display: flex; justify-content: space-between; gap: 15px; align-items: flex-start; }
.admin-panel-title h2 { margin-bottom: 0; }
.legend { display: flex; gap: 13px; color: var(--muted); font-size: 11px; }
.legend span { display: flex; align-items: center; gap: 5px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; }
.parking-key { background: var(--lagoon); }
.home-key { background: var(--amber); }
.calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.calendar span { position: relative; min-height: 50px; padding: 8px; border-radius: 9px; background: #f7f7f1; color: #50666c; font-size: 12px; }
.calendar .weekday { min-height: auto; background: transparent; color: #8b989b; text-transform: uppercase; font-size: 9px; font-weight: 800; }
.calendar .muted { color: #bcc3c1; }
.calendar .today { outline: 2px solid var(--navy); font-weight: 800; }
.calendar .has-parking::after, .calendar .has-home::after { content: ""; position: absolute; left: 8px; bottom: 7px; width: 18px; height: 4px; border-radius: 4px; }
.calendar .has-parking::after { background: var(--lagoon); }
.calendar .has-home::after { background: var(--amber); }
.settings-panel label { margin-bottom: 15px; }
.saved-label { padding: 5px 9px; border-radius: 999px; background: #e4f4ed; color: #21815e; font-size: 10px; font-weight: 800; }
.saved-label.changed { background: #fff0d9; color: #a56419; }
.reservations-panel { overflow: hidden; }
.reservation-table { min-width: 790px; }
.table-head, .table-row { display: grid; grid-template-columns: 1.25fr 1.1fr 1fr .8fr 1fr; align-items: center; gap: 12px; }
.table-head { padding: 10px 12px; color: #859397; text-transform: uppercase; letter-spacing: .06em; font-size: 9px; font-weight: 800; }
.table-row { min-height: 66px; padding: 10px 12px; border-top: 1px solid #e5e9e5; color: #53686e; font-size: 12px; }
.table-row b, .table-row small { display: block; }
.table-row b { color: var(--navy); font-size: 13px; }
.table-row small { margin-top: 3px; color: #8a989a; }
.status { justify-self: start; padding: 7px 10px; border: 0; border-radius: 999px; font-size: 10px; font-weight: 800; cursor: pointer; }
.status.confirmed { background: #dff3e9; color: #247c5c; }
.status.pending { background: #fff0d9; color: #9b641e; }
.table-help { margin: 14px 12px 0; color: var(--muted); font-size: 11px; }

footer { min-height: 72px; padding: 22px max(5vw, 24px); display: flex; justify-content: space-between; gap: 20px; background: #061f2b; color: #89a1a7; font-size: 11px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .island-art { min-height: 330px; }
  .booking-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
  .reservations-panel { overflow-x: auto; }
}

@media (max-width: 700px) {
  .topbar { height: 68px; padding: 0 18px; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 67px; left: 14px; right: 14px; padding: 10px; flex-direction: column; align-items: stretch; border: 1px solid #d8e0dc; border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav button { text-align: left; }
  .screen { padding: 30px 16px 60px; }
  .hero { min-height: 0; border-radius: 23px; }
  .hero-content { padding: 39px 25px; }
  .hero-copy { font-size: 15px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .island-art { min-height: 265px; }
  .trust-row { grid-template-columns: 1fr; margin-bottom: 30px; }
  .trust-row div + div { border-left: 0; border-top: 1px solid #d9ded7; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 28px; }
  .service-icon { margin-bottom: 35px; }
  .page-heading { align-items: flex-start; flex-direction: column; }
  .availability { width: 100%; }
  .steps { overflow-x: auto; }
  .steps span { min-width: 108px; }
  .panel, .summary-card { padding: 21px; border-radius: 18px; }
  .field-grid, .action-grid { grid-template-columns: 1fr; }
  .vehicle-card { grid-template-columns: auto 1fr; }
  .vehicle-card .text-button { grid-column: 2; justify-self: start; padding: 0; }
  .option-row { grid-template-columns: auto 1fr; }
  .option-row b { grid-column: 2; }
  .choice-row { flex-direction: column; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-grid article { padding: 17px; }
  .stat-grid strong { font-size: 24px; }
  .calendar span { min-height: 42px; padding: 6px; }
  .admin-panel-title { flex-direction: column; }
  footer { flex-direction: column; gap: 7px; }
}

@media (max-width: 420px) {
  .stat-grid { grid-template-columns: 1fr; }
  .visit-preview span { width: 40px; height: 40px; }
}
