:root {
  --ink: #133f33;
  --ink-soft: #204c3e;
  --muted: #667b72;
  --cream: #f5f1ea;
  --paper: #fffdf9;
  --leaf: #2f7b57;
  --leaf-deep: #1e5f42;
  --leaf-soft: #dfeae3;
  --gold: #b79a60;
  --line: rgba(19, 63, 51, 0.10);
  --shadow: 0 18px 60px rgba(10, 31, 24, 0.12);
  --shadow-strong: 0 28px 90px rgba(10, 31, 24, 0.20);
  --radius: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
button, input, textarea, select { font: inherit; }

.container { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 96px 0; }
.section-soft { background: var(--paper); }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .82rem; font-weight: 800; color: var(--leaf); }
.eyebrow.light { color: rgba(255,255,255,.85); }
.section-title { margin: 12px 0 18px; font-size: clamp(2.2rem, 4vw, 4.1rem); line-height: 1.02; letter-spacing: -.04em; }
.section-intro { max-width: 760px; font-size: 1.08rem; color: var(--muted); }
.glass-card { background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.06)); backdrop-filter: blur(10px); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 241, 234, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.home-page .site-header {
  position: fixed; inset: 0 0 auto 0;
  background: rgba(9, 28, 21, 0.26);
  border-bottom-color: rgba(255,255,255,.14);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; min-width: 0; position: relative; }
.brand::before {
  content: ''; position: absolute; left: -10px; top: -8px; width: 112px; height: 112px; pointer-events: none; z-index: 0;
  background: radial-gradient(circle at 50% 64%, rgba(248,242,229,.48) 0%, rgba(248,242,229,.28) 38%, rgba(248,242,229,0) 74%);
  filter: blur(6px); opacity: 0; transition: opacity .2s ease;
}
.home-page .brand::before { opacity: 1; }
.brand-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1; position: relative; z-index: 1; }
.brand-name { font-size: 1rem; font-weight: 900; letter-spacing: -.015em; color: var(--ink); white-space: nowrap; }
.brand small { display: block; font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.home-page .brand-name, .home-page .brand small, .home-page .nav-links a, .home-page .menu-button { color: white; }
.home-page .brand-name, .home-page .brand small { text-shadow: 0 2px 12px rgba(0,0,0,.38); }
.brand-logo {
  width: 82px; height: auto; flex: 0 0 82px; object-fit: contain; border-radius: 0; position: relative; z-index: 1;
  background: transparent; box-shadow: none; margin-block: -5px;
  filter: drop-shadow(0 0 4px rgba(249,243,230,.96)) drop-shadow(0 0 10px rgba(249,243,230,.78)) drop-shadow(0 8px 18px rgba(8,31,23,.16));
}
.home-page .brand-logo {
  filter: drop-shadow(0 0 5px rgba(252,247,238,.98)) drop-shadow(0 0 14px rgba(252,247,238,.88)) drop-shadow(0 0 24px rgba(252,247,238,.52)) drop-shadow(0 10px 22px rgba(8,31,23,.22));
}
.nav-links { display: flex; align-items: center; gap: 22px; font-weight: 700; font-size: .96rem; }
.nav-links a.active, .nav-links a:hover { color: var(--leaf); }
.home-page .nav-links a.active, .home-page .nav-links a:hover { color: #fff3d7; }
.lang-switch { display: flex; gap: 6px; padding: 5px; background: white; border-radius: 999px; box-shadow: 0 10px 30px rgba(19,63,51,.08); }
.lang-switch button { border: 0; background: transparent; border-radius: 999px; padding: 7px 9px; cursor: pointer; font-weight: 800; color: var(--muted); }
.lang-switch button.active { background: var(--ink); color: white; }
.home-page .lang-switch { background: rgba(255,255,255,.14); box-shadow: none; }
.home-page .lang-switch button { color: white; }
.home-page .lang-switch button.active { background: white; color: var(--ink); }
.menu-button { display: none; background: transparent; border: 0; font-size: 1.5rem; color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; padding: 13px 24px; border: 1px solid var(--ink); font-weight: 800;
  cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: white; box-shadow: 0 16px 34px rgba(19,63,51,.18); }
.btn-primary:hover { background: var(--leaf-deep); }
.btn-secondary { background: transparent; }
.hero-secondary { border-color: rgba(255,255,255,.55); color: white; }
.hero-secondary:hover { background: rgba(255,255,255,.10); }
.large-cta { padding: 16px 30px; font-size: 1rem; }
.mini-link { font-weight: 800; color: #eef8f3; text-decoration: underline; text-underline-offset: 3px; }
.privacy-brief .mini-link { color: var(--leaf-deep); }
.contact-card .mini-link:hover, .privacy-brief .mini-link:hover { opacity: .8; }

.immersive-hero {
  position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
}
.immersive-hero-media, .immersive-hero-scrim { position: absolute; inset: 0; }
.immersive-hero-media {
  background-image: url('assets/hero-scroll.jpg');
  background-size: cover; background-position: center center; transform: scale(1.04); will-change: transform;
}
.immersive-hero-scrim {
  background: linear-gradient(180deg, rgba(6,20,15,.12) 0%, rgba(6,20,15,.34) 42%, rgba(6,20,15,.78) 100%),
              linear-gradient(90deg, rgba(6,20,15,.56) 0%, rgba(6,20,15,.18) 46%, rgba(6,20,15,.08) 100%);
}
.immersive-hero-content { position: relative; z-index: 2; width: 100%; padding: 120px 0 42px; }
.hero-panel {
  max-width: 760px; color: white; border-radius: 34px; padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(255,255,255,.18); box-shadow: var(--shadow-strong);
}
.hero-panel h1 { margin: 12px 0 18px; font-size: clamp(3.2rem, 7vw, 6.5rem); line-height: .92; letter-spacing: -.05em; }
.hero-panel p { color: rgba(255,255,255,.88); font-size: 1.16rem; max-width: 660px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-scroll-indicator {
  margin-top: 26px; display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.85); font-weight: 700; font-size: .92rem;
}
.hero-scroll-indicator::after {
  content: '↓'; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,.36);
}
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.trust-item {
  background: rgba(255,255,255,.88); border-radius: 24px; padding: 22px; border: 1px solid rgba(255,255,255,.38);
  box-shadow: var(--shadow); backdrop-filter: blur(10px);
}
.trust-item strong { display: block; font-size: 1.06rem; }
.trust-item span { color: var(--muted); font-size: .92rem; }

.feature-intro-section { position: relative; padding-top: 124px; padding-bottom: 132px; }
.ai-home-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 56px; align-items: center; }
.ai-home-copy { max-width: 560px; }
.ai-home-copy .section-title { font-size: clamp(3rem, 5vw, 5.2rem); margin-bottom: 22px; }
.ai-home-copy .section-intro { font-size: 1.16rem; max-width: 540px; }
.ai-home-copy .large-cta { margin-top: 26px; padding-inline: 34px; }
.jumbo-media-card {
  position: relative; margin: 0; width: 100%; max-width: 100%; min-width: 0; border-radius: 40px; overflow: hidden; box-shadow: var(--shadow-strong); background: #dce7e0;
}
.jumbo-media-card img { width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; }
.ai-home-preview { width: 100%; max-width: 100%; min-width: 0; margin: 0; justify-self: stretch; }
.ai-home-preview img { min-height: 560px; }
.media-tag {
  position: absolute; left: 20px; top: 20px; padding: 10px 15px; border-radius: 999px; background: rgba(255,255,255,.95);
  font-weight: 900; box-shadow: 0 10px 25px rgba(0,0,0,.08);
}
.media-tag-green { color: var(--leaf-deep); }

.service-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 42px; }
.service-card {
  background: white; border-radius: 34px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.service-card-large { min-height: 100%; }
.service-card-image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.service-card-body { padding: 28px; position: relative; }
.service-card-body h3 { margin: 16px 0 10px; font-size: 1.72rem; line-height: 1.06; letter-spacing: -.02em; }
.service-card-body p { margin: 0; color: var(--muted); font-size: 1.04rem; }
.service-icon {
  width: 74px; height: 74px; border-radius: 24px; display: grid; place-items: center;
  background: linear-gradient(180deg, #eef6f0 0%, #f8fbf8 100%); color: var(--leaf-deep); box-shadow: inset 0 0 0 1px rgba(47,123,87,.08);
}
.service-icon svg { width: 38px; height: 38px; }
.icon-water { color: #1682d4; }
.icon-pool { color: #1a88c7; }
.icon-ai { color: #8b6ad4; }
.icon-tools { color: #a85c35; }

.split { display: grid; grid-template-columns: .92fr 1.08fr; gap: 56px; align-items: start; }
.check-list { display: grid; gap: 16px; }
.check {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: white; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.check-mark { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border-radius: 50%; background: var(--leaf-soft); color: var(--leaf-deep); font-weight: 900; }

.page-hero { padding: 90px 0 48px; }
.page-hero h1 { margin: 12px 0 18px; font-size: clamp(2.8rem, 5vw, 5.3rem); line-height: .96; letter-spacing: -.04em; }
.page-hero p { max-width: 820px; color: var(--muted); font-size: 1.1rem; }
.page-hero-rich {
  position: relative; min-height: 52vh; overflow: hidden; display: flex; align-items: end; padding: 0;
}
.page-hero-bg, .page-hero-overlay { position: absolute; inset: 0; }
.page-hero-bg { background-size: cover; background-position: center; }
.page-hero-overlay { background: linear-gradient(180deg, rgba(7,20,15,.26), rgba(7,20,15,.72)); }
.page-hero-content { position: relative; z-index: 2; color: white; padding: 130px 0 52px; }
.page-hero-rich h1, .page-hero-rich p { color: white; }
.slim-hero { padding-top: 110px; }

.process-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.card { background: white; border-radius: 28px; padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.card h3 { margin: 14px 0 10px; font-size: 1.38rem; }
.card p { color: var(--muted); margin: 0; }
.step-badge {
  width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center; background: var(--leaf-soft); color: var(--leaf-deep); font-size: 1.25rem; font-weight: 900;
}

.ai-experience-section { padding-top: 12px; }
.ai-stage-actions { text-align: center; margin: 28px 0 10px; }
.tiny-note { color: var(--muted); margin-top: 12px; }
.ai-result { opacity: 0; max-height: 0; overflow: hidden; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease, max-height 1s ease; }
.ai-result.visible { opacity: 1; max-height: 2500px; transform: translateY(0); margin-top: 34px; }
.ai-arrow-block { text-align: center; color: var(--leaf-deep); margin-bottom: 24px; }
.ai-arrow-label { font-weight: 800; letter-spacing: .01em; margin-bottom: 12px; }
.ai-arrow-icon { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; }
.ai-arrow-icon svg { width: 32px; height: 32px; }
.after-stage-card img { aspect-ratio: 16 / 7.5; }
.ai-after-copy { margin-top: 26px; padding: 28px; border-radius: 30px; border: 1px solid rgba(47,123,87,.10); box-shadow: var(--shadow); background: white; }
.ai-after-copy h2 { margin: 0 0 10px; font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.05; }
.ai-after-copy p { margin: 0 0 18px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 42px; align-items: start; }
.contact-card {
  background: var(--ink); color: white; padding: 30px; border-radius: 30px; position: sticky; top: 96px; box-shadow: var(--shadow-strong);
}
.contact-card p, .contact-card-note { color: #d8e3de; }
.contact-detail { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.contact-form { background: white; border-radius: 30px; padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 800; font-size: .92rem; }
input, textarea, select {
  width: 100%; border: 1px solid #cfd9d4; border-radius: 16px; padding: 13px 14px; background: #fffefc; color: var(--ink);
}
textarea { min-height: 170px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(47,123,87,.14); border-color: var(--leaf); }
.consent-box { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; background: #f6faf7; border: 1px solid #dce8e0; border-radius: 18px; padding: 16px; }
.consent-box input { width: 18px; height: 18px; margin-top: 4px; }
.consent-box label { font-weight: 600; line-height: 1.55; }
.consent-box a { color: var(--leaf-deep); text-decoration: underline; }
.privacy-brief-card { background: #f8fbf9; border: 1px solid #dce8e0; border-radius: 24px; padding: 22px; }
.privacy-brief-card h3 { margin: 0 0 10px; font-size: 1.2rem; }
.privacy-brief-card p { margin: 0 0 10px; color: var(--muted); }
.form-status { min-height: 1.5em; margin-top: 14px; font-weight: 700; }

.privacy-stack { display: grid; gap: 18px; }
.privacy-card { background: white; border-radius: 28px; padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.privacy-card h2 { margin: 0 0 10px; font-size: 1.45rem; }
.privacy-card p { margin: 0; color: var(--muted); }

footer { padding: 36px 0 44px; border-top: 1px solid var(--line); color: var(--muted); background: #fbfaf6; }
.footer-wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-wrap-branded { align-items: center; }
.footer-identity { display: flex; align-items: center; gap: 18px; min-width: 0; }
.footer-logo { width: 180px; height: auto; object-fit: contain; border-radius: 0; box-shadow: none; background: transparent; }
.footer-brand-line { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.footer-email { color: var(--ink); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.footer-email:hover { color: var(--leaf); }
.footer-year { white-space: nowrap; }
.contact-logo { width: min(420px, 100%); margin: -8px auto 20px; border-radius: 0; background: transparent; box-shadow: none; display: block; }
.mailto-note { margin: 4px 0 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }

@media (max-width: 1024px) {
  .ai-home-layout, .split, .contact-grid { grid-template-columns: 1fr; }
  .ai-home-copy { max-width: none; }
  .ai-home-preview { width: 100%; margin: 0; }
  .ai-home-preview img { min-height: 0; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
  .service-card-grid, .process-cards, .trust-strip { grid-template-columns: 1fr 1fr; }
  .contact-card { position: static; }
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute; left: 20px; right: 20px; top: 78px; padding: 18px; display: none; flex-direction: column; align-items: flex-start;
    background: white; border-radius: 18px; box-shadow: var(--shadow);
  }
  .home-page .nav-links { background: rgba(11, 32, 25, 0.95); }
  .home-page .nav-links a { color: white; }
  .nav-links.open { display: flex; }
  .menu-button { display: block; }
  .trust-strip, .service-card-grid, .process-cards { grid-template-columns: 1fr; }
  .page-hero-rich { min-height: 44vh; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1240px); }
  .section { padding: 72px 0; }
  .nav-wrap { gap: 14px; min-height: 72px; }
  .brand::before { left: -8px; top: -6px; width: 84px; height: 84px; }
  .brand-logo { width: 58px; height: auto; flex-basis: 58px; margin-block: -2px; }
  .brand-name { font-size: .86rem; }
  .brand small { display: block; font-size: .52rem; letter-spacing: .10em; }
  .lang-switch button { padding: 6px 7px; font-size: .82rem; }
  .immersive-hero-content { padding-top: 104px; padding-bottom: 24px; }
  .hero-panel { padding: 22px; }
  .hero-panel h1 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
  .hero-panel p { font-size: 1rem; }
  .service-card-body { padding: 22px; }
  .service-card-body h3 { font-size: 1.45rem; }
  .feature-intro-section { padding-top: 82px; padding-bottom: 88px; }
  .ai-home-layout { gap: 26px; }
  .ai-home-copy .section-title { font-size: clamp(2.6rem, 12vw, 4rem); }
  .jumbo-media-card, .ai-home-preview { width: 100%; max-width: 100%; margin: 0; }
  .jumbo-media-card img, .after-stage-card img { aspect-ratio: 16 / 10; }
  .ai-home-preview img { min-height: 0; width: 100%; object-position: center; }
  .footer-wrap { align-items: flex-start; }
  .footer-identity { width: 100%; align-items: center; }
  .footer-logo { width: 146px; height: auto; flex: 0 0 146px; }
  .footer-brand-line { font-size: .92rem; }
  .contact-logo { width: min(320px, 100%); }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form, .contact-card, .privacy-card, .card { padding: 24px; }
  .page-hero h1 { font-size: clamp(2.3rem, 10vw, 3.4rem); }
}

@media (max-width: 420px) {
  .brand { gap: 8px; }
  .brand::before { width: 74px; height: 74px; }
  .brand-logo { width: 52px; flex-basis: 52px; }
  .brand-name { font-size: .78rem; }
  .brand small { display: none; }
  .nav-wrap { gap: 8px; }
  .lang-switch { gap: 2px; padding: 3px; }
  .lang-switch button { padding: 5px 5px; font-size: .72rem; }
}
