/* RA Breakdown Recovery – mobile-first; desktop rules start at 761px (mobile is 760px and below). */

:root {
  --navy: #141B2D;
  --navy-deep: #0D1322;
  --navy-line: #262F45;
  --brand: #2563EB;
  --brand-dark: #1E40AF;
  --brand-text: #1D4ED8;
  --brand-tint: #E6EEFD;
  --grey-bg: #F4F5F8;
  --border: #E6E8EE;
  --border-strong: #CDD1DB;
  --body-grey: #4A5163;
  --muted: #6B7385;
  --quote: #3A4152;
  --muted-on-navy: #C9D0DD;
  --whatsapp: #0E7A3F;
  --whatsapp-dark: #0B6433;
  --star: #F4B400;

  --font-heading: 'Archivo', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --container: 1200px;
  --gutter: 24px;
  --section-pad: clamp(40px, 6vw, 80px);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 16px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: #fff;
  overflow-x: clip;
}

h1, h2, h3 { margin: 0; font-family: var(--font-heading); }
p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: var(--brand-text); }

[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.topbar :focus-visible,
.hero :focus-visible,
.cta :focus-visible,
.site-footer :focus-visible { outline-color: #fff; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--star { fill: var(--star); stroke: none; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 20;
  padding: 12px 16px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; outline-color: var(--brand); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.container--narrow { max-width: 820px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }

.btn--white { background: #fff; color: var(--brand-dark); }
.btn--white:hover { background: var(--brand-tint); color: var(--brand-dark); }

.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { background: var(--whatsapp-dark); color: #fff; }

.btn--ghost { color: #fff; border: 2px solid rgba(255, 255, 255, 0.35); }
.btn--ghost:hover { color: #fff; border-color: rgba(255, 255, 255, 0.7); }

.btn--outline { color: var(--navy); background: #fff; border: 1px solid var(--border-strong); }
.btn--outline:hover { color: var(--navy); border-color: var(--navy); }

.btn--header { flex: none; padding: 10px 14px; font-size: 14px; }
.btn--small { padding: 10px 18px; font-size: 15px; }
.btn--outline.btn--small { padding: 10px 16px; }

/* Hero / CTA buttons: full width on mobile, capped at 320px on desktop. */
.btn--big {
  flex: 1 1 240px;
  min-height: 56px;
  padding: 16px 24px;
  border-radius: 12px;
}
.btn--call { gap: 12px; font-family: var(--font-heading); font-weight: 800; font-size: 20px; }
.btn--wa { flex-basis: 200px; font-size: 17px; }

/* ---------- Top bar ---------- */

.topbar { background: var(--navy-deep); color: #D5DAE5; font-size: 13px; }
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-top: 9px;
  padding-bottom: 9px;
}
.topbar__status { display: flex; align-items: center; gap: 8px; }
.topbar__dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #3BD16F; }
.topbar__extra { display: none; }

/* ---------- Header ---------- */

.site-header { background: #fff; border-bottom: 1px solid var(--border); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 44px; color: var(--navy); text-decoration: none; }
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.logo__sub {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-text);
  white-space: nowrap;
}

.site-nav { display: none; }

/* ---------- Hero ---------- */

.hero { background: var(--navy); color: #fff; }
.hero__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding-top: clamp(36px, 6vw, 80px);
  padding-bottom: clamp(36px, 6vw, 80px);
}
.hero__content { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero__badge {
  align-self: flex-start;
  padding: 6px 14px;
  border: 1px solid rgba(96, 165, 250, 0.5);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.22);
  color: #DBEAFE;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.hero__lead { max-width: 540px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.55; color: var(--muted-on-navy); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__media { flex: 1 1 400px; min-width: 0; }
.hero__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

/* ---------- Trust strip ---------- */

.trust { background: var(--grey-bg); border-bottom: 1px solid var(--border); }
.trust__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.trust__item { display: flex; align-items: center; gap: 12px; }
.trust__icon {
  width: 40px;
  height: 40px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--brand-text);
}
.trust__text { display: flex; flex-direction: column; line-height: 1.3; }
.trust__text strong { font-size: 15px; }
.trust__text span { font-size: 13px; color: var(--body-grey); }

/* ---------- Sections ---------- */

.section { background: #fff; }
.section--grey { background: var(--grey-bg); }
.section__inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}
.services .section__inner { gap: 28px; }
.jobs .section__inner { gap: 24px; }

.section-head { display: flex; flex-direction: column; gap: 10px; }
.section-head--center { align-items: center; text-align: center; }
.section h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; font-weight: 800; }
.section-head__intro { max-width: 680px; font-size: 16px; line-height: 1.55; color: var(--body-grey); }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-text);
}

/* ---------- Services ---------- */

.services__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.service-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}
.service-card__icon {
  width: 42px;
  height: 42px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--brand-tint);
  color: var(--brand-text);
}
.service-card__body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.service-card h3 { font-size: 17px; line-height: 1.25; font-weight: 800; }
.service-card p { font-size: 14px; line-height: 1.5; color: var(--body-grey); }

/* ---------- Sliders ---------- */

.slider-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.slider-controls { display: flex; gap: 8px; flex: none; }
.slider-btn {
  width: 44px;
  height: 44px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}
.slider-btn:hover { border-color: var(--navy); }
.slider-btn--brand { border: 0; background: var(--brand); color: #fff; }
.slider-btn--brand:hover { background: var(--brand-dark); }
.slider-btn--navy { border: 0; background: var(--navy); color: #fff; }
.slider-btn--navy:hover { background: var(--navy-deep); }

.slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.slider::-webkit-scrollbar { display: none; }

.jobs__track { gap: 12px; }
.jobs__track img {
  flex: 0 0 min(82%, 380px);
  width: min(82%, 380px);
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  scroll-snap-align: start;
}

/* ---------- Areas ---------- */

.areas .section-head { max-width: 720px; }
.areas__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.areas__list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
}
.areas__list .icon { color: var(--brand-text); }

/* ---------- Reviews ---------- */

.reviews__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px; }
.stars { display: flex; gap: 2px; }

.reviews__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.reviews__arrow { display: none; }

.reviews__track { gap: 14px; }
.review-card {
  flex: 0 0 min(86%, 340px);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  scroll-snap-align: start;
}
.review-card__head { display: flex; align-items: center; gap: 12px; }
.review-card__avatar {
  width: 40px;
  height: 40px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
}
.avatar--red { background: #C81E28; }
.avatar--blue { background: #1D4ED8; }
.avatar--green { background: var(--whatsapp); }
.avatar--amber { background: #B45309; }
.avatar--purple { background: #6D28D9; }
.review-card__who { display: flex; flex-direction: column; line-height: 1.3; }
.review-card__who strong { font-size: 15px; }
.review-card__who span { font-size: 13px; color: var(--muted); }
.review-card blockquote { margin: 0; font-size: 15px; line-height: 1.55; color: var(--quote); }
.review-card__source { margin-top: auto; font-size: 12px; color: var(--muted); }
/* ---------- FAQ ---------- */

.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  list-style: none;
  cursor: pointer;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { padding-bottom: 10px; }
.faq-item__icon { flex: none; color: var(--brand-text); transition: transform 0.2s ease; }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); }
.faq-item p { padding: 0 20px 16px; font-size: 15px; line-height: 1.55; color: var(--body-grey); }

/* ---------- CTA band ---------- */

.cta { background: var(--brand); color: #fff; }
.cta__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(36px, 5vw, 64px);
}
.cta__text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cta h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.05; font-weight: 900; }
.cta p { font-size: 17px; line-height: 1.5; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-deep); color: var(--muted-on-navy); }
.site-footer__inner { display: flex; flex-direction: column; gap: 24px; padding-top: 44px; padding-bottom: 24px; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.site-footer__brand { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; }
.site-footer__brand p { font-size: 14px; line-height: 1.55; }
.logo--footer .logo__name { font-size: 16px; color: #fff; }
.logo--footer .logo__sub { letter-spacing: 0.18em; color: #93C5FD; }

.site-footer a { color: var(--muted-on-navy); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.site-footer__contact { flex: 1 1 240px; display: flex; flex-direction: column; align-items: flex-start; font-size: 14px; font-style: normal; }
.site-footer__contact a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__contact span { padding: 4px 0; }
.site-footer .site-footer__phone { color: #fff; font-weight: 700; font-size: 20px; }

/* Link padding makes each tap target ≥ 44px wide; gap + padding keep the 20px visual spacing. */
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  column-gap: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--navy-line);
  font-size: 14px;
}
.site-footer__nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 8px; }
.site-footer__nav a:first-child { padding-left: 0; }
.site-footer__copy { font-size: 12px; color: #9AA4B8; }

/* ---------- Mobile call bar ---------- */

.callbar {
  position: sticky;
  bottom: 0;
  z-index: 10;
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 -6px 20px rgba(13, 19, 34, 0.12);
}
.callbar .btn { flex: 1 1 0; gap: 8px; min-height: 52px; font-size: 16px; }

/* ---------- 404 ---------- */

.not-found__inner { align-items: flex-start; }
.not-found h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.04; font-weight: 900; }
.not-found__lead { max-width: 560px; font-size: 17px; line-height: 1.55; color: var(--body-grey); }
.not-found__actions { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; }
.not-found__actions .btn--outline { flex: 1 1 200px; min-height: 56px; border-radius: 12px; font-size: 17px; }

/* ---------- Desktop (761px and up) ---------- */

@media (min-width: 761px) {
  .topbar__extra { display: inline; }

  .logo__mark { width: 46px; height: 46px; }
  .logo__name { font-size: 18px; }
  .logo__sub { letter-spacing: 0.18em; }
  .logo--footer .logo__mark { width: 40px; height: 40px; }
  .logo--footer .logo__name { font-size: 16px; }

  .site-nav { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; }
  .site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--navy); text-decoration: none; }
  .site-nav a:hover { color: var(--brand-text); }

  .btn--header { padding: 12px 20px; font-size: 15px; }
  .btn--big { max-width: 320px; }
  .not-found__actions .btn--outline { max-width: 320px; }

  .trust__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews__arrow { display: flex; }

  .callbar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
