:root {
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-light: #ecfdf5;
  --ink: #0f172a;
  --ink-soft: #475569;
  --bg: #ffffff;
  --bg-soft: #f0fdfa;
  --line: rgba(15, 23, 42, 0.1);
  --white: #ffffff;
  --font-display: "Plus Jakarta Sans", sans-serif;
  --font-body: "Inter", sans-serif;
  --container: min(1140px, calc(100% - 2.5rem));
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: var(--container); margin-inline: auto; }

.top-bar {
  background: var(--teal-dark);
  color: var(--white);
  font-size: 0.82rem;
}
.top-bar-inner {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; align-items: center;
  padding: 0.55rem 0;
}
.top-bar a { color: var(--white); opacity: 0.92; }
.top-bar a:hover { opacity: 1; text-decoration: underline; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(13, 148, 136, 0.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 78px; gap: 1.5rem;
}
.brand { display: flex; flex-direction: column; gap: 0.1rem; }
.brand strong {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  color: var(--ink); letter-spacing: -0.02em;
}
.brand strong span { color: var(--teal); }
.brand small {
  font-size: 0.68rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft);
}
.nav { display: flex; gap: 1.6rem; align-items: center; }
.nav a { font-size: 0.88rem; font-weight: 500; color: var(--ink-soft); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal-dark); }
.nav .cta {
  background: var(--teal); color: var(--white) !important;
  padding: 0.65rem 1.2rem; font-weight: 600;
}
.nav .cta:hover { background: var(--teal-dark); }
.menu-toggle {
  display: none; width: 42px; height: 42px;
  border: 1px solid var(--line); background: transparent;
  cursor: pointer; color: var(--ink);
  align-items: center; justify-content: center;
}
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 60;
  background: var(--white); padding: 1.25rem; flex-direction: column;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav-top {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 2rem;
}
.mobile-nav nav a {
  display: block; font-family: var(--font-display);
  font-size: 1.6rem; padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.close-menu {
  width: 42px; height: 42px; border: 1px solid var(--line);
  background: transparent; font-size: 1.4rem; cursor: pointer;
}

.hero {
  position: relative; min-height: 520px; overflow: hidden;
  color: var(--white); display: flex; align-items: flex-end;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.15) 0%, rgba(15,118,110,0.88) 100%);
}
.hero-content {
  position: relative; width: var(--container); margin: 0 auto;
  padding: 3rem 0 4rem;
}
.hero-kicker {
  font-size: 0.75rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: #99f6e4; margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800; line-height: 1.1; max-width: 16ch; margin-bottom: 1rem;
}
.hero-lead {
  max-width: 520px; color: rgba(255,255,255,0.9);
  line-height: 1.7; margin-bottom: 1.75rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.btn {
  display: inline-flex; align-items: center;
  padding: 0.9rem 1.45rem; font-size: 0.85rem;
  font-weight: 600; border: 1px solid transparent; transition: 0.2s;
}
.btn-white { background: var(--white); color: var(--teal-dark); }
.btn-white:hover { background: var(--teal-light); }
.btn-outline {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-outline:hover { border-color: var(--white); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-dark); }

.section { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.section-soft { background: var(--bg-soft); }
.eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 0.75rem;
}
.title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 700; line-height: 1.15; max-width: 18ch;
}
.lede { color: var(--ink-soft); font-size: 1.05rem; max-width: 560px; line-height: 1.75; margin-top: 1rem; }

.stats {
  display: grid; gap: 1rem; margin-top: 2rem;
}
@media (min-width: 700px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat {
  background: var(--white); border: 1px solid var(--line);
  padding: 1.5rem; border-left: 4px solid var(--teal);
}
.stat strong {
  display: block; font-family: var(--font-display);
  font-size: 1.1rem; margin-bottom: 0.35rem;
}
.stat span { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.55; }

.story-grid {
  display: grid; gap: 2.5rem; align-items: center;
}
@media (min-width: 900px) {
  .story-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.story-image { overflow: hidden; min-height: 360px; }
.story-image img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }

.service-grid {
  display: grid; gap: 1.5rem; margin-top: 2.5rem;
}
@media (min-width: 700px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
.service-card {
  background: var(--white); border: 1px solid var(--line); overflow: hidden;
  transition: box-shadow 0.25s;
}
.service-card:hover { box-shadow: 0 12px 32px rgba(13,148,136,0.12); }
.service-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.service-card-body { padding: 1.4rem 1.5rem 1.6rem; }
.service-card h3 {
  font-family: var(--font-display); font-size: 1.35rem;
  font-weight: 700; margin-bottom: 0.5rem;
}
.service-card p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.6; }
.service-card a {
  display: inline-block; margin-top: 0.85rem;
  color: var(--teal-dark); font-weight: 600; font-size: 0.85rem;
}

.feature-list { margin-top: 1.5rem; }
.feature-list li {
  list-style: none; padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft); line-height: 1.6;
}
.feature-list strong { color: var(--ink); display: block; margin-bottom: 0.15rem; }

.page-hero {
  padding: clamp(3.5rem, 8vw, 5rem) 0 2.5rem;
  background: var(--bg-soft); border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800; line-height: 1.05; max-width: 14ch;
}
.prose { max-width: 720px; }
.prose p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.8; }
.prose p + p { margin-top: 1.25rem; }

.service-detail {
  display: grid; gap: 2rem; padding: 2rem 0;
  border-top: 1px solid var(--line); align-items: start;
}
@media (min-width: 800px) {
  .service-detail { grid-template-columns: 280px 1fr; gap: 2.5rem; }
}
.service-detail img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.service-detail h3 {
  font-family: var(--font-display); font-size: 1.6rem;
  font-weight: 700; margin-bottom: 0.75rem;
}
.service-detail p { color: var(--ink-soft); line-height: 1.7; margin-bottom: 0.75rem; }
.service-detail ul { color: var(--ink-soft); padding-left: 1.1rem; line-height: 1.7; }

.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-card {
  background: var(--bg-soft); border: 1px solid var(--line); padding: 2rem;
}
.contact-card h2 {
  font-family: var(--font-display); font-size: 1.7rem; margin-bottom: 1rem;
}
.contact-card p { color: var(--ink-soft); line-height: 1.75; margin-bottom: 0.85rem; }
.contact-card a { color: var(--teal-dark); font-weight: 500; }
.form { display: grid; gap: 1rem; }
.form label {
  display: grid; gap: 0.4rem; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft);
}
.form input, .form textarea, .form select {
  font: inherit; padding: 0.9rem 1rem; border: 1px solid var(--line);
  background: var(--white); color: var(--ink);
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: 2px solid rgba(13,148,136,0.25); border-color: var(--teal);
}
.form-note { font-size: 0.85rem; color: var(--ink-soft); }

.cta-panel {
  position: relative; overflow: hidden; color: var(--white);
  min-height: 340px; display: flex; align-items: flex-end;
}
.cta-panel img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.cta-panel .shade {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,118,110,0.92) 0%, rgba(15,118,110,0.4) 100%);
}
.cta-panel .inner {
  position: relative; width: var(--container); margin: 0 auto; padding: 3rem 0;
}

.site-footer {
  background: var(--ink); color: rgba(255,255,255,0.72); padding: 3.5rem 0 1.5rem;
}
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 0.8fr 1fr; } }
.footer-brand strong {
  display: block; font-family: var(--font-display);
  font-size: 1.35rem; color: var(--white); margin-bottom: 0.75rem;
}
.footer-brand strong span { color: #5eead4; }
.footer-col h4 {
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 0.9rem;
}
.footer-col a { display: block; margin-bottom: 0.5rem; color: rgba(255,255,255,0.72); }
.footer-col a:hover { color: #5eead4; }
.footer-bottom {
  margin-top: 2rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem; color: rgba(255,255,255,0.45);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem;
}
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s, transform 0.7s; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 799px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero { min-height: 480px; }
}
