/* ============================================================
   Go Service — main.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

:root {
  --green:       #3A6448;
  --green-dark:  #0d1f16;
  --green-mid:   #1a3d28;
  --green-hover: #2d5038;
  --green-light: #EBF3ED;
  --green-pale:  #DAE8DC;

  --white:    #ffffff;
  --off:      #fafaf8;
  --gray-50:  #f7f7f6;
  --gray-100: #f0f0ee;
  --gray-200: #e4e4e1;
  --gray-400: #a3a3a0;
  --gray-500: #737370;
  --gray-700: #3d3d3a;
  --gray-900: #141412;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --nav-h: 64px;
  --radius: 12px;
  --ease: cubic-bezier(.25,.46,.45,.94);
  --dur: 150ms;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.14), 0 4px 8px rgba(0,0,0,.08);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--off);
  color: var(--gray-900);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { font-family: var(--font); cursor: pointer; }
input, select, textarea { font-family: var(--font); }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 24px;
}
.container--sm { max-width: 760px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 20px; height: 40px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  border: none; cursor: pointer;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-hover); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--green); border: 1.5px solid var(--green-pale); }
.btn--outline:hover { background: var(--green-light); border-color: var(--green); }
.btn--ghost {
  background: rgba(255,255,255,.12); color: var(--white);
  border: 1.5px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255,255,255,.22); }
.btn--lg { height: 48px; padding: 0 28px; font-size: 15px; border-radius: 10px; }

/* ================================================================
   NAVIGATION
   ================================================================ */
.nav {
  position: sticky; top: 0; z-index: 200;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  display: flex; justify-content: center;
  transition: box-shadow .3s var(--ease);
}
.nav.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.08); }

.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1160px; padding-inline: 24px; gap: 24px;
}

/* Logo */
.nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.nav__logo-img { height: 44px; width: auto; object-fit: contain; display: block; }

/* Links */
.nav__links {
  display: flex; align-items: center; gap: 2px; flex: 1;
}
.nav__links a {
  font-size: 14px; font-weight: 500; color: var(--gray-500);
  padding: 8px 14px; border-radius: 8px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav__links a:hover { background: var(--gray-100); color: var(--gray-900); }
.nav__links a.active { color: var(--green); background: var(--green-light); }

/* Actions */
.nav__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* Burger */
.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; background: none; border: none;
}
.nav__burger span { width: 22px; height: 2px; background: var(--gray-900); display: block; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav__mobile {
  display: none; flex-direction: column;
  position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 199;
  padding: 20px 24px; gap: 0;
  overflow-y: auto;
}
.nav__mobile.open { display: flex; }
.nav-mobile-logo { padding: 8px 0 20px; border-bottom: 1px solid var(--gray-100); margin-bottom: 8px; }
.nav-mobile-logo img { height: 40px; width: auto; object-fit: contain; }
.nav__mobile a {
  font-size: 18px; font-weight: 600; color: var(--gray-900);
  padding: 14px 0; border-bottom: 1px solid var(--gray-100);
}
.nav__mobile .nav-mobile-portal {
  margin-top: 20px; display: flex; flex-direction: column; gap: 12px;
}
.nav__mobile .nav-mobile-portal .btn { justify-content: center; height: 48px; font-size: 15px; }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--green-mid) 60%, #0f2a1a 100%);
  padding: 72px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(58,100,72,.5) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 100%, rgba(26,61,40,.6) 0%, transparent 60%);
  pointer-events: none;
}

.hero__inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.8);
  letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 28px;
}
.hero__eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: #6ee7b7; flex-shrink: 0; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

.hero__title {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 900; letter-spacing: -1.5px; line-height: 1.1;
  color: var(--white); margin-bottom: 20px;
}

.hero__sub {
  font-size: 17px; font-weight: 400;
  color: rgba(255,255,255,.65);
  line-height: 1.65; max-width: 520px; margin: 0 auto 48px;
}

/* ── Service grid ── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 720px;
  margin: 0 auto 40px;
}

.service-tile {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 20px 12px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  cursor: pointer; text-decoration: none; color: var(--white);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  backdrop-filter: blur(8px);
}
.service-tile:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.3);
  transform: translateY(-3px);
}
.service-tile__icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; line-height: 1;
  transition: background var(--dur) var(--ease);
}
.service-tile:hover .service-tile__icon { background: rgba(255,255,255,.2); }
.service-tile__label {
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,.9); letter-spacing: .01em;
  text-align: center; line-height: 1.3;
}

/* ── Portal access ── */
.hero__portals {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  flex-wrap: wrap;
}

.portal-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 10px;
  font-size: 14px; font-weight: 700;
  transition: all var(--dur) var(--ease);
  text-decoration: none;
}
.portal-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.portal-btn--client {
  background: var(--white); color: var(--green);
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.portal-btn--client:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.25); }
.portal-btn--pro {
  background: rgba(255,255,255,.1); color: var(--white);
  border: 1.5px solid rgba(255,255,255,.25);
}
.portal-btn--pro:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.4); }

/* ================================================================
   HOW IT WORKS
   ================================================================ */
.steps-section {
  background: var(--white);
  padding: 80px 24px;
}
.steps-section .eyebrow { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--green); margin-bottom: 10px; text-align: center; }
.steps-section h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -.5px; color: var(--gray-900); text-align: center; margin-bottom: 56px; }

.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  max-width: 880px; margin: 0 auto;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute; top: 28px;
  left: calc(16.67% + 32px); right: calc(16.67% + 32px);
  height: 2px; background: var(--gray-200); z-index: 0;
}
.step { text-align: center; position: relative; }
.step__num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green); color: var(--white);
  font-size: 18px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 8px rgba(58,100,72,.1);
  position: relative; z-index: 1;
}
.step h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.step p   { font-size: .875rem; color: var(--gray-500); line-height: 1.7; }

/* ================================================================
   WHY US
   ================================================================ */
.why-section { padding: 80px 24px; background: var(--off); }
.why-section .eyebrow { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--green); margin-bottom: 10px; text-align: center; }
.why-section h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -.5px; color: var(--gray-900); text-align: center; margin-bottom: 48px; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }

.pillar {
  background: var(--white); border-radius: 16px;
  padding: 32px 28px; border: 1px solid var(--gray-200);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.pillar:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pillar__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 20px;
}
.pillar h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.pillar p  { font-size: .875rem; color: var(--gray-500); line-height: 1.7; }

/* ================================================================
   CTA BAND
   ================================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  padding: 72px 24px; text-align: center;
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -.5px; color: var(--white); margin-bottom: 12px; }
.cta-band p  { color: rgba(255,255,255,.65); max-width: 440px; margin: 0 auto 32px; font-size: 16px; }
.cta-band__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ================================================================
   FOOTER
   ================================================================ */
.footer { background: var(--gray-900); padding: 56px 24px 32px; color: rgba(255,255,255,.5); }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px; max-width: 1160px; margin: 0 auto;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__logo { margin-bottom: 16px; }
.footer__logo-img { height: 40px; width: auto; object-fit: contain; filter: brightness(0) invert(1); }
.footer__tagline { font-size: .875rem; line-height: 1.7; max-width: 260px; }
.footer__col-title { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--white); margin-bottom: 16px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: .875rem; transition: color var(--dur) var(--ease); }
.footer__links a:hover { color: var(--white); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; font-size: .8rem; flex-wrap: wrap; gap: 8px;
  max-width: 1160px; margin: 0 auto;
}
.footer__bottom a:hover { color: var(--white); }

/* ================================================================
   FADE-IN
   ================================================================ */
[data-fade] { opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
[data-fade].visible { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .08s; }
[data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: flex; }
  .nav__logo-img { height: 38px; }

  .hero { padding: 40px 20px 56px; }
  .hero__title { letter-spacing: -.8px; }
  .hero__sub { font-size: 15px; }

  .service-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .service-tile { padding: 16px 8px 12px; gap: 8px; }
  .service-tile__icon { width: 44px; height: 44px; font-size: 22px; border-radius: 12px; }
  .service-tile__label { font-size: 11px; }

  .portal-btn { padding: 14px 20px; font-size: 14px; width: 100%; justify-content: center; }
  .hero__portals { flex-direction: column; align-items: stretch; max-width: 400px; margin: 0 auto; }

  .steps-section { padding: 56px 20px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps::before { display: none; }
  .step__num { margin-bottom: 16px; }

  .why-section { padding: 56px 20px; }
  .pillars { grid-template-columns: 1fr; }

  .cta-band { padding: 56px 20px; }
  .cta-band__btns { flex-direction: column; align-items: center; }
  .btn--lg { width: 100%; justify-content: center; max-width: 340px; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 420px) {
  .service-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .service-tile { padding: 12px 4px 10px; }
  .service-tile__icon { width: 38px; height: 38px; font-size: 19px; border-radius: 10px; }
  .service-tile__label { font-size: 10px; }
}
