/* =========================================
   MC TRADUÇÕES & CONSULTORIA ACADÉMICA
   styles.css
   ========================================= */

/* ---- @font-face ---- */
@font-face {
  font-family: 'CloudCond';
  src: url('assets/fonts/CloudCond-Light.otf') format('opentype'),
       url('assets/fonts/CloudCond-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'CloudCond';
  src: url('assets/fonts/CloudCond-Bold.otf') format('opentype'),
       url('assets/fonts/CloudCond-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'MotterTektura';
  src: url('assets/fonts/Motter Tektura Normal.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---- Variables ---- */
:root {
  --red:        #D82D24;
  --red-dark:   #b82019;
  --blue:       #6EB7E8;
  --blue-dark:  #4a9fd1;
  --gray:       #545454;
  --gray-light: #f4f4f4;
  --gray-mid:   #e0e0e0;
  --white:      #FFFFFF;
  --dark:       #141414;
  --dark2:      #1e1e1e;
  --text:       #545454;
  --muted:      #888;

  --font-body:    'CloudCond', 'Arial Narrow', Arial, sans-serif;
  --font-detail:  'MotterTektura', Georgia, serif;

  --max-w:    1260px;
  --py:       100px;
  --r:        16px;
  --r-sm:     8px;
  --r-xl:     28px;
  --pill:     500px;

  --sh-sm: 0 2px 12px rgba(0,0,0,.07);
  --sh-md: 0 6px 28px rgba(0,0,0,.10);
  --sh-lg: 0 12px 48px rgba(0,0,0,.16);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html { overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---- Scroll reveal ---- */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1);
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }

/* ---- Section shared ---- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.section-tag {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(216,45,36,.08);
  padding: 7px 16px 5px;
  border-radius: var(--pill);
  border: 1px solid rgba(216,45,36,.15);
  display: inline-block;
  line-height: 1;
}

.section-heading {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(30px, 3.5vw, 50px);
  line-height: 1.1;
  color: var(--dark);
  letter-spacing: -.01em;
}
.section-heading em {
  font-style: italic;
  color: var(--red);
  font-weight: 300;
}

.section-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 6px;
}

.differentials-text .section-sub {
  font-size: 20px;
  color: var(--gray);
  line-height: 1.6;
}

/* ---- Buttons (base) ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.1;
  cursor: pointer;
  border: none;
  transition: opacity .2s, transform .15s, background .2s, box-shadow .2s;
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--pill);
}
.btn:hover  { opacity: .88; }
.btn:active { transform: scale(.97); }

/* Primary — red */
.btn-primary {
  background: var(--red);
  color: var(--white);
  padding: 13px 28px;
}

/* Secondary — blue */
.btn-secondary {
  background: var(--blue);
  color: var(--white);
  padding: 13px 28px;
}

/* Pill style with icon wrap */
.btn-pill {
  padding: 6px 6px 6px 28px;
  height: 54px;
}

.btn-icon-wrap {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  background: rgba(255,255,255,.22);
  color: var(--white);
}
.btn-icon-wrap--outline { background: rgba(255,255,255,.18); }
.btn-icon-wrap--red     { background: var(--red); color: var(--white); }
.btn-icon-wrap--white   { background: rgba(255,255,255,.18); color: var(--white); }
.btn-icon-wrap svg { width: 17px; height: 17px; }

/* Nav CTA button (inside floating pill) */
.btn-nav-cta {
  background: var(--blue);
  color: var(--white);
  padding: 10px 18px;
  font-size: 15px;
  border-radius: var(--pill);
  font-weight: 700;
  margin-right: 45px;
}

/* White bg (on colored sections) */
.btn-white {
  background: var(--white);
  color: var(--red);
  padding: 13px 28px;
}

/* Outline white */
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.45);
  padding: 13px 28px;
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); opacity: 1; }

/* Package buttons */
.btn-package-red {
  display: flex;
  justify-content: center;
  width: 100%;
  background: var(--dark);
  color: var(--white);
  padding: 14px 24px;
  font-size: 16px;
  border-radius: var(--pill);
  font-weight: 700;
  transition: background .2s, transform .15s;
}
.btn-package-red:hover { background: var(--red-dark); opacity: 1; }

.btn-package-dark {
  display: flex;
  justify-content: center;
  width: 100%;
  background: var(--dark);
  color: var(--white);
  padding: 14px 24px;
  font-size: 16px;
  border-radius: var(--pill);
  font-weight: 700;
  transition: background .2s, transform .15s;
}
.btn-package-dark:hover { background: #000; opacity: 1; }

/* =========================================
   COOKIE BANNER
   ========================================= */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  width: calc(100% - 40px);
  max-width: 780px;
  background: var(--dark);
  color: var(--white);
  border-radius: var(--r);
  box-shadow: var(--sh-lg);
  z-index: 9999;
  transition: transform .45s cubic-bezier(.22,1,.36,1), opacity .35s;
  opacity: 0;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.08);
}
.cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 26px;
  flex-wrap: wrap;
}
.cookie-banner__text p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.78); }
.cookie-link { color: var(--blue); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  padding: 9px 20px;
  border-radius: var(--pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: opacity .2s;
}
.cookie-btn:hover { opacity: .82; }
.cookie-btn--reject { background: rgba(255,255,255,.1); color: var(--white); border: 1px solid rgba(255,255,255,.18); }
.cookie-btn--accept { background: var(--red); color: var(--white); }

/* =========================================
   FLOATING PILL HEADER
   ========================================= */
.header-wrap {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 880px;
  z-index: 300;
  transition: top .3s;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.25);
  padding: 6px 6px 6px 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,.10), inset 0 1px 0 rgba(255,255,255,.28);
  transition: background .4s, box-shadow .4s, border-color .4s;
}

.header-wrap.scrolled .site-header {
  background: rgba(235, 235, 238, 0.72) !important;
  border-color: rgba(200,200,205,.35);
  box-shadow: 0 8px 32px rgba(0,0,0,.10);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
}

/* Links — always dark for contrast on glass */
.nav-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: rgba(30,30,30,.82);
  transition: color .2s;
  letter-spacing: .03em;
}
.nav-link:hover,
.nav-link.active { color: var(--red); }

/* Logo img */
.logo-img {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-left: 25px;
}
.logo-img--white {
  height: 70px;
}

/* Desktop nav (inside pill) */
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 10px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  padding: 6px;
  margin-right: 30px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 20px;
  right: 20px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-radius: var(--r-xl);
  border: 1px solid rgba(255,255,255,.3);
  padding: 20px 24px 28px;
  flex-direction: column;
  gap: 4px;
  z-index: 299;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link {
  padding: 13px 0;
  border-bottom: 1px solid rgba(0,0,0,.1);
  font-size: 16px;
  color: var(--dark);
  font-weight: 600;
}
.mobile-nav .nav-link:last-of-type { border-bottom: none; }

/* =========================================
   HERO
   ========================================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 160px 0 100px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #fafafa;
}

/* Grid pattern */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(216,45,36,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216,45,36,.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 30%, transparent 100%);
}

/* Gradient overlay */
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 60% 40%, rgba(110,183,232,.13) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 20% 70%, rgba(216,45,36,.07) 0%, transparent 60%);
  animation: heroBgShift 12s ease-in-out infinite alternate;
}
@keyframes heroBgShift {
  from { transform: scale(1); }
  to   { transform: scale(1.05) translateX(1%); }
}

/* Blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}
.hero-blob--1 {
  width: 480px; height: 480px;
  background: rgba(110,183,232,.18);
  top: -80px; right: -100px;
  animation: blobFloat 8s ease-in-out infinite alternate;
}
.hero-blob--2 {
  width: 360px; height: 360px;
  background: rgba(216,45,36,.1);
  bottom: -60px; left: -80px;
  animation: blobFloat 10s ease-in-out infinite alternate-reverse;
}
@keyframes blobFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(20px, 20px) scale(1.06); }
}

/* Decorative lines */
.hero-deco-line {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: .18;
}
.hero-deco-line--1 {
  width: 2px; height: 200px;
  background: linear-gradient(to bottom, transparent, var(--red), transparent);
  right: 18%; top: 20%;
  animation: linePulse 4s ease-in-out infinite;
}
.hero-deco-line--2 {
  width: 2px; height: 140px;
  background: linear-gradient(to bottom, transparent, var(--blue), transparent);
  left: 14%; bottom: 25%;
  animation: linePulse 5s ease-in-out infinite 1s;
}
@keyframes linePulse {
  0%, 100% { opacity: .12; transform: scaleY(1); }
  50%       { opacity: .35; transform: scaleY(1.15); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--red);
  background: rgba(216,45,36,.07);
  padding: 6px 16px 6px 12px;
  border-radius: var(--pill);
  border: 1px solid rgba(216,45,36,.14);
  line-height: 1;
}

.hero-tag span:not(.tag-dot) {
  margin-top: 1px;
}

.tag-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  align-self: center;
  margin-top: -2px;
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(216,45,36,.4); }
  50%       { box-shadow: 0 0 0 7px rgba(216,45,36,0); }
}

.hero-heading {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(34px, 5.5vw, 68px);
  line-height: 1.1;
  color: var(--dark);
  letter-spacing: -.02em;
}
.hero-heading em {
  font-style: italic;
  color: var(--red);
  font-weight: 300;
}

.hero-sub {
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.7;
  color: var(--gray);
  max-width: 580px;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hero-scroll-indicator span {
  display: block;
  width: 24px; height: 38px;
  border: 2px solid var(--gray-mid);
  border-radius: var(--pill);
  position: relative;
}
.hero-scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--red);
  border-radius: var(--pill);
  animation: scrollBounce 2.2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  75%       { transform: translateX(-50%) translateY(14px); opacity: 0; }
}

/* ---- Floating person images ---- */
.hero-person {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.hero-person img {
  width: 420px;
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: floatPerson 5s ease-in-out infinite;
}

.hero-person--left {
  bottom: 60px;
  left: clamp(10px, 4vw, 60px);
  animation-delay: 0s;
}
.hero-person--left img {
  animation: floatPerson 5s ease-in-out infinite;
}

.hero-person--right {
  top: 120px;
  right: clamp(10px, 4vw, 60px);
}
.hero-person--right img {
  animation: floatPerson 5.5s ease-in-out infinite 0.8s;
}

@keyframes floatPerson {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-18px) rotate(1deg); }
}

@media (max-width: 1200px) {
  .hero-person img { width: 320px; }
}
@media (max-width: 1024px) {
  .hero-person img { width: 240px; }
  .hero-person--left  { bottom: 40px; left: 4px; }
  .hero-person--right { top: 110px;  right: 4px; }
}

@media (max-width: 768px) {
  .hero-person { display: block; opacity: .6; }
  .hero-person img { width: 140px; }
  .hero-person--left { bottom: 20px; left: -20px; }
  .hero-person--right { top: 90px; right: -20px; }
}

/* =========================================
   STATS
   ========================================= */
.stats-section {
  background: var(--blue);
  padding: 5px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.08) 0%, transparent 60%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  position: relative;
}

.stat-card {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
}
.stat-card + .stat-card::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,.1);
}

.stat-number {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(42px, 5vw, 66px);
  color: var(--white);
  line-height: 1;
  letter-spacing: -.03em;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
}

/* =========================================
   SERVICES
   ========================================= */
.services-section {
  padding: var(--py) 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--gray-light);
  border-radius: var(--r-xl);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid var(--gray-mid);
  transition: transform .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.service-card:hover::before { transform: scaleX(1); }

.service-card--accent {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.service-card--accent::before { background: rgba(255,255,255,.35); }

.service-card__icon { width: 52px; height: 52px; color: var(--red); }
.service-card--accent .service-card__icon { color: var(--white); }

.service-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 26px;
  color: var(--dark);
  line-height: 1.15;
}
.service-card--accent h3 { color: var(--white); }

.service-card p { font-size: 16px; line-height: 1.7; color: var(--text); flex: 1; }
.service-card--accent p { color: rgba(255,255,255,.82); }

.service-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.tag {
  font-size: 12px; font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--pill);
  background: rgba(216,45,36,.09);
  color: var(--red);
}
.tag--light { background: rgba(255,255,255,.18); color: var(--white); }

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px; font-weight: 700;
  color: var(--red);
  transition: gap .2s;
}
.service-card__cta:hover { gap: 10px; }
.service-card__cta--light { color: rgba(255,255,255,.9); }

/* =========================================
   PACKAGES
   ========================================= */
.packages-section {
  padding: var(--py) 0;
  background: var(--gray-light);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.package-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 40px 32px;
  border: 1.5px solid var(--gray-mid);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  transition: transform .3s, box-shadow .3s;
}
.package-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }

.package-card--featured {
  background: var(--red);
  border-color: var(--red);
  transform: none !important;
  box-shadow: var(--sh-lg);
}
.package-card--featured:hover { transform: translateY(-4px) !important; box-shadow: 0 16px 48px rgba(110,183,232,.4); }

.package-card__badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  color: var(--white);
  font-size: 11px; font-weight: 700;
  padding: 6px 16px 4px;
  border-radius: var(--pill);
  white-space: nowrap;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1;
}

.package-card__header { display: flex; flex-direction: column; gap: 5px; }

.package-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 26px;
  color: var(--dark);
  line-height: 1;
}
.package-card--featured .package-name { color: var(--white); }

.package-tagline {
  font-size: 13px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
}
.package-card--featured .package-tagline { color: rgba(253, 253, 253, 0.904); }

.package-desc { font-size: 15px; line-height: 1.65; color: var(--text); }
.package-card--featured .package-desc { color: var(--white); }

.package-features { display: flex; flex-direction: column; gap: 11px; flex: 1; }
.package-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text);
}
.package-card--featured .package-features li { color: var(--white); }

.check-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(216,45,36,.09);
  color: var(--red);
  display: grid; place-items: center;
  font-size: 10px; flex-shrink: 0;
}
.package-card--featured .check-icon {
  background: rgba(255,255,255,.5);
  color: var(--red);
}

/* =========================================
   TEAM
   ========================================= */
.team-section {
  padding: var(--py) 0;
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--gray-mid);
  background: var(--white);
  transition: transform .3s, box-shadow .3s;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }

.team-card__photo {
  height: 220px;
  background: var(--gray-light);
  display: grid; place-items: center;
  overflow: hidden;
  position: relative;
}
.team-card__photo::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
}
.team-card:hover .team-card__photo::after { transform: scaleX(1); }

.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.team-card__body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.team-card__body h3 {
  font-family: var(--font-body); font-weight: 700;
  font-size: 19px; color: var(--dark); line-height: 1.2;
}
.team-role {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--red);
}
.team-card__body p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.team-area { font-size: 14px; color: var(--blue-dark); font-weight: 700; }

/* =========================================
   DIFFERENTIALS
   ========================================= */
.differentials-section {
  padding: var(--py) 0;
  background: #f5f5f5;
  position: relative;
  overflow: hidden;
}
.differentials-section::before {
  content: '';
  position: absolute;
  right: -100px; top: 50%;
  transform: translateY(-50%);
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(216,45,36,.04);
  pointer-events: none;
}

.differentials-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.differentials-text { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

.differentials-list { display: flex; flex-direction: column; gap: 32px; }

.differential-item { display: flex; align-items: flex-start; gap: 20px; }

.differential-icon {
  width: 50px; height: 50px; flex-shrink: 0;
  border: 1.5px solid var(--gray-mid);
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--white);
  color: var(--red);
  transition: background .2s, border-color .2s;
}
.differential-item:hover .differential-icon {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.differential-icon svg { width: 26px; height: 26px; }

.differential-item h4 {
  font-family: var(--font-body); font-weight: 700;
  font-size: 18px; color: var(--dark);
  margin-bottom: 5px; line-height: 1.2;
}
.differential-item p { font-size: 15px; line-height: 1.65; color: var(--muted); }

/* =========================================
   TESTIMONIALS — 3 col infinite scroll
   ========================================= */
.testimonials-section {
  padding: var(--py) 0;
  background: var(--white);
  overflow: hidden;
}

/* column wrapper with fade top/bottom */
.testi-columns-wrap {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 48px;
  max-height: 680px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
}

.testi-col {
  flex: 1;
  max-width: 340px;
  overflow: hidden;
}

/* hidden on smaller screens */
.testi-col--md { display: none; }
.testi-col--lg { display: none; }

@media (min-width: 768px)  { .testi-col--md { display: block; } }
@media (min-width: 1024px) { .testi-col--lg { display: block; } }

/* The scrolling track */
.testi-track {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: testiScroll var(--dur, 16s) linear infinite;
  will-change: transform;
}

.testi-track:hover { animation-play-state: paused; }

@keyframes testiScroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

/* Individual card */
.tcard {
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.05);
  transition: box-shadow .2s;
}
.tcard:hover { box-shadow: var(--sh-md); }

.tcard p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
}

.tcard-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.tcard-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(216,45,36,.1);
  color: var(--red);
  display: grid; place-items: center;
  font-family: var(--font-body);
  font-weight: 700; font-size: 16px;
  flex-shrink: 0;
}

.tcard-author strong {
  display: block;
  font-weight: 700; font-size: 14px;
  color: var(--dark);
}

.tcard-author span {
  font-size: 12px;
  color: var(--muted);
}

/* =========================================
   CTA
   ========================================= */
.cta-section {
  background: var(--red);
  padding: var(--py) 0;
  position: relative; overflow: hidden;
}
.cta-bg-shape {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 75% at 80% 50%, rgba(255,255,255,.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 55% at 10% 20%, rgba(0,0,0,.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; gap: 22px; text-align: center;
}
.cta-heading {
  font-family: var(--font-body); font-weight: 700;
  font-size: clamp(34px, 4.5vw, 60px);
  color: var(--white); line-height: 1.1;
}
.cta-heading em { font-style: italic; font-weight: 300; color: rgba(255,255,255,.7); }
.cta-sub { font-size: clamp(15px, 1.6vw, 18px); color: rgba(255,255,255,.92); line-height: 1.6; }
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: #0d1f2d;
  color: var(--white);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding: 72px 24px 56px;
  align-items: flex-start;
}

/* Brand col */
.footer-brand {
  display: flex; flex-direction: column; gap: 20px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.75);
  max-width: 280px;
}

/* Nav cols */
.footer-col h5 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.85);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 15px;
  color: rgba(255,255,255,.85);
  transition: color .2s;
}
.footer-col a:hover { color: var(--white); }

/* Contact col */
.footer-col--contact ul { gap: 16px; }
.footer-col--contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.footer-contact-icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--blue);
}
.footer-contact-icon svg { width: 18px; height: 18px; }
.footer-col--contact a,
.footer-col--contact span {
  font-size: 14px;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
  transition: color .2s;
}
.footer-col--contact a:hover { color: var(--white); }

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 24px;
}
.footer-bottom-inner {
  display: flex; justify-content: space-between;
  align-items: center; gap: 12px; flex-wrap: wrap;
}
.footer-bottom-inner p { font-size: 12px; color: rgba(255,255,255,.85); }
.footer-dev a { color: var(--white); transition: color .2s; }
.footer-dev a:hover { color: rgba(255,255,255,.7); }

/* ---- CTA stretch button (arrow at far right) ---- */
.btn-cta-stretch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 280px;
  height: 56px;
  padding: 6px 6px 6px 28px;
  border-radius: var(--pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
}
.btn-cta-stretch span:first-child { flex: 1; text-align: center; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .services-grid      { grid-template-columns: 1fr; }
  .packages-grid      { grid-template-columns: 1fr; }
  .package-card--featured { transform: none; }
  .differentials-inner { grid-template-columns: 1fr; gap: 48px; }
  .testimonials-grid  { grid-template-columns: repeat(2, 1fr); }
  .team-grid          { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --py: 64px; }

  .header-wrap { top: 12px; width: calc(100% - 24px); }
  .site-header  { padding: 8px 16px 8px 16px; }

  .main-nav     { display: none; }
  .hamburger    { display: flex; }
  .header-actions .btn-nav-cta { display: none; }

  .hero-section { padding: 130px 0 80px; min-height: auto; }
  .hero-heading { font-size: 32px; }
  .hero-blob--1, .hero-blob--2 { width: 260px; height: 260px; }

  .stats-grid    { grid-template-columns: 1fr; }
  .stat-card + .stat-card::before { display: none; }

  .team-grid     { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .footer-top  { padding: 20px 50px 36px; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-ctas, .cta-btns { flex-direction: column; align-items: center; }
  .btn-cta-stretch { min-width: 260px; }

  .logo-img { height: 60px; }
  .cookie-banner__inner { flex-direction: column; }
}

@media (max-width: 480px) {
  .section-heading { font-size: 26px; }
  .hero-heading    { font-size: 28px; }
  .footer-top      { grid-template-columns: 1fr; }
  .footer-brand    { grid-column: auto; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .btn-cta-stretch { min-width: 100%; }
}
