@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&family=Lora:ital,wght@1,500;1,600&display=swap');

:root {
  --navy: #1E293B;
  --navy-deep: #0F172A;
  --cyan: #00B4D8;
  --cyan-dark: #0891B2;
  --slate: #64748B;
  --slate-light: #94A3B8;
  --bg-light: #F8FAFC;
  --border: #E2E8F0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Open Sans', 'Segoe UI', -apple-system, Helvetica, Arial, sans-serif;
  color: var(--navy);
  line-height: 1.7;
  background: #fff;
}

h1, h2, h3, h4, .btn, nav a, .eyebrow, .step-num, .stat .num {
  font-family: 'Poppins', 'Segoe UI', Helvetica, Arial, sans-serif;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

em.accent {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  color: var(--cyan-dark);
}

/* Scroll/entrance animation is driven by GSAP (js/site.js).
   Elements stay visible without JavaScript — no CSS hiding. */

/* Living signal bars */
@keyframes eq { 0%, 100% { transform: scaleY(.6); } 50% { transform: scaleY(1); } }
.eqbar { transform-origin: center; transform-box: fill-box; animation: eq 1.8s ease-in-out infinite; }

/* Rotating headline word */
#rotWord { color: var(--cyan-dark); display: inline-block; transition: opacity .3s ease, transform .3s ease; }
#rotWord.swap { opacity: 0; transform: translateY(8px); }

/* Hero network canvas */
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .eqbar { animation: none; }
  .hero-net { display: none; }
}

/* Header */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo img { height: 46px; display: block; }
nav ul { display: flex; gap: 32px; list-style: none; align-items: center; }
nav a { text-decoration: none; color: var(--navy); font-size: 15px; font-weight: 500; transition: color .2s; }
nav a:hover, nav a.active { color: var(--cyan-dark); }
.nav-phone { color: var(--cyan-dark) !important; font-weight: 700 !important; }
.nav-cta {
  background: var(--navy); color: #fff !important; padding: 10px 22px;
  border-radius: 8px; font-size: 14px !important;
}
.nav-cta:hover { background: var(--cyan-dark); }

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(0,180,216,0.08), transparent),
    linear-gradient(180deg, var(--bg-light) 0%, #fff 100%);
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .35;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, black, transparent);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 60px; align-items: center; }
.eyebrow {
  display: inline-block; color: var(--cyan-dark); font-size: 13px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px;
}
h1 { font-size: 50px; font-weight: 600; line-height: 1.15; margin-bottom: 20px; letter-spacing: -1px; }
.hero p.lead { font-size: 19px; color: var(--slate); margin-bottom: 30px; max-width: 560px; }
.btn { display: inline-block; text-decoration: none; padding: 15px 32px; border-radius: 10px; font-weight: 700; font-size: 16px; transition: all .2s; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(15,23,42,0.18); }
.btn-primary:hover { background: var(--cyan-dark); transform: translateY(-1px); }
.btn-outline { border: 2px solid var(--navy); color: var(--navy); margin-left: 12px; }
.btn-outline:hover { border-color: var(--cyan-dark); color: var(--cyan-dark); }
.hero-note { font-size: 14px; color: var(--slate); margin-top: 18px; }
.hero-note a { color: var(--cyan-dark); font-weight: 700; text-decoration: none; }

/* Trust bar */
.trust-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; }
.trust-wrap { display: flex; justify-content: space-between; gap: 18px; padding: 20px 0; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--navy); }
.trust-item svg { width: 20px; height: 20px; stroke: var(--cyan-dark); flex-shrink: 0; }

/* Sections */
section { padding: 104px 0; }
.section-alt { background: var(--bg-light); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 64px; }
h2 { font-size: 36px; font-weight: 600; margin-bottom: 14px; letter-spacing: -0.5px; }
.section-head p { color: var(--slate); font-size: 17px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 38px 32px; transition: box-shadow .22s ease-out, transform .22s ease-out, border-color .22s ease-out;
}
.card:hover { box-shadow: 0 10px 28px rgba(15,23,42,0.09); transform: translateY(-4px); border-color: #BAE6FD; }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; background: #E0F7FC;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.card .icon svg { width: 26px; height: 26px; stroke: var(--cyan-dark); }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--slate); font-size: 15px; }
.step-num {
  font-family: 'Lora', Georgia, serif; font-style: italic;
  font-size: 15px; font-weight: 600; color: var(--cyan-dark);
  letter-spacing: 2px; display: block; margin-bottom: 8px;
}

/* Stats band */
.stats {
  background:
    linear-gradient(rgba(15,23,42,0.90), rgba(15,23,42,0.93)),
    url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1800&q=60') center/cover no-repeat var(--navy-deep);
  color: #fff; padding: 68px 0; position: relative; overflow: hidden;
}
.stats::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(148,163,184,0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,0.12) 1px, transparent 1px);
  background-size: 48px 48px;
}
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat .num { font-size: 42px; font-weight: 800; color: var(--cyan); }
.stat .label { color: var(--slate-light); font-size: 15px; margin-top: 6px; }

/* Two-column feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { margin-bottom: 18px; }
.split p { color: var(--slate); margin-bottom: 16px; }
.checklist { list-style: none; margin-top: 8px; }
.checklist li { padding: 8px 0 8px 34px; position: relative; color: var(--navy); font-weight: 600; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 20px; height: 20px;
  border-radius: 50%; background: #E0F7FC;
}
.checklist li::after {
  content: ""; position: absolute; left: 5px; top: 17px; width: 10px; height: 6px;
  border-left: 2.5px solid var(--cyan-dark); border-bottom: 2.5px solid var(--cyan-dark);
  transform: rotate(-45deg);
}

/* Promise band */
.promise-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.promise-card {
  background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--cyan);
  border-radius: 0 14px 14px 0; padding: 28px 30px;
}
.promise-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.promise-card p { color: var(--slate); font-size: 15px; }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  padding: 22px 4px; font-size: 17px; font-weight: 700; color: var(--navy); gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 26px; font-weight: 400; color: var(--cyan-dark);
  transition: transform .25s; line-height: 1; flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 4px 22px; color: var(--slate); font-size: 15.5px; max-width: 700px; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 70%);
  color: #fff; text-align: center; padding: 80px 0; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 90% at 50% 110%, rgba(0,180,216,0.22), transparent);
}
.cta-band > .container { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--slate-light); max-width: 580px; margin: 0 auto 30px; }
.btn-cyan { background: var(--cyan); color: var(--navy-deep); }
.btn-cyan:hover { background: #33C3E0; transform: translateY(-1px); }

/* Page hero (interior pages) */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 80% 0%, rgba(0,180,216,0.08), transparent),
    var(--bg-light);
  padding: 76px 0 60px;
}
.page-hero h1 { font-size: 42px; }
.page-hero p { color: var(--slate); font-size: 18px; max-width: 660px; margin-top: 12px; }

/* Service detail rows */
.service-row {
  display: grid; grid-template-columns: 64px 1fr; gap: 26px;
  padding: 38px 0; border-bottom: 1px solid var(--border);
}
.service-row:last-child { border-bottom: none; }
.service-row .icon {
  width: 56px; height: 56px; border-radius: 14px; background: #E0F7FC;
  display: flex; align-items: center; justify-content: center;
}
.service-row .icon svg { width: 28px; height: 28px; stroke: var(--cyan-dark); }
.service-row h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.service-row p { color: var(--slate); }
.tag {
  display: inline-block; background: #E0F7FC; color: var(--cyan-dark);
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 10px;
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; }
.contact-info h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.contact-info p { color: var(--slate); margin-bottom: 24px; }
.contact-line { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.contact-line .icon {
  width: 44px; height: 44px; border-radius: 10px; background: #E0F7FC; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.contact-line .icon svg { width: 22px; height: 22px; stroke: var(--cyan-dark); }
.contact-line a { color: var(--navy); text-decoration: none; font-weight: 600; }
.contact-line a:hover { color: var(--cyan-dark); }
form .field { margin-bottom: 18px; }
form label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
form input, form select, form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 15px; color: var(--navy); background: #fff;
}
form input:focus, form select:focus, form textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,180,216,0.15);
}
form button { border: none; cursor: pointer; width: 100%; }

/* Photo frame */
.photo-frame { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 36px rgba(15,23,42,0.14); }
.photo-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0) 55%, rgba(15,23,42,0.45) 100%);
}
.photo-frame .photo-caption {
  position: absolute; left: 20px; bottom: 16px; z-index: 1;
  color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 0.5px;
}
.photo-frame .photo-caption span { color: #7DD8EC; }

/* Footer */
footer { background: var(--navy-deep); color: var(--slate-light); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-grid img { height: 42px; margin-bottom: 16px; }
.footer-grid p { font-size: 14px; max-width: 320px; }
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--slate-light); text-decoration: none; font-size: 14px; }
.footer-grid a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid #1E293B; padding-top: 24px; font-size: 13px; text-align: center; }

/* Responsive */
html, body { overflow-x: hidden; }

@media (max-width: 900px) {
  .hero-grid, .split, .contact-grid, .promise-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }

  /* Header: logo on top, nav below — nothing overflows */
  .nav-wrap {
    flex-direction: column; height: auto;
    padding: 12px 0 10px; gap: 10px;
  }
  .logo img { height: 38px; }
  nav ul { gap: 20px; flex-wrap: wrap; justify-content: center; }
  nav a { font-size: 15px; }
  nav ul li:nth-child(n+5) { display: none; }

  /* Hero: tighter, with the animated bars back (smaller, below the text) */
  .hero { padding: 56px 0 56px; }
  h1 { font-size: 34px; }
  .hero p.lead { font-size: 17