/* style.css — Seaside Restaurant Bar and Apartments
   Design concept: sun-bleached Cretan beach house, warm sand & terracotta
   surfaces, with an indigo-purple accent borrowed from dusk skies and the
   indigoseaside.com brand name. */

/* ---------------------------------- */
/* Design tokens                       */
/* ---------------------------------- */
:root,
[data-theme='light'] {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(2.5rem, 1rem + 5vw, 5.25rem);

  /* Spacing (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Surfaces — warm sand / linen */
  --color-bg: #f6f1e8;
  --color-surface: #fbf7f0;
  --color-surface-2: #fffdf9;
  --color-surface-offset: #efe7d8;
  --color-surface-offset-2: #e6dcc7;
  --color-surface-dynamic: #ded1b4;
  --color-divider: #e0d4bd;
  --color-border: #d3c3a2;

  /* Text — warm charcoal */
  --color-text: #2c2620;
  --color-text-muted: #746c5d;
  --color-text-faint: #b3a891;
  --color-text-inverse: #faf6ee;

  /* Primary accent — Indigo (brand: indigoseaside.com) */
  --color-primary: #4b3f8f;
  --color-primary-hover: #3a3070;
  --color-primary-active: #2c2456;
  --color-primary-highlight: #ded8f2;

  /* Secondary warm accent — terracotta (used sparingly, e.g. small tags) */
  --color-warm: #b3552f;
  --color-warm-hover: #954424;
  --color-warm-highlight: #ecd8ca;

  /* Success (used only for form confirmation state) */
  --color-success: #4c7a44;
  --color-success-highlight: #dbe6d5;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows — tone-matched warm */
  --shadow-sm: 0 1px 2px oklch(0.32 0.03 60 / 0.1);
  --shadow-md: 0 4px 14px oklch(0.32 0.03 60 / 0.12);
  --shadow-lg: 0 16px 40px oklch(0.28 0.03 60 / 0.18);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 1000px;
  --content-wide: 1240px;
  --content-full: 100%;

  /* Fonts */
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'General Sans', 'Segoe UI', sans-serif;
}

[data-theme='dark'] {
  --color-bg: #1c1912;
  --color-surface: #221e16;
  --color-surface-2: #272219;
  --color-surface-offset: #2a251a;
  --color-surface-offset-2: #332c1f;
  --color-surface-dynamic: #3a3222;
  --color-divider: #3a331f;
  --color-border: #4a3f28;
  --color-text: #ece5d5;
  --color-text-muted: #b3a68b;
  --color-text-faint: #7a7059;
  --color-text-inverse: #241f16;
  --color-primary: #9089d1;
  --color-primary-hover: #a8a1de;
  --color-primary-active: #7a72bd;
  --color-primary-highlight: #322c54;
  --color-warm: #e08a5c;
  --color-warm-hover: #eaa377;
  --color-warm-highlight: #4a3423;
  --color-success: #8fbf83;
  --color-success-highlight: #2c3a28;
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.35);
  --shadow-md: 0 4px 14px oklch(0 0 0 / 0.4);
  --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #1c1912;
    --color-surface: #221e16;
    --color-surface-2: #272219;
    --color-surface-offset: #2a251a;
    --color-surface-offset-2: #332c1f;
    --color-surface-dynamic: #3a3222;
    --color-divider: #3a331f;
    --color-border: #4a3f28;
    --color-text: #ece5d5;
    --color-text-muted: #b3a68b;
    --color-text-faint: #7a7059;
    --color-text-inverse: #241f16;
    --color-primary: #9089d1;
    --color-primary-hover: #a8a1de;
    --color-primary-active: #7a72bd;
    --color-primary-highlight: #322c54;
    --color-warm: #e08a5c;
    --color-warm-hover: #eaa377;
    --color-warm-highlight: #4a3423;
    --color-success: #8fbf83;
    --color-success-highlight: #2c3a28;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.35);
    --shadow-md: 0 4px 14px oklch(0 0 0 / 0.4);
    --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.5);
  }
}

/* ---------------------------------- */
/* Global type                         */
/* ---------------------------------- */
body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.container {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.container--wide {
  max-width: var(--content-wide);
}

.eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.section-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.body-text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 60ch;
}
.body-text + .body-text {
  margin-top: var(--space-4);
}

section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-24));
}

/* ---------------------------------- */
/* Buttons                             */
/* ---------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  min-height: 44px;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background-color: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
}
.btn--primary:active {
  background-color: var(--color-primary-active);
}

.btn--outline {
  border: 1.5px solid oklch(from var(--color-text-inverse) l c h / 0.75);
  color: var(--color-text-inverse);
  background: oklch(0.15 0.02 280 / 0.35);
  text-shadow: 0 1px 3px oklch(0.1 0.02 280 / 0.7);
}
.btn--outline:hover {
  background: oklch(0.15 0.02 280 / 0.5);
}

.btn--ghost {
  border: 1.5px solid oklch(from var(--color-text) l c h / 0.16);
  color: var(--color-text);
  background: transparent;
}
.btn--ghost:hover {
  background: var(--color-surface-offset);
}

/* ---------------------------------- */
/* Header / Nav                        */
/* ---------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
  text-decoration: none;
  min-width: 0;
}

.brand__mark {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--color-primary);
  border-radius: 10px;
  overflow: hidden;
}
.brand__mark svg {
  width: 100%;
  height: 100%;
}
.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}
.brand__name strong {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
}
.brand__name span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}
.nav__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  padding: var(--space-2) 0;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--color-primary);
  transition: right var(--transition-interactive);
}
.nav__links a:hover::after,
.nav__links a[aria-current='page']::after {
  right: 0;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.lang-switch {
  display: flex;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.lang-switch button {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: var(--space-1) var(--space-3);
  color: var(--color-text-muted);
  min-height: 32px;
}
.lang-switch button[aria-pressed='true'] {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text);
  flex-shrink: 0;
}
.icon-btn:hover {
  background: var(--color-surface-offset);
}
.icon-btn svg {
  width: 20px;
  height: 20px;
}
[data-theme-toggle] .icon-moon,
[data-theme='dark'] [data-theme-toggle] .icon-sun {
  display: none;
}
[data-theme='dark'] [data-theme-toggle] .icon-moon {
  display: block;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text);
  flex-shrink: 0;
  position: relative;
  z-index: 110;
}
.nav-toggle svg {
  width: 24px;
  height: 24px;
  position: absolute;
}
.nav-toggle:hover {
  background: var(--color-surface-offset);
}
.nav-toggle .icon-close {
  opacity: 0;
  transform: rotate(-45deg);
  transition: opacity var(--transition-interactive), transform var(--transition-interactive);
}
.nav-toggle .icon-menu {
  opacity: 1;
  transform: rotate(0deg);
  transition: opacity var(--transition-interactive), transform var(--transition-interactive);
}
.nav-toggle[aria-expanded='true'] .icon-menu {
  opacity: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded='true'] .icon-close {
  opacity: 1;
  transform: rotate(0deg);
}

/* Mobile nav */
@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100dvh - 76px);
    z-index: 105;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: var(--color-bg);
    padding: var(--space-6) var(--space-5) var(--space-10);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition-interactive);
    visibility: hidden;
  }
  .nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .nav__links li {
    border-bottom: 1px solid var(--color-divider);
  }
  .nav__links a {
    display: block;
    padding: var(--space-4) var(--space-1);
    font-size: var(--text-lg);
  }
  .nav__links a::after {
    display: none;
  }

  .nav__mobile-controls {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-2) var(--space-1) var(--space-5);
    border-bottom: 1px solid var(--color-divider);
    order: -1;
  }

  .nav__actions {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
    margin-top: var(--space-6);
  }
  .nav__actions > .lang-switch,
  .nav__actions > [data-theme-toggle] {
    display: none;
  }
  .nav__actions .btn {
    justify-content: center;
    width: 100%;
  }
}

@media (min-width: 861px) {
  .nav__mobile-controls {
    display: none;
  }
}

/* ---------------------------------- */
/* Hero                                */
/* ---------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--color-text-inverse);
  overflow: hidden;
  padding-block: var(--space-24);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      oklch(0.16 0.03 280 / 0.58) 0%,
      oklch(0.18 0.03 280 / 0.5) 38%,
      oklch(0.2 0.03 280 / 0.32) 60%,
      oklch(0.22 0.03 280 / 0.1) 82%
    ),
    linear-gradient(
      180deg,
      oklch(0.14 0.03 280 / 0.28) 0%,
      oklch(0.14 0.03 280 / 0.04) 25%,
      oklch(0.14 0.03 280 / 0.12) 65%,
      oklch(0.12 0.03 280 / 0.48) 100%
    );
  z-index: -1;
}

.hero__content {
  max-width: 720px;
}

.hero__content .eyebrow {
  color: oklch(0.98 0.01 280);
  text-shadow: 0 1px 3px oklch(0.1 0.02 280 / 0.9), 0 2px 12px oklch(0.1 0.02 280 / 0.6);
  background: oklch(0.15 0.02 280 / 0.45);
  padding: var(--space-2) var(--space-4);
  border-radius: 999px;
  backdrop-filter: blur(2px);
}

.hero h1 {
  font-size: var(--text-hero);
  margin-bottom: var(--space-6);
  text-shadow: 0 2px 24px oklch(0.15 0.02 280 / 0.4);
}

.hero p {
  font-size: var(--text-lg);
  color: oklch(0.96 0.01 280 / 0.92);
  max-width: 46ch;
  margin-bottom: var(--space-8);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* ---------------------------------- */
/* Intro split                         */
/* ---------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}
@media (min-width: 860px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
  .split--reverse .split__media {
    order: 2;
  }
}

.split__media img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------------------------------- */
/* Feature highlight list              */
/* ---------------------------------- */
.highlights {
  list-style: none;
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.highlights li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
}
.highlights li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-primary);
}

/* ---------------------------------- */
/* Image gallery grid (section visuals)*/
/* ---------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-10);
}
.gallery__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery__item:hover img {
  transform: scale(1.04);
}
.gallery__item--tall {
  grid-row: span 2;
}
.gallery__item--tall img {
  aspect-ratio: 4 / 6.2;
}

@media (max-width: 720px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .gallery__item--tall {
    grid-row: span 1;
  }
  .gallery__item--tall img {
    aspect-ratio: 4 / 3;
  }
}

/* ---------------------------------- */
/* Rooms grid (per-apartment cards)    */
/* ---------------------------------- */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-10);
}
@media (max-width: 620px) {
  .rooms-grid {
    grid-template-columns: 1fr;
  }
}
.room-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
}
.room-card__media {
  aspect-ratio: 4 / 3;
  width: 100%;
  position: relative;
}
.room-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.room-card__media--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background: linear-gradient(160deg, var(--color-primary-highlight), var(--color-surface-alt, var(--color-surface)));
  color: var(--color-text-muted);
}
.room-card__media--empty svg {
  width: 30px;
  height: 30px;
  color: var(--color-primary);
  opacity: 0.55;
}
.room-card__media--empty span {
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
}
.room-card__label {
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.room-card__badge {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
}
.room-card__note {
  padding: 0 var(--space-4) var(--space-4);
  margin: calc(var(--space-3) * -1) 0 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Room card as a gallery trigger (button) */
button.room-card__gallery-trigger {
  display: block;
  padding: 0;
  margin: 0;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  background: none;
  text-align: left;
}
.room-card__gallery-trigger img {
  transition: transform 0.5s ease;
}
.room-card__gallery-trigger:hover img,
.room-card__gallery-trigger:focus-visible img {
  transform: scale(1.045);
}
.room-card__gallery-count {
  position: absolute;
  left: var(--space-3);
  bottom: var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-full, 999px);
  background: rgba(20, 22, 26, 0.62);
  color: #fff;
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
  backdrop-filter: blur(3px);
}
.room-card__gallery-count svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ---------------------------------- */
/* Room photo lightbox                 */
/* ---------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] {
  display: none;
}
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 17, 0.9);
}
.lightbox__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  max-width: min(1100px, 94vw);
  max-height: 90vh;
  width: 100%;
}
.lightbox__figure {
  margin: 0;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}
.lightbox__figure img {
  max-width: 100%;
  max-height: 74vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  object-fit: contain;
  background: #111;
}
.lightbox__figure figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: #f2f2f2;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
}
.lightbox__counter {
  color: rgba(255, 255, 255, 0.6);
}
.lightbox__close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}
.lightbox__close svg {
  width: 18px;
  height: 18px;
}
.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
}
.lightbox__nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox__nav svg {
  width: 20px;
  height: 20px;
}
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.22);
}
@media (max-width: 700px) {
  .lightbox__dialog {
    flex-direction: column;
    max-height: 92vh;
  }
  .lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }
  .lightbox__nav--prev { left: 4px; }
  .lightbox__nav--next { right: 4px; }
  .lightbox__close {
    top: 4px;
    right: 4px;
  }
  .lightbox__figure img {
    max-height: 62vh;
  }
}

/* ---------------------------------- */
/* Alternating sections background     */
/* ---------------------------------- */
.section--offset {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

.section-head {
  max-width: 62ch;
  margin-bottom: var(--space-4);
}

.note-banner {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-8);
  padding: var(--space-3) var(--space-5);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
}
.note-banner svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------------------------------- */
/* Contact section                     */
/* ---------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-16);
  }
}

.contact-list {
  list-style: none;
  display: grid;
  gap: var(--space-5);
  margin: var(--space-6) 0 var(--space-8);
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}
.contact-list .icon-wrap {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-list .icon-wrap svg {
  width: 20px;
  height: 20px;
}
.contact-list a,
.contact-list span.value {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  word-break: break-word;
}
.contact-list a:hover {
  color: var(--color-primary);
}
.contact-list .label {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-divider);
  aspect-ratio: 4 / 3;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.form-row label {
  font-size: var(--text-sm);
  font-weight: 600;
}
.form-row input,
.form-row textarea {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  background: var(--color-surface-2);
  color: var(--color-text);
  min-height: 44px;
  resize: vertical;
}
.form-row textarea {
  min-height: 110px;
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--color-primary);
}
.contact-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: var(--space-2);
}
.contact-form .btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  display: none;
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
}
.form-status.is-visible {
  display: block;
}
.form-status--success {
  color: var(--color-success);
  background: var(--color-success-highlight);
}
.form-status--error {
  color: var(--color-warm);
  background: var(--color-warm-highlight);
}
.form-status--info {
  color: var(--color-text-muted);
  background: var(--color-surface-offset);
}

/* ---------------------------------- */
/* Footer                              */
/* ---------------------------------- */
.footer {
  background: var(--color-surface-offset);
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-16) var(--space-8);
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-10);
}
@media (min-width: 720px) {
  .footer__top {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.footer__brand .brand__mark {
  color: var(--color-primary);
}
.footer__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 34ch;
}
.footer h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
}
.footer ul {
  list-style: none;
  display: grid;
  gap: var(--space-3);
}
.footer a,
.footer span.value {
  font-size: var(--text-sm);
  color: var(--color-text);
  text-decoration: none;
}
.footer a:hover {
  color: var(--color-primary);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ---------------------------------- */
/* Scroll reveal                       */
/* ---------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-3) var(--space-5);
  z-index: 200;
  border-radius: var(--radius-md);
}
.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
}

/* Beach photo pair */
.beach-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.split__media.beach-pair img {
  aspect-ratio: 3 / 4;
}
.beach-pair img:nth-child(2) {
  margin-top: var(--space-10);
}
