:root {
  --paper: #fbfff8;
  --milk: #f4faef;
  --mint: #dff0d2;
  --mint-strong: #93cf74;
  --green: #214c39;
  --green-2: #316b4d;
  --leaf: #629b55;
  --clay: #c56555;
  --ink: #173326;
  --muted: #607263;
  --line: rgba(33, 76, 57, 0.16);
  --glass: rgba(255, 255, 255, 0.76);
  --shadow: 0 22px 60px rgba(33, 76, 57, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(147, 207, 116, 0.22), transparent 26rem),
    linear-gradient(180deg, var(--paper), #f7fbf2 38%, #edf7e8);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(197, 101, 85, 0.6);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 20;
  padding: 12px 16px;
  background: var(--green);
  color: white;
  border-radius: var(--radius);
  transform: translateY(-150%);
  pointer-events: none;
}

.skip-link:focus-visible {
  transform: translateY(0);
  pointer-events: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 12;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 74px;
  padding: 10px clamp(16px, 4vw, 58px);
  background: rgba(251, 255, 248, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  gap: 10px;
  text-decoration: none;
}

.brand-glasses {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.brand-glasses::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 50%;
  width: 10px;
  height: 2px;
  background: var(--green);
  transform: translateY(-50%);
}

.brand-glasses::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 4px;
  border-radius: 999px;
  background: var(--clay);
}

.brand-glasses span {
  width: 22px;
  height: 15px;
  border: 3px solid var(--green);
  border-radius: 999px;
}

.brand-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.6vw, 1.42rem);
  letter-spacing: 0;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
}

.nav-links a,
.mobile-menu a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links a:hover,
.mobile-menu a:hover {
  color: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.lang-switch {
  display: flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.lang-switch button {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--green);
  font-weight: 800;
  cursor: pointer;
}

.lang-switch button.is-active {
  color: white;
  background: var(--green);
}

.header-phone {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid var(--green);
  border-radius: 999px;
  color: var(--green);
  text-decoration: none;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  cursor: pointer;
}

.menu-line,
.menu-line::before,
.menu-line::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--green);
  transition: transform 220ms ease, opacity 220ms ease;
}

.menu-line::before,
.menu-line::after {
  content: "";
}

.menu-line::before {
  transform: translateY(-7px);
}

.menu-line::after {
  transform: translateY(5px);
}

.menu-toggle[aria-expanded="true"] .menu-line {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-line::before {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-line::after {
  transform: translateY(-2px) rotate(-90deg);
}

.mobile-menu {
  position: absolute;
  left: clamp(16px, 4vw, 58px);
  right: clamp(16px, 4vw, 58px);
  top: calc(100% + 8px);
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 255, 248, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  clip-path: inset(0 0 100% 0);
  transition: opacity 220ms ease, visibility 220ms ease, clip-path 220ms ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  clip-path: inset(0);
}

.hero {
  position: relative;
  min-height: calc(100svh - 74px);
  display: grid;
  align-items: center;
  padding: clamp(62px, 8vw, 108px) clamp(18px, 5vw, 84px);
  isolation: isolate;
  overflow: clip;
}

.hero-img {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(251, 255, 248, 0.96) 0%, rgba(251, 255, 248, 0.85) 37%, rgba(251, 255, 248, 0.22) 72%),
    linear-gradient(180deg, rgba(251, 255, 248, 0.05), rgba(238, 247, 232, 0.58));
}

.focus-ring {
  position: absolute;
  z-index: -1;
  width: min(28vw, 380px);
  aspect-ratio: 1;
  right: 13vw;
  top: 18vh;
  border: 1px solid rgba(33, 76, 57, 0.32);
  border-radius: 999px;
  box-shadow: inset 0 0 34px rgba(255, 255, 255, 0.54), 0 0 0 22px rgba(223, 240, 210, 0.22);
  animation: focusDrift 7.8s ease-in-out infinite;
}

.hero-content {
  width: min(650px, 92vw);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--green-2);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  line-height: 0.96;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(4rem, 11vw, 9.8rem);
  color: var(--green);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 5.3vw, 5.7rem);
  color: var(--green);
  max-width: 920px;
}

h3 {
  margin-bottom: 10px;
  color: var(--green);
  font-size: clamp(1.18rem, 1.7vw, 1.55rem);
  line-height: 1.08;
}

.hero-copy {
  max-width: 520px;
  margin-bottom: 30px;
  color: #3f5146;
  font-size: clamp(1.08rem, 2vw, 1.4rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--green);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
}

.btn.primary {
  background: var(--green);
  color: white;
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.76);
  color: var(--green);
}

.btn.ghost {
  background: transparent;
  color: var(--green);
}

.visit-note {
  max-width: 470px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.fact-strip div {
  min-height: 112px;
  display: grid;
  align-content: center;
  padding: 22px clamp(18px, 4vw, 60px);
  border-right: 1px solid var(--line);
}

.fact-strip div:last-child {
  border-right: 0;
}

.fact-strip span,
.service-card span,
.contact-list dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.fact-strip strong {
  margin-top: 7px;
  color: var(--green);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.section-pad {
  padding: clamp(76px, 9vw, 132px) clamp(18px, 5vw, 84px);
}

.intro {
  display: grid;
  grid-template-columns: 0.78fr 1.35fr;
  gap: clamp(32px, 7vw, 94px);
  align-items: start;
}

.intro p {
  max-width: 630px;
  color: #45584b;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--green);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 8px;
}

.service-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 420px;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 14px 38px rgba(33, 76, 57, 0.08);
}

.service-card.large {
  grid-row: span 2;
  min-height: 858px;
}

.service-card img {
  grid-area: 1 / 1 / -1 / -1;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.service-card.large img {
  min-height: 560px;
}

.service-card div {
  grid-area: 1 / 1 / -1 / -1;
  align-self: end;
  position: relative;
  z-index: 1;
  padding: clamp(20px, 3vw, 34px);
  background: linear-gradient(180deg, rgba(15, 41, 30, 0), rgba(15, 41, 30, 0.82) 42%, rgba(15, 41, 30, 0.94));
  color: white;
}

.service-card div::before {
  content: "";
  position: absolute;
  inset: auto 18px 18px 18px;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.service-card h3,
.service-card p,
.service-card span {
  color: white;
}

.service-card p {
  max-width: 34rem;
  text-shadow: 0 1px 10px rgba(15, 41, 30, 0.34);
}

.steps p,
.faq p,
.contacts p {
  color: #506256;
}

.visit {
  background:
    linear-gradient(135deg, rgba(223, 240, 210, 0.86), rgba(251, 255, 248, 0.96)),
    radial-gradient(circle at 82% 20%, rgba(197, 101, 85, 0.1), transparent 20rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.steps article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
}

.steps span {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 30px;
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 960px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

summary {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  color: var(--green);
  font-weight: 900;
  cursor: pointer;
}

summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--mint);
}

details[open] summary::after {
  content: "−";
}

details p {
  max-width: 760px;
  margin: 0;
  padding: 0 20px 22px;
}

.contacts {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 78px);
  align-items: stretch;
}

.contact-copy {
  align-self: center;
}

.contact-copy p {
  max-width: 560px;
  font-size: 1.08rem;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 30px 0 0;
}

.contact-list div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.contact-list dt,
.contact-list dd {
  margin: 0;
}

.contact-list dd {
  margin-top: 5px;
  color: var(--green);
  font-weight: 850;
}

.contact-list dd a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.map-wrap {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--milk);
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-fallback {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  max-width: calc(100% - 36px);
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 255, 248, 0.94);
  color: var(--green);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 84px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer p {
  margin: 0;
}

.float-action {
  position: fixed;
  z-index: 11;
  bottom: calc(18px + env(safe-area-inset-bottom));
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(33, 76, 57, 0.2);
  text-decoration: none;
  font-weight: 950;
  cursor: pointer;
}

.whatsapp {
  left: calc(18px + env(safe-area-inset-left));
  background: #2b8a61;
  color: white;
}

.to-top {
  right: calc(18px + env(safe-area-inset-right));
  background: white;
  color: var(--green);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@keyframes focusDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-24px, 18px, 0) scale(1.05); }
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-links {
    display: none;
  }

  .header-actions {
    justify-self: end;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .header-phone span:last-child {
    display: none;
  }

  .header-phone {
    width: 48px;
    padding: 0;
    justify-content: center;
  }

  .intro,
  .contacts {
    grid-template-columns: 1fr;
  }

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

  .service-card.large {
    min-height: 560px;
  }

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

  .map-wrap {
    min-height: 430px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    padding: 9px 14px;
  }

  .brand-text {
    font-size: 1.02rem;
  }

  .brand-glasses span {
    width: 19px;
    height: 14px;
    border-width: 2px;
  }

  .brand-glasses::before {
    left: 18px;
  }

  .lang-switch button {
    min-width: 44px;
    min-height: 44px;
  }

  .header-phone {
    display: none;
  }

  .mobile-menu {
    left: 14px;
    right: 14px;
  }

  .hero {
    min-height: auto;
    padding: 46px 24px 24px;
    align-items: start;
  }

  .hero-img {
    position: relative;
    z-index: -1;
    order: 2;
    height: min(72vw, 360px);
    margin-top: 28px;
    border-radius: var(--radius);
    object-position: 60% center;
    box-shadow: var(--shadow);
  }

  .hero-scrim {
    background: linear-gradient(180deg, rgba(251, 255, 248, 0.98), rgba(251, 255, 248, 0.86));
  }

  .focus-ring {
    width: 220px;
    right: -52px;
    top: 146px;
    opacity: 0.64;
  }

  .hero-content {
    display: contents;
  }

  .hero-content > * {
    position: relative;
    z-index: 1;
  }

  h1 {
    font-size: clamp(3.25rem, 19vw, 5.4rem);
    margin-bottom: 18px;
  }

  h2 {
    font-size: clamp(2.25rem, 12vw, 3.4rem);
  }

  .hero-copy {
    font-size: 1.04rem;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
  }

  .btn {
    flex: 1 1 150px;
    min-height: 52px;
  }

  .visit-note {
    font-size: 0.86rem;
  }

  .fact-strip {
    grid-template-columns: 1fr;
  }

  .fact-strip div {
    min-height: 88px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fact-strip div:last-child {
    border-bottom: 0;
  }

  .section-pad {
    padding: 70px 24px;
  }

  .section-head {
    display: block;
  }

  .service-grid {
    display: flex;
    gap: 14px;
    margin-left: -24px;
    margin-right: -24px;
    padding: 0 24px 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .service-card,
  .service-card.large {
    flex: 0 0 min(86vw, 360px);
    min-height: 520px;
    scroll-snap-align: start;
  }

  .service-card img,
  .service-card.large img {
    min-height: 280px;
  }

  .steps article {
    min-height: auto;
    padding: 22px;
  }

  summary {
    align-items: flex-start;
    min-height: 60px;
  }

  .map-wrap {
    min-height: 360px;
  }

  .footer {
    display: grid;
    padding-bottom: 88px;
  }
}

@media (max-width: 360px) {
  .brand-text {
    font-size: 0.95rem;
  }

  .lang-switch button {
    min-width: 44px;
  }

  .hero,
  .section-pad {
    padding-left: 18px;
    padding-right: 18px;
  }

  .service-grid {
    margin-left: -18px;
    margin-right: -18px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .btn {
    flex-basis: 100%;
  }
}

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