/* Public page presentation, loaded after the existing shared stylesheet. */
body {
  --gut: clamp(16px, 4vw, 48px);
  --header-height: 64px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 12px;
  --border: #e0e9e4;
  --border-light: #e8efeb;
  --duration: 160ms;
  --shadow-sm: 0 3px 12px rgb(15 42 36 / 6%);
  --shadow: 0 8px 24px rgb(15 42 36 / 8%);
}

.site-main { background: #fff; }
.site-main > :is(.section, .about-section):nth-of-type(even) { background: #f3f6f3; }
.site-main > :is(.section, .about-section) { padding-block: clamp(28px, 4.5vw, 64px); }
.site-main .section-head { margin-bottom: clamp(22px, 3vw, 38px); }
.site-main :is(h1, h2, h3, h4, h5) { overflow-wrap: anywhere; }
.site-main :is(.article-body, .product-detail-content, .product-side-card) { overflow-wrap: anywhere; }
.site-main .article-body { line-height: 1.72; }

nav.main { background: #fff; box-shadow: none; }
nav.main.scrolled { background: rgb(255 255 255 / 98%); }
nav.main .nav-bar-top { padding-inline: 0; }
.nav-list > li > a { border-radius: var(--radius); }
.nav-list > li > a.is-active { background: #f0f8f3; color: #2a664d; }
.menu-toggle { min-width: 44px; min-height: 44px; border-radius: var(--radius); }
.mobile-menu {
  padding: calc(var(--header-height) + 16px) var(--gut) 24px;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  background: #f3f6f3;
  transition-duration: 220ms;
}
.mobile-menu ul { gap: 5px; }
.mobile-menu li a {
  min-height: 44px;
  padding: 10px 14px;
  background: #fff;
  font-size: clamp(0.95rem, 3.8vw, 1.125rem);
}

.hero, .page-header { background: #152b22; }
.hero::before, .hero::after, .page-header::before, .page-header::after { opacity: 0.12; }
.hero { padding-block: clamp(32px, 6vw, 88px); }
.page-home .hero-grid { gap: 26px; }
.hero-left h1 {
  font-size: clamp(2rem, 8.6vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}
.hero-left p { line-height: 1.62; margin-bottom: 22px; }
.hero-tag { margin-bottom: 16px; }
.hero-stats { margin-top: 24px; padding-top: 18px; }
.hero-stats .item b { font-size: clamp(1.2rem, 3vw, 1.9rem); }
.hero-stats .item:first-child b { font-size: clamp(1.2rem, 2.4vw, 1.9rem) !important; }
.hero-right { min-height: 0; }
.hero-image-card { aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.hero-image-card img { object-position: center 42%; }
.page-header { padding-block: clamp(28px, 4.8vw, 64px); }
.page-header h1 { font-size: clamp(1.9rem, 6.2vw, 3.45rem); }
.page-header .lead, .page-header .lede { line-height: 1.6; }

.btn {
  border-radius: var(--radius);
  min-height: 44px;
  padding: 9px 14px;
  gap: 10px;
  white-space: normal;
}
.btn-arr { flex-shrink: 0; }
:is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid #1f6b57;
  outline-offset: 3px;
}
:is(.hero, .site-footer, .page-header) :is(a, button):focus-visible { outline-color: #c9dccf; }

.site-main :is(.service-card, .team-card, .blog-card, .process-card, .method-card,
.product-side-card, .testi-card-side, .contact-form, .faq-item) {
  border-color: var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.site-main :is(.team-card, .blog-card, .service-card, .product-side-card) { min-width: 0; }
.site-main .faq-q { min-height: 48px; text-align: start; }
.site-main .faq-q:focus-visible { outline-offset: -3px; }
.site-main .contact-form { padding: clamp(16px, 3.5vw, 32px); }
.site-main .contact-form :is(input:not([type=checkbox]), select, textarea) {
  min-height: 46px;
  font-size: 1rem;
  border-color: #aec2b6;
}
.site-main .contact-form :is(input, select, textarea):focus { border-color: #1f6b57; }
.footer-main { padding-top: clamp(64px, 8vw, 104px); }
.footer-mail { overflow-wrap: anywhere; }

@media (max-width: 767px) {
  nav.main .brand-logo { max-width: min(45vw, 160px); height: auto; }
  .hero-cta { gap: 8px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats .item:first-child { grid-column: 1 / -1; }
  .hero-decor svg { animation: none; }
  .site-main :is(.about-grid, .product-detail-grid) { gap: 24px; }
  .site-main .team-cta { margin-top: 20px; }
}

@media (min-width: 980px) {
  .hero-image-card { aspect-ratio: 1.12; }
}
@media (hover: hover) and (pointer: fine) {
  .site-main :is(.service-card, .team-card, .blog-card, .process-card, .method-card):hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
  }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu, .site-main * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
