:root {
  --navy: #0a3557;
  --navy-2: #123f63;
  --blue: #0a78c5;
  --blue-soft: #dff3ff;
  --green: #4c8d2f;
  --green-soft: #eaf4e4;
  --sand: #f6eee0;
  --sand-2: #ead4ad;
  --sun: #ffad20;
  --text: #17324a;
  --muted: #66788a;
  --line: #dfe7ed;
  --white: #ffffff;
  --bg: #f8fbfd;
  --danger: #d64a4a;
  --success: #26835a;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 18px 55px rgba(10, 53, 87, .09);
  --shadow-sm: 0 10px 30px rgba(10, 53, 87, .07);
  --max-width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; color: var(--navy); }
h1, h2 { font-family: "Playfair Display", Georgia, serif; }
h1 { font-size: clamp(2.65rem, 6vw, 5.25rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 3.2vw, 3.15rem); letter-spacing: -.025em; }
h3 { font-size: 1.15rem; }
p { margin: 0; }
.container { width: min(var(--max-width), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 70px 0 28px; }
.section-kicker, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.section-kicker::before, .eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-kicker.light { color: #bfe8ff; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(10,53,87,.08);
}
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand-logo { width: 205px; height: 70px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; gap: 21px; font-size: .91rem; font-weight: 700; }
.main-nav > a { position: relative; color: #2f4c64; }
.main-nav > a:not(.nav-highlight):not(.nav-account)::after {
  content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 2px; background: var(--blue); transition: .2s ease;
}
.main-nav > a:hover::after { width: 100%; }
.nav-highlight { padding: 12px 18px; border-radius: 999px; color: #fff !important; background: linear-gradient(135deg, var(--green), #73a84d); box-shadow: 0 8px 22px rgba(76,141,47,.24); }
.nav-account { padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.lang-switch { display: inline-flex; align-items: center; gap: 5px; color: #98a5b2; font-size: .82rem; }
.lang-switch a { color: #8a99a7; }
.lang-switch a.active { color: var(--navy); font-weight: 800; }
.nav-toggle { display: none; border: 0; background: var(--navy); color: #fff; border-radius: 12px; width: 45px; height: 45px; cursor: pointer; }

/* Hero */
.hero-home { position: relative; overflow: hidden; padding: 86px 0 150px; background: linear-gradient(135deg, #f4fbff 0%, #fffdf9 58%, #eef7e9 100%); }
.hero-home::before { content: ""; position: absolute; inset: auto -10% -130px -10%; height: 220px; background: var(--bg); border-radius: 50% 50% 0 0 / 45% 45% 0 0; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .7; }
.hero-glow-one { width: 340px; height: 340px; right: 2%; top: -100px; background: radial-gradient(circle, rgba(255,173,32,.28), transparent 68%); }
.hero-glow-two { width: 420px; height: 420px; left: -180px; bottom: -100px; background: radial-gradient(circle, rgba(10,120,197,.16), transparent 68%); }
.hero-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 50px; }
.hero-copy { max-width: 680px; }
.hero-copy h1 { margin-bottom: 22px; color: var(--navy); }
.hero-copy .lead { max-width: 650px; font-size: 1.1rem; color: #536b7e; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; color: #416078; font-size: .92rem; font-weight: 700; }
.hero-visual { display: flex; justify-content: flex-end; }
.logo-stage {
  position: relative; width: min(100%, 520px); aspect-ratio: 1.15; display: grid; place-items: center; border-radius: 48% 52% 42% 58% / 55% 38% 62% 45%;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,255,255,.72)); box-shadow: 0 35px 90px rgba(10,53,87,.16); border: 1px solid rgba(255,255,255,.9);
}
.logo-stage::before { content: ""; position: absolute; width: 78%; height: 78%; border: 1px dashed rgba(10,120,197,.22); border-radius: 50%; }
.logo-stage img { position: relative; width: 88%; max-height: 82%; object-fit: contain; filter: drop-shadow(0 18px 25px rgba(10,53,87,.13)); }
.search-wrap { position: relative; z-index: 5; margin-top: 54px; }
.search-box-modern {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr .75fr auto; gap: 10px; align-items: end;
  padding: 15px; border-radius: 22px; background: rgba(255,255,255,.96); box-shadow: 0 24px 70px rgba(10,53,87,.16); border: 1px solid rgba(10,53,87,.08);
}
.search-box-modern label { display: flex; flex-direction: column; gap: 5px; padding: 0 12px; border-right: 1px solid var(--line); }
.search-box-modern label span { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #7c8d9b; }
.search-box-modern select, .search-box-modern input { border: 0; background: transparent; padding: 7px 0; min-height: 42px; color: var(--navy); font-weight: 700; outline: none; }
.btn-search { min-height: 58px; padding-inline: 24px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 13px 22px; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--blue), var(--navy)); box-shadow: 0 12px 28px rgba(10,78,125,.24); }
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 10px 25px rgba(0,0,0,.12); }
.btn-outline { border: 1px solid var(--blue); color: var(--blue); background: transparent; }
.btn-large { padding: 16px 28px; }
.btn-block { width: 100%; }
.btn-small { padding: 8px 14px; font-size: .82rem; }
.btn-ok { background: var(--success); color: #fff; }
.btn-error { background: var(--danger); color: #fff; }

/* quick links */
.quick-links-section { position: relative; z-index: 7; margin-top: -92px; }
.quick-links { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.quick-link { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); transition: .2s ease; }
.quick-link:hover { transform: translateY(-4px); border-color: #b8d9ee; box-shadow: var(--shadow); }
.quick-link span { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 13px; background: var(--blue-soft); }
.quick-link strong { font-size: .88rem; color: var(--navy); }

/* section heads */
.section-head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.text-link { color: var(--blue); font-weight: 800; font-size: .92rem; white-space: nowrap; }

/* destinations */
.destinations-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-bottom: 60px; }
.destination-tile { min-height: 170px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; border-radius: 24px; color: #fff; box-shadow: var(--shadow-sm); }
.destination-tile::after { content: ""; position: absolute; width: 150px; height: 150px; right: -55px; bottom: -60px; border: 28px solid rgba(255,255,255,.11); border-radius: 50%; }
.destination-tile h3 { color: #fff; font-size: 1.35rem; margin-bottom: 5px; }
.destination-tile div span { font-size: .82rem; font-weight: 700; opacity: .9; }
.destination-number { font-size: .72rem; font-weight: 800; letter-spacing: .16em; opacity: .74; }
.destination-1 { background: linear-gradient(145deg, #0a78c5, #0a3557); }
.destination-2 { background: linear-gradient(145deg, #5f9e3c, #2f6f32); }
.destination-3 { background: linear-gradient(145deg, #f4a11b, #dc6e18); }
.destination-4 { background: linear-gradient(145deg, #40728e, #183d56); }

/* listings */
.featured-shell { background: #fff; padding-bottom: 75px; border-top: 1px solid #edf2f5; border-bottom: 1px solid #edf2f5; }
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { display: block; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); transition: .22s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card img { width: 100%; height: 220px; object-fit: cover; display: block; background: #edf3f6; }
.card-body { padding: 20px; }
.card-body h3 { margin-bottom: 8px; }
.listing-card-media { position: relative; }
.listing-location { position: absolute; left: 14px; bottom: 14px; padding: 7px 11px; border-radius: 999px; color: #fff; background: rgba(10,53,87,.83); backdrop-filter: blur(8px); font-size: .75rem; font-weight: 800; }
.listing-meta { display: flex; gap: 16px; margin-top: 13px; color: var(--muted); font-size: .84rem; }
.card-price-row { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 15px; border-top: 1px solid #edf2f5; }
.price { color: var(--muted); font-size: .85rem; }
.price strong { color: var(--navy); font-size: 1.1rem; }
.card-arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 900; }
.empty-state { grid-column: 1/-1; padding: 50px; text-align: center; border: 1px dashed #bfd0dc; border-radius: 22px; background: #f8fbfd; }
.empty-state p { margin-top: 8px; color: var(--muted); }

/* value */
.value-section { display: grid; grid-template-columns: 1.7fr .8fr; gap: 20px; padding-bottom: 80px; }
.value-card { border-radius: 28px; padding: 42px; }
.value-card-main { color: #fff; background: linear-gradient(135deg, var(--navy), #0a78c5); box-shadow: 0 24px 60px rgba(10,53,87,.2); }
.value-card-main h2 { color: #fff; max-width: 650px; }
.value-card-main p { max-width: 720px; margin: 18px 0 25px; color: #dceeff; }
.value-card-side { background: var(--green-soft); border: 1px solid #d7e7cf; }
.value-card-side h3 { margin: 18px 0 10px; font-size: 1.35rem; }
.value-card-side p { margin-bottom: 20px; color: #586c5c; }
.value-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 16px; background: var(--green); color: #fff; font-weight: 900; font-size: 1.3rem; }

/* Generic pages/forms */
section.narrow { max-width: 780px; margin: 0 auto; }
.form-stack { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.form-stack label, .form-grid label, .filters-grid label { display: flex; flex-direction: column; gap: 7px; font-size: .82rem; font-weight: 800; color: var(--navy); }
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], select, textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--text); outline: none;
}
input:focus, select:focus, textarea:focus { border-color: #72b4df; box-shadow: 0 0 0 4px rgba(10,120,197,.10); }
.filters-form, .price-box, .request-box, .availability-card, .stat, details { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.filters-form { padding: 22px; margin-bottom: 22px; }
.filters-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.filters-checks { border: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.filters-checks label { display: inline-flex; flex-direction: row; align-items: center; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.inline-form { display: inline-flex; gap: 8px; }
.results-count { color: var(--blue); font-weight: 800; }
.alert { padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; font-weight: 700; }
.alert-success { background: #e9f6ef; color: var(--success); }
.alert-error { background: #fdecec; color: var(--danger); }
.badge { display: inline-flex; padding: 6px 10px; border-radius: 999px; font-size: .75rem; font-weight: 800; }
.badge-ok, .badge-verified { background: #e9f6ef; color: var(--success); }
.badge-warn { background: #fff3d8; color: #9a6900; }
.badge-error { background: #fdecec; color: var(--danger); }
.tags { display: flex; gap: 7px; flex-wrap: wrap; }
.tag { padding: 5px 9px; border-radius: 999px; background: #eef5f9; font-size: .82rem; }
.card-static { padding: 24px; }
.card-destination .card-body { padding: 28px 20px; text-align: center; }

/* Listing detail */
.listing-header { margin-bottom: 22px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 28px; }
.gallery img { width: 100%; height: 180px; object-fit: cover; border-radius: 16px; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.gallery-thumbs img { width: 95px; height: 72px; object-fit: cover; border-radius: 10px; }
.listing-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 34px; }
.specs { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.specs li { padding: 9px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.amenities { columns: 2; list-style: none; padding: 0; }
.amenities li { padding: 5px 0; }
.listing-sidebar { position: sticky; top: 105px; align-self: start; display: flex; flex-direction: column; gap: 18px; }
.price-box, .request-box, .availability-card { padding: 22px; }
.price-table, .pricing-table { width: 100%; border-collapse: collapse; }
.price-table td, .pricing-table td { padding: 10px 0; border-bottom: 1px solid #edf2f5; }
.price-table td:last-child, .pricing-table td:last-child { text-align: right; font-weight: 800; }
.availability-legend { display: flex; gap: 18px; flex-wrap: wrap; }
.legend-dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.legend-dot.free { background: #5bc994; }
.legend-dot.busy { background: #ee7777; }
.avail-months { display: flex; gap: 18px; flex-wrap: wrap; }
.avail-month { flex: 1; min-width: 220px; }
.avail-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.avail-day { aspect-ratio: 1; display: grid; place-items: center; border-radius: 7px; background: #f3f6f8; font-size: .75rem; }
.avail-day.free { background: #dcf5e8; color: #1e744c; }
.avail-day.busy { background: #fde7e7; color: #b83f3f; text-decoration: line-through; }
.avail-day.empty { background: transparent; }

/* Dashboard */
.dashboard-stats { display: flex; gap: 14px; flex-wrap: wrap; }
.stat { padding: 20px 24px; min-width: 150px; text-align: center; }
.stat strong { display: block; font-size: 1.8rem; color: var(--blue); }
.dashboard-actions, .filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); }
.admin-table th, .admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.admin-table th { background: #eef5f9; }
.filter-tabs a { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.filter-tabs a.active { background: var(--navy); color: #fff; }
details { padding: 16px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 800; }
#coastMap { width: 100%; height: 520px; border-radius: 22px; box-shadow: var(--shadow); }

/* Footer */
.site-footer { margin-top: 60px; padding: 68px 0 22px; color: #cfe0ec; background: #082a45; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 50px; }
.footer-brand img { width: 220px; max-height: 95px; object-fit: contain; object-position: left; filter: drop-shadow(0 10px 24px rgba(0,0,0,.16)); }
.footer-brand p { max-width: 380px; margin-top: 18px; color: #a9c3d4; }
.site-footer h4 { color: #fff; margin-bottom: 16px; }
.site-footer a { display: block; margin: 9px 0; color: #b9cedb; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; color: #86a6b9; font-size: .82rem; }
.footer-bottom a { display: inline; margin: 0; }

@media (max-width: 1080px) {
  .main-nav { gap: 13px; font-size: .84rem; }
  .brand-logo { width: 170px; }
  .quick-links { grid-template-columns: repeat(3, 1fr); }
  .destinations-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .header-inner { min-height: 76px; }
  .brand-logo { width: 160px; height: 58px; }
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 20px; right: 20px; top: 77px; padding: 20px; flex-direction: column; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav > a { padding: 8px 4px; }
  .nav-highlight, .nav-account { text-align: center; }
  .hero-layout { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { margin-inline: auto; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-trust { justify-content: center; }
  .hero-visual { justify-content: center; }
  .logo-stage { max-width: 420px; }
  .search-box-modern { grid-template-columns: repeat(2, 1fr); }
  .search-box-modern label { border-right: 0; }
  .btn-search { grid-column: 1/-1; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .value-section { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .listing-grid { grid-template-columns: 1fr; }
  .listing-sidebar { position: static; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, var(--max-width)); }
  .hero-home { padding: 56px 0 128px; }
  .hero-layout { gap: 30px; }
  .hero-copy h1 { font-size: 2.65rem; }
  .hero-copy .lead { font-size: 1rem; }
  .logo-stage { width: 92%; }
  .search-wrap { margin-top: 34px; }
  .search-box-modern { grid-template-columns: 1fr; }
  .btn-search { grid-column: auto; }
  .quick-links { grid-template-columns: 1fr 1fr; }
  .quick-link { padding: 14px; }
  .section { padding-top: 52px; }
  .section-head-row { align-items: start; flex-direction: column; gap: 12px; }
  .destinations-grid, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .destination-tile { min-height: 150px; }
  .value-card { padding: 30px 24px; }
  .form-grid, .filters-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
}
