:root {
  --bg: #f4f7f3;
  --bg-soft: #edf2e8;
  --ink: #1a2928;
  --muted: #4b5f5c;
  --brand: #186c62;
  --brand-strong: #0f4d4a;
  --brand-soft: #d4ece7;
  --accent: #d6a24a;
  --accent-soft: #f6edd8;
  --card: #ffffff;
  --line: #d7e2db;
  --shadow-soft: 0 14px 34px rgba(11, 42, 45, 0.08);
  --shadow-strong: 0 22px 48px rgba(11, 42, 45, 0.14);
  --radius-lg: 22px;
  --radius-md: 14px;
  --scroll-y: 0px;
  --hero-shift: 0px;
  --hero-bg-offset: 0px;
  --header-glow: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background:
    radial-gradient(circle at 8% -5%, rgba(214, 162, 74, 0.18), transparent 30%),
    radial-gradient(circle at 88% 3%, rgba(24, 108, 98, 0.17), transparent 34%),
    linear-gradient(180deg, #f8fbf8 0%, #f2f6f1 55%, #edf3ee 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  filter: blur(28px);
}

body::before {
  width: 340px;
  height: 340px;
  border-radius: 44% 56% 68% 32% / 36% 34% 66% 64%;
  background: rgba(24, 108, 98, 0.15);
  top: 22vh;
  left: -110px;
  transform: translate3d(0, calc(var(--scroll-y) * -0.03), 0);
  transition: transform 0.2s linear;
}

body::after {
  width: 290px;
  height: 290px;
  border-radius: 60% 40% 42% 58% / 50% 60% 40% 50%;
  background: rgba(214, 162, 74, 0.15);
  right: -90px;
  top: 62vh;
  transform: translate3d(0, calc(var(--scroll-y) * 0.02), 0);
  transition: transform 0.2s linear;
}

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2rem, 3.3vw, 3.25rem);
}

h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.4rem);
}

h3 {
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
}

a {
  color: var(--brand-strong);
}

a:hover {
  color: #0a3b38;
}

p {
  margin: 0 0 14px;
}

i.las,
i.lab {
  line-height: 1;
  font-size: 1.2em;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: #0e3f3a;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 150;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 8px;
  z-index: 90;
  margin-top: 0;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(245, 255, 252, 0.85);
  box-shadow: 0 12px 28px rgba(8, 31, 34, calc(0.12 + (var(--header-glow) * 0.08)));
  border-radius: 999px;
  padding: 10px 16px 10px 14px;
  transform: translate3d(0, calc(var(--scroll-y) * -0.004), 0);
  transition: min-height 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, transform 0.2s linear;
}

.brand {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand-strong);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 74px;
  height: auto;
  aspect-ratio: 612 / 408;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(24, 108, 98, 0.22));
  transition: width 0.25s ease;
}

.brand-text {
  line-height: 1.15;
  max-width: 200px;
}

.site-nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  transition: all 0.25s ease;
}

body.is-scrolled .header-row {
  min-height: 58px;
  padding: 6px 12px 6px 10px;
  box-shadow: 0 10px 22px rgba(8, 31, 34, 0.14);
  background: rgba(255, 255, 255, 0.92);
}

body.is-scrolled .brand-logo {
  width: 58px;
}

body.is-scrolled .brand-text {
  font-size: 0.98rem;
}

body.is-scrolled .site-nav a {
  padding: 4px 16.5px;
  font-size: 14px;
}

.site-nav a:hover {
  background: #e2f0ec;
  color: #0e4743;
  transform: translateY(-1px);
}

.site-nav a.is-active {
  background: linear-gradient(135deg, #1a6f65, #14564f);
  color: #fff;
  box-shadow: 0 10px 20px rgba(20, 86, 79, 0.25);
}

.menu-toggle {
  display: none;
}

.menu-toggle i {
  margin-right: 4px;
}

main {
  display: block;
  overflow: clip;
}

.hero {
  margin-top: -82px;
  padding: clamp(156px, 8vw, 92px) 0 clamp(70px, 8vw, 108px);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, calc(var(--hero-bg-offset) * 0.45), 0) scale(1.05);
  transition: transform 0.22s linear;
}

.hero::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background:
    linear-gradient(rgba(244, 251, 247, 0.64), rgba(246, 252, 248, 0.9)),
    radial-gradient(circle at 50% 10%, rgba(214, 162, 74, 0.2), transparent 44%),
    radial-gradient(circle at 5% 30%, rgba(24, 108, 98, 0.22), transparent 40%);
  z-index: 0;
  transform: translate3d(0, calc(var(--hero-shift) * 0.46), 0) scale(1.06);
  transition: transform 0.24s linear;
}

.hero-inner {
  z-index: 10;
  max-width: 840px;
  text-align: center;
  position: relative;
  transform: translate3d(0, calc(var(--hero-shift) * -0.36), 0);
  transition: transform 0.24s linear;
}

.hero-logo {
  transform: translate3d(0, calc(var(--hero-shift) * -0.52), 0) scale(calc(1 + (var(--hero-shift) / 2600)));
  transition: transform 0.24s linear;
}

.hero h1 {
  transform: translate3d(0, calc(var(--hero-shift) * -0.24), 0);
  transition: transform 0.24s linear;
}

.hero p,
.hero-actions {
  transform: translate3d(0, calc(var(--hero-shift) * -0.16), 0);
  transition: transform 0.24s linear;
}

.hero-logo {
  width: clamp(170px, 26vw, 250px);
  height: auto;
  aspect-ratio: 612 / 408;
  object-fit: contain;
  margin: 0 auto 22px;
  filter: drop-shadow(0 12px 26px rgba(15, 78, 72, 0.25));
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  margin-bottom: 12px;
  color: #103f3c;
}

.hero p {
  font-size: clamp(1.03rem, 1.65vw, 1.2rem);
  max-width: 760px;
  margin: 0 auto;
  color: #244744;
}

.hero-actions {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 30px;
}

.hero-mail {
  color: #1f5752;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.btn,
button {
  background: linear-gradient(135deg, #1a6f65, #14554e);
  color: #fff;
  border: 0;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 14px 24px rgba(10, 61, 57, 0.26);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(10, 61, 57, 0.34);
}

.btn:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(214, 162, 74, 0.6);
  outline-offset: 2px;
}

.section {
  padding: clamp(56px, 8vw, 90px) 0;
  position: relative;
  --section-progress: 0;
}

.section > .container {
  opacity: calc(0.68 + (var(--section-progress) * 0.32));
  transform: translate3d(0, calc((1 - var(--section-progress)) * 34px), 0);
  transition: opacity 0.22s linear, transform 0.22s linear;
}

.feature-card,
.card,
.stagger-panel,
.policy-box {
  transform: translate3d(0, calc((1 - var(--section-progress)) * 10px), 0);
  transition: transform 0.25s linear, box-shadow 0.24s ease, border-color 0.24s ease;
}

.section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110, 148, 143, 0.42), transparent);
}

.section:first-of-type::before {
  display: none;
}

.page-intro {
  max-width: 900px;
  margin: 0 0 26px;
  color: var(--muted);
}

.mt-xl {
  margin-top: 56px;
}

.section-soft {
  background:
    radial-gradient(circle at 84% 6%, rgba(214, 162, 74, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(229, 243, 237, 0.8), rgba(236, 246, 240, 0.86));
}

.section-online {
  background:
    radial-gradient(circle at 8% 84%, rgba(24, 108, 98, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(217, 234, 225, 0.44));
}

.section-heading {
  text-align: center;
  margin-bottom: 30px;
}

.section-heading h2,
.narrative-block h2,
.info-banner h2,
.info-copy h3,
.stagger-panel h3 {
  color: #21554f;
}

h1 i,
h2 i,
h3 i,
p strong i {
  color: var(--brand);
}

h1 > i,
h2 > i,
h3 > i,
h4 > i,
h5 > i,
h6 > i,
h1 > i + span,
h2 > i + span,
h3 > i + span,
h4 > i + span,
h5 > i + span,
h6 > i + span {
  display: inline-block;
  vertical-align: middle;
}

h1 > i + span,
h2 > i + span,
h3 > i + span,
h4 > i + span,
h5 > i + span,
h6 > i + span {
  margin-left: 8px;
}

.stagger-panel-brand h3 i,
.stagger-panel-brand p strong i {
  color: #fff;
}

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

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), #f8fcfa);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
  border-color: #bfd8ce;
}

.card ul {
  margin: 0;
  padding-left: 18px;
}

.card li {
  margin-bottom: 6px;
}

.card-frosted {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(7px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), #f2f9f6);
  border: 1px solid #d2e4da;
  border-radius: 24px;
  padding: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 14px 35px rgba(16, 54, 58, 0.1);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  right: 22px;
  top: 0;
  height: 4px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, #d6a24a, #1a6f65);
}

.feature-icon {
  width: 62px;
  height: 62px;
  margin-bottom: 4px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #226f66, #14524c);
  color: #fff;
  box-shadow: 0 14px 28px rgba(15, 109, 117, 0.24);
}

.feature-icon i {
  font-size: 1.85rem;
}

.feature-card a {
  margin-top: auto;
  color: #114f4b;
  text-decoration: none;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border: 1px solid #b7d4cb;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
}

.feature-card h3 {
  margin: 0;
}

.feature-card p {
  margin: 0;
  color: #355450;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: #b7d4cb;
  box-shadow: 0 20px 38px rgba(16, 54, 58, 0.16);
}

.feature-card a:hover {
  background: #ebf5f1;
}

.info-stack {
  display: grid;
  gap: 20px;
}

.info-banner,
.info-copy {
  text-align: center;
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid #d8e6df;
  box-shadow: var(--shadow-soft);
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(7px);
}

.info-banner a {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid #bdd7cd;
  border-radius: 999px;
  background: #f7fcfa;
}

.info-copy ul {
  margin: 16px auto 0;
  max-width: 760px;
  text-align: left;
}

.narrow {
  max-width: 820px;
}

.center-copy {
  text-align: center;
}

.narrative-block p {
  margin-bottom: 18px;
  color: var(--muted);
}

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

.stat-card {
  text-align: center;
}

.stat-card h3 {
  margin: 0 0 6px;
  font-size: 2rem;
  color: #265b55;
}

.stagger-panels-wrap {
  overflow: hidden;
}

.stagger-panels {
  display: grid;
  gap: 34px;
}

.stagger-panel {
  padding: 34px;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.stagger-panel-light {
  background: linear-gradient(180deg, #f8fcfa, #ecf4ef);
  width: 100%;
  max-width: 790px;
  margin: 0 auto;
  border: 1px solid #d9e5de;
}

.contact-hours-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  align-items: stretch;
}

.stagger-panel-brand {
  background: linear-gradient(165deg, #205f57, #113f3a);
  color: #fff;
}

.stagger-panel-brand h3 {
  color: #fff;
}

.stagger-panel-pale {
  background: linear-gradient(180deg, #f5faf7, #eaf4ef);
  border: 1px solid #d7e5dd;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.contact-content {
  display: grid;
  gap: 12px;
  align-content: start;
}

.contact-content p {
  margin: 0;
  padding: 0;
  color: var(--muted);
}

.policy-box {
  background: linear-gradient(180deg, #f7fcf9, #edf5f1);
  border: 1px solid #d5e3dc;
  border-radius: 16px;
  padding: 17px;
  box-shadow: var(--shadow-soft);
}

.policy-box h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.news-card .news-date {
  margin: 0 0 8px;
  color: #2e6a63;
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 11px;
  align-content: start;
  grid-auto-rows: min-content;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #d6e5de;
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
}

input,
textarea {
  width: 100%;
  padding: 12px 13px;
  border-radius: 12px;
  border: 1px solid #c7d9d1;
  font: inherit;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:hover,
textarea:hover {
  border-color: #a9c8be;
}

input:focus,
textarea:focus {
  border-color: #6ba99e;
  box-shadow: 0 0 0 4px rgba(24, 108, 98, 0.15);
}

textarea {
  min-height: 130px;
}

.site-footer {
  background:
    radial-gradient(circle at 10% 0%, rgba(214, 162, 74, 0.2), transparent 30%),
    linear-gradient(180deg, #0e3532, #0a2826);
  color: #d6ece8;
  padding: 34px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr;
  gap: 18px;
  align-items: start;
}

.footer-grid a {
  color: #f1d39d;
  text-decoration: none;
}

.footer-grid h3 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.social-boxes {
  display: grid;
  gap: 10px;
}

.social-box {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(217, 243, 241, 0.2);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease, transform 0.2s ease;
}

.social-box strong {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.social-box span {
  color: #b7ddd8;
  font-size: 0.92rem;
}

.social-box:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3, 22, 26, 0.64);
  padding: 24px;
  z-index: 99;
}

.modal.is-open {
  display: grid;
  place-items: center;
}

.modal-box {
  background: linear-gradient(180deg, #ffffff, #f6fbf9);
  border-radius: 16px;
  padding: 22px;
  width: min(560px, 95%);
  border: 1px solid #d3e2db;
  box-shadow: var(--shadow-strong);
  z-index: 100;
}

.modal-actions {
  margin-top: 14px;
}

.modal-close {
  float: right;
  background: #dce8e2;
  color: #0e2f35;
  box-shadow: none;
  border-radius: 10px;
  padding: 7px 10px;
}

#contact-result {
  margin-top: 4px;
  font-weight: 700;
}

#contact-result.ok {
  color: #0d7f35;
}

#contact-result.error {
  color: #b12e2e;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.is-ready .hero-inner {
  animation: heroLift 0.7s ease;
}

@keyframes heroLift {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

  .feature-grid,
  .contact-grid,
  .contact-hours-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stagger-panel-light {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .site-header {
    margin-top: 0;
  }

  .header-row {
    border-radius: 18px;
    min-height: 74px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e3efea;
    color: #184b45;
    box-shadow: none;
    border-radius: 10px;
    padding: 8px 10px;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 84px;
    right: 4%;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #d9e8e2;
    border-radius: 14px;
    flex-direction: column;
    padding: 10px;
    width: min(260px, 92%);
    box-shadow: 0 16px 30px rgba(14, 45, 48, 0.16);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  .hero {
    margin-top: 0;
    padding: 64px 0 68px;
  }

  .brand-logo {
    width: 52px;
  }

  .brand-text {
    font-size: 0.98rem;
    max-width: 156px;
  }

  .hero-logo {
    width: min(220px, 72vw);
  }

  .cards,
  .feature-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stagger-panel {
    padding: 24px;
  }
}

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

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }

  .hero::after,
  .hero-bg img,
  .hero-inner,
  .hero-logo,
  .hero h1,
  .hero p,
  .hero-actions,
  .header-row,
  .section > .container,
  .feature-card,
  .card,
  .stagger-panel,
  .policy-box,
  body::before,
  body::after {
    transform: none !important;
    transition: none !important;
  }
}

body.motion-reduced .hero::after,
body.motion-reduced .hero-bg img,
body.motion-reduced .hero-inner,
body.motion-reduced .hero-logo,
body.motion-reduced .hero h1,
body.motion-reduced .hero p,
body.motion-reduced .hero-actions,
body.motion-reduced .header-row,
body.motion-reduced .section > .container,
body.motion-reduced .feature-card,
body.motion-reduced .card,
body.motion-reduced .stagger-panel,
body.motion-reduced .policy-box,
body.motion-reduced::before,
body.motion-reduced::after {
  transform: none !important;
}

.btn:hover {
  color: #fff !important;
}