/* ─── DESIGN TOKENS ─── */
:root {
  --navy:       #1A1A2E;
  --navy-light: #16213E;
  --red:        #E63946;
  --red-dark:   #C1121F;
  --amber:      #F4A261;
  --bg:         #F8F9FA;
  --bg-alt:     #EEF0F2;
  --white:      #FFFFFF;
  --text:       #1C1C1E;
  --text-muted: #6B7280;
  --border:     #E5E7EB;
  --green:      #2D9B5A;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg:  0 20px 48px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.06);
  --radius:     12px;
  --radius-lg:  20px;
  --transition: 200ms cubic-bezier(.4,0,.2,1);
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* NOTE: never set overflow-x on html/body — it makes the root a scroll
   container and silently breaks position:sticky (the hero) on Safari and
   macOS Chrome. Horizontal overflow is clipped at its source instead. */
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, textarea, select, button { font-family: inherit; }

/* ─── CONTAINER ─── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(230,57,70,.35);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  font-weight: 600;
}
.btn-white:hover {
  background: var(--bg);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
}
.btn-lg {
  padding: 14px 30px;
  font-size: 1rem;
}
.btn-full { width: 100%; justify-content: center; }

/* ─── SECTION SHARED ─── */
.section { padding: 96px 0; }
.section-dark {
  background: var(--navy);
  color: var(--white);
}
.section-light-alt { background: var(--bg-alt); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-tag {
  display: inline-block;
  background: rgba(230,57,70,.1);
  color: var(--red);
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 16px;
}
.section-title.white { color: var(--white); }
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(26,26,46,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,.2);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon { width: 36px; height: 36px; object-fit: contain; }
.logo-text {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 400;
  letter-spacing: 0.04em;
}
.logo-text strong { color: var(--red); font-weight: 700; }
.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active {
  color: var(--white);
  position: relative;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.nav-cta { margin-left: 16px; }

/* Visible keyboard focus everywhere (the UA default is invisible on navy).
   No border-radius here — that would reshape the element itself on focus;
   the outline already follows each element's own radius. */
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ─── SCROLL-EXPAND HERO ─── */
/* 240vh = 140vh of pinned scroll animation. Longer felt like dead air. */
.scroll-hero {
  height: 240vh;
  position: relative;
  background: var(--navy); /* safety net: never flash white if sticky drops */
}
.sh-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.sh-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.32);
  z-index: 0;
  transform: scale(1.04);
}
.sh-media-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.sh-media {
  width: 46%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.65);
  transform-origin: center center;
  will-change: transform, border-radius;
  transition: box-shadow 0.3s ease;
}
.sh-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  text-align: center;
  padding: 24px;
  pointer-events: none;
}
.sh-content .sh-actions { pointer-events: all; }
.sh-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(230,57,70,.12);
  border: 1px solid rgba(230,57,70,.28);
  color: var(--amber);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  animation: fadeSlideDown 0.6s ease both;
}
.sh-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 20px;
  mix-blend-mode: overlay;
  animation: fadeSlideDown 0.6s 0.1s ease both;
}
.text-accent { color: var(--red); }
.sh-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  max-width: 480px;
  margin-bottom: 36px;
  animation: fadeSlideDown 0.6s 0.2s ease both;
}
.sh-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeSlideDown 0.6s 0.3s ease both;
}
.sh-actions .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.sh-actions .btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}
.sh-scroll-hint {
  position: absolute;
  bottom: 108px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.6);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  z-index: 3;
  animation: scrollBounce 1.6s ease-in-out infinite;
  white-space: nowrap;
}
.sh-stats {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 32px;
  align-items: center;
  z-index: 3;
  white-space: nowrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.15);
}
.scroll-dot {
  width: 6px; height: 6px;
  background: rgba(255,255,255,.4);
  border-radius: 50%;
  animation: scrollBounce 1.5s ease-in-out infinite;
}

/* ─── TRUST BAR ─── */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 20px 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}
.trust-sep {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ─── SERVICES ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.services-grid .service-card:first-child {
  grid-column: span 1;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: all var(--transition);
  cursor: default;
}
.service-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-card:hover .service-icon-wrap {
  background: var(--red);
  color: var(--white);
}
.service-featured {
  border-color: var(--red);
  background: linear-gradient(135deg, #fff 0%, #fff9f9 100%);
}
.service-icon-wrap {
  width: 60px; height: 60px;
  background: rgba(230,57,70,.08);
  color: var(--red);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition);
}
.service-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.6;
}
.service-tag {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

/* ─── ABOUT ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  position: relative;
  height: 400px;
}
.about-team-photo {
  position: absolute;
  top: 0; left: 0; right: 80px; bottom: 80px;
  width: calc(100% - 80px);
  height: calc(100% - 80px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-card-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
}
.about-card-float-1 {
  bottom: 40px; right: 20px;
  flex-direction: column;
  text-align: center;
  gap: 4px;
}
.about-float-num {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.about-float-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.about-card-float-2 {
  bottom: 140px; right: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.about-text {
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0 32px;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.85);
  font-size: 0.95rem;
}

/* ─── WHY ─── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
}
.why-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.why-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(230,57,70,.12);
  line-height: 1;
  margin-bottom: 16px;
}
.why-card:hover .why-num { color: rgba(230,57,70,.2); }
.why-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.why-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ─── REVIEWS ─── */
/* ─── TESTIMONIALS (animated 2-col) ─── */
/* Clips the decorative circles that intentionally bleed past the card edge,
   so they never create page-wide horizontal scroll. */
#testemunhos { overflow: hidden; }
.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.testi-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testi-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 360px;
}
.testi-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.testi-dot {
  height: 10px;
  border: none;
  border-radius: 5px;
  background: var(--border);
  cursor: pointer;
  transition: width 300ms ease, background 300ms ease;
  width: 10px;
  padding: 0;
}
.testi-dot.active {
  width: 36px;
  background: var(--red);
}

/* cards wrapper */
.testi-cards-wrap {
  position: relative;
  min-height: 380px;
}
.testi-card {
  position: absolute;
  inset: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 0;

  opacity: 0;
  transform: translateX(60px);
  transition: opacity 480ms cubic-bezier(.4,0,.2,1), transform 480ms cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.testi-card.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.testi-card.exit {
  opacity: 0;
  transform: translateX(-60px);
}
.testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 20px;
}
.testi-body {
  position: relative;
  flex: 1;
  margin-bottom: 20px;
}
.testi-quote {
  display: block;
  margin-bottom: 10px;
}
.testi-body p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
  font-style: italic;
}
.testi-sep {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testi-avatar {
  width: 46px; height: 46px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  flex-shrink: 0;
}
.testi-author > div strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}
.testi-author > div span {
  font-size: 0.8rem;
  color: var(--text-muted);
}
/* corner decorative shapes */
.testi-deco {
  position: absolute;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(230,57,70,.05);
  pointer-events: none;
}
.testi-deco-bl { bottom: -30px; left: -30px; }
.testi-deco-tr { top: -30px; right: -30px; }

/* ─── CTA BANNER ─── */
.cta-banner {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(230,57,70,.08) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 10px;
}
.cta-content p {
  color: rgba(255,255,255,.6);
  font-size: 1rem;
}
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ─── CONTACT ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-icon {
  width: 44px; height: 44px;
  background: rgba(230,57,70,.08);
  border: 1px solid rgba(230,57,70,.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-item strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-item a, .contact-item span {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.6;
}
.contact-item a:hover { color: var(--red); }
.fb-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1877F2;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 8px;
  margin-top: 8px;
  transition: all var(--transition);
}
.fb-link:hover {
  background: #1560d4;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(24,119,242,.35);
}

/* ─── FORM ─── */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.93rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(45,155,90,.08);
  border: 1px solid rgba(45,155,90,.2);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green);
}
.form-success.visible { display: flex; }

/* ─── FORM CHECKBOX ─── */
.form-check-group { margin-bottom: 20px; }
.check-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text);
  user-select: none;
}
.check-label input[type="checkbox"] { display: none; }
.check-box {
  width: 18px; height: 18px;
  min-width: 18px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.check-label input:checked ~ .check-box {
  background: var(--red);
  border-color: var(--red);
}
.check-label input:checked ~ .check-box::after {
  content: '';
  display: block;
  width: 5px; height: 9px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}
.link-inline {
  background: none;
  border: none;
  padding: 0;
  color: var(--red);
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.link-inline:hover { color: var(--red-dark); }

/* ─── MODAL ─── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-box h3 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 24px;
}
.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background var(--transition);
}
.modal-close:hover { background: var(--bg-alt); color: var(--text); }
.modal-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.modal-body p strong { color: var(--text); }
.modal-body a { color: var(--red); }

/* ─── FOOTER ─── */
.footer {
  background: var(--navy-light);
  color: rgba(255,255,255,.7);
  padding-top: 64px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-logo-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  display: block;
}
.footer-brand .logo-text { color: var(--white); }
.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,.5);
  max-width: 260px;
}
.footer-links h4, .footer-contact h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 18px;
  font-weight: 400;
}
.footer-links li + li { margin-top: 10px; }
.footer-links a, .footer-contact a, .footer-contact p {
  font-size: 0.9rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
  line-height: 1.8;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom-inner p {
  font-size: 0.82rem;
  color: rgba(255,255,255,.3);
}
.footer-crafted a {
  color: rgba(255,255,255,.4);
  transition: color var(--transition);
}
.footer-crafted a:hover { color: rgba(255,255,255,.75); }

/* ─── ANIMATIONS ─── */
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(8px); opacity: .4; }
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { height: 280px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  /* No scroll animation on mobile: collapse the track to one screen and
     present the hero as a full-bleed video instead of a floating card,
     which is what the desktop animation ends on anyway. */
  .scroll-hero { height: 100vh; }
  .sh-media {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: none;
  }
  /* Scrim keeps the overlaid copy readable over moving footage. */
  .sh-media-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26,26,46,.5) 0%, rgba(26,26,46,.78) 100%);
  }

  /* make hero text legible on mobile */
  .sh-title {
    mix-blend-mode: normal;
    text-shadow: 0 2px 20px rgba(0,0,0,.6);
    font-weight: 700; /* Oswald tops out at 700 — 800 forced a faux-bold */
  }
  .sh-sub {
    font-weight: 700;
    color: rgba(255,255,255,.9);
    text-shadow: 0 1px 10px rgba(0,0,0,.5);
  }

  .sh-stats { display: none; }
  .sh-scroll-hint { bottom: 32px; }
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }
  .nav-links, .nav-cta { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--navy);
    padding: 24px;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; gap: 40px; }
  .testi-cards-wrap { min-height: 420px; }
  .why-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }
  .trust-sep { display: none; }
  .trust-inner { gap: 0; }
  .trust-item { padding: 8px 16px; }
  .hero-actions .btn-outline { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.6rem; }
  .contact-form-wrap { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  /* JS skips the scroll animation too, so collapse the tall scroll track
     rather than leave the user 140vh of nothing to scroll through. */
  .scroll-hero { height: 100vh; }
  .reveal { opacity: 1; transform: none; }
}
