:root {
  --bg-1: #0b2540;
  --bg-2: #153f67;
  --ink: #f1f8ff;
  --muted: #c8ddf0;
  --line: #3e6d96;
  --panel: #113555;
  --panel-strong: #0d2d49;
  --accent: #ffc96a;
  --accent-2: #64d3ff;
  --danger: #ff6b6b;
  --ok: #73e6a3;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}


body::before,
body::after {
  display: none;
}

h1,
h2,
h3,
h4 {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.02em;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: none;
  background: #0b2a46;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
}

.topbar-inner {
  width: min(1200px, calc(100% - 1rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.42rem;
  color: var(--accent);
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #184a74;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.nav-scroll {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow-x: auto;
  padding: 0.1rem;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}


.nav-scroll::-webkit-scrollbar {
  display: none;
}

.nav-link {
  white-space: nowrap;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 180ms ease;
  scroll-snap-align: start;
}


.nav-link:hover {
  color: var(--ink);
  border-color: var(--line);
  background: #184a74;
}

.nav-link:focus-visible {
  outline: 2px solid rgba(99, 210, 255, 0.6);
  outline-offset: 2px;
}

.nav-link.is-active {
  color: var(--ink);
  background: #1f5f8f;
  border-color: #4f8ebd;
  font-weight: 700;
}

.admin-link {
  font-size: 0.84rem;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.46rem 0.85rem;
  transition: 180ms ease;
}

.admin-link:hover {
  color: var(--ink);
  border-color: var(--accent-2);
}

.nav-admin-mobile {
  display: none;
}

.hero {
  padding: 5.2rem 0 2.2rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: stretch;
}

.hero-copy {
  background: #123a5f;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 2rem;
  box-shadow: 0 24px 50px rgba(4, 16, 28, 0.32);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: #d2ecff;
  background: #1a4f79;
  border: 1px solid #3d7dad;
  border-radius: 999px;
  padding: 0.26rem 0.62rem;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 0.95;
}

.hero p {
  margin-top: 0.9rem;
  color: var(--muted);
  max-width: 58ch;
}

.hero-media {
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 280px;
  background: #123a5f;
  box-shadow: 0 24px 50px rgba(4, 16, 28, 0.32);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: none;
}

.page-hero {
  position: relative;
  min-height: clamp(360px, 46vh, 500px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #123a5f;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 35, 57, 0.9), rgba(7, 35, 57, 0.56) 52%, rgba(7, 35, 57, 0.18));
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.page-hero h1 {
  max-width: 880px;
  color: #fff6df;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 58ch;
  margin-top: 1rem;
  color: #e1f1ff;
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.6;
}

.home-hero {
  position: relative;
  min-height: clamp(420px, 58vh, 560px);
  display: grid;
  align-items: center;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #123a5f;
  box-shadow: none;
}

.home-hero picture,
.home-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.home-hero img {
  object-fit: cover;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 35, 57, 0.92) 0%, rgba(7, 35, 57, 0.62) 45%, rgba(7, 35, 57, 0.18) 100%);
}

.home-hero-panel {
  position: relative;
  z-index: 1;
  max-width: none;
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.home-hero-panel h1 {
  display: grid;
  gap: 0.2rem;
  max-width: 1040px;
  line-height: 0.86;
  letter-spacing: 0;
}

.home-hero-panel h1 span {
  font-family: 'Manrope', sans-serif;
  color: #d9edff;
  font-size: clamp(0.95rem, 1.8vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-hero-panel h1 strong {
  font-family: 'Cormorant Garamond', serif;
  color: #fff6df;
  font-size: clamp(4rem, 9.5vw, 8.4rem);
  font-weight: 700;
}

.home-hero-panel p {
  max-width: 52ch;
  margin-top: 1.1rem;
  color: #e1f1ff;
  font-size: clamp(1rem, 1.85vw, 1.18rem);
  line-height: 1.6;
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.home-stats div {
  min-height: 112px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #113555;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.home-stats strong {
  display: block;
  color: var(--accent);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.home-stats span {
  display: block;
  margin-top: 0.5rem;
  color: #deebf6;
  font-weight: 700;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.home-service-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.home-service {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.home-service picture,
.home-service img {
  display: block;
  width: 100%;
}

.home-service img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.home-service span {
  display: inline-flex;
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 800;
}

.home-service h3 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1;
}

.home-service p {
  margin-top: 0.45rem;
  color: var(--muted);
  line-height: 1.5;
}

.home-service-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.home-booking-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: clamp(1.1rem, 3vw, 2rem);
  border: 1px solid rgba(255, 201, 106, 0.38);
  border-radius: 22px;
  background: #0d2d49;
  box-shadow: 0 24px 54px rgba(3, 14, 24, 0.28);
}

.home-booking-band h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.95;
}

.home-booking-band p {
  max-width: 72ch;
  margin-top: 0.75rem;
  color: var(--muted);
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.7rem 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: 180ms ease;
}

.btn.primary {
  color: #072339;
  background: linear-gradient(120deg, var(--accent), #ffdf9f);
}

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

.btn.ghost {
  color: var(--ink);
  border-color: var(--line);
  background: #184a74;
}

.btn.ghost:hover {
  border-color: var(--accent-2);
}

.section {
  padding: 1rem 0 2.2rem;
}

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--muted);
  max-width: 76ch;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(1rem, 2vw, 1.25rem);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.service-card {
  grid-column: span 6;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  align-content: start;
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 13px;
  border: 1px solid var(--line);
}

.service-card h3 {
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1;
}

.bungalow-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1.1rem;
  align-items: stretch;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background: #0f3150;
  box-shadow: 0 28px 70px rgba(3, 14, 24, 0.32);
}

.bungalow-media {
  position: relative;
  min-height: 500px;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #123a5f;
  box-shadow: 0 24px 48px rgba(4, 16, 28, 0.34);
}

.bungalow-media picture,
.bungalow-media img {
  width: 100%;
  height: 100%;
  display: block;
}

.bungalow-media img {
  object-fit: cover;
}

.bungalow-badge {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(7, 35, 57, 0.84);
  color: #fff2d4;
  font-weight: 800;
}

.bungalow-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1.25rem, 3vw, 2.1rem);
  background: #0d2d49;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.bungalow-copy h2 {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 0.95;
}

.bungalow-copy p {
  margin-top: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

.bungalow-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1rem;
}

.bungalow-stats div {
  min-height: 88px;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #184a74;
}

.bungalow-stats strong {
  display: block;
  color: var(--accent);
  font-size: 2rem;
  line-height: 1;
}

.bungalow-stats span {
  display: block;
  margin-top: 0.35rem;
  color: #deebf6;
  font-size: 0.9rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
}

.feature-grid li {
  min-height: 72px;
  padding: 0.82rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #184a74;
  color: #e3f3ff;
  line-height: 1.45;
}

.bungalow-gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.85fr 0.85fr;
  gap: 1rem;
  margin-top: 1rem;
}

.bungalow-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.bungalow-gallery picture,
.bungalow-gallery img {
  display: block;
  width: 100%;
}

.bungalow-gallery img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.bungalow-gallery figure:first-child img {
  aspect-ratio: 16 / 9;
}

.bungalow-gallery figcaption {
  padding: 0.7rem 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.pricing-table {
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.pricing-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.pricing-row:last-child {
  border-bottom: 0;
}

.pricing-row span {
  color: #e3f3ff;
  font-weight: 700;
}

.pricing-row strong {
  color: var(--accent);
  font-size: 1.45rem;
  white-space: nowrap;
}

.pricing-row small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.pricing-details {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1rem;
  margin-top: 1rem;
}

.extra-price-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.extra-price-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.2rem 0.8rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--line);
}

.extra-price-list div:last-child {
  border-bottom: 0;
}

.extra-price-list span {
  color: #e3f3ff;
  font-weight: 700;
}

.extra-price-list strong {
  color: var(--accent);
  white-space: nowrap;
}

.extra-price-list small {
  grid-column: 1 / -1;
  color: var(--muted);
}

.card p {
  color: #deebf6;
  line-height: 1.5;
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.list li {
  color: #e3f3ff;
  font-size: 0.95rem;
  padding-left: 1.1rem;
  position: relative;
}

.list li::before {
  content: "";
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 0.44rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.1rem;
}

.split .main {
  grid-column: span 8;
}

.split .side {
  grid-column: span 4;
}

.price-box {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(100, 211, 255, 0.18);
  border-radius: 14px;
  background: #0f3150;
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(100, 211, 255, 0.18);
  padding: 0.72rem 0.85rem;
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row span:last-child {
  color: var(--accent);
  font-weight: 700;
}

.notice {
  border: 1px solid rgba(246, 197, 95, 0.4);
  background: rgba(246, 197, 95, 0.08);
  color: #ffe5b5;
  border-radius: 12px;
  padding: 0.8rem;
  font-size: 0.92rem;
}

.price-alert {
  border: 2px solid rgba(255, 201, 106, 0.85);
  background: linear-gradient(135deg, rgba(255, 201, 106, 0.24), rgba(100, 211, 255, 0.12));
  color: #fff6dd;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.price-alert strong {
  display: block;
  color: var(--accent);
  font-size: 1.05rem;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.price-alert p {
  margin: 0;
  color: #fff6dd;
  line-height: 1.55;
}

.booking-availability-section {
  padding-top: 2rem;
}

.booking-form-section {
  padding-top: 0;
}

.booking-card {
  border-color: rgba(100, 211, 255, 0.24);
}

.booking-estimate {
  margin-top: 0.7rem;
  padding: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #184a74;
}

.booking-estimate > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.booking-estimate span {
  color: #deebf6;
  font-weight: 800;
}

.booking-estimate strong {
  color: var(--accent);
  font-size: 1.6rem;
  white-space: nowrap;
}

.booking-estimate ul {
  display: grid;
  gap: 0.35rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.booking-estimate li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #e3f3ff;
  font-size: 0.92rem;
}

.booking-estimate p {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.booking-estimate .estimate-warning {
  margin-top: 0.85rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(255, 201, 106, 0.82);
  border-radius: 12px;
  background: rgba(255, 201, 106, 0.15);
  color: #fff0c4;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.45;
}

.booking-manage-card {
  background: #f8fafc;
  color: #0f172a;
  border-color: #d8e2ec;
  box-shadow: 0 18px 45px rgba(3, 17, 30, 0.26);
}

.booking-manage-card p {
  color: #475569;
}

.booking-manage-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.booking-manage-head .panel-title {
  margin-bottom: 0.25rem;
  color: #0f172a;
}

.booking-manage-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.52rem 0.85rem;
  font-weight: 900;
  font-size: 0.88rem;
  line-height: 1;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.booking-manage-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.85rem;
  margin: 1rem 0 1.25rem;
}

.booking-manage-summary div,
.booking-manage-details {
  border: 1px solid #d8e2ec;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.booking-manage-summary div {
  padding: 0.85rem 0.95rem;
  min-height: 82px;
}

.booking-manage-summary span,
.booking-manage-section-title,
.booking-manage-detail-grid span {
  display: block;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.booking-manage-summary strong {
  display: block;
  margin-top: 0.3rem;
  color: #0f172a;
  font-size: 1.08rem;
  line-height: 1.3;
  word-break: break-word;
}

.booking-manage-card .booking-estimate {
  margin: 0 0 1.25rem;
  border-color: #c7d2fe;
  background: #eef2ff;
  color: #0f172a;
}

.booking-manage-card .booking-estimate > div {
  align-items: center;
}

.booking-manage-card .booking-estimate span {
  color: #334155;
}

.booking-manage-card .booking-estimate strong {
  color: #1e3a8a;
}

.booking-manage-card .booking-estimate li {
  color: #1e293b;
  border-top: 1px solid rgba(99, 102, 241, 0.16);
  padding-top: 0.45rem;
}

.booking-manage-card .booking-estimate p {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.55;
}

.booking-manage-details {
  margin: 0 0 1.25rem;
  padding: 1rem;
}

.booking-manage-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.7rem;
  margin-top: 0.75rem;
}

.booking-manage-detail-grid div {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  padding: 0.75rem;
}

.booking-manage-detail-grid strong {
  display: block;
  margin-top: 0.25rem;
  color: #0f172a;
  font-size: 0.98rem;
  line-height: 1.4;
  word-break: break-word;
}

.booking-manage-form {
  margin-top: 1.15rem;
  padding-top: 1.1rem;
  border-top: 1px solid #d8e2ec;
}

.booking-manage-card label {
  color: #1e293b;
  font-size: 0.9rem;
  font-weight: 850;
}

.booking-manage-card input,
.booking-manage-card textarea,
.booking-manage-card select {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.booking-manage-card input::placeholder,
.booking-manage-card textarea::placeholder {
  color: #94a3b8;
}

.booking-manage-card input:focus,
.booking-manage-card textarea:focus,
.booking-manage-card select:focus {
  outline: 3px solid rgba(37, 99, 235, 0.18);
  border-color: #2563eb;
}

.booking-manage-card .msg {
  font-weight: 750;
}

.booking-manage-card .msg.error {
  color: #991b1b;
  background: #fef2f2;
  border-color: #fecaca;
}

.booking-manage-card .msg.ok {
  color: #065f46;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.booking-manage-card .btn.ghost {
  color: #9f1239;
  border-color: #fecdd3;
  background: #fff1f2;
}

.availability-widget {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: clamp(1rem, 2.4vw, 1.5rem);
  border: 1px solid rgba(100, 211, 255, 0.34);
  border-radius: 22px;
  background: #0f3150;
  box-shadow: 0 24px 54px rgba(3, 14, 24, 0.28);
}

.availability-heading {
  max-width: 760px;
}

.availability-heading h2 {
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: 0.95;
}

.availability-widget h3 {
  font-size: 1.55rem;
}

.availability-widget p,
.availability-note {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.availability-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.availability-controls label {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.availability-slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.availability-slot {
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem;
  color: var(--ink);
  background: #184a74;
  text-align: left;
  cursor: pointer;
  transition: 180ms ease;
}

.availability-slot strong,
.availability-slot span {
  display: block;
}

.availability-slot span {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.availability-slot.is-ok {
  border-color: rgba(115, 230, 163, 0.46);
}

.availability-slot.is-ok:hover,
.availability-slot.is-selected {
  border-color: var(--accent-2);
  background: #1f5f8f;
  transform: translateY(-1px);
}

.availability-slot.is-low {
  border-color: rgba(255, 201, 106, 0.72);
  background: #4a3d1e;
}

.availability-slot.is-full {
  opacity: 0.62;
  cursor: not-allowed;
  border-color: rgba(255, 107, 107, 0.48);
  background: #4c2632;
}

.availability-empty {
  grid-column: 1 / -1;
  color: var(--muted);
}

.event-archive,
.photo-gallery {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.event-archive {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.archive-item {
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #123a5f;
}

.archive-item strong,
.archive-item span {
  display: block;
}

.archive-item span {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.photo-gallery {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.gallery-item {
  grid-column: span 4;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--panel);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gallery-item figcaption {
  padding: 0.7rem 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.panel-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.table-menu {
  width: 100%;
  border-collapse: collapse;
}

.table-menu td {
  vertical-align: top;
  padding: 0.65rem 0;
  border-bottom: 1px dashed var(--line);
}

.table-menu tr:last-child td {
  border-bottom: 0;
}

.menu-item {
  font-weight: 700;
}

.menu-desc {
  color: #deebf6;
  font-size: 0.88rem;
  margin-top: 0.2rem;
}

.menu-price {
  color: var(--accent);
  text-align: right;
  white-space: nowrap;
  font-weight: 700;
}

.form-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field,
select,
input,
textarea {
  width: 100%;
}

label {
  display: block;
  font-size: 0.87rem;
  color: #eaf4fc;
  margin-bottom: 0.26rem;
}

input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #184a74;
  color: var(--ink);
  padding: 0.65rem 0.74rem;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(99, 210, 255, 0.48);
  border-color: transparent;
}

.full {
  grid-column: 1 / -1;
}

.msg {
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
}

.msg.error {
  border: 1px solid rgba(255, 107, 107, 0.48);
  background: rgba(255, 107, 107, 0.1);
}

.msg.ok {
  border: 1px solid rgba(115, 230, 163, 0.48);
  background: rgba(115, 230, 163, 0.12);
}

.footer {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding: 1.3rem 0 1.8rem;
}

.footer p {
  text-align: center;
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-links {
  margin-top: 0.35rem;
  text-align: center;
  font-size: 0.84rem;
  color: var(--muted);
}

.footer-links a {
  color: var(--accent-2);
}

.footer-links a:hover {
  color: #bfe9ff;
}

.cookie-banner {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: min(420px, calc(100% - 2rem));
  background: #123a5f;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  box-shadow: 0 24px 50px rgba(4, 16, 28, 0.32);
  display: grid;
  gap: 0.6rem;
  z-index: 60;
}

.cookie-banner h3 {
  font-size: 1.25rem;
  margin: 0;
}

.cookie-banner p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cookie-actions .btn {
  padding: 0.55rem 0.9rem;
  font-size: 0.86rem;
}

.cookie-actions .btn.secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #184a74;
}

.cookie-actions .btn.secondary:hover {
  border-color: var(--accent-2);
}

.cookie-actions .btn.primary {
  color: #072339;
  background: linear-gradient(120deg, var(--accent-2), #bde9ff);
}

.cookie-actions .btn.primary:hover {
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .cookie-banner {
    right: 1rem;
    left: 1rem;
    width: auto;
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 420px;
  }

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

  .home-service {
    grid-template-columns: 140px minmax(0, 1fr);
  }

  .home-service-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .home-booking-band {
    grid-template-columns: 1fr;
  }

  .bungalow-showcase,
  .pricing-details,
  .bungalow-gallery {
    grid-template-columns: 1fr;
  }

  .bungalow-media {
    min-height: 320px;
  }

  .split .main,
  .split .side {
    grid-column: 1 / -1;
  }

  .service-card {
    grid-column: span 12;
  }

  .gallery-item {
    grid-column: span 6;
  }
}

@media (max-width: 1024px) {
  .topbar-inner {
    width: min(1200px, calc(100% - 1.2rem));
    padding: 0.6rem 0;
  }

  .nav-scroll {
    gap: 0.25rem;
    padding: 0.15rem;
  }

  .nav-link {
    font-size: 0.86rem;
  }

  .hero {
    padding: 4.4rem 0 2rem;
  }
}

@media (max-width: 720px) {
  .availability-controls {
    grid-template-columns: 1fr;
  }

  .availability-slots {
    grid-template-columns: 1fr;
  }

  .availability-slot {
    min-height: 76px;
    padding: 0.78rem;
  }

  .topbar-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    justify-content: unset;
    gap: 0.7rem;
  }

  .brand {
    align-items: flex-start;
    width: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-toggle[aria-expanded="true"] {
    border-color: var(--accent-2);
    background: #1f5f8f;
  }

  .nav-scroll {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.25rem;
    padding: 0.45rem;
    overflow: visible;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #123a5f;
    box-shadow: 0 18px 34px rgba(3, 14, 24, 0.28);
    scroll-snap-type: none;
  }

  body.nav-open .nav-scroll {
    display: flex;
  }

  .nav-link {
    width: 100%;
    white-space: normal;
    font-size: 0.92rem;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    scroll-snap-align: none;
  }

  .admin-link {
    display: none;
  }

  .nav-admin-mobile {
    display: block;
  }

  .hero-copy {
    padding: 1.3rem;
  }

  .home-hero {
    min-height: 500px;
  }

  .home-hero::after {
    background: linear-gradient(180deg, rgba(7, 35, 57, 0.16) 0%, rgba(7, 35, 57, 0.92) 68%, rgba(7, 35, 57, 0.96) 100%);
  }

  .page-hero::after {
    background: linear-gradient(180deg, rgba(7, 35, 57, 0.18) 0%, rgba(7, 35, 57, 0.9) 64%, rgba(7, 35, 57, 0.96) 100%);
  }

  .home-hero-panel {
    padding: 1.4rem 0;
  }

  .page-hero-inner {
    padding: 1.6rem 0;
  }

  .home-stats,
  .home-service {
    grid-template-columns: 1fr;
  }

  .section-heading-row {
    align-items: stretch;
    flex-direction: column;
  }

  .home-service-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .bungalow-stats,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .bungalow-showcase {
    padding: 0.65rem;
    border-radius: 20px;
  }

  .bungalow-media {
    min-height: 300px;
    border-radius: 17px;
  }

  .bungalow-copy {
    border-radius: 17px;
  }

  .bungalow-copy {
    padding: 1rem;
  }

  .pricing-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .booking-estimate > div,
  .booking-estimate li {
    display: grid;
    gap: 0.2rem;
  }

  .extra-price-list div {
    grid-template-columns: 1fr;
  }

  .availability-controls {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    grid-column: span 12;
  }
}
