:root {
  color-scheme: light;
  --ivory: #f3f2ec;
  --paper: rgba(250, 249, 244, .97);
  --forest: #263f3b;
  --forest-dark: #203735;
  --slate: #344c50;
  --line: rgba(46, 75, 81, .24);
  --shadow: 0 18px 55px rgba(32, 57, 58, .14);
  --field: #fffdf6;
  --footer: rgba(233, 240, 238, .96);
  --footer-deep: #dfe8e5;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ivory: #102c25;
  --paper: rgba(16, 44, 37, .96);
  --forest: #f4f0e5;
  --forest-dark: #f4f0e5;
  --slate: #d2d9d3;
  --line: rgba(244, 240, 229, .24);
  --shadow: 0 18px 55px rgba(0, 0, 0, .28);
  --field: #25483f;
  --footer: rgba(16, 44, 37, .94);
  --footer-deep: #0d211a;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; background: var(--ivory); }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--forest);
  background: var(--ivory);
  font-family: "Libre Franklin", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, textarea { font: inherit; }
[hidden] { display: none !important; }

.site-shell { min-height: 100vh; overflow: hidden; }
.site-header {
  position: relative;
  z-index: 5;
  background: rgba(239, 244, 241, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
html[data-theme="dark"] .site-header { background: rgba(16, 44, 37, .94); }
.header-inner {
  width: min(100%, 1240px);
  min-height: 4.6rem;
  margin: 0 auto;
  padding: .85rem clamp(1.1rem, 3vw, 2.4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand-wordmark {
  color: var(--forest);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;
  white-space: nowrap;
}
.header-controls { display: flex; align-items: center; gap: 1rem; }
.desktop-nav, .language-switch { display: flex; align-items: center; }
.desktop-nav { gap: 1.65rem; }
.nav-link {
  color: var(--forest);
  font-size: .78rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.nav-link:hover, .nav-link:focus-visible { text-decoration: underline; text-underline-offset: .25rem; }
.language-switch { gap: .55rem; color: var(--slate); font-size: .72rem; }
.language-link { color: inherit; text-decoration: none; }
.language-link[aria-current="page"] { color: var(--forest); font-weight: 700; }
.icon-control {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  color: var(--forest);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}
.icon-control svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.menu-trigger { display: none; }
.mobile-menu { display: none; }
html[data-theme="dark"] .sun-icon { display: none; }
html[data-theme="light"] .moon-icon { display: none; }

.forest-stage {
  position: relative;
  isolation: isolate;
  min-height: min(54rem, calc(100svh - 4.6rem));
  display: flex;
  align-items: center;
  padding: 3.25rem clamp(1.1rem, 5vw, 4.5rem);
  background: #dce9ed;
}
.forest-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}
.forest-wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, rgba(243, 242, 236, .9) 0%, rgba(224, 235, 237, .72) 47%, rgba(41, 76, 84, .34) 100%);
}
html[data-theme="dark"] .forest-wash {
  background: linear-gradient(105deg, rgba(19, 39, 32, .88) 0%, rgba(27, 51, 42, .75) 48%, rgba(18, 37, 30, .56) 100%);
}
.hero-layout {
  width: min(100%, 1120px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  align-items: end;
  gap: clamp(1.7rem, 5vw, 5rem);
}
.hero-copy {
  max-width: 660px;
  padding: 1.25rem;
  color: var(--forest);
  background: var(--paper);
  border: 1px solid rgba(244, 240, 229, .62);
  border-radius: 8px;
  animation: rise .7s ease-out both;
}
.eyebrow {
  margin: 0 0 .85rem;
  color: var(--slate);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .16em;
}
.hero-title {
  max-width: 630px;
  margin: 0;
  color: var(--forest);
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.7rem;
  font-weight: 500;
  line-height: 1.05;
}
.english-home .hero-title { font-size: 2.25rem; }
.mobile-break { display: none; }
.hero-services {
  max-width: 610px;
  margin: 1.25rem 0 0;
  color: var(--forest);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
}
.hero-description {
  max-width: 600px;
  margin: .8rem 0 0;
  color: var(--slate);
  font-size: .94rem;
  line-height: 1.75;
}
.booking-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  margin-left: .3rem;
  padding: .18rem .5rem;
  color: var(--ivory);
  background: var(--forest);
  border: 1px solid var(--forest);
  border-radius: 999px;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-decoration: none;
  vertical-align: baseline;
  white-space: nowrap;
  transition: transform .18s ease, opacity .18s ease;
}
.booking-link:hover { transform: translateY(-1px); opacity: .9; }
.booking-icon { width: .75rem; height: .75rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-intro {
  width: 100%;
  transform: translateY(-2.5rem);
}
.quote-intro {
  margin: 0 0 1.15rem;
  color: var(--forest-dark);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.32;
  animation: quote-rise .85s .18s ease-out both;
}
.quote-accent {
  display: inline-block;
  overflow: hidden;
  color: #8a4b12;
  white-space: nowrap;
  clip-path: inset(0 100% 0 0);
  animation: write-on 2s steps(20, end) 2s forwards;
}
html[data-theme="dark"] .quote-accent { color: #f2c46d; }
.form-panel {
  padding: 1.35rem;
  color: var(--forest);
  background: var(--paper);
  border: 1px solid rgba(244, 240, 229, .62);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(9px);
  animation: rise .75s .12s ease-out both;
}
.form-title {
  margin: 0 0 .85rem;
  color: var(--forest);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
}
.form-field { margin-bottom: .8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.field-label {
  display: block;
  margin-bottom: .36rem;
  color: var(--forest);
  font-size: .75rem;
  font-weight: 700;
}
.required-marker { color: #8a4b12; }
html[data-theme="dark"] .required-marker { color: #f2c46d; }
.field-control {
  width: 100%;
  padding: .66rem .75rem;
  color: var(--forest);
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: .84rem;
}
.field-control:focus-visible { outline: 3px solid rgba(138, 75, 18, .28); border-color: #8a4b12; }
textarea.field-control { min-height: 76px; resize: vertical; }
.message-helper, .privacy-note { display: block; color: var(--slate); font-size: .68rem; line-height: 1.5; }
.message-helper { margin: .38rem 0 .65rem; }
.privacy-note { margin: .75rem 0 0; }
.submit-button {
  width: 100%;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .65rem 1rem;
  color: var(--ivory);
  background: var(--forest);
  border: 1px solid var(--forest);
  border-radius: 999px;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  transition: transform .18s ease, opacity .18s ease;
}
.submit-button:hover { transform: translateY(-1px); opacity: .9; }
.submit-button:disabled { cursor: wait; opacity: .65; transform: none; }
.submit-icon { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.form-status { margin: .75rem 0 0; padding: .7rem; border-radius: 5px; font-size: .75rem; line-height: 1.5; }
.status-success { color: #174d36; background: #dfeadd; }
.status-error { color: #793629; background: #f7e4dc; }
html[data-theme="dark"] .status-success { color: #d6f0dc; background: #25483f; }
html[data-theme="dark"] .status-error { color: #ffe0d6; background: #5c352d; }

.site-footer {
  min-height: 4.75rem;
  position: relative;
  z-index: 1;
  background: var(--footer);
  color: var(--forest);
}
.footer-wave {
  position: absolute;
  top: -1.9rem;
  left: -5%;
  width: 110%;
  height: 3rem;
  overflow: hidden;
  background:
    radial-gradient(70% 100% at 13% 100%, var(--footer) 0 72%, transparent 73%),
    radial-gradient(62% 92% at 47% 100%, var(--footer) 0 74%, transparent 75%),
    radial-gradient(72% 105% at 84% 100%, var(--footer) 0 72%, transparent 73%);
  pointer-events: none;
}
.footer-wave::before,
.footer-wave::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--footer);
  pointer-events: none;
}
.footer-wave::before {
  width: 58%;
  height: 2.35rem;
  left: -4%;
  bottom: -.95rem;
  transform: rotate(-3deg);
}
.footer-wave::after {
  width: 54%;
  height: 2.2rem;
  right: -3%;
  bottom: -.85rem;
  transform: rotate(3.2deg);
}
html[data-theme="light"] .footer-wave {
  background:
    radial-gradient(70% 100% at 13% 100%, var(--footer) 0 72%, transparent 73%),
    radial-gradient(62% 92% at 47% 100%, var(--footer-deep) 0 74%, transparent 75%),
    radial-gradient(72% 105% at 84% 100%, var(--footer) 0 72%, transparent 73%);
}
.footer-content {
  position: relative;
  z-index: 1;
  min-height: 4.75rem;
  padding: 1rem 2rem .6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: .55rem;
  font-family: "Jost", sans-serif;
  text-align: center;
}
.footer-content p {
  margin: 0;
  color: var(--forest);
  font-size: .56rem;
  font-weight: 400;
  letter-spacing: .13em;
}
.footer-content p:last-child {
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .09em;
}
.footer-content span { margin: 0 .65rem; }
:focus-visible { outline-offset: 3px; }

@keyframes rise {
  from { opacity: 0; transform: translateY(13px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes quote-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes write-on { to { clip-path: inset(0); } }

@media (max-width: 900px) {
  .desktop-nav, .language-switch { display: none; }
  .menu-trigger { display: inline-grid; }
  .mobile-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 10;
    padding: .9rem clamp(1.1rem, 3vw, 2.4rem) 1rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu.is-open { display: grid; gap: .85rem; }
  .mobile-languages { display: flex; gap: 1rem; padding-top: .25rem; }
  .hero-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-copy { max-width: 720px; }
  .contact-intro { max-width: 580px; transform: none; }
  .forest-stage { min-height: auto; }
}

@media (max-width: 600px) {
  .header-inner { min-height: 4.1rem; }
  .brand-wordmark { font-size: .74rem; letter-spacing: .09em; }
  .header-controls { gap: .65rem; }
  .forest-stage { padding: 2rem 1rem 2.5rem; }
  .forest-image { object-position: center 55%; }
  .forest-wash { background: linear-gradient(180deg, rgba(243, 242, 236, .56), rgba(243, 242, 236, .38)); }
  .hero-copy, .form-panel { background: rgba(250, 249, 244, .86); }
  html[data-theme="dark"] .forest-wash { background: linear-gradient(180deg, rgba(19, 39, 32, .62), rgba(27, 51, 42, .48)); }
  html[data-theme="dark"] .hero-copy, html[data-theme="dark"] .form-panel { background: rgba(22, 54, 45, .88); }
  .hero-copy { padding: 1rem; }
  .hero-title { font-size: 1.35rem; }
  .english-home .hero-title { font-size: 1.15rem; }
  .desktop-break { display: none; }
  .mobile-break { display: initial; }
  .hero-services { font-size: 1rem; }
  .hero-description { font-size: .9rem; }
  .quote-intro { font-size: 1.25rem; }
  .form-panel { padding: 1rem; }
}

@media (max-width: 40rem) {
  .footer-wave { top: -1.5rem; height: 2.5rem; }
  .forest-stage { padding-bottom: 4rem; }
  .site-footer { z-index: 3; }
  .site-footer, .footer-content { min-height: 6rem; }
  .footer-content { padding: .75rem 1rem .55rem; }
  .footer-content p:first-child { max-width: 18rem; font-size: .52rem; line-height: 1.45; }
  .footer-content p:last-child { width: min(100%, 22rem); font-size: .62rem; line-height: 1.6; letter-spacing: .04em; }
  .footer-content p:last-child .footer-phone { display: block; margin: .35rem 0; }
  .footer-content p:last-child > span[aria-hidden="true"] { display: none; }
}

@media (max-width: 380px) {
  .forest-stage { padding-inline: .65rem; }
  .hero-copy { padding: .65rem; }
  .hero-title { font-size: 1.2rem; }
  .english-home .hero-title { font-size: 1rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .quote-accent { clip-path: none; }
}
