:root {
  --bg: #f7f4ef;
  --bg-alt: #f3efe8;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #ffffff;
  --text: #20242b;
  --muted: #5f6773;
  --line: #e6ded2;
  --accent: #5C9688;
  --accent-strong: #244d43;
  --shadow: 0 18px 40px rgba(33, 37, 41, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1160px;
  --section-space: clamp(64px, 8vw, 104px);
  --hero-space: clamp(80px, 11vw, 138px);
  --nav-height: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.8), transparent 32%),
    linear-gradient(180deg, #faf8f4 0%, var(--bg) 100%);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
p { margin: 0 0 1.15rem; }
ul { margin: 0; padding-left: 1.25rem; }
li { margin-bottom: 0.72rem; }

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 239, 0.74);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(230, 222, 210, 0.72);
}

.header-inner {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfaf7, #edf5f2);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  color: var(--accent-strong);
  letter-spacing: 0.08em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-text strong {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.76);
  color: var(--text);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(33, 37, 41, 0.08);
  transition: transform 240ms ease, background-color 240ms ease, border-color 240ms ease;
}

.nav-toggle:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.92);
}

.nav-toggle:focus-visible {
  outline: 2px solid rgba(92,150,136,0.42);
  outline-offset: 3px;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 240ms ease, opacity 240ms ease;
}

.nav-toggle-bar {
  position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 240ms ease, background-color 240ms ease, transform 240ms ease;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  color: var(--accent-strong);
  background: rgba(92,150,136,0.08);
}

.nav-menu a:hover { transform: translateY(-1px); }

.main {
  flex: 1;
}

.hero {
  padding: var(--hero-space) 0 calc(var(--section-space) * 0.8);
}

.hero-grid,
.split-grid,
.two-col,
.contact-grid {
  display: grid;
  gap: 28px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.74);
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.65;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.55rem, 6vw, 4.85rem);
  max-width: 11ch;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  margin-bottom: 24px;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  margin-bottom: 12px;
}

.lead {
  font-size: clamp(1.03rem, 1.25vw, 1.14rem);
  color: var(--muted);
  max-width: 60ch;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 240ms ease, background-color 240ms ease, border-color 240ms ease, color 240ms ease, box-shadow 240ms ease;
}

.button:hover { transform: translateY(-1px); }

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
}

.button-primary:hover { background: var(--accent-strong); }

.button-secondary {
  background: rgba(255,255,255,0.78);
  border-color: rgba(92,150,136,0.18);
  color: var(--text);
}

.card,
.placeholder,
.info-panel,
.feature-card,
.quote-card,
.contact-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.card,
.info-panel,
.quote-card,
.contact-card {
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 34px);
}

.placeholder {
  border-radius: clamp(24px, 4vw, 36px);
  overflow: hidden;
  position: relative;
  min-height: 420px;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.95), rgba(243, 239, 232, 0.9)),
    linear-gradient(180deg, rgba(154,141,122,0.22), rgba(154,141,122,0.08));
}

.placeholder::before,
.placeholder::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(92,150,136,0.10);
  filter: blur(0.5px);
}

.placeholder::before {
  width: 180px;
  height: 180px;
  right: -40px;
  top: -20px;
}

.placeholder::after {
  width: 220px;
  height: 220px;
  left: -70px;
  bottom: -80px;
}

.placeholder-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
}

.placeholder-badge {
  align-self: flex-start;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.86);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

.placeholder-note {
  max-width: 25ch;
  color: var(--muted);
  font-size: 0.95rem;
}

.placeholder-ratio {
  font-size: 0.88rem;
  color: var(--accent-strong);
}

.section {
  padding: 0 0 var(--section-space);
}

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

.section-head p {
  color: var(--muted);
  max-width: 52ch;
  margin: 0;
}

.split-grid { grid-template-columns: 1fr 1fr; }
.two-col { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
.contact-grid { grid-template-columns: 1fr 0.88fr; align-items: start; }

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

.feature-card {
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 280ms ease, background-color 280ms ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  background: rgba(92,150,136,0.05);
}

.feature-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.feature-card p,
.info-panel p,
.quote-card p,
.contact-card p,
.card p,
.card li,
.text-block p,
.text-block li {
  color: var(--muted);
}

.text-block {
  display: grid;
  gap: 18px;
}

.text-panel {
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.62);
}

.soft-divider {
  width: 100%;
  height: 1px;
  margin: 8px 0 4px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.quote-card {
  position: relative;
}

.quote-card::before {
  content: "“";
  position: absolute;
  top: 16px;
  right: 22px;
  font-size: 4rem;
  line-height: 1;
  color: rgba(92,150,136,0.18);
}

.list-clean {
  list-style: none;
  padding: 0;
}

.list-clean li {
  position: relative;
  padding-left: 26px;
}

.list-clean li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(92,150,136,0.78);
  transform: translateY(-50%);
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.contact-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  background: rgba(255,255,255,0.65);
}

.contact-item small {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  margin-bottom: 5px;
}

.contact-item strong,
.contact-item a {
  font-size: 1rem;
  font-weight: 500;
}

.page-hero {
  padding: calc(var(--hero-space) * 0.78) 0 calc(var(--section-space) * 0.62);
}

.page-hero-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.8fr);
  align-items: center;
}

.page-hero .lead {
  max-width: 56ch;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 38px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.fade-up {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 760ms ease forwards;
}
.fade-delay-1 { animation-delay: 120ms; }
.fade-delay-2 { animation-delay: 220ms; }
.fade-delay-3 { animation-delay: 320ms; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 980px) {
  :root {
    --nav-height: 74px;
  }

  .hero-grid,
  .split-grid,
  .two-col,
  .contact-grid,
  .page-hero-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    gap: 6px;
  }

  h1 { max-width: none; }

  .placeholder {
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 12px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .brand {
    min-width: 0;
  }

  .brand-text strong {
    font-size: 0.96rem;
  }

  .brand-text span {
    font-size: 0.84rem;
  }

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

  .nav-menu {
    width: 100%;
    grid-column: 1 / -1;
    display: grid;
    gap: 8px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    margin-top: 0;
    padding: 0;
    transform: translateY(-6px);
    transition: max-height 320ms ease, opacity 240ms ease, transform 240ms ease, margin-top 240ms ease, padding 240ms ease;
  }

  .site-header.menu-open .nav-menu {
    max-height: 420px;
    opacity: 1;
    pointer-events: auto;
    margin-top: 14px;
    padding: 14px;
    transform: translateY(0);
    border: 1px solid rgba(92,150,136,0.16);
    border-radius: 24px;
    background: rgba(255,255,255,0.88);
    box-shadow: 0 18px 36px rgba(33, 37, 41, 0.08);
  }

  .nav-menu a {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 14px;
    border-radius: 16px;
    min-height: 48px;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 22px), var(--container));
  }

  .card,
  .info-panel,
  .quote-card,
  .contact-card,
  .text-panel,
  .feature-card {
    padding: 22px;
  }

  .placeholder-inner {
    padding: 22px;
  }

  .placeholder {
    min-height: 310px;
  }

  h1 {
    font-size: clamp(2.15rem, 10vw, 3.1rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.45rem);
  }
}


.contact-item a:hover,
.footer-inner a:hover,
.feature-card a:hover{
  color: var(--accent-strong);
}
