:root {
  --accent: #D3A37C;
  --accent-soft: #c98f62;
  --accent-tint: rgba(211, 163, 124, 0.22);
  --ink: #1a2330;
  --ink-muted: #3d4f63;
  --paper: #faf8f5;
  --surface-2: #f1ece6;
  --card: #ffffff;
  --mist: #e8eef5;
  --deep: #eef2f7;
  --panel: #e4e9f2;
  --panel-2: #dce6f0;
  --danger: #c45a4a;
  --ok: #2d6a4f;
  --border: rgba(26, 35, 48, 0.12);
  --border-strong: rgba(26, 35, 48, 0.2);
  --space: clamp(1rem, 3vw, 2.25rem);
  --radius: 14px;
  --shadow: 0 12px 32px rgba(26, 35, 48, 0.08);
  --shadow-lg: 0 20px 48px rgba(26, 35, 48, 0.12);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
}

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

a {
  color: #1e4a6e;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-soft);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--ink);
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.disclaimer-bar {
  background: linear-gradient(90deg, #f3e8dc 0%, #efe6dd 50%, #e8dfd6 100%);
  color: #3d2a22;
  font-size: 0.85rem;
  padding: 0.65rem var(--space);
  border-bottom: 1px solid var(--border-strong);
}

.disclaimer-bar p {
  margin: 0 auto;
  max-width: var(--max);
}

.disclaimer-bar a {
  color: #1a4d6e;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.disclaimer-bar a:hover {
  color: #123a52;
}

.disclaimer-bar p + p {
  margin-top: 0.45rem;
  padding-top: 0.45rem;
  border-top: 1px dashed rgba(61, 42, 34, 0.2);
}

.footer-legal {
  color: var(--muted);
  line-height: 1.45;
}

.footer-legal a {
  color: #1a4d6e;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.brand img {
  width: 46px;
  height: 46px;
}

.nav-desktop {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  align-items: center;
}

.nav-desktop a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  border-color: var(--accent);
  color: var(--accent-soft);
}

.menu-toggle {
  display: none;
  background: var(--card);
  border: 1px solid var(--border-strong);
  color: var(--ink);
  border-radius: 10px;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.menu-toggle i {
  font-size: 1.35rem;
  color: var(--accent-soft);
}

.mobile-panel {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 35, 48, 0.35);
  z-index: 950;
}

.mobile-panel.is-open {
  display: block;
}

.mobile-drawer {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(88vw, 320px);
  background: var(--card);
  padding: 1rem 1.1rem 2rem;
  border-left: 1px solid var(--border-strong);
  box-shadow: -8px 0 32px rgba(26, 35, 48, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow-y: auto;
}

.mobile-drawer a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}

.mobile-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  color: var(--accent-soft);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: grid;
  align-items: end;
  color: var(--ink);
  isolation: isolate;
  overflow: hidden;
  --hero-nx: 0.5;
  --hero-ny: 0.5;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url("../image/hero-bg.jpg") center/cover no-repeat;
  transform: scale(1.02);
  transition: transform 1.4s ease, filter 1.4s ease;
  z-index: -2;
  will-change: transform;
}

.hero:hover .hero__bg {
  transform: scale(1.06);
  filter: brightness(1.05) saturate(1.05);
}

.hero__svg-deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: auto;
}

.hero-deco-svg {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.72;
  pointer-events: none;
}

.hero-deco-svg .hero-parallax {
  transition: transform 0.22s ease-out;
}

.hero-deco-svg .hero-parallax--a {
  transform: translate(
    calc((var(--hero-nx) - 0.5) * 90px),
    calc((var(--hero-ny) - 0.5) * 55px)
  );
}

.hero-deco-svg .hero-parallax--b {
  transform: translate(
    calc((var(--hero-nx) - 0.5) * -55px),
    calc((var(--hero-ny) - 0.5) * 70px)
  );
}

.hero-deco-svg .hero-parallax--c {
  transform: translate(
    calc((var(--hero-nx) - 0.5) * 40px),
    calc((var(--hero-ny) - 0.5) * -35px)
  );
}

.hero-deco-svg circle.hero-orb {
  pointer-events: auto;
  cursor: pointer;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.35s ease, filter 0.3s ease, opacity 0.3s ease;
}

.hero-deco-svg circle.hero-orb:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 12px rgba(211, 163, 124, 0.75));
}

.hero-deco-svg .hero-wave {
  animation: hero-wave-drift 14s ease-in-out infinite alternate;
}

.hero-deco-svg .hero-wave--2 {
  animation-duration: 18s;
  animation-delay: -3s;
}

@keyframes hero-wave-drift {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-24px);
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(250, 248, 245, 0.2) 0%,
    rgba(250, 248, 245, 0.55) 45%,
    rgba(250, 248, 245, 0.88) 72%,
    rgba(241, 236, 230, 0.95) 100%
  );
  z-index: -1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) var(--space);
  display: grid;
  gap: 1.25rem;
}

.hero-card {
  max-width: 640px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-lg);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.hero-card:hover {
  transform: translateY(-4px);
  border-color: rgba(211, 163, 124, 0.55);
  box-shadow: 0 24px 56px rgba(26, 35, 48, 0.14);
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.85rem, 1.2rem + 2.4vw, 3rem);
  line-height: 1.15;
}

.hero p.lead {
  margin: 0 0 1.25rem;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn i {
  color: var(--accent-soft);
  font-size: 1.15rem;
}

.btn-primary i {
  color: var(--ink);
}

.btn-primary {
  background: var(--accent);
  color: #1a120c;
  border-color: #c98f62;
}

.btn-primary:hover {
  background: #e0b892;
  color: #120d09;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-soft);
  background: var(--card);
}

main {
  overflow-x: hidden;
}

.section {
  padding: clamp(2.25rem, 5vw, 4rem) var(--space);
}

.section--deep {
  background: var(--deep);
  color: var(--ink);
}

.section--mist {
  background: var(--mist);
  color: var(--ink);
}

.section--mist a {
  color: #1e4a6e;
}

.section--mist a:hover {
  color: var(--accent-soft);
}

.section--accent {
  background: linear-gradient(135deg, #faf4ee 0%, #f0e6dc 45%, #e8dfd6 100%);
  color: #2c2218;
}

.section--accent a {
  color: #1e4a6e;
}

.section--accent a:hover {
  color: var(--accent-soft);
}

.section--panel {
  background: var(--panel);
  color: var(--ink);
}

.section--panel a {
  color: #1e4a6e;
}

.section--panel a:hover {
  color: var(--accent-soft);
}

.section--panel-alt {
  background: var(--panel-2);
  color: var(--ink);
}

.section--panel-alt a {
  color: #1e4a6e;
}

.section--panel-alt a:hover {
  color: var(--accent-soft);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem);
  letter-spacing: 0.01em;
}

.section h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.2rem;
}

.section p {
  margin: 0 0 1rem;
}

.split {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

@media (min-width: 880px) {
  .split--2 {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(211, 163, 124, 0.35);
  box-shadow: var(--shadow);
}

.figure figcaption {
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  background: var(--surface-2);
  color: var(--ink);
  border-top: 1px solid var(--border);
}

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

.pill-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--ink);
}

.section--mist .pill-list li {
  background: var(--card);
  border-color: #c9d6e6;
  color: var(--ink);
}

.section--accent .pill-list li {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(211, 163, 124, 0.35);
}

.pill-list i {
  color: var(--accent);
  font-size: 1.25rem;
  margin-top: 0.1rem;
}

.callout {
  border-left: 4px solid var(--accent);
  padding: 1rem 1.1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--accent-tint);
  margin: 1.25rem 0;
  color: var(--ink);
}

.section--mist .callout {
  background: #fff7ef;
  border-color: #b87952;
  color: var(--ink);
}

.section--accent .callout {
  background: rgba(255, 255, 255, 0.7);
  border-left-color: var(--accent-soft);
}

.grid-cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

@media (min-width: 720px) {
  .grid-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  border-radius: var(--radius);
  padding: 1.1rem;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.section--mist .card {
  background: var(--card);
  border-color: #d5e0ec;
  color: var(--ink);
}

.card h3 {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.card i {
  color: #b87952;
  font-size: 1.35rem;
}

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

.timeline li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
}

.timeline time {
  font-weight: 700;
  color: var(--accent-soft);
  white-space: nowrap;
}

.section--mist .timeline time {
  color: #6a4a32;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  background: var(--card);
  margin-bottom: 0.65rem;
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.section--mist .faq details {
  background: var(--card);
  border-color: #d5e0ec;
  color: var(--ink);
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
}

.site-footer {
  background: linear-gradient(180deg, #f3eee8 0%, #ebe4dc 100%);
  color: var(--ink);
  padding: 2rem var(--space) 2.5rem;
  border-top: 1px solid var(--border-strong);
}

.footer-links a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-links a:hover {
  border-color: var(--accent);
  color: var(--accent-soft);
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  background: var(--card);
  color: var(--ink);
  border-top: 1px solid var(--border-strong);
  box-shadow: 0 -8px 32px rgba(26, 35, 48, 0.1);
  padding: 1rem var(--space) 1.25rem;
  transform: translateY(110%);
  transition: transform 0.35s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
}

.cookie-banner__fi {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--muted);
}

.cookie-banner__fi a {
  color: #1a4d6e;
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.cookie-panel {
  display: none;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem;
  background: var(--mist);
}

.cookie-panel.is-open {
  display: block;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
}

.toggle-row:last-of-type {
  border-bottom: none;
}

.switch {
  position: relative;
  width: 46px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #c5d0de;
  border-radius: 999px;
  transition: 0.2s;
  border: 1px solid var(--border);
}

.slider::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  top: 2px;
  background: #fff;
  border-radius: 50%;
  transition: 0.2s;
}

.switch input:checked + .slider {
  background: #3d7a5c;
}

.switch input:checked + .slider::before {
  transform: translateX(18px);
}

.switch input:disabled + .slider {
  opacity: 0.55;
  cursor: not-allowed;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(211, 163, 124, 0.35);
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: min(60vh, 450px);
  border: 0;
  display: block;
}

form .field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

label {
  font-weight: 600;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid #b9c6d6;
  background: #fff;
  color: #152433;
  font: inherit;
}

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

.check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.check input {
  margin-top: 0.3rem;
}

.policy-page .wrap {
  max-width: 900px;
}

.policy-page h1 {
  margin-top: 0;
}

.policy-page h2 {
  margin-top: 2rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}

.table th,
.table td {
  border: 1px solid var(--border);
  padding: 0.55rem 0.65rem;
  text-align: left;
  vertical-align: top;
}

.section--mist .table th,
.section--mist .table td {
  border-color: #c9d6e6;
}

.small {
  font-size: 0.9rem;
  opacity: 0.92;
}

.home-gallery .interactive-gallery {
  display: grid;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  grid-template-columns: 1fr;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .home-gallery .interactive-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-tile {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--card);
  box-shadow: var(--shadow);
  transition: box-shadow 0.35s ease, border-color 0.25s ease, transform 0.35s ease;
  text-align: left;
}

.gallery-tile:hover,
.gallery-tile:focus-visible {
  outline: none;
  border-color: rgba(211, 163, 124, 0.65);
  box-shadow: 0 16px 40px rgba(26, 35, 48, 0.14);
  transform: translateY(-4px);
}

.gallery-tile img {
  width: 100%;
  height: auto;
  aspect-ratio: 900 / 700;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
  transform-origin: center center;
}

.gallery-tile:hover img,
.gallery-tile:focus-visible img {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.03);
}

.gallery-tile__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  padding: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
  background: linear-gradient(180deg, transparent 35%, rgba(26, 35, 48, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.gallery-tile__overlay i {
  font-size: 1.75rem;
  color: #fdeedf;
}

.gallery-tile:hover .gallery-tile__overlay,
.gallery-tile:focus-visible .gallery-tile__overlay {
  opacity: 1;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1150;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space);
}

.gallery-lightbox:not([hidden]) {
  display: flex;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 35, 48, 0.55);
  cursor: zoom-out;
  text-decoration: none;
}

.gallery-lightbox__panel {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1000px);
  width: 100%;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
}

.gallery-lightbox__img {
  max-width: 100%;
  max-height: min(78vh, 820px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.gallery-lightbox__close {
  justify-self: end;
}

@media (prefers-reduced-motion: reduce) {
  .gallery-tile,
  .gallery-tile img,
  .gallery-tile__overlay {
    transition: none;
  }

  .gallery-tile:hover,
  .gallery-tile:focus-visible {
    transform: none;
  }

  .gallery-tile:hover img,
  .gallery-tile:focus-visible img {
    transform: none;
  }
}

@media (max-width: 879px) {
  .nav-desktop {
    display: none;
  }

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

@media (max-width: 360px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
