/* ==========================================================================
   Inmigracion USA TPS — site.css
   Design system: "civic editorial warmth"
   Navy ink + warm ivory + gold accents. Fraunces display / Public Sans body.
   Mobile-first. WCAG 2.1 AA.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy-950: #0a1832;
  --navy-900: #0f2244;
  --navy-800: #16315e;
  --navy-700: #1d3f78;
  --navy-100: #dbe3f0;
  --ink: #1c2536;
  --ink-soft: #46536b;
  --ivory: #faf6ee;
  --cream: #f1e9da;
  --paper: #ffffff;
  --line: #e3dccd;
  --line-navy: #c9d3e6;
  --gold-600: #a87a1b;
  --gold-500: #c9962e;
  --gold-300: #e9c97c;
  --red-600: #a92b35;
  --whatsapp: #1faa53;
  --shadow-sm: 0 1px 2px rgba(15, 34, 68, 0.07), 0 2px 8px rgba(15, 34, 68, 0.06);
  --shadow-md: 0 2px 6px rgba(15, 34, 68, 0.08), 0 12px 28px rgba(15, 34, 68, 0.12);
  --shadow-lg: 0 6px 16px rgba(15, 34, 68, 0.14), 0 24px 48px rgba(15, 34, 68, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --container: 72rem;
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy-900);
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.6vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--navy-900); }

ul, ol { padding-left: 1.4em; margin: 0 0 1em; }

strong { color: var(--navy-900); }

::selection { background: var(--gold-300); color: var(--navy-950); }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 200;
  background: var(--navy-900);
  color: #fff;
  padding: 0.65rem 1.1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Layout helpers ---------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section { padding-block: clamp(3.25rem, 8vw, 5.5rem); }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy-900); color: var(--navy-100); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy strong, .site-footer strong, .cta-band strong, .cta-card strong, .hero strong { color: var(--gold-300); }
.section--paper { background: var(--paper); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.section--navy .section-head p { color: var(--navy-100); }

.grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 640px) and (max-width: 899px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Passport-stamp eyebrow (signature motif) ---------- */
.stamp {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-600);
  border: 1.5px solid currentColor;
  border-radius: 6px;
  padding: 0.35rem 0.8rem;
  margin-bottom: 1.1rem;
  transform: rotate(-1.5deg);
  position: relative;
}
.stamp::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px dashed currentColor;
  border-radius: 4px;
  opacity: 0.55;
}
.section--navy .stamp, .stamp--light { color: var(--gold-300); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0.78rem 1.6rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }

.btn--primary { background: var(--navy-900); color: #fff; }
.btn--primary:hover { background: var(--navy-800); color: #fff; }

.btn--gold { background: var(--gold-500); color: var(--navy-950); }
.btn--gold:hover { background: var(--gold-300); color: var(--navy-950); }

.btn--ghost { border-color: var(--navy-900); color: var(--navy-900); background: transparent; }
.btn--ghost:hover { background: var(--navy-900); color: #fff; }
.section--navy .btn--ghost, .hero .btn--ghost, .cta-band .btn--ghost, .page-title .btn--ghost { border-color: #fff; color: #fff; }
.section--navy .btn--ghost:hover, .hero .btn--ghost:hover, .cta-band .btn--ghost:hover, .page-title .btn--ghost:hover { background: #fff; color: var(--navy-900); }

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

.btn--sm { padding: 0.5rem 1.1rem; font-size: 0.88rem; }

/* ---------- Header ---------- */
.topbar {
  background: var(--navy-950);
  color: var(--navy-100);
  font-size: 0.82rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.4rem;
  padding-block: 0.3rem;
}
.topbar a { color: var(--navy-100); text-decoration: none; }
.topbar a:hover { color: var(--gold-300); }
.topbar__contact { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem 1.4rem; list-style: none; margin: 0; padding: 0; }
.topbar__contact li { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar__contact svg { color: var(--gold-300); }
.topbar__social { display: none; align-items: center; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }
.topbar__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.topbar__social a:hover { background: var(--gold-300); color: var(--navy-950); }
@media (min-width: 768px) { .topbar__social { display: flex; } }
@media (max-width: 540px) { .topbar__contact li:nth-child(2) { display: none; } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

.site-header .container { width: min(100% - 2rem, 82rem); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; flex: none; }
.brand__name, .brand__tag { white-space: nowrap; }
.brand img { width: 3.1rem; height: 3.1rem; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: 0.04em;
}
.brand__tag { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-600); }

.site-nav { display: none; }
.site-nav ul { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block;
  padding: 0.55rem 0.7rem;
  white-space: nowrap;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.site-nav a:hover { background: var(--cream); color: var(--navy-900); }
.site-nav a[aria-current="page"] { color: var(--navy-900); box-shadow: inset 0 -2.5px 0 var(--gold-500); border-radius: 8px 8px 2px 2px; }

.header-cta { display: none; align-items: center; gap: 0.8rem; }
.header-cta__phone { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--navy-900); }
.header-cta__phone svg { color: var(--gold-600); }
.header-cta__phone-label { display: block; font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); }
.header-cta__phone-number { display: block; font-size: 0.95rem; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.header-cta .btn { white-space: nowrap; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0.7rem;
  background: var(--navy-900);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1080px) {
  .site-nav { display: block; }
  .header-cta { display: flex; }
  .nav-toggle { display: none; }
}

/* Mobile menu */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--ivory);
  max-height: calc(100dvh - var(--header-h) - 2.4rem);
  overflow-y: auto;
}
.mobile-menu.is-open { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0.75rem 0 1.25rem; }
.mobile-menu li + li { border-top: 1px solid var(--line); }
.mobile-menu a {
  display: block;
  padding: 0.85rem 0.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.mobile-menu a[aria-current="page"] { color: var(--gold-600); }
.mobile-menu__cta { display: grid; gap: 0.7rem; padding-bottom: 1.5rem; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(60rem 30rem at 110% -20%, rgba(201, 150, 46, 0.22), transparent 60%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  color: var(--navy-100);
  overflow: hidden;
}
.hero::after {
  /* grain for depth */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(3.5rem, 9vw, 6.5rem);
}
@media (min-width: 920px) {
  .hero__inner { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
}
.hero h1 { color: #fff; margin-bottom: 0.5em; }
.hero h1 em { font-style: italic; color: var(--gold-300); }
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.2rem); max-width: 34rem; margin-bottom: 1.8rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.2rem; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; list-style: none; margin: 0; padding: 0; }
.hero__proof li { display: flex; align-items: baseline; gap: 0.5rem; }
.hero__proof strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-300);
}
.hero__proof span { font-size: 0.85rem; }

.hero__media { position: relative; max-width: 28rem; justify-self: center; }
.hero__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, 0.12);
}
.hero__badge {
  position: absolute;
  left: -0.9rem;
  bottom: 1.6rem;
  background: var(--paper);
  color: var(--navy-900);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  font-weight: 700;
  transform: rotate(-2deg);
}
.hero__badge svg { color: var(--gold-600); flex: none; }
.hero__stamp {
  position: absolute;
  top: -1.1rem;
  right: -0.4rem;
  transform: rotate(7deg);
  background: var(--navy-950);
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  margin: 0;
}

/* Dashed journey line under hero */
.journey-line {
  position: relative;
  height: 0;
  border-top: 2px dashed rgba(201, 150, 46, 0.55);
}
.journey-line svg {
  position: absolute;
  right: 8%;
  top: -0.85rem;
  color: var(--gold-500);
  background: inherit;
}

/* ---------- Page title (interior pages) ---------- */
.page-title {
  position: relative;
  background:
    linear-gradient(rgba(10, 24, 50, 0.78), rgba(15, 34, 68, 0.88)),
    var(--navy-900) center / cover no-repeat;
  color: var(--navy-100);
  padding-block: clamp(2.8rem, 7vw, 4.5rem);
}
.page-title--img { background-image: linear-gradient(rgba(10, 24, 50, 0.78), rgba(15, 34, 68, 0.88)), var(--page-title-img, none); }
.page-title h1 { color: #fff; margin-bottom: 0.3em; }
.page-title__lead { max-width: 44rem; font-size: 1.05rem; margin: 0; }

.breadcrumbs { font-size: 0.85rem; margin-bottom: 1.2rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.4rem; }
.breadcrumbs li + li::before { content: "\203A"; opacity: 0.6; }
.breadcrumbs a { color: var(--gold-300); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--navy-100); }

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-300); }

/* Feature card (Que ofrecemos) */
.feature-card { padding: 1.6rem 1.5rem; }
.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--gold-300);
  margin-bottom: 1.1rem;
}
.feature-card h3 { font-size: 1.18rem; margin-bottom: 0.45em; }
.feature-card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* Service card */
.service-card { display: flex; flex-direction: column; overflow: hidden; }
.service-card__media { position: relative; aspect-ratio: 27 / 17; overflow: hidden; background: var(--navy-100); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.4rem 1.5rem; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.4em; }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; }
.service-card { position: relative; }
.service-card p { color: var(--ink-soft); font-size: 0.93rem; margin: 0 0 1rem; flex: 1; }
.service-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-600);
}
.service-card__more svg { transition: transform 0.2s ease; }
.service-card:hover .service-card__more svg { transform: translateX(4px); }

/* Team card */
.team-card { text-align: center; overflow: hidden; }
.team-card img { width: 100%; aspect-ratio: 27 / 32; object-fit: cover; object-position: top; }
.team-card__body { padding: 1.2rem 1rem 1.4rem; }
.team-card h3 { font-size: 1.12rem; margin-bottom: 0.25em; }
.team-card p { font-size: 0.85rem; color: var(--gold-600); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin: 0; }

/* Step / process */
.steps { counter-reset: step; }
.step { position: relative; padding: 1.7rem 1.5rem 1.5rem; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -1.1rem;
  right: 1.2rem;
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--cream);
  -webkit-text-stroke: 1.5px var(--gold-500);
  line-height: 1;
  pointer-events: none;
}
.step h3 { font-size: 1.2rem; padding-right: 3rem; }
.step p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* Testimonial */
.testimonial { position: relative; padding: 1.8rem 1.6rem 1.5rem; }
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 0.2rem;
  left: 1.1rem;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold-300);
  line-height: 1;
}
.testimonial blockquote { margin: 0 0 1.2rem; padding-top: 1.4rem; font-size: 0.98rem; color: var(--ink-soft); }
.testimonial figcaption { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; flex-wrap: wrap; }
.testimonial cite { font-style: normal; font-weight: 700; color: var(--navy-900); }
.testimonial__src { display: block; font-size: 0.8rem; color: var(--ink-soft); font-weight: 400; }
.stars { display: inline-flex; gap: 2px; color: var(--gold-500); }

/* News / video cards (feeds) */
.news-card { overflow: hidden; display: flex; flex-direction: column; }
.news-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-950); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.news-card:hover .news-card__media img { transform: scale(1.04); opacity: 0.85; }
.news-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.news-card__play span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: rgba(15, 34, 68, 0.72);
  border: 2px solid rgba(255, 255, 255, 0.85);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.news-card:hover .news-card__play span { transform: scale(1.1); background: var(--red-600); }
.news-card__body { padding: 1.1rem 1.2rem 1.3rem; flex: 1; display: flex; flex-direction: column; }
.news-card h3 { font-family: var(--font-body); font-size: 0.98rem; font-weight: 700; line-height: 1.45; margin: 0; }
.news-card h3 a { color: var(--ink); text-decoration: none; }
.news-card h3 a:hover { color: var(--navy-700); }
.news-card p { font-size: 0.9rem; color: var(--ink-soft); margin: 0.6rem 0 0; }
.news-card time { display: block; margin-top: 0.8rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-600); }

.feed-status { text-align: center; color: var(--ink-soft); font-size: 0.95rem; min-height: 1.5em; margin-bottom: 1rem; }

/* ---------- Split sections (about/why-us) ---------- */
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 920px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split--media-right .split__media { order: 2; }
}
.split__media { position: relative; max-width: 30rem; justify-self: center; width: 100%; }
.split__media > img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
}
.split__chip {
  position: absolute;
  right: -0.7rem;
  bottom: -1.1rem;
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 0.85rem 1.2rem;
  font-family: var(--font-display);
  font-size: 1rem;
  transform: rotate(2deg);
}
.split__chip strong { color: var(--gold-300); font-size: 1.5rem; display: block; line-height: 1.1; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: 0.65rem; }
@media (min-width: 560px) { .check-list--2col { grid-template-columns: 1fr 1fr; } }
.check-list li { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 600; }
.check-list svg { flex: none; margin-top: 0.22em; color: var(--gold-600); }
.section--navy .check-list svg { color: var(--gold-300); }

/* Why-us numbered rows */
.why-item { display: flex; gap: 1.1rem; padding: 1.2rem 0; border-bottom: 1px dashed var(--line); }
.why-item:last-child { border-bottom: 0; }
.why-item__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background: var(--cream);
  color: var(--navy-900);
}
.why-item h3 { font-size: 1.12rem; margin-bottom: 0.3em; }
.why-item p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* ---------- Country marquee ---------- */
.countries { overflow: hidden; padding-block: 1.6rem; border-block: 1px solid var(--line); background: var(--paper); }
.countries__track {
  display: flex;
  gap: 2.6rem;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.countries:hover .countries__track { animation-play-state: paused; }
.countries__item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy-800);
  white-space: nowrap;
}
.countries__item svg { color: var(--gold-500); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Service detail layout ---------- */
.detail-layout { display: grid; gap: 2.5rem; }
@media (min-width: 980px) {
  .detail-layout { grid-template-columns: minmax(0, 1fr) 20rem; gap: 3.5rem; }
}

.prose { max-width: 46rem; }
.prose img { border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 1.8rem; }
.prose h2 { margin-top: 0; }
.prose h3 { margin-top: 1.8em; display: flex; align-items: center; gap: 0.7rem; }
.prose h3::after { content: ""; flex: 1; border-top: 2px dashed var(--line); }
.prose ul li + li { margin-top: 0.35em; }
.prose ol li + li { margin-top: 0.35em; }

/* "Como te ayudamos" checklist grid */
.help-grid { display: grid; gap: 0.8rem; margin: 1.2rem 0 0.6rem; padding: 0; list-style: none; }
@media (min-width: 560px) { .help-grid { grid-template-columns: 1fr 1fr; } }
.help-grid li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.95rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.help-grid svg { flex: none; color: var(--gold-600); }

/* FAQ accordion */
.faq { display: grid; gap: 0.8rem; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq details[open] { border-color: var(--gold-300); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  font-weight: 700;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--cream);
  color: var(--navy-900);
  font-size: 1.2rem;
  font-weight: 600;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.faq details[open] summary::after { content: "\2212"; background: var(--gold-300); }
.faq__body { padding: 0 1.2rem 1.2rem; color: var(--ink-soft); }
.faq__body :last-child { margin-bottom: 0; }

/* Sidebar */
.sidebar { display: grid; gap: 1.6rem; align-content: start; }
@media (min-width: 980px) { .sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.sidebar__nav { padding: 1.3rem 1.2rem; }
.sidebar__nav h2 { font-size: 1.1rem; margin-bottom: 0.8em; }
.sidebar__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sidebar__nav a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.7rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.sidebar__nav a:hover { background: var(--cream); color: var(--navy-900); }
.sidebar__nav a[aria-current="page"] { background: var(--navy-900); color: #fff; }
.sidebar__nav a svg { flex: none; color: var(--gold-500); }

.cta-card {
  background:
    radial-gradient(18rem 12rem at 120% -20%, rgba(201, 150, 46, 0.35), transparent 65%),
    var(--navy-900);
  color: var(--navy-100);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  text-align: center;
}
.cta-card h2 { color: #fff; font-size: 1.3rem; }
.cta-card p { font-size: 0.92rem; }
.cta-card .btn { width: 100%; margin-top: 0.4rem; }
.cta-card .btn + .btn { margin-top: 0.7rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }

.field label { display: block; font-size: 0.88rem; font-weight: 700; color: var(--navy-900); margin-bottom: 0.35rem; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(29, 63, 120, 0.18);
}
.field textarea { resize: vertical; min-height: 8rem; }

.field--check { display: flex; gap: 0.65rem; align-items: flex-start; }
.field--check input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--navy-800); flex: none; }
.field--check label { font-weight: 500; font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

.form-alert { border-radius: 10px; padding: 0.9rem 1.1rem; font-size: 0.95rem; margin-bottom: 1rem; }
.form-alert--ok { background: #e8f4ea; border: 1px solid #b9dec1; color: #1d5a2c; }
.form-alert--error { background: #fbeaea; border: 1px solid #ecc4c4; color: #8c2424; }

/* Contact info blocks */
.contact-info { display: grid; gap: 1rem; }
.contact-info__item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.3rem; }
.contact-info__item svg { flex: none; color: var(--gold-600); margin-top: 0.15rem; }
.contact-info__item h3 { font-size: 1.02rem; margin-bottom: 0.2em; }
.contact-info__item p, .contact-info__item a { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(50rem 22rem at -10% 120%, rgba(201, 150, 46, 0.25), transparent 60%),
    linear-gradient(120deg, var(--navy-950), var(--navy-800));
  color: var(--navy-100);
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 6vw, 3.8rem);
  display: grid;
  gap: 1.6rem;
  overflow: hidden;
}
@media (min-width: 880px) { .cta-band { grid-template-columns: 1.4fr 1fr; align-items: center; } }
.cta-band h2 { color: #fff; margin-bottom: 0.3em; }
.cta-band p { margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-self: start; }
@media (min-width: 880px) { .cta-band__actions { justify-self: end; } }

/* ---------- Social row ---------- */
.social-row { display: flex; flex-wrap: wrap; gap: 0.7rem; list-style: none; margin: 0; padding: 0; }
.social-row a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-900);
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.social-row a:hover { transform: translateY(-2px); border-color: var(--gold-300); box-shadow: var(--shadow-sm); }
.social-row svg { color: var(--gold-600); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--navy-100); margin-top: auto; }
.site-footer a { color: var(--navy-100); }
.site-footer a:hover { color: var(--gold-300); }
.site-footer__main {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(2.8rem, 6vw, 4rem) 2.2rem;
}
@media (min-width: 880px) { .site-footer__main { grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; } }
.site-footer__brand img { width: 8.5rem; margin-bottom: 1.1rem; }
.site-footer__brand p { font-size: 0.93rem; max-width: 26rem; }
.site-footer h2 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.1em;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; font-size: 0.93rem; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.site-footer__contact li { display: flex; gap: 0.65rem; align-items: flex-start; }
.site-footer__contact svg { flex: none; color: var(--gold-300); margin-top: 0.2rem; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.site-footer__social a:hover { background: var(--gold-300); border-color: var(--gold-300); color: var(--navy-950); }
.site-footer__disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-block: 1.4rem;
  font-size: 0.8rem;
  color: #8fa1c2;
}
.site-footer__disclaimer p { margin: 0 0 0.4em; }
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-block: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 6px 20px rgba(31, 170, 83, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; box-shadow: 0 10px 26px rgba(31, 170, 83, 0.55); }
.whatsapp-float svg { width: 1.9rem; height: 1.9rem; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 1.35rem;
  bottom: 5.4rem;
  z-index: 90;
  width: 3.1rem;
  height: 3.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy-700); }

/* ---------- Reveal animations ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: var(--reveal-delay, 0s);
  }
  .reveal.is-visible { opacity: 1; transform: none; }

  .hero [data-hero-seq] { opacity: 0; transform: translateY(18px); animation: heroIn 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) forwards; }
  .hero [data-hero-seq="1"] { animation-delay: 0.05s; }
  .hero [data-hero-seq="2"] { animation-delay: 0.18s; }
  .hero [data-hero-seq="3"] { animation-delay: 0.32s; }
  .hero [data-hero-seq="4"] { animation-delay: 0.46s; }
  .hero [data-hero-seq="5"] { animation-delay: 0.6s; }
  @keyframes heroIn { to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .countries__track { animation: none; flex-wrap: wrap; width: auto; }
  html { scroll-behavior: auto; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header, .whatsapp-float, .to-top, .site-footer__social, .cta-band { display: none !important; }
}
