/* =========================
   FILE: /assets/css/style.css
========================= */

/* --------- RESET / BASE --------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(88,210,182,.10), transparent 30%),
    radial-gradient(circle at top right, rgba(88,210,182,.08), transparent 28%),
    linear-gradient(180deg, #f8fcfb 0%, #f4fbf8 100%);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid rgba(18, 150, 125, .35);
  outline-offset: 3px;
  border-radius: 10px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* --------- THEME --------- */
:root {
  --bg: #f6fbfa;
  --bg-soft: #eef8f5;
  --surface: rgba(255,255,255,.78);
  --surface-strong: #ffffff;

  --ink: #0f1720;
  --ink-soft: rgba(15,23,32,.78);
  --muted: rgba(15,23,32,.66);
  --muted2: rgba(15,23,32,.48);

  --line: rgba(20, 110, 95, .14);
  --line-strong: rgba(20, 110, 95, .22);

  --brand: #58d2b6;
  --brand-deep: #28b89a;
  --brand-dark: #12967d;
  --brand-tint: rgba(88, 210, 182, .14);
  --brand-glow: rgba(88, 210, 182, .30);

  --accent-dark: #0f2d2a;

  --radius: 16px;
  --radius2: 24px;

  --shadow: 0 20px 50px rgba(9, 31, 28, .10);
  --shadow2: 0 10px 24px rgba(9, 31, 28, .08);

  --container: 1180px;

  --section-pad: clamp(92px, 7vw, 128px);
  --section-pad-tight: clamp(60px, 5vw, 84px);
}

/* --------- UTILITIES --------- */
.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-dark);
  font-weight: 900;
}

.muted {
  color: var(--muted);
}

.section {
  padding: var(--section-pad) 0;
}

.section-alt {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, rgba(88,210,182,.05), rgba(255,255,255,0));
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 800;
  color: var(--brand-dark);
  margin-top: 12px;
}

/* --------- TYPOGRAPHY --------- */
h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -.02em;
}

h1 {
  font-size: clamp(34px, 4.1vw, 54px);
}

h2 {
  font-size: clamp(26px, 2.6vw, 38px);
}

h3 {
  font-size: 18px;
}

p {
  margin: 0;
}

/* --------- BUTTONS --------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 900;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  user-select: none;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #05211c;
  box-shadow: 0 14px 30px rgba(88,210,182,.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(88,210,182,.34);
}

.btn-ghost {
  background: rgba(255,255,255,.78);
  border-color: rgba(88,210,182,.20);
  color: var(--accent-dark);
}

.btn-ghost:hover {
  background: #fff;
  box-shadow: 0 12px 24px rgba(10, 38, 33, .08);
  border-color: rgba(88,210,182,.30);
}

/* --------- TOP BAR --------- */
.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.85);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  gap: 14px;
}

.topbar-item {
  font-size: 13px;
  color: var(--muted);
  font-weight: 800;
}

.topbar-dot {
  color: var(--muted2);
}

/* --------- NAVBAR --------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(88,210,182,.10);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 32px rgba(12, 36, 32, .08);
  background: rgba(255,255,255,.84);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  font-weight: 900;
  letter-spacing: .12em;
  font-size: 14px;
  color: var(--accent-dark);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  font-size: 14px;
  font-weight: 800;
  color: rgba(15,23,32,.76);
  padding: 10px 12px;
  border-radius: 999px;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.nav-link:hover {
  background: var(--brand-tint);
  color: var(--accent-dark);
}

.nav-link.is-active {
  background: rgba(88,210,182,.18);
  color: var(--accent-dark);
}

.nav-cta {
  margin-left: 6px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.9);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: var(--shadow2);
  cursor: pointer;
}

.nav-toggle-lines {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--accent-dark);
  margin: 0 auto;
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--accent-dark);
}

.nav-toggle-lines::before {
  top: -6px;
}

.nav-toggle-lines::after {
  top: 6px;
}

/* --------- HERO --------- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero--full {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: clamp(110px, 9vw, 150px) 0 clamp(84px, 7vw, 120px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 20%, rgba(88,210,182,.22), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(88,210,182,.16), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0));
  pointer-events: none;
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 52px;
  align-items: center;
}

.hero-eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand-dark);
  font-weight: 900;
}

.hero-title {
  margin: 0;
  font-size: clamp(42px, 4.8vw, 68px);
  line-height: 1.02;
  letter-spacing: -.04em;
  max-width: 12ch;
  color: var(--ink);
}

.hero-sub {
  margin-top: 18px;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 58ch;
  line-height: 1.8;
}

.hero-cta {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-proof {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  max-width: 720px;
}

.proof-item {
  border: 1px solid rgba(88,210,182,.18);
  border-radius: 20px;
  padding: 15px 16px;
  background: rgba(255,255,255,.68);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow2);
}

.proof-k {
  display: block;
  font-size: 11px;
  font-weight: 900;
  color: var(--brand-dark);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.proof-v {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 900;
  color: var(--ink);
}

.hero-right {
  display: grid;
  align-items: center;
}

.hero-panel {
  position: relative;
  height: 600px;
  border-radius: 32px;
  border: 1px solid rgba(88,210,182,.20);
  box-shadow: 0 24px 60px rgba(12, 37, 32, .12);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,.65), rgba(232,248,244,.82));
  transition: transform .35s ease;
  will-change: transform;
}

.panel-glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 30% 20%, rgba(88,210,182,.34), transparent 32%),
    radial-gradient(circle at 70% 70%, rgba(88,210,182,.18), transparent 30%);
  pointer-events: none;
}

.panel-frame {
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
}

.panel-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.02);
}

.panel-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.68);
  backdrop-filter: blur(16px);
  color: var(--accent-dark);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: grid;
  gap: 8px;
  align-items: center;
  justify-items: center;
  color: rgba(15,23,32,.45);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 11px;
}

.scroll-line {
  width: 1px;
  height: 18px;
  background: rgba(15,23,32,.20);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -10px;
  width: 1px;
  height: 10px;
  background: var(--brand-dark);
  animation: scrollPulse 1.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% { transform: translateY(0); opacity: .2; }
  50% { transform: translateY(18px); opacity: 1; }
  100% { transform: translateY(28px); opacity: 0; }
}

/* --------- TRUST --------- */
.trust--premium {
  border-top: 1px solid rgba(88,210,182,.12);
  border-bottom: 1px solid rgba(88,210,182,.12);
  background:
    linear-gradient(180deg, rgba(88,210,182,.05), rgba(88,210,182,.02)),
    #f8fcfb;
  padding: var(--section-pad-tight) 0;
}

.trust-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 26px;
  align-items: center;
}

.trust-title {
  font-size: clamp(20px, 2.2vw, 30px);
  max-width: 32ch;
  margin-top: 6px;
}

.trust-sub {
  margin-top: 10px;
  max-width: 60ch;
  font-size: 14px;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 10px;
}

.pill {
  display: grid;
  gap: 6px;
  padding: 16px 14px;
  border-radius: 20px;
  border: 1px solid rgba(88,210,182,.16);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow2);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.pill:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(12, 37, 32, .10);
  border-color: rgba(88,210,182,.28);
}

.pill-top {
  font-weight: 900;
  font-size: 13px;
  color: var(--accent-dark);
}

.pill-bottom {
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
}

.trust-mini {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tmini {
  border-radius: 18px;
  border: 1px solid rgba(88,210,182,.16);
  padding: 12px;
  background: rgba(255,255,255,.72);
}

.tmini-k {
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-dark);
}

.tmini-v {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--muted);
}

/* --------- ABOUT --------- */
.about-center {
  position: relative;
}

.about-center-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.about-title {
  max-width: 26ch;
  margin: 6px auto 0;
}

.about-sub {
  max-width: 70ch;
  margin: 12px auto 0;
  font-size: 15px;
  line-height: 1.7;
}

.about-points {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}

.ap {
  border-radius: 22px;
  border: 1px solid rgba(88,210,182,.16);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow2);
  padding: 16px;
  text-align: left;
}

.ap-title {
  display: block;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--accent-dark);
}

.ap-text {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.6;
}

.about-quote {
  margin: 16px auto 0;
  border-radius: 26px;
  border: 1px solid rgba(88,210,182,.16);
  background:
    radial-gradient(circle at 20% 20%, rgba(88,210,182,.08), rgba(88,210,182,0) 55%),
    rgba(255,255,255,.82);
  box-shadow: var(--shadow);
  padding: 18px;
  text-align: left;
}

.aq-text {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 800;
}

.aq-meta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.aq-chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(88,210,182,.18);
  background: rgba(255,255,255,.74);
  font-size: 12px;
  font-weight: 900;
  color: var(--accent-dark);
}

.about-actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

/* --------- SERVICES --------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}

.service-card {
  position: relative;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(88,210,182,.14);
  border-radius: 26px;
  padding: 22px;
  box-shadow: var(--shadow2);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-deep));
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(10, 36, 31, .10);
  border-color: rgba(88,210,182,.26);
}

.service-card h3 {
  font-size: 19px;
  color: var(--accent-dark);
}

.service-card p {
  margin-top: 10px;
}

/* --------- STEPS --------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}

.step {
  border: 1px solid rgba(88,210,182,.14);
  border-radius: 24px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(246,251,249,.88));
  box-shadow: var(--shadow2);
}

.step-no {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  background: rgba(88,210,182,.16);
  color: var(--accent-dark);
  font-weight: 900;
  margin-bottom: 12px;
}

/* --------- CTA --------- */
.cta {
  padding: 64px 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.45), transparent 40%),
    linear-gradient(135deg, #52d0b2, #28b89a);
  color: #06211c;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.cta h2 {
  color: #06211c;
  max-width: 28ch;
}

.cta .muted {
  color: rgba(6,33,28,.78);
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta .btn-primary {
  background: #0f2d2a;
  color: #fff;
  box-shadow: 0 12px 28px rgba(8, 28, 24, .18);
}

.cta .btn-ghost {
  background: rgba(255,255,255,.26);
  border-color: rgba(255,255,255,.42);
  color: #06211c;
}

/* --------- FOOTER --------- */
.footer {
  padding: 60px 0 26px;
  background: linear-gradient(180deg, rgba(88,210,182,.04), rgba(255,255,255,1));
  border-top: 1px solid rgba(88,210,182,.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
  gap: 18px;
  align-items: start;
}

.footer-col h4 {
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(15,23,32,.72);
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-weight: 800;
  transition: color .25s ease, transform .25s ease;
}

.footer-col a:hover {
  color: var(--accent-dark);
  transform: translateX(2px);
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --------- ANIMATIONS --------- */
.hero--full.anim-ready .hero-left,
.hero--full.anim-ready .hero-right,
.hero--full.anim-ready .hero-scroll {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(6px);
}

.hero--full.anim-ready .hero-right {
  transform: translateY(16px) scale(.98);
}

.hero--full.anim-in .hero-left {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition: opacity .7s ease, transform .7s ease, filter .7s ease;
}

.hero--full.anim-in .hero-right {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  transition: opacity .85s ease .08s, transform .85s ease .08s, filter .85s ease .08s;
}

.hero--full.anim-in .hero-scroll {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition: opacity .9s ease .2s, transform .9s ease .2s, filter .9s ease .2s;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(6px);
  transition: opacity .7s ease, transform .7s ease, filter .7s ease;
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* --------- RESPONSIVE --------- */
@media (max-width: 1100px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .pill-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
}

@media (max-width: 980px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .trust-wrap {
    grid-template-columns: 1fr;
  }

  .pill-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .trust-mini {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-title {
    max-width: 14ch;
  }

  .hero-panel {
    height: 420px;
  }

  .about-center-inner {
    text-align: left;
  }

  .about-title,
  .about-sub {
    margin-left: 0;
    margin-right: 0;
  }

  .about-points {
    grid-template-columns: 1fr;
  }

  .about-actions {
    justify-content: flex-start;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --section-pad: clamp(64px, 9vw, 92px);
    --section-pad-tight: clamp(40px, 7vw, 60px);
  }

  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
    display: none;
    flex-direction: column;
    gap: 12px;
  }

  .site-header.is-open .nav {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
    gap: 4px;
  }

  .nav-link {
    width: 100%;
  }

  .nav-cta {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
    justify-content: center;
  }

  .cards,
  .steps,
  .pill-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(var(--container), calc(100% - 26px));
  }

  .btn,
  .about-actions .btn {
    width: 100%;
  }

  .hero-cta {
    width: 100%;
  }

  .hero-panel {
    height: 340px;
  }

  .hero-scroll {
    bottom: 12px;
  }
}