:root {
  --stone: #5C6B73;
  --stone-deep: #3E4A52;
  --river: #2A9D8F;
  --river-deep: #1F7A6F;
  --sand: #E8DFD2;
  --sand-2: #DED3C3;
  --paper: #F4EEE6;
  --ink: #243038;
  --ink-soft: #5C6B73;
  --white: #FAF7F2;
  --line: rgba(92, 107, 115, 0.22);
  --shade: rgba(36, 48, 56, 0.62);
  --display: "Syne", "Segoe UI", sans-serif;
  --body: "Figtree", "Segoe UI", sans-serif;
  --wrap: min(1120px, calc(100% - 2.4rem));
  --ease: cubic-bezier(0.22, 0.7, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--sand);
  background-image:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(42, 157, 143, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(92, 107, 115, 0.1), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--sand) 38%, var(--sand-2) 100%);
}

body.modal-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--river-deep); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--stone-deep); }

h1, h2, h3, .brand, .logo strong {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.15rem, 4.8vw, 3.55rem); margin: 0 0 0.7rem; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.45rem); margin: 0 0 0.85rem; }
h3 { font-size: 1.2rem; margin: 0 0 0.4rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.wrap { width: var(--wrap); margin-inline: auto; }
.lead { max-width: 40rem; font-size: 1.08rem; color: var(--ink-soft); }
.kicker {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--river);
  font-family: var(--body);
}

.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(244, 238, 230, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(42, 157, 143, 0.15);
}
.site-head-inner {
  width: var(--wrap); margin-inline: auto; min-height: 4.25rem;
  display: flex; align-items: center; gap: 1rem;
}
.logo {
  display: flex; flex-direction: column; gap: 0.05rem;
  text-decoration: none; color: var(--ink); margin-right: auto;
}
.logo strong { font-size: 1.4rem; letter-spacing: 0.06em; }
.logo span { font-size: 0.7rem; color: var(--ink-soft); font-family: var(--body); font-weight: 500; }
.nav { display: flex; flex-wrap: wrap; gap: 0.85rem 1.15rem; }
.nav a {
  color: var(--ink-soft); text-decoration: none; font-size: 0.92rem; font-weight: 600;
  position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -0.25rem;
  width: 0; height: 2px; background: var(--river);
  transition: width 0.35s var(--ease);
}
.nav a:hover::after, .nav a.is-on::after { width: 100%; }
.nav a:hover, .nav a.is-on { color: var(--ink); }
.nav-toggle {
  display: none; border: 2px solid var(--stone); background: var(--white);
  width: 2.6rem; height: 2.6rem; font-size: 1.1rem; cursor: pointer; color: var(--ink);
}
.lang { display: flex; gap: 0.25rem; margin-left: 0.4rem; }
.lang button {
  border: 1px solid var(--line); background: transparent; color: var(--ink-soft);
  font: 600 0.75rem var(--body); padding: 0.35rem 0.55rem; cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.lang button.is-on { background: var(--stone); color: var(--sand); border-color: var(--stone); }

.hero {
  position: relative; min-height: min(92vh, 780px);
  display: grid; align-items: end; color: var(--white);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  animation: hero-zoom 18s var(--ease) infinite alternate;
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(36, 48, 56, 0.82) 0%, rgba(36, 48, 56, 0.45) 48%, rgba(42, 157, 143, 0.28) 100%),
    linear-gradient(0deg, rgba(36, 48, 56, 0.75) 0%, transparent 55%);
}
.hero-copy {
  position: relative; z-index: 1;
  width: var(--wrap); margin: 0 auto;
  padding: 5.5rem 0 3.8rem;
  max-width: 36rem;
}
.brand {
  margin: 0 0 0.85rem;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--white);
  animation: brand-in 0.9s var(--ease) both;
}
.hero-lead { color: rgba(250, 247, 242, 0.9); font-size: 1.08rem; max-width: 32rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.4rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.35rem; border: 2px solid var(--river);
  background: var(--river); color: var(--white);
  font: 700 0.95rem var(--body); text-decoration: none;
  cursor: pointer; transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { background: var(--river-deep); border-color: var(--river-deep); color: var(--white); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; border-color: rgba(250, 247, 242, 0.65); color: var(--white);
}
.btn-ghost:hover { background: rgba(250, 247, 242, 0.12); border-color: var(--white); color: var(--white); }

.sec { padding: 4.2rem 0; }
.sec-alt {
  background:
    linear-gradient(180deg, rgba(222, 211, 195, 0.55), rgba(232, 223, 210, 0.35)),
    repeating-linear-gradient(90deg, transparent 0, transparent 48px, rgba(92, 107, 115, 0.04) 48px, rgba(92, 107, 115, 0.04) 49px);
}
.sec-stone {
  background: linear-gradient(135deg, var(--stone-deep) 0%, var(--stone) 55%, #6A7A82 100%);
  color: var(--sand);
}
.sec-stone .kicker { color: #8FD4CB; }
.sec-stone h2, .sec-stone h3 { color: var(--white); }
.sec-stone p, .sec-stone .lead { color: rgba(232, 223, 210, 0.88); }
.sec-stone .block {
  background: rgba(250, 247, 242, 0.08);
  border-left: 3px solid var(--river);
  padding: 1.1rem 1.15rem;
}
.sec-cta {
  background:
    linear-gradient(120deg, rgba(42, 157, 143, 0.18), transparent 50%),
    linear-gradient(180deg, var(--sand-2), var(--sand));
  border-block: 1px solid var(--line);
}
.cta-inner { text-align: left; max-width: 36rem; }

.page-hero {
  padding: 3.2rem 0 1.2rem;
  background:
    linear-gradient(100deg, rgba(92, 107, 115, 0.12), transparent 60%),
    linear-gradient(180deg, var(--paper), transparent);
  border-bottom: 3px solid var(--river);
}

.split {
  display: grid; gap: 2rem;
  grid-template-columns: 1.05fr 0.95fr; align-items: center;
}
.split figure, .gallery figure, .band-fig {
  margin: 0;
}
.split figcaption, .gallery figcaption, .band-fig figcaption {
  margin-top: 0.55rem; font-size: 0.88rem; color: var(--ink-soft);
}
.band-fig { margin-top: 2rem; }
.sec-stone .band-fig figcaption { color: rgba(232, 223, 210, 0.8); }

.grid-3 {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.5rem;
}
.block {
  padding: 0.2rem 0 0.2rem 1rem;
  border-left: 3px solid var(--river);
}

.steps { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.step-n {
  font-family: var(--display); font-weight: 800; font-size: 1.5rem;
  color: var(--river); letter-spacing: -0.03em; line-height: 1;
}

.gallery {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.5rem;
}
.gallery img, .split img, .band-fig img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.check-list {
  list-style: none; padding: 0; margin: 1.2rem 0 0;
  display: grid; gap: 0.7rem;
}
.check-list li {
  padding: 0.75rem 0.9rem 0.75rem 1.1rem;
  border-left: 3px solid var(--stone);
  background: rgba(250, 247, 242, 0.55);
}
.sec-stone .check-list li {
  background: rgba(250, 247, 242, 0.08);
  border-left-color: #8FD4CB;
  color: var(--sand);
}

.contact-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr 1fr;
}
.legend { margin: 0; }
.legend dt {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--river); margin-top: 1rem;
}
.legend dt:first-child { margin-top: 0; }
.legend dd { margin: 0.25rem 0 0; }

.faq { display: grid; gap: 1.2rem; margin-top: 1.3rem; }
.faq > div {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.form-wrap { max-width: 40rem; }
.form {
  display: grid; gap: 0.95rem;
  grid-template-columns: 1fr 1fr;
  margin-top: 1.2rem;
}
.form label { display: flex; flex-direction: column; gap: 0.35rem; font-weight: 600; font-size: 0.9rem; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  font: 500 1rem var(--body); color: var(--ink);
  border: 1px solid var(--line); background: var(--white);
  padding: 0.7rem 0.8rem; border-radius: 0;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid var(--river); outline-offset: 1px;
}
.form button { grid-column: 1 / -1; justify-self: start; }

.privacy-block h2 { margin-top: 1.8rem; font-size: 1.25rem; }
.privacy-block h2:first-child { margin-top: 0; }
.pv-back { margin-top: 2rem; }

.site-foot {
  background: var(--stone-deep);
  color: var(--sand);
  padding: 3rem 0 2.4rem;
  border-top: 4px solid var(--river);
}
.site-foot a { color: #A8D9D2; }
.site-foot a:hover { color: var(--white); }
.foot-grid {
  display: grid; gap: 1.8rem;
  grid-template-columns: 1.4fr 1fr 1fr;
}
.site-foot h3 { color: var(--white); font-size: 1rem; margin-bottom: 0.6rem; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 0.35rem; }
.ft_copy { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--white); }

.modal {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(36, 48, 56, 0.55);
  display: grid; place-items: center; padding: 1.2rem;
}
.modal[hidden] { display: none !important; }
.modal-panel {
  width: min(420px, 100%);
  background: var(--paper);
  border-top: 4px solid var(--river);
  padding: 1.6rem 1.4rem;
  box-shadow: 0 18px 48px rgba(36, 48, 56, 0.28);
}
.modal-panel h2 { margin-bottom: 0.5rem; }
.modal-panel p:empty, .modal-panel p[hidden] { display: none; }

.rise {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.rise.is-in { opacity: 1; transform: none; }

@keyframes hero-zoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}
@keyframes brand-in {
  from { opacity: 0; letter-spacing: 0.22em; transform: translateY(12px); }
  to { opacity: 1; letter-spacing: 0.08em; transform: none; }
}

@media (max-width: 900px) {
  .split, .grid-3, .gallery, .contact-grid, .foot-grid {
    grid-template-columns: 1fr;
  }
  .form { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
  .lang { margin-left: 0; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 1rem 1.2rem 1.2rem; flex-direction: column; gap: 0.75rem;
  }
  .nav.is-open { display: flex; }
  .site-head-inner { flex-wrap: wrap; position: relative; }
  .hero-copy { padding-top: 4.5rem; }
}
