:root {
  --bg: #f4efe8;
  --bg-deep: #0d1f2a;
  --surface: #fffdf9;
  --surface-2: #f1e8da;
  --ink: #14212b;
  --text: #465363;
  --brand: #0d6a67;
  --brand-2: #0a4f4e;
  --gold: #b8893f;
  --gold-soft: #d8bc86;
  --line: rgba(18, 33, 45, 0.12);
  --radius: 20px;
  --radius-sm: 14px;
  --shadow-soft: 0 16px 40px rgba(8, 18, 30, 0.09);
  --shadow-strong: 0 24px 56px rgba(5, 15, 24, 0.2);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 560px at 94% -10%, #e8d8bb 0%, transparent 60%),
    radial-gradient(980px 520px at -5% 18%, #dceee9 0%, transparent 62%),
    linear-gradient(180deg, #f8f4ed 0%, #f0e8dd 48%, #f5f0e9 100%);
  line-height: 1.62;
  min-height: 100vh;
}

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

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

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

.topbar {
  background: linear-gradient(90deg, #0a1b26, #173344);
  color: #e3f1f7;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.58rem 0;
  flex-wrap: wrap;
}

.topbar a:hover {
  color: #b8ece4;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 244, 236, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(18, 33, 45, 0.08);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 25px rgba(8, 18, 30, 0.1);
  background: rgba(248, 244, 236, 0.94);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  font-family: "Cormorant Garamond", serif;
  color: var(--ink);
  line-height: 1;
}

.brand strong {
  display: block;
  font-size: 1.75rem;
  letter-spacing: 0.01em;
}

.brand span {
  font-size: 0.76rem;
  color: #5c6874;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--brand);
  color: #fff;
  border-radius: 11px;
  padding: 0.48rem 0.7rem;
  cursor: pointer;
  font-weight: 600;
}

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

.nav-links a {
  padding: 0.5rem 0.86rem;
  border-radius: 999px;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #31404f;
  transition: 0.25s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: linear-gradient(100deg, var(--brand), var(--brand-2));
}

.hero {
  position: relative;
  color: #f4fdff;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero::before {
  z-index: 2;
  background:
    radial-gradient(420px 320px at 78% 24%, rgba(216, 188, 134, 0.25), transparent 75%),
    linear-gradient(120deg, rgba(5, 22, 31, 0.86), rgba(8, 44, 56, 0.68));
}

.hero::after {
  z-index: 1;
  background: center/cover no-repeat url("../img/slider/1.jpg");
  animation: hero-cycle 20s ease-in-out infinite;
  transform: scale(1.07);
}

@keyframes hero-cycle {
  0%, 31% { background-image: url("../img/slider/1.jpg"); }
  33%, 63% { background-image: url("../img/slider/2.jpg"); }
  66%, 100% { background-image: url("../img/slider/3.jpg"); }
}

.hero-content {
  position: relative;
  z-index: 3;
  min-height: 72vh;
  display: grid;
  align-content: center;
  gap: 1.35rem;
  padding: 4.4rem 0;
}

.hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.3rem, 5.4vw, 4.8rem);
  font-weight: 600;
  line-height: 1.03;
  max-width: 800px;
}

.hero p {
  margin: 0;
  max-width: 700px;
  font-size: 1.05rem;
  color: #d3e9ef;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.74rem 1.3rem;
  font-weight: 600;
  font-size: 0.87rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(110deg, #c49954, #aa7a32);
  box-shadow: 0 14px 30px rgba(148, 104, 43, 0.36);
}

.btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

.card .btn-secondary {
  color: var(--brand-2);
  border-color: rgba(10, 79, 78, 0.35);
  background: rgba(13, 106, 103, 0.06);
}

section {
  padding: 4.6rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.45rem;
}

.section-head h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.95rem, 3.2vw, 2.9rem);
  line-height: 1.04;
}

.section-head p {
  margin: 0;
  max-width: 520px;
}

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

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem;
  position: relative;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(184, 137, 63, 0.15);
  pointer-events: none;
}

.card h3 {
  margin: 0 0 0.42rem;
  color: var(--ink);
  font-size: 1.08rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.highlights {
  background: linear-gradient(130deg, rgba(13, 106, 103, 0.08), rgba(184, 137, 63, 0.12));
  border-block: 1px solid rgba(18, 33, 45, 0.09);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-height: 190px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-item span {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 0.5rem 0.65rem;
  color: #effaff;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  background: linear-gradient(180deg, transparent, rgba(8, 16, 23, 0.8));
}

.gallery-item:focus-visible {
  outline: 3px solid rgba(13, 106, 103, 0.45);
  outline-offset: 2px;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}

.gallery-modal.is-open {
  display: block;
}

.gallery-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 13, 18, 0.82);
  backdrop-filter: blur(4px);
}

.gallery-modal__content {
  position: relative;
  z-index: 1;
  width: min(92vw, 1080px);
  margin: 5vh auto 0;
}

.gallery-modal__content img {
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.4);
  background: #101820;
}

.gallery-modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  border: 0;
  border-radius: 999px;
  width: 2.2rem;
  height: 2.2rem;
  background: rgba(0, 0, 0, 0.66);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-modal__close:hover {
  background: rgba(0, 0, 0, 0.9);
}

.gallery-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-modal__nav--prev {
  left: 0.7rem;
}

.gallery-modal__nav--next {
  right: 0.7rem;
}

.gallery-modal__nav:hover {
  background: rgba(0, 0, 0, 0.88);
}

body.modal-open {
  overflow: hidden;
}

.banner {
  background: linear-gradient(110deg, #0b2430, #123b47);
  color: #e8f8fb;
}

.banner .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.banner p {
  margin: 0;
  font-size: 1.02rem;
}

.banner strong {
  color: var(--gold-soft);
}

.page-hero {
  padding: 3.4rem 0 2.5rem;
  color: #eefcff;
  background:
    radial-gradient(460px 220px at 72% 16%, rgba(216, 188, 134, 0.26), transparent 80%),
    linear-gradient(112deg, #0d2534, #15565b 55%, #1d776f);
}

.page-hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1.04;
}

.page-hero p {
  margin: 0.36rem 0 0;
  max-width: 740px;
  color: #ceebee;
}

.cols {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 1.1rem;
}

.cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

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

.feature-list li::before {
  content: "◆ ";
  color: var(--gold);
  font-size: 0.82em;
}

form {
  display: grid;
  gap: 0.8rem;
}

label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #334453;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 0.32rem;
  border: 1px solid #d9e1e8;
  border-radius: 11px;
  padding: 0.69rem 0.76rem;
  font-family: inherit;
  font-size: 0.94rem;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(13, 106, 103, 0.22);
  border-color: var(--brand);
}

.map-wrap iframe {
  width: 100%;
  border: 0;
  border-radius: 12px;
  min-height: 320px;
  box-shadow: var(--shadow-soft);
}

.notice {
  font-size: 0.82rem;
  color: #607082;
}

footer {
  background: #0b1620;
  color: #c7d6e4;
  padding: 2.4rem 0 1.1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 1fr;
  gap: 1.2rem;
}

footer h4 {
  margin: 0 0 0.42rem;
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
}

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

.footer-list a:hover,
footer a:hover {
  color: #98e2d5;
}

.copy {
  margin-top: 1.15rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  color: #96a8bc;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.62s ease, transform 0.62s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .cols,
  .cols-2,
  .footer-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: grid;
    align-items: start;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 0.7rem;
    right: 0.7rem;
    top: 100%;
    background: #f8f4ec;
    border-radius: 14px;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(18, 33, 45, 0.14);
    padding: 0.5rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    z-index: 15;
  }

  .nav-links.open {
    display: flex;
  }

  .hero-content {
    min-height: 60vh;
    padding: 3.4rem 0;
  }

  .hero h1 {
    line-height: 1.06;
  }

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

@media (max-width: 480px) {
  .container {
    width: min(1140px, calc(100% - 1.1rem));
  }

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

  .brand strong {
    font-size: 1.55rem;
  }
}
