/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #004969;
  --peach:     #f3716d;
  --blue:      rgb(46, 163, 242);
  --blue-dark: rgb(30, 130, 200);
  --white:     #ffffff;
  --hero-bg:   #e8eaed;
  --light:     #f5f7fa;
  --gray:      #6b7280;
  --dark:      #004969;
  --text:      #2d3748;
  --radius:    10px;
  --shadow:    0 4px 24px rgba(0,0,0,0.10);
  --top-strip-h: 40px;
  --nav-bar-h:   72px;
  --nav-h:       112px; /* top-strip + nav-bar */
  --font-serif:  'EB Garamond', Georgia, serif;
  --font-sans:   'Raleway', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  line-height: 1.65;
  background: #fff;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

.section-pad { padding: 96px 0; }
.bg-light { background: var(--light); }

/* ── Platforms strip ── */
.platforms-strip {
  background: #fff;
  padding: 32px 0 40px;
  border-bottom: 1px solid #eef0f3;
}
.platforms-label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #b0b8c4;
  margin-bottom: 24px;
}
.platforms-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px 36px;
}
.platform-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.platform-item:hover { opacity: 1; }
.platform-item svg { width: 30px; height: 30px; display: block; }
.platform-item span {
  font-size: 0.62rem;
  font-weight: 700;
  color: #9ca3af;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Soft gradient divider between adjacent light sections — add to the lower section */
.section-fade-top {
  position: relative;
}
.section-fade-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.045), transparent);
  pointer-events: none;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

.btn-secondary {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-secondary:hover { background: var(--blue); color: #fff; }

.btn-white {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.btn-white:hover { background: var(--light); }

.btn-nav {
  background: var(--blue);
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.btn-nav:hover { background: var(--blue-dark); }

/* ── Section labels ── */
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
  text-align: center;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
  text-align: center;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 620px;
  margin-bottom: 56px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: box-shadow 0.2s;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.18); }

/* Top strip */
.top-strip {
  background: var(--navy);
  height: var(--top-strip-h);
  overflow: hidden;
  transition: height 0.25s ease, opacity 0.25s ease;
}
.top-strip.hidden-strip {
  height: 0;
  opacity: 0;
}
.top-strip-inner {
  max-width: 100%;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-strip-location {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}
.top-strip-location a { color: inherit; }

.top-strip-actions {
  display: flex;
  gap: 8px;
}
.top-btn {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 3px 14px;
  border-radius: 999px;
  border: 1px solid #96aab5;
  background: #d1d5de;
  color: var(--navy);
  transition: border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.top-btn:hover { background: #bcc3cc; border-color: #7a8fa0; }

/* Nav bar */
.nav-bar {
  background: var(--hero-bg);
  height: var(--nav-bar-h);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.nav-inner {
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Hamburger — always visible */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Centered logo */
.logo-link {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}
.logo-svg { height: 38px; width: auto; }

/* User icon right */
.nav-user-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.nav-user-icon:hover { opacity: 1; }

/* ── Left Drawer Menu ── */
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1050;
  opacity: 0;
  transition: opacity 0.3s;
}
.drawer-overlay.open { display: block; opacity: 1; }

.drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 300px;
  background: #fff;
  z-index: 1060;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 80px 0 40px;
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }

.drawer-logo {
  padding: 0 32px 32px;
  border-bottom: 1px solid #eee;
  margin-bottom: 16px;
}
.drawer-logo svg { height: 30px; width: auto; }

.drawer-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.drawer-nav a {
  display: block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s, color 0.15s;
}
.drawer-nav a:hover { background: var(--light); color: var(--blue); }
.drawer-nav a.active { color: var(--peach); font-weight: 700; }

/* Drawer close X */
.drawer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--gray);
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s, background 0.15s;
}
.drawer-close:hover { color: var(--navy); background: var(--light); }

.drawer-cta-group {
  padding: 24px 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.drawer-pill:hover { background: var(--blue-dark); color: #fff; }
.drawer-pill-icon { font-size: 1rem; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hero-bg);
  padding-top: var(--nav-h);
  overflow: hidden;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 80px 24px 60px;
}

.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 28px;
  letter-spacing: 0;
}

.hero-sub {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 48px;
}

/* Rotating word display */
.hero-rotator {
  margin-bottom: 48px;
}
.hero-rotator-label {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 8px;
}
.hero-rotator-word {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--peach);
  min-height: 1.3em;
  display: block;
  transition: opacity 0.4s ease;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-scroll-hint { display: none; }

/* ── Typed rotator (RecoilMedia-style) ── */
.hero-need {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 48px;
}

.need-line1 {
  font-size: 36px;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 10px;
}

.need-line2 {
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.05;
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
}

#typedLink,
#typedLink:link,
#typedLink:visited,
#typedText {
  color: var(--peach) !important;
  text-decoration: none;
}

#typedLink:hover,
#typedLink:hover #typedText {
  color: var(--peach) !important;
}

.cursor {
  color: var(--navy) !important;
  margin-left: 2px;
  animation: blink 1s step-start infinite;
}

@keyframes blink { 50% { opacity: 0; } }

#typedText {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.typed-controls {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.hero-need:hover .typed-controls {
  opacity: 1;
  pointer-events: auto;
}

.typed-btn,
.typed-btn-blue {
  font-size: 14px;
  padding: 4px 12px 2px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}

.typed-btn {
  border: 1px solid rgba(0,0,0,0.25);
  background: transparent;
  color: var(--navy);
}
.typed-btn:hover { border-color: rgba(0,0,0,0.5); }

.typed-btn-blue {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  font-weight: 600;
}
.typed-btn-blue:hover,
.typed-btn-blue:active {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
}

.hidden { display: none !important; }

@media (max-width: 980px) {
  .need-line1 { font-size: 28px; }
}
@media (max-width: 767px) {
  .need-line1 { font-size: 22px; }
  .typed-controls { gap: 5px; }
  .typed-btn, .typed-btn-blue { font-size: 11px; }
}

/* ── Trust Bar ── */
.trust-bar {
  background: var(--navy);
  padding: 14px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.trust-divider { color: rgba(255,255,255,0.25); }

/* ── Verticals / Cards ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 40px rgba(0,0,0,0.14); }

.card-icon { font-size: 2.2rem; margin-bottom: 16px; }
.card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
.card p { font-size: 0.92rem; color: var(--gray); margin-bottom: 20px; }

.card-list { margin-bottom: 28px; }
.card-list li {
  font-size: 0.88rem;
  color: var(--text);
  padding: 5px 0 5px 18px;
  position: relative;
}
.card-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.card-highlight {
  border: 2px solid var(--blue);
}

.card-coming-soon { opacity: 0.55; pointer-events: none; }
.coming-soon-badge {
  display: inline-block;
  background: var(--light);
  color: var(--gray);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-top: 8px;
}

/* ── How It Works ── */
.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 48px;
}
.step {
  flex: 1;
  padding: 36px 28px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}
.step-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--blue);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
.step p { font-size: 0.9rem; color: var(--gray); }

.step-arrow {
  font-size: 2rem;
  color: var(--blue);
  display: flex;
  align-items: center;
  padding: 0 12px;
  margin-top: -10px;
  opacity: 0.4;
  flex-shrink: 0;
}

.steps-cta { text-align: center; }

/* ── Services Carousel ── */
.carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.carousel-track-container {
  overflow: hidden;
  flex: 1;
  border-radius: var(--radius);
}
.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.carousel-card {
  flex: 0 0 calc(33.333% - 16px);
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--blue);
}
.carousel-icon { font-size: 1.8rem; margin-bottom: 12px; }
.carousel-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.carousel-card p { font-size: 0.88rem; color: var(--gray); }

.carousel-btn {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  background: #fff;
  color: var(--blue);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.carousel-btn:hover { background: var(--blue); color: #fff; }
.carousel-btn:disabled { opacity: 0.3; cursor: default; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.carousel-dot.active { background: var(--blue); }

/* ── CTA Band ── */
.cta-band {
  background: linear-gradient(135deg, var(--navy), #002f45);
  padding: 72px 0;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band-text h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.cta-band-text p { color: rgba(255,255,255,0.7); font-size: 1rem; }
.cta-band-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Footer ── */
.site-footer {
  background: #0d0d1a;
  color: rgba(255,255,255,0.65);
}
.footer-inner {
  display: flex;
  gap: 64px;
  padding: 64px 24px 48px;
  flex-wrap: wrap;
}
.footer-brand { flex: 1; min-width: 200px; }
.footer-logo { height: 32px; width: auto; margin-bottom: 16px; }
.footer-tagline { font-size: 0.88rem; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.footer-location { font-size: 0.82rem; color: rgba(255,255,255,0.35); }

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-col h5 {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li, .footer-col a { font-size: 0.88rem; color: rgba(255,255,255,0.55); }
.footer-col a:hover { color: #fff; }
.footer-soon { font-size: 0.82rem; color: rgba(255,255,255,0.3); font-style: italic; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 24px;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}
.footer-legal a { color: rgba(255,255,255,0.3); }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .steps-grid { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); align-self: center; }
  .carousel-card { flex: 0 0 calc(50% - 12px); }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .cta-band-actions { justify-content: center; }
  .nav-cta-group { display: none; }
}

@media (max-width: 640px) {
  .btn-nav { display: none; }
  .logo-svg { height: 30px; }
}

@media (max-width: 600px) {
  .carousel-card { flex: 0 0 100%; }
  .footer-inner { flex-direction: column; gap: 40px; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .cards-grid { grid-template-columns: 1fr; }
  .trust-inner { flex-direction: column; gap: 6px; text-align: center; }
  .trust-divider { display: none; }
}

@media (max-width: 480px) {
  .logo-svg { height: 26px; }
  .top-strip-actions { display: none; }
  .top-strip-location a { pointer-events: none; }
}

/* ── Reusable CTA Section ── */
.cta-section { padding: 96px 0; }
.cta-section-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.cta-section-left h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.cta-section-left p {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 32px;
}
.cta-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
}
.cta-contact-item a { color: var(--blue); font-weight: 600; }
.cta-contact-icon { font-size: 1rem; flex-shrink: 0; }
.cta-form-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 40px;
}
.cta-form-card iframe {
  display: block;
  border: none;
  min-height: 360px;
}
@media (max-width: 900px) {
  .cta-section-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ── Inner page hero ── */
.page-hero {
  background: var(--hero-bg);
  padding: calc(var(--nav-h) + 64px) 24px 72px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: var(--navy); font-weight: 800; margin-bottom: 16px; }
.page-hero p { color: var(--gray); font-size: 1.1rem; max-width: 580px; margin: 0 auto; }

/* ── Consultation form ── */
#consult-form { display: flex; flex-direction: column; gap: 16px; }
.cf-group { display: flex; flex-direction: column; gap: 6px; }
.cf-group label { font-size: 0.85rem; font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: 0.05em; }
.cf-group input,
.cf-group textarea {
  border: 1.5px solid #d1d9e0;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  background: #fafbfc;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.cf-group input:focus,
.cf-group textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.cf-group textarea { resize: vertical; }
.cf-btn {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px 24px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}
.cf-btn:hover:not(:disabled) { background: #1a8fd1; }
.cf-btn:disabled { opacity: 0.65; cursor: not-allowed; }
.cf-success { color: #1a7a4a; font-weight: 600; font-size: 0.95rem; margin: 0; }
.cf-error { color: #c0392b; font-size: 0.9rem; margin: 0; }
.cf-error a { color: #c0392b; }

.tally-embed-section { padding: 80px 0; background: var(--light); }
.tally-embed-section .container { max-width: 720px; }
.tally-embed-section h2 { font-size: 1.8rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.tally-embed-section p { color: var(--gray); margin-bottom: 32px; }
