/* ============ TOKENS ============ */
:root {
  --navy-900: #071a33;
  --navy-800: #0b2545;
  --navy-700: #13315c;
  --teal-600: #0e8f86;
  --teal-500: #13a89e;
  --teal-100: #ddf4f1;
  --ink: #0f1c2e;
  --muted: #5a6b80;
  --line: #e3e9ef;
  --bg: #ffffff;
  --bg-alt: #f4f8fa;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 37, 69, 0.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy-800); }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; transition: .25s ease; font-family: inherit;
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--teal-500); color: #fff; box-shadow: 0 8px 20px rgba(19,168,158,.3); }
.btn-primary:hover { background: var(--teal-600); transform: translateY(-2px); }
.btn-ghost { border-color: var(--navy-800); color: var(--navy-800); }
.btn-ghost:hover { background: var(--navy-800); color: #fff; }
.btn-light { background: #fff; color: var(--navy-800); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-whatsapp { background: #25d366; color: #fff; margin-top: 8px; }
.btn-whatsapp:hover { background: #1ebe5b; }

/* ============ HEADER ============ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: .3s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(11,37,69,.06); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--navy-800); }
.logo-mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-800), var(--teal-500)); color: #fff; font-size: 15px;
  box-shadow: 0 4px 12px rgba(19,168,158,.25);
}
.logo-mark svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.logo-text span { color: var(--teal-500); margin-left: 3px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) { font-weight: 600; font-size: 15px; color: var(--muted); transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--teal-600); }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy-800); margin: 5px 0; transition: .3s; }

/* ============ HERO ============ */
.hero {
  padding: 80px 0 100px;
  background:
    radial-gradient(circle at 85% 20%, var(--teal-100), transparent 45%),
    linear-gradient(180deg, #fff, var(--bg-alt));
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal-600); background: var(--teal-100); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; letter-spacing: -0.02em; }
.lead { font-size: 18px; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 44px; }
.hero-stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hero-stats strong { display: block; font-size: 32px; font-weight: 800; color: var(--navy-800); }
.hero-stats span { font-size: 14px; color: var(--muted); }

.hero-visual { position: relative; min-height: 440px; }
.hero-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.main-card {
  position: absolute; inset: 40px 30px 40px 30px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-700));
}
.main-card h3 { color: #fff; font-size: 24px; margin: 0; }
.main-card p { color: #b9cce0; margin: 4px 0 0; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 14px; color: var(--navy-800); }
.float-card small { color: var(--muted); font-size: 12px; }
.fc-1 { top: 0; left: -10px; }
.fc-2 { bottom: 10px; right: -10px; animation-delay: -2s; }
.fc-3 { top: 70px; right: -30px; animation-delay: -4s; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-teal { background: var(--teal-500); box-shadow: 0 0 0 5px var(--teal-100); }
.dot-navy { background: var(--navy-700); box-shadow: 0 0 0 5px #e2e9f3; }
.check { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--teal-500); color: #fff; font-weight: 800; font-size: 14px; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ============ AVATARS ============ */
.avatar {
  display: grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 800; flex-shrink: 0;
  border: 4px solid rgba(255,255,255,.9);
}
.avatar-sm { width: 46px; height: 46px; font-size: 15px; border-width: 2px; }
.avatar-lg { width: 96px; height: 96px; font-size: 30px; }
.avatar-xl { width: 200px; height: 200px; font-size: 64px; border-width: 8px; }
.av-1 { background: linear-gradient(135deg, #13a89e, #0b2545); }
.av-2 { background: linear-gradient(135deg, #3d7dd8, #13315c); }
.av-3 { background: linear-gradient(135deg, #0e8f86, #2b5b84); }
.av-4 { background: linear-gradient(135deg, #5b6fd6, #0b2545); }
.av-5 { background: linear-gradient(135deg, #1fb9a8, #3d7dd8); }
.av-6 { background: linear-gradient(135deg, #2b5b84, #13a89e); }

/* ============ STRIP ============ */
.strip { background: var(--navy-800); color: #c9d8e8; padding: 22px 0; }
.strip-inner { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; justify-content: center; }
.strip p { margin: 0; font-weight: 600; color: #fff; }
.strip ul { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; padding: 0; margin: 0; justify-content: center; font-weight: 500; }

/* ============ SECTIONS ============ */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #c9d8e8; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2, .about-copy h2, .contact-info h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); font-size: 17px; }
.section-head.light h2 { color: #fff; }
.section-head.light .eyebrow { background: rgba(19,168,158,.18); color: #5ee0d4; }

/* ============ SERVICES ============ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  padding: 34px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card h3 { font-size: 20px; }
.service-card p { color: var(--muted); margin: 0; }
.icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--teal-100); transition: .3s;
}
.icon svg { width: 28px; height: 28px; fill: none; stroke: var(--teal-600); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card:hover .icon { background: var(--teal-500); }
.service-card:hover .icon svg { stroke: #fff; }

/* ============ ABOUT ============ */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.about-visual { position: relative; }
.founder-portrait {
  position: relative; aspect-ratio: 4/5; border-radius: 28px; display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(19,168,158,.35), transparent 55%),
    linear-gradient(160deg, var(--navy-800), var(--navy-700));
  box-shadow: var(--shadow-lg);
}
.badge {
  position: absolute; top: 24px; left: 24px; background: var(--teal-500); color: #fff;
  font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 999px;
}
.quote-card {
  position: absolute; bottom: -30px; right: -30px; max-width: 300px; background: #fff;
  padding: 22px 24px; border-radius: var(--radius); box-shadow: var(--shadow-lg); border-left: 4px solid var(--teal-500);
}
.quote-card p { font-style: italic; font-size: 15px; color: var(--navy-800); margin-bottom: 8px; }
.quote-card span { font-size: 13px; font-weight: 700; color: var(--teal-600); }
.about-copy .role { color: var(--teal-600); font-weight: 700; margin-top: -8px; }
.about-copy p { color: var(--muted); }
.about-copy strong { color: var(--navy-800); }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; font-weight: 500; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal-100); color: var(--teal-600); font-size: 12px; font-weight: 800; display: grid; place-items: center;
}

/* ============ TIMELINE ============ */
.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 900px; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 160px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--teal-500), var(--navy-700));
}
.timeline li { display: grid; grid-template-columns: 160px 1fr; gap: 40px; margin-bottom: 28px; position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: 153px; top: 26px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 4px solid var(--teal-500);
}
.year { font-weight: 800; color: var(--navy-800); padding-top: 20px; text-align: right; padding-right: 10px; font-size: 15px; }
.tl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; transition: .3s; }
.tl-card:hover { box-shadow: var(--shadow); }
.tl-card h3 { font-size: 19px; margin-bottom: 4px; }
.company { font-weight: 700; color: var(--teal-600); margin-bottom: 8px; }
.company span { color: var(--muted); font-weight: 500; }
.tl-card p:last-child { color: var(--muted); margin: 0; }

/* ============ STEPS ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { padding: 30px 26px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.step span { font-size: 38px; font-weight: 800; color: var(--teal-500); display: block; margin-bottom: 12px; }
.step h3 { color: #fff; font-size: 19px; }
.step p { margin: 0; font-size: 15px; }

/* ============ TEAM ============ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card {
  text-align: center; padding: 36px 28px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); transition: .3s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-card .avatar { margin: 0 auto 18px; box-shadow: var(--shadow); }
.team-card h3 { font-size: 20px; margin-bottom: 2px; }
.team-card .role { color: var(--teal-600); font-weight: 700; font-size: 14px; }
.team-card .bio { color: var(--muted); font-size: 15px; }
.loc { font-size: 13px; color: var(--muted); font-weight: 600; }
.team-card.featured { background: linear-gradient(160deg, var(--navy-800), var(--navy-700)); border-color: transparent; }
.team-card.featured h3 { color: #fff; }
.team-card.featured .role { color: #5ee0d4; }
.team-card.featured .bio, .team-card.featured .loc { color: #b9cce0; }

/* ============ TESTIMONIALS ============ */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.t-card {
  margin: 0; padding: 30px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
  display: flex; flex-direction: column; position: relative;
}
.t-card::before { content: "“"; position: absolute; top: 6px; right: 24px; font-size: 90px; line-height: 1; color: var(--teal-100); font-family: Georgia, serif; }
.stars { color: #f5b700; letter-spacing: 3px; margin-bottom: 14px; }
.t-card blockquote { margin: 0 0 24px; color: var(--ink); flex: 1; position: relative; }
.t-card figcaption { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; }
.t-card figcaption strong { display: block; color: var(--navy-800); font-size: 15px; }
.t-card figcaption span { font-size: 13px; color: var(--muted); }

/* ============ CTA ============ */
.cta { padding: 0 0 100px; background: var(--bg-alt); }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding: 50px 56px; border-radius: 28px;
  background: linear-gradient(120deg, var(--teal-600), var(--navy-800));
}
.cta h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); }
.cta p { color: #d4ece9; margin: 0; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.contact-info > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 20px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-list small { display: block; color: var(--muted); font-size: 13px; }
.contact-list a, .contact-list span { font-weight: 700; color: var(--navy-800); word-break: break-word; }
.contact-list a:hover { color: var(--teal-600); }
.contact-list address { font-style: normal; line-height: 1.5; }
.ci-icon { width: 50px; height: 50px; border-radius: 14px; background: var(--teal-100); display: grid; place-items: center; flex-shrink: 0; }
.ci-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--teal-600); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.contact-form {
  background: #fff; padding: 40px; border-radius: 24px; box-shadow: var(--shadow-lg);
  display: grid; gap: 18px; border: 1px solid var(--line);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 8px; font-weight: 600; font-size: 14px; color: var(--navy-800); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-size: 15px; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--bg-alt); color: var(--ink); transition: .2s; width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--teal-500); background: #fff; box-shadow: 0 0 0 4px var(--teal-100);
}
.contact-form .invalid { border-color: #e05252; }
.form-note { margin: 0; font-size: 14px; text-align: center; color: var(--teal-600); font-weight: 600; min-height: 1em; }
.form-note.error { color: #e05252; }

/* ============ FOOTER ============ */
.footer { background: var(--navy-900); color: #9fb3c8; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.logo-light { color: #fff; margin-bottom: 16px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.footer a:hover { color: #5ee0d4; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 50px; padding: 24px 0; text-align: center; font-size: 14px; }
.footer-bottom p { margin: 0; }

/* ============ REVEAL ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .services-grid, .team-grid, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; align-items: stretch;
    background: #fff; padding: 12px 16px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-120%); transition: transform .35s ease; z-index: -1;
  }
  .nav-links.open { transform: none; }
  .nav-links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 16px; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 50px 0 70px; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { min-height: 380px; max-width: 460px; width: 100%; margin: 0 auto; }
  .fc-1 { left: 0; } .fc-2 { right: 0; } .fc-3 { right: 0; top: 0; }
  .about-visual { max-width: 420px; margin: 0 auto 30px; width: 100%; }
  .quote-card { right: 0; bottom: -40px; }
  .section { padding: 72px 0; }
}

@media (max-width: 600px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .team-grid, .testimonials, .steps, .field-row, .footer-grid { grid-template-columns: 1fr; }
  .main-card { inset: 50px 10px; }
  .fc-3 { display: none; }
  .avatar-xl { width: 150px; height: 150px; font-size: 48px; }
  .quote-card { position: relative; right: auto; bottom: auto; margin: -40px 16px 0; max-width: none; }

  .timeline::before { left: 7px; }
  .timeline li { grid-template-columns: 1fr; gap: 8px; padding-left: 32px; }
  .timeline li::before { left: 0; top: 4px; }
  .year { text-align: left; padding: 0; }

  .cta-inner { padding: 36px 26px; }
  .contact-form { padding: 26px 20px; }
}
