:root {
  --ink: #173538;
  --muted: #5d7374;
  --sea: #167d84;
  --deep-sea: #0f4f57;
  --sky: #d9f2f4;
  --foam: #f6fffd;
  --sand: #fff4df;
  --sun: #f7bd55;
  --coral: #ef7b63;
  --berry: #a9465a;
  --grass: #8db36b;
  --line: rgba(23, 53, 56, 0.14);
  --shadow: 0 22px 50px rgba(16, 76, 82, 0.16);
  --max: 1160px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--foam);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

body.gallery-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  transform: translateY(-150%);
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  padding: 0.7rem 1rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.coast-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  color: white;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.coast-header.scrolled,
.menu-open .coast-header {
  color: var(--ink);
  background: rgba(255, 255, 252, 0.94);
  box-shadow: 0 14px 34px rgba(20, 68, 72, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 230px;
  font-weight: 900;
}

.brand-shell {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 44% 44%;
  background: var(--sun);
  color: var(--ink);
  box-shadow: inset 0 -5px 0 rgba(255, 255, 255, 0.35);
}

.brand small {
  display: block;
  color: currentColor;
  font-size: 0.78rem;
  font-weight: 750;
  opacity: 0.76;
}

.coast-nav {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.coast-nav a {
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 900;
}

.coast-nav a:hover,
.coast-nav a.active {
  background: rgba(255, 255, 255, 0.18);
}

.coast-header.scrolled .coast-nav a:hover,
.coast-header.scrolled .coast-nav a.active,
.menu-open .coast-nav a:hover,
.menu-open .coast-nav a.active {
  background: var(--sky);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  color: currentColor;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-button span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-button span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-button span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: white;
}

.hero-image,
.hero-tint {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-tint {
  background:
    radial-gradient(circle at 18% 38%, rgba(247, 189, 85, 0.38), transparent 28%),
    linear-gradient(90deg, rgba(12, 67, 73, 0.88) 0%, rgba(12, 67, 73, 0.58) 43%, rgba(12, 67, 73, 0.18) 100%),
    linear-gradient(0deg, rgba(12, 67, 73, 0.72), transparent 58%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 8rem 0 clamp(4.5rem, 8vw, 7rem);
}

.kicker {
  margin: 0 0 0.9rem;
  color: var(--sand);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.kicker.color {
  color: var(--berry);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 1rem;
  font-size: clamp(3.1rem, 7vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero-text {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.78rem 1.1rem;
  font-weight: 950;
  line-height: 1.2;
  transition: transform 170ms ease, box-shadow 170ms ease, background 170ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.sun {
  background: var(--sun);
  color: var(--ink);
  box-shadow: 0 16px 32px rgba(247, 189, 85, 0.32);
}

.button.sun:hover,
.button.sun:focus-visible {
  background: #ffd171;
}

.button.glass {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.button.glass:hover,
.button.glass:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.wave-edge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 72px;
  background:
    radial-gradient(62px 42px at 50px 60px, var(--foam) 98%, transparent 100%) 0 0 / 118px 72px repeat-x,
    linear-gradient(var(--foam), var(--foam));
  z-index: 3;
}

.contact-ribbon {
  width: min(var(--max), calc(100% - 2rem));
  margin: -1.8rem auto 0;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.contact-ribbon article {
  min-height: 112px;
  padding: 1.15rem;
  border-right: 1px solid var(--line);
}

.contact-ribbon article:last-child {
  border-right: 0;
}

.contact-ribbon span,
.sun-strip span,
.region-list span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-ribbon a,
.sun-strip strong,
.region-list strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.25;
}

.section {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.welcome {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.welcome p,
.section-head p,
.region p,
.service-panel p,
.service-cards p,
.faq-item p,
.legal p {
  color: var(--muted);
}

.photo-note {
  margin: 0;
}

.photo-note img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 10px solid white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.photo-note figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-weight: 750;
}

.sun-strip {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.sun-strip div {
  min-height: 118px;
  padding: 1.2rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--sand), #fffaf0);
  border: 1px solid rgba(247, 189, 85, 0.36);
}

.room-section {
  padding-top: clamp(4rem, 7vw, 6rem);
}

.room-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 1rem;
}

.gallery-card {
  position: relative;
  min-height: 260px;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--deep-sea);
  box-shadow: var(--shadow);
  color: white;
  text-align: left;
}

.gallery-card.large {
  grid-row: span 2;
  min-height: 520px;
}

.gallery-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13, 54, 57, 0.72), transparent 58%);
}

.gallery-card span {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  font-weight: 950;
  font-size: 1.08rem;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.04);
}

.gallery-card:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: 3px;
}

.services {
  width: 100%;
  max-width: none;
  padding-inline: max(1rem, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(135deg, rgba(217, 242, 244, 0.86), rgba(255, 244, 223, 0.58)),
    var(--sky);
}

.section-head {
  max-width: 760px;
  margin-bottom: 2rem;
}

.service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.tab-button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.58rem 0.85rem;
  background: white;
  color: var(--ink);
  font-weight: 950;
}

.tab-button:hover,
.tab-button.active {
  background: var(--deep-sea);
  border-color: var(--deep-sea);
  color: white;
}

.service-stage {
  min-height: 288px;
  display: grid;
}

.service-panel {
  grid-area: 1 / 1;
  display: none;
  align-content: center;
  max-width: 900px;
  min-height: 288px;
  padding: clamp(1.3rem, 4vw, 2.4rem);
  border: 1px solid rgba(15, 79, 87, 0.16);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 20px 42px rgba(15, 79, 87, 0.1);
}

.service-panel.active {
  display: grid;
}

.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 35%, white 0 7px, transparent 8px),
    linear-gradient(135deg, var(--coral), var(--sun));
}

.service-icon.shell {
  border-radius: 50% 50% 46% 46%;
  background:
    repeating-radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.6) 0 3px, transparent 4px 9px),
    linear-gradient(135deg, var(--sea), var(--grass));
}

.service-icon.dune {
  border-radius: 44% 56% 48% 52%;
  background:
    linear-gradient(145deg, transparent 45%, rgba(255, 255, 255, 0.6) 46% 54%, transparent 55%),
    linear-gradient(135deg, var(--berry), var(--coral));
}

.service-icon.spoon {
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 27%, white 0 9px, transparent 10px),
    linear-gradient(180deg, transparent 38%, rgba(255, 255, 255, 0.75) 39% 72%, transparent 73%),
    linear-gradient(135deg, var(--sun), var(--sea));
}

.service-panel h3 {
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.service-cards article {
  padding: 1.25rem;
  border: 1px solid rgba(15, 79, 87, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
}

.region {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.map-link {
  display: inline-flex;
  margin-top: 0.8rem;
  color: var(--deep-sea);
  font-weight: 950;
  text-decoration: underline;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.22rem;
}

.region-list {
  display: grid;
  gap: 0.85rem;
}

.region-list div {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-left: 8px solid var(--sun);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 14px 30px rgba(16, 76, 82, 0.08);
}

.faq {
  padding-top: 0;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  background: transparent;
  padding: 1rem 1.15rem;
  color: var(--ink);
  font-weight: 950;
  text-align: left;
}

.faq-item button span {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  position: relative;
}

.faq-item button span::before,
.faq-item button span::after {
  content: "";
  position: absolute;
  inset: 8px 0 auto;
  height: 2px;
  background: var(--sea);
}

.faq-item button span::after {
  transform: rotate(90deg);
  transition: transform 180ms ease;
}

.faq-item.open button span::after {
  transform: rotate(0);
}

.faq-item p {
  display: none;
  margin: 0;
  padding: 0 1.15rem 1.15rem;
}

.faq-item.open p {
  display: block;
}

.contact-section {
  padding: clamp(4rem, 8vw, 7rem) max(1rem, calc((100vw - var(--max)) / 2));
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 244, 223, 0.92), transparent 30%),
    linear-gradient(135deg, #d8f3f8 0%, #ecfbff 52%, #f8fdff 100%);
  color: var(--ink);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.contact-inner p {
  color: var(--muted);
}

.contact-section .kicker {
  color: var(--berry);
}

.mail-form {
  display: grid;
  gap: 0.9rem;
  padding: 1.2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(22, 125, 132, 0.18);
  background: #dff5fb;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.mail-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--deep-sea);
  font-weight: 950;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  padding: 0.82rem 0.9rem;
}

textarea {
  min-height: 124px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--sea);
  outline: 3px solid rgba(22, 125, 132, 0.18);
}

.form-status {
  min-height: 1.2rem;
  margin: 0;
  color: var(--deep-sea);
  font-weight: 850;
}

.legal {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.3rem 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 0.95rem 1rem;
  font-weight: 950;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 1rem 1rem;
}

.to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 14px 28px rgba(16, 76, 82, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.to-top::before,
.to-top::after {
  content: "";
  position: absolute;
  background: white;
}

.to-top::before {
  width: 3px;
  height: 20px;
  left: 21px;
  top: 14px;
}

.to-top::after {
  width: 13px;
  height: 13px;
  left: 16px;
  top: 13px;
  border-left: 3px solid white;
  border-top: 3px solid white;
  background: transparent;
  transform: rotate(45deg);
}

.to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  gap: 0.85rem;
  padding: 1rem;
  background: rgba(13, 54, 57, 0.88);
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal img {
  width: min(820px, 100%);
  max-height: min(78vh, 820px);
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.34);
}

.gallery-modal p {
  max-width: min(820px, 100%);
  margin: 0;
  color: white;
  font-weight: 850;
  text-align: center;
}

.modal-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 22px;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.modal-close::before {
  transform: rotate(45deg);
}

.modal-close::after {
  transform: rotate(-45deg);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  padding: 1.35rem clamp(1rem, 4vw, 3rem);
  background: #12393d;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .coast-header {
    color: var(--ink);
    background: rgba(255, 255, 252, 0.96);
    box-shadow: 0 14px 34px rgba(20, 68, 72, 0.12);
  }

  .menu-button {
    display: block;
  }

  .coast-nav {
    position: fixed;
    inset: 76px 1rem auto;
    display: grid;
    gap: 0.2rem;
    padding: 0.65rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .menu-open .coast-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .coast-nav a {
    color: var(--ink);
    padding: 0.8rem 1rem;
  }

  .contact-ribbon,
  .sun-strip,
  .service-cards {
    grid-template-columns: 1fr;
  }

  .contact-ribbon article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-ribbon article:last-child {
    border-bottom: 0;
  }

  .welcome,
  .region,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .room-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-card.large {
    grid-row: auto;
    min-height: 340px;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .brand-shell {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-inner {
    padding-top: 7rem;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 3.7rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .contact-ribbon {
    margin-top: -1.2rem;
  }

  .service-panel {
    min-height: 340px;
  }

  .gallery-card,
  .gallery-card.large {
    min-height: 300px;
  }

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

  .footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
