/* ============================================================
   OXÍGENO MARKETING — styles
   Brand blue sampled from logo ≈ #1E73BE
   ============================================================ */

:root {
  --blue:        #1E73BE;
  --blue-dark:   #155a96;
  --blue-deep:   #0e3a63;
  --blue-soft:   #eaf3fb;
  --blue-tint:   #d6e8f7;
  --ink:         #14202b;
  --ink-soft:    #4a5b6b;
  --line:        #e3eaf0;
  --white:       #ffffff;
  --bg:          #ffffff;
  --radius:      16px;
  --radius-lg:   28px;
  --shadow:      0 18px 50px -20px rgba(14, 58, 99, .28);
  --shadow-sm:   0 8px 24px -12px rgba(14, 58, 99, .25);
  --maxw:        1180px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
html, body { overflow-x: hidden; }

body {
  font-family: 'EB Garamond', Georgia, serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 1.08rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'EB Garamond', Georgia, serif; line-height: 1.14; letter-spacing: -.01em; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'EB Garamond', Georgia, serif; font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  border: 2px solid transparent; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--blue-dark); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--blue-deep); border-color: var(--blue-tint); }
.btn--ghost:hover { border-color: var(--blue); background: var(--blue-soft); }
.btn--light { background: #fff; color: var(--blue-deep); box-shadow: var(--shadow-sm); }
.btn--light:hover { background: var(--blue-soft); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s, padding .3s;
}
.nav.scrolled { box-shadow: 0 6px 26px -16px rgba(14,58,99,.4); border-color: var(--line); }
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
}
.nav__logo { justify-self: start; perspective: 700px; }
.nav__logo img {
  height: 46px; width: auto;
  transition: height .3s, transform .7s cubic-bezier(.34,1.56,.64,1), filter .4s;
  animation: logo3d 6s ease-in-out infinite;
  transform-style: preserve-3d; will-change: transform;
}
.nav.scrolled .nav__logo img { height: 40px; }
.nav__logo:hover img {
  animation-play-state: paused;
  transform: rotateY(360deg) translateZ(26px) scale(1.16);
  filter: drop-shadow(0 16px 26px rgba(30,115,190,.55));
}

@keyframes logo3d {
  0%, 100% {
    transform: rotateY(0deg) rotateX(0deg) translateZ(0);
    filter: drop-shadow(0 6px 10px rgba(30,115,190,.22));
  }
  25% {
    transform: rotateY(22deg) rotateX(7deg) translateZ(16px);
    filter: drop-shadow(-10px 13px 18px rgba(30,115,190,.42));
  }
  50% {
    transform: rotateY(0deg) rotateX(0deg) translateZ(0);
    filter: drop-shadow(0 6px 10px rgba(30,115,190,.22));
  }
  75% {
    transform: rotateY(-22deg) rotateX(7deg) translateZ(16px);
    filter: drop-shadow(10px 13px 18px rgba(30,115,190,.42));
  }
}

.nav__links { display: flex; align-items: center; gap: 30px; justify-self: center; }
.nav__links a:not(.btn) {
  font-size: .92rem; font-weight: 500; color: var(--ink-soft); position: relative;
  transition: color .2s;
}
.nav__links a:not(.btn):hover { color: var(--blue); }
.nav__links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--blue); transition: width .25s;
}
.nav__links a:not(.btn):hover::after { width: 100%; }
.nav__cta { padding: 10px 20px; font-size: .9rem; justify-self: end; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 170px 0 110px; text-align: center;
  background: linear-gradient(180deg, var(--blue-soft) 0%, #ffffff 100%);
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(700px 420px at 75% -10%, rgba(30,115,190,.20), transparent 60%),
    radial-gradient(620px 380px at 15% 0%, rgba(30,115,190,.12), transparent 60%);
}
/* Real logo "aspa" (3-blade propeller) as a rotating watermark behind the hero */
.hero__aspa {
  position: absolute; top: 50%; left: 50%;
  width: min(118vh, 980px); height: auto;
  opacity: .1; user-select: none;
  transform: translate(-50%, -50%) rotate(0deg);
  transform-origin: center; will-change: transform;
  animation: aspaSpin 42s linear infinite;
}
@keyframes aspaSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
.hero__inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; padding: 0 24px; }
.hero__eyebrow {
  display: inline-block; font-family: 'EB Garamond', Georgia, serif; font-weight: 600;
  font-size: .82rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--blue-dark); background: #fff; border: 1px solid var(--blue-tint);
  padding: 8px 18px; border-radius: 999px; margin-bottom: 26px; box-shadow: var(--shadow-sm);
}
.hero__title { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 800; color: var(--ink); }
.hero__title span { color: var(--blue); }
.hero__sub {
  font-family: 'EB Garamond', Georgia, serif; font-weight: 500;
  font-size: clamp(1.05rem, 2.2vw, 1.4rem); color: var(--ink); margin: 26px auto 0; max-width: 720px;
}
.hero__text { font-size: 1.05rem; color: var(--ink-soft); margin: 18px auto 0; max-width: 680px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 38px; }

/* ---------- Generic section ---------- */
.section { padding: 100px 0; }
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__kicker {
  display: inline-block; font-family: 'EB Garamond', Georgia, serif; font-weight: 600;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 14px;
}
.section__kicker--light { color: rgba(255,255,255,.85); }
.section__title { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; }
.section__lead { font-size: 1.1rem; color: var(--ink-soft); margin-top: 18px; }

/* ---------- Services ---------- */
.services { background: #fff; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 38px 32px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue-tint); }
.card__icon {
  width: 60px; height: 60px; display: grid; place-items: center;
  background: var(--blue-soft); border-radius: 16px; margin-bottom: 22px; color: var(--blue);
}
.card__icon svg { width: 30px; height: 30px; }
.card:hover .card__icon { background: var(--blue); color: #fff; }
.card h3 { font-size: 1.22rem; font-weight: 600; margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: .98rem; }

/* Carousel pagination dots (mobile only) */
.cards__dots { display: none; justify-content: center; align-items: center; gap: 9px; margin-top: 22px; }
.cards__dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--blue-tint); transition: width .3s ease, background .3s ease;
}
.cards__dot.active { width: 26px; background: var(--blue); }

/* ---------- Why ---------- */
.why {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 100%);
  color: #fff;
}
.why .section__title { color: #fff; }
.why__list { max-width: 820px; margin: 0 auto; list-style: none; display: grid; gap: 18px; }
.why__list li {
  font-family: 'EB Garamond', Georgia, serif; font-weight: 400;
  font-size: clamp(1.1rem, 2.4vw, 1.55rem); text-align: center;
  padding: 22px 28px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
}
.why__list li strong { font-weight: 700; }

/* ---------- Experience ---------- */
.experience { background: var(--blue-soft); }
.stats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 44px;
}
/* Forces the row break: first 3 boxes (25 / 6.000 / 800) on top, the other 4 below */
.stats__break { flex-basis: 100%; height: 0; margin: 0; padding: 0; border: 0; }
.stat {
  flex: 1 1 158px; max-width: 220px;
  background: #fff; border-radius: var(--radius); padding: 30px 18px; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.stat__num {
  display: block; font-family: 'EB Garamond', Georgia, serif; font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--blue); line-height: 1;
}
.stat__num--text { font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
.stat__label { display: block; margin-top: 12px; font-size: .9rem; color: var(--ink-soft); }
.experience__text {
  max-width: 760px; margin: 0 auto; text-align: center; font-size: 1.12rem; color: var(--ink);
}

/* ---------- Clients ---------- */
.clients { background: #fff; }
.logo-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
}
.logo-grid__item {
  height: 96px; display: grid; place-items: center;
  background: #fafcfe; border: 1px dashed var(--blue-tint); border-radius: 14px;
  color: var(--blue-tint); font-family: 'EB Garamond', Georgia, serif; font-weight: 600; letter-spacing: .1em;
  transition: border-color .2s, color .2s, background .2s;
}
.logo-grid__item:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }

/* ---------- Portal ---------- */
.portal {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
}
.portal__inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 50px; }
.portal__text .section__title { color: #fff; margin-bottom: 18px; }
.portal__text p { color: rgba(255,255,255,.9); font-size: 1.08rem; margin-bottom: 28px; max-width: 480px; }
.portal__visual { display: grid; place-items: center; }
.portal__card {
  width: 100%; max-width: 360px; aspect-ratio: 4/3; border-radius: 22px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(6px); padding: 28px; display: flex; flex-direction: column; gap: 16px; justify-content: center;
  box-shadow: var(--shadow);
}
.portal__card span { height: 16px; border-radius: 8px; background: rgba(255,255,255,.35); }
.portal__card span:nth-child(1) { width: 70%; }
.portal__card span:nth-child(2) { width: 100%; }
.portal__card span:nth-child(3) { width: 45%; background: rgba(255,255,255,.6); }

/* Client login form */
.portal-login {
  width: 100%; max-width: 380px; border-radius: 22px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(8px); padding: 30px 28px; box-shadow: var(--shadow);
}
.portal-login label {
  display: block; font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  color: rgba(255,255,255,.9); margin: 0 0 7px;
}
.portal-login label + input { margin-bottom: 18px; }
.portal-login input {
  width: 100%; border: 1px solid rgba(255,255,255,.3); border-radius: 12px;
  background: rgba(255,255,255,.95); color: var(--ink);
  padding: 13px 15px; font-family: inherit; font-size: 1rem; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.portal-login input::placeholder { color: #9fb0bd; }
.portal-login input:focus { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.portal-login__btn { width: 100%; margin-top: 8px; }

/* ---------- Work with us ---------- */
.work { background: #fff; text-align: center; }
.work__inner { max-width: 720px; margin: 0 auto; }
.work__inner .section__title { margin-bottom: 18px; }
.work__inner p { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 30px; }

/* ---------- Final CTA ---------- */
.final-cta {
  background:
    radial-gradient(600px 300px at 80% 0%, rgba(255,255,255,.12), transparent 60%),
    linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-dark) 100%);
  color: #fff; text-align: center;
}
.final-cta__inner { max-width: 720px; margin: 0 auto; }
.final-cta h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 700; margin-bottom: 18px; }
.final-cta p { font-size: 1.15rem; color: rgba(255,255,255,.9); margin-bottom: 34px; }

/* ---------- Footer ---------- */
.footer { background: #0c1922; color: #c3cfd9; padding: 70px 0 0; }
.footer__inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 44px; padding-bottom: 50px;
}
.footer__logo { height: 50px; width: auto; background: #fff; padding: 6px 10px; border-radius: 10px; margin-bottom: 18px; }
.footer__name { font-family: 'EB Garamond', Georgia, serif; font-weight: 600; color: #fff; font-size: 1.1rem; }
.footer__tagline { font-size: .95rem; margin-top: 8px; max-width: 320px; color: #9fb0bd; }
.footer__address { font-style: normal; font-size: .95rem; line-height: 1.7; margin-top: 16px; color: #9fb0bd; }
.footer__address a { color: #9fb0bd; transition: color .2s; }
.footer__address a:hover { color: var(--blue); }
.footer__col h4 { font-family: 'EB Garamond', Georgia, serif; color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer__col a, .footer__col p { display: block; color: #9fb0bd; font-size: .95rem; margin-bottom: 10px; transition: color .2s; }
.footer__col a:hover { color: var(--blue); }
.footer__loc { color: #9fb0bd; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; text-align: center;
}
.footer__bottom p { font-size: .88rem; color: #7e8e9b; }

/* ---------- AI chat assistant (Oxi) ---------- */
.oxi-launcher {
  position: fixed; right: 22px; bottom: 22px; z-index: 300;
  width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center;
  background: var(--blue); color: #fff;
  box-shadow: 0 14px 30px -8px rgba(30,115,190,.6);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  animation: oxiPulse 2.8s ease-in-out infinite;
}
.oxi-launcher:hover { transform: translateY(-3px) scale(1.06); background: var(--blue-dark); box-shadow: 0 18px 36px -8px rgba(30,115,190,.75); }
.oxi-launcher__icon { width: 30px; height: 30px; transition: opacity .18s ease, transform .18s ease; }
.oxi-launcher__icon--close { position: absolute; opacity: 0; transform: rotate(-45deg) scale(.6); }
.oxi-launcher.is-open { animation: none; }
.oxi-launcher.is-open .oxi-launcher__icon--chat { opacity: 0; transform: rotate(45deg) scale(.6); }
.oxi-launcher.is-open .oxi-launcher__icon--close { opacity: 1; transform: rotate(0) scale(1); }
@keyframes oxiPulse {
  0%, 100% { box-shadow: 0 14px 30px -8px rgba(30,115,190,.5); }
  50%      { box-shadow: 0 14px 34px -6px rgba(30,115,190,.9); }
}

.oxi-panel {
  position: fixed; right: 22px; bottom: 94px; z-index: 300;
  width: 380px; max-width: calc(100vw - 32px); height: 560px; max-height: calc(100vh - 130px);
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 28px 70px -24px rgba(14,58,99,.55);
  transform-origin: bottom right;
  animation: oxiOpen .22s cubic-bezier(.2,.9,.3,1.1);
}
.oxi-panel[hidden] { display: none; }
@keyframes oxiOpen { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }

.oxi-panel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
}
.oxi-panel__brand { display: flex; align-items: center; gap: 12px; }
.oxi-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 800; font-size: .95rem; letter-spacing: .3px;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35);
  font-family: 'EB Garamond', Georgia, serif;
}
.oxi-panel__title { display: block; font-size: 1rem; line-height: 1.2; }
.oxi-panel__status { display: flex; align-items: center; gap: 6px; font-size: .78rem; opacity: .9; margin-top: 2px; }
.oxi-panel__status i { width: 8px; height: 8px; border-radius: 50%; background: #34d27b; box-shadow: 0 0 0 3px rgba(52,210,123,.3); }
.oxi-panel__min { background: rgba(255,255,255,.14); border: 0; color: #fff; width: 34px; height: 34px; border-radius: 10px; cursor: pointer; display: grid; place-items: center; transition: background .2s ease; }
.oxi-panel__min:hover { background: rgba(255,255,255,.28); }
.oxi-panel__min svg { width: 20px; height: 20px; }

.oxi-log { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; background: var(--blue-soft); }
.oxi-msg { max-width: 84%; padding: 11px 14px; border-radius: 16px; font-size: .92rem; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.oxi-msg--bot { align-self: flex-start; background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.oxi-msg--user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 5px; }
.oxi-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 13px 15px; background: #fff; border: 1px solid var(--line); border-radius: 16px; border-bottom-left-radius: 5px; }
.oxi-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); opacity: .4; animation: oxiBlink 1.2s infinite; }
.oxi-typing span:nth-child(2) { animation-delay: .2s; }
.oxi-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes oxiBlink { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.oxi-form { display: flex; align-items: center; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.oxi-input { flex: 1; border: 1px solid var(--line); background: #f6f9fc; border-radius: 24px; padding: 12px 16px; font: inherit; font-size: .92rem; color: var(--ink); outline: none; transition: border .2s ease, background .2s ease; }
.oxi-input:focus { border-color: var(--blue); background: #fff; }
.oxi-send { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; background: var(--blue); color: #fff; display: grid; place-items: center; transition: background .2s ease, transform .15s ease; }
.oxi-send:hover { background: var(--blue-dark); transform: scale(1.06); }
.oxi-send:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.oxi-send svg { width: 20px; height: 20px; }
.oxi-foot { margin: 0; padding: 0 12px 10px; text-align: center; font-size: .7rem; color: var(--ink-soft); background: #fff; }

@media (max-width: 560px) {
  .oxi-launcher { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .oxi-panel { right: 12px; left: 12px; bottom: 80px; width: auto; max-width: none; height: 70vh; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 860px) {
  .nav__inner { display: flex; justify-content: space-between; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; top: 72px; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 18px 24px 28px; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -20px rgba(14,58,99,.35);
    transform: translateY(-130%); transition: transform .35s ease; max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 12px; }
  .portal__inner { grid-template-columns: 1fr; text-align: center; }
  .portal__text p { margin-inline: auto; }
  .portal__visual { order: -1; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  .section { padding: 56px 0; }
  .section__head { margin-bottom: 36px; }
  .hero { padding: 118px 0 64px; }
  .hero__title { font-size: clamp(2rem, 8.5vw, 2.7rem); }
  .hero__sub { font-size: 1.08rem; }
  .hero__eyebrow {
    margin-bottom: 18px; white-space: normal; max-width: 100%;
    font-size: .72rem; padding: 8px 14px; line-height: 1.4; letter-spacing: .03em;
  }
  .hero__sub { margin-top: 18px; }
  .hero__text { margin-top: 14px; }
  .hero__buttons { flex-direction: column; margin-top: 28px; }
  /* Services become a swipeable carousel on mobile */
  .cards {
    display: flex; grid-template-columns: none; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding: 8px 24px 22px; margin: 0 -24px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .cards::-webkit-scrollbar { display: none; }
  .card {
    flex: 0 0 80%; scroll-snap-align: center; padding: 30px 26px;
    transition: transform .25s, box-shadow .45s, border-color .45s;
  }
  .card:hover { transform: none; }
  .cards .card.is-active { box-shadow: var(--shadow); border-color: var(--blue-tint); }
  .cards__dots { display: flex; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 32px; }
  .stat { padding: 22px 14px; }
  .why__list { gap: 12px; }
  .why__list li { padding: 18px 22px; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .logo-grid__item { height: 76px; }
  .btn { width: 100%; }
  .footer { padding: 52px 0 0; }
  .footer__inner { padding-bottom: 38px; }
}

@media (max-width: 400px) {
  .section { padding: 48px 0; }
  .hero { padding: 104px 0 54px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
  .nav__logo img { animation: none; }
  .nav__logo:hover img { transform: none; }
  .hero__aspa { animation: none; }
  .wa-float { animation: none; }
}
