:root {
  --teal-950: #063f3b;
  --teal-800: #006b64;
  --teal-700: #008f83;
  --teal-600: #10a99a;
  --teal-100: #d9f2ed;
  --teal-50: #f0faf7;
  --ink: #102f37;
  --muted: #5c7177;
  --line: #d8e8e4;
  --paper: #f8fbfa;
  --white: #ffffff;
  --warm: #f4f0e8;
  --shadow-sm: 0 10px 30px rgba(13, 68, 64, 0.08);
  --shadow-lg: 0 24px 70px rgba(13, 68, 64, 0.14);
  --radius-md: 22px;
  --radius-lg: 34px;
  --content: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(0, 143, 131, 0.35); outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 48px), var(--content)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(216, 232, 228, 0.9);
  background: rgba(248, 251, 250, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.topbar { background: var(--teal-950); color: rgba(255, 255, 255, 0.8); font-size: 12px; }
.topbar .container { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar a:hover { color: var(--white); }

.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--teal-950);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.brand-mark { width: 48px; height: 48px; flex: 0 0 auto; object-fit: contain; }
.brand small {
  display: block;
  margin-top: 5px;
  color: var(--teal-700);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 4px 15px rgba(13, 68, 64, 0.04);
}
.nav-links a {
  padding: 8px 15px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--teal-800); background: var(--teal-50); }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid var(--teal-700);
  border-radius: 999px;
  background: var(--teal-700);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 10px 28px rgba(0, 143, 131, 0.2);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.button:hover {
  border-color: var(--teal-800);
  background: var(--teal-800);
  box-shadow: 0 14px 34px rgba(0, 107, 100, 0.22);
  transform: translateY(-2px);
}
.button--ghost { border-color: var(--line); background: rgba(255, 255, 255, 0.72); color: var(--teal-800); box-shadow: none; }
.button--ghost:hover { border-color: var(--teal-700); background: var(--white); color: var(--teal-800); box-shadow: none; }
.nav-cta { min-height: 42px; padding: 10px 17px; font-size: 13px; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(circle at 8% 12%, rgba(16, 169, 154, 0.18), transparent 30%), linear-gradient(125deg, var(--teal-50), var(--white) 62%);
}
.hero::after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -28vw;
  z-index: -1;
  width: 58vw;
  height: 58vw;
  border: 1px solid rgba(0, 143, 131, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 75px rgba(0, 143, 131, 0.025), 0 0 0 150px rgba(0, 143, 131, 0.018);
}
.hero-grid {
  min-height: 650px;
  padding-block: 84px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(40px, 7vw, 92px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--teal-700);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: currentColor; }
h1, h2, h3 {
  margin: 0;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
h1 { max-width: 760px; margin-top: 18px; font-size: clamp(48px, 7.2vw, 88px); }
h2 { font-size: clamp(34px, 4.4vw, 54px); }
h3 { font-size: 22px; letter-spacing: -0.02em; }
.accent { color: var(--teal-700); }
.hero-copy > p { max-width: 610px; margin: 25px 0 31px; color: var(--muted); font-size: clamp(16px, 1.7vw, 19px); }
.hero-copy { min-width: 0; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-list { margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 22px; color: var(--teal-950); font-size: 12px; font-weight: 750; list-style: none; }
.trust-list li::before { content: "✓"; margin-right: 7px; color: var(--teal-700); }

.hero-visual {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: end center;
  border-radius: 48% 48% 22px 22px;
  background: linear-gradient(155deg, #ccebe5, #eef9f6);
  box-shadow: var(--shadow-lg);
}
.hero-visual::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255, 255, 255, 0.8); border-radius: inherit; }
.hero-visual__image { position: relative; z-index: 1; width: min(100%, 500px); max-height: 500px; object-fit: contain; filter: drop-shadow(0 22px 25px rgba(10, 58, 55, 0.18)); }
.hero-note {
  position: absolute;
  right: -28px;
  bottom: 38px;
  z-index: 2;
  max-width: 205px;
  padding: 17px 19px;
  border: 1px solid rgba(216, 232, 228, 0.95);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.hero-note strong { display: block; margin-bottom: 3px; color: var(--teal-950); font-size: 14px; }

.section { padding-block: clamp(76px, 9vw, 112px); }
.section--compact { padding-top: 24px; }
.section--tint { background: var(--teal-50); }
.section-head { max-width: 730px; margin-bottom: 42px; }
.section-head h2, .copy h2 { margin-top: 12px; }
.section-head p, .copy p, .page-hero p { color: var(--muted); }
.section-head p { max-width: 650px; margin: 18px 0 0; }
.kicker { color: var(--teal-700); font-size: 13px; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 4px 0 rgba(0, 143, 131, 0.03);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.card:hover { border-color: rgba(0, 143, 131, 0.3); box-shadow: var(--shadow-sm); transform: translateY(-5px); }
.card-number { width: 44px; height: 44px; margin-bottom: 20px; display: grid; place-items: center; border-radius: 14px; background: var(--teal-50); color: var(--teal-700); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; font-weight: 800; }
.card p { margin: 11px 0 0; color: var(--muted); font-size: 14px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(46px, 7vw, 88px); }
.split--reverse .image-panel { order: 2; }
.copy p { margin: 20px 0 0; }
.copy .button { margin-top: 28px; }
.image-panel { position: relative; overflow: hidden; min-height: 450px; border-radius: var(--radius-lg); background: var(--teal-100); box-shadow: var(--shadow-lg); }
.image-panel img { width: 100%; height: 100%; min-height: 450px; object-fit: cover; }
.image-panel--portrait img { object-fit: contain; object-position: center bottom; }

.gallery { display: grid; grid-template-columns: 1.22fr 0.78fr; grid-template-rows: repeat(2, 230px); gap: 18px; }
.gallery figure { position: relative; overflow: hidden; margin: 0; border-radius: var(--radius-md); background: var(--teal-950); box-shadow: var(--shadow-sm); }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 500ms ease; }
.gallery figure:hover img { filter: saturate(1.08); transform: scale(1.035); }
.gallery figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 54px 22px 19px; color: var(--white); background: linear-gradient(transparent, rgba(6, 63, 59, 0.94)); font-size: 14px; font-weight: 800; }
.gallery figcaption span { display: block; margin-bottom: 4px; color: #b8eee4; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }

.page-hero { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--teal-50), var(--white)); }
.page-hero::after { content: ""; position: absolute; right: 7%; bottom: -190px; width: 380px; height: 380px; border: 60px solid rgba(0, 143, 131, 0.05); border-radius: 50%; }
.page-hero .container { position: relative; z-index: 1; padding-block: clamp(72px, 9vw, 112px); }
.page-hero h1 { max-width: 850px; font-size: clamp(46px, 7vw, 78px); }
.page-hero p { max-width: 700px; margin: 22px 0 0; font-size: 18px; }

.values-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.values-grid .card { grid-column: span 2; }
.values-grid .card:nth-child(4) { grid-column: 2 / span 2; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.service-item { min-width: 0; display: grid; grid-template-columns: 46px 1fr; align-items: start; gap: 17px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.service-item .card-number { width: 46px; height: 46px; margin: 0; }
.service-item h3 { font-size: 19px; }
.service-item p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }

.statement-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.statement { padding: clamp(28px, 4vw, 42px); border-radius: var(--radius-md); background: var(--warm); }
.statement:nth-child(2) { background: var(--teal-100); }
.statement h2 { margin-top: 12px; font-size: clamp(29px, 3.8vw, 43px); }
.statement p { margin: 17px 0 0; color: var(--muted); }

.band { color: var(--white); background: var(--teal-800); }
.band .container { min-height: 270px; padding-block: 58px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.band h2 { max-width: 650px; font-size: clamp(34px, 4vw, 50px); }
.band p { max-width: 590px; margin: 16px 0 0; color: rgba(255, 255, 255, 0.78); }
.band .button { flex: 0 0 auto; border-color: var(--white); background: var(--white); color: var(--teal-800); box-shadow: none; }
.band .button:hover { background: var(--teal-50); color: var(--teal-950); }

.site-footer { padding-block: 58px 26px; background: var(--teal-950); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: minmax(280px, 1.4fr) repeat(2, minmax(170px, 0.6fr)); gap: 44px; }
.footer-brand { display: flex; align-items: center; gap: 13px; font-weight: 800; line-height: 1.2; }
.footer-brand img { width: 48px; height: 48px; padding: 4px; border-radius: 14px; background: var(--white); }
.footer-copy { max-width: 430px; margin: 20px 0 0; color: rgba(255, 255, 255, 0.65); font-size: 14px; }
.footer-heading { margin-bottom: 14px; color: #b8eee4; font-size: 11px; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; display: grid; gap: 9px; color: rgba(255, 255, 255, 0.78); font-size: 14px; list-style: none; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; justify-content: space-between; gap: 20px; color: rgba(255, 255, 255, 0.5); font-size: 12px; }

.error-page { min-height: 65vh; display: grid; place-items: center; text-align: center; }
.error-page h1 { font-size: clamp(70px, 14vw, 150px); color: var(--teal-100); }
.error-page h2 { margin-top: -24px; }
.error-page p { max-width: 520px; margin: 18px auto 26px; color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise-in 650ms cubic-bezier(0.2, 0.75, 0.25, 1) both; }
  .reveal--delay-1 { animation-delay: 100ms; }
  .reveal--delay-2 { animation-delay: 200ms; }
  .hero-visual__image { animation: gentle-float 7s ease-in-out 900ms infinite; }
  @keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes gentle-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
}

html[data-reduced-data="true"] .hero-visual__image { animation: none; }

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

@media (max-width: 980px) {
  .hero-grid { min-height: auto; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr); gap: 40px; }
  .hero-visual { min-height: 410px; }
  .hero-note { right: -12px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards .card:last-child { grid-column: span 2; }
  .values-grid .card, .values-grid .card:nth-child(4) { grid-column: span 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: span 2; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 32px), var(--content)); }
  .topbar .container { justify-content: center; }
  .topbar span { display: none; }
  .nav { min-height: 118px; padding-block: 10px 8px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .brand { font-size: 14px; }
  .brand-mark { width: 42px; height: 42px; }
  .nav-cta { display: none; }
  .nav-links { width: 100%; max-width: 100%; grid-column: 1 / -1; justify-content: center; gap: 3px; padding: 3px; overflow: hidden; }
  .nav-links a { min-width: 0; flex: 1 1 33.333%; padding: 7px 4px; text-align: center; }
  .hero-grid { padding-block: 62px 68px; grid-template-columns: 1fr; }
  .hero-visual { width: min(100%, 510px); min-height: 400px; margin-inline: auto; }
  .hero-note { right: 12px; bottom: 18px; }
  .split, .statement-grid { grid-template-columns: 1fr; }
  .split--reverse .image-panel { order: initial; }
  .image-panel, .image-panel img { min-height: 360px; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: 300px 210px 210px; }
  .gallery figure:first-child { grid-row: auto; }
  .service-grid { grid-template-columns: 1fr; }
  .band .container { min-height: 0; align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  h1 { font-size: clamp(43px, 14vw, 64px); }
  .button-row .button { width: 100%; }
  .trust-list { display: grid; gap: 8px; }
  .hero-visual { min-height: 330px; }
  .hero-visual__image { max-height: 355px; }
  .hero-note { max-width: 180px; padding: 13px 15px; }
  .cards, .values-grid { grid-template-columns: 1fr; }
  .cards .card:last-child, .values-grid .card, .values-grid .card:nth-child(4) { grid-column: auto; }
  .card { padding: 23px; }
  .image-panel, .image-panel img { min-height: 300px; }
  .footer-grid, .footer-grid > :first-child { grid-template-columns: 1fr; grid-column: auto; gap: 32px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 390px) {
  .brand small { font-size: 7.5px; }
  .nav-cta span { display: none; }
  .nav-links a { font-size: 12px; }
}
