/* =========================================================
   Oficina Jurídica FB — Traspaso de Vehículos SAT Guatemala
   ========================================================= */

:root {
  --navy-900: #081B33;
  --navy-800: #0A2E5C;
  --navy-700: #0F3D78;
  --blue-600: #1668C1;
  --blue-500: #2D82E0;
  --gold-500: #F5B700;
  --gold-600: #D99E00;
  --gold-100: #FFF3D1;
  --black: #14181F;
  --gray-900: #1B2330;
  --gray-700: #46505F;
  --gray-500: #6B7688;
  --gray-300: #C9D2DD;
  --gray-100: #F4F6F9;
  --white: #FFFFFF;
  --wa-green: #25D366;
  --wa-green-dark: #1DA851;

  --font-head: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(8, 27, 51, 0.08);
  --shadow-md: 0 10px 30px rgba(8, 27, 51, 0.12);
  --shadow-lg: 0 20px 50px rgba(8, 27, 51, 0.20);

  --header-h: 116px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; color: var(--navy-900); }
p { margin: 0 0 1em; color: var(--gray-700); }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow { max-width: 820px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy-900);
  color: var(--white);
  padding: 12px 18px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.icon { flex-shrink: 0; }
.icon-sm { width: 16px; height: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; }
.btn-sm { padding: 9px 16px; font-size: .9rem; }

.btn-whatsapp {
  background: var(--wa-green);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(37, 211, 102, .35);
}
.btn-whatsapp:hover { background: var(--wa-green-dark); }

.btn-primary {
  background: var(--navy-800);
  color: var(--white);
}
.btn-primary:hover { background: var(--navy-700); }

.btn-outline-light {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border-color: rgba(255,255,255,.7);
  backdrop-filter: blur(4px);
}
.btn-outline-light:hover { background: rgba(255,255,255,.18); }

/* ---------- Eyebrow / section heading helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: .75em;
}
.eyebrow--light { color: var(--gold-500); }
.section-lead { max-width: 700px; font-size: 1.08rem; }

.text-gold { color: var(--gold-500); }

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  background: var(--wa-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
  z-index: 900;
  animation: wa-pulse 2.4s infinite;
}
.wa-float:hover { background: var(--wa-green-dark); }
@keyframes wa-pulse {
  0% { box-shadow: 0 10px 25px rgba(0,0,0,.25), 0 0 0 0 rgba(37,211,102,.55); }
  70% { box-shadow: 0 10px 25px rgba(0,0,0,.25), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 25px rgba(0,0,0,.25), 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 800; }

.topbar { background: var(--navy-900); color: var(--gray-300); font-size: .8rem; }
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 36px;
  overflow-x: auto;
  white-space: nowrap;
}
.topbar-item { display: inline-flex; align-items: center; gap: 6px; color: var(--gray-300); }
.topbar-item:hover { color: var(--gold-500); }
.topbar-item--fb { margin-left: auto; }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  padding-top: 12px;
  padding-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-family: var(--font-head); color: var(--navy-900); font-size: 1.05rem; }
.brand-text small { color: var(--gray-500); font-size: .78rem; }

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--navy-900);
  padding: 6px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 500;
  font-size: .95rem;
}
.nav-menu a:not(.btn) { color: var(--gray-900); position: relative; padding: 4px 0; }
.nav-menu a:not(.btn):hover { color: var(--blue-600); }
.nav-cta { margin-left: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(8,27,51,.96) 0%, rgba(8,27,51,.88) 32%, rgba(8,27,51,.55) 62%, rgba(8,27,51,.35) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 90px 20px 70px; max-width: 720px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); color: var(--white); margin-bottom: .45em; }
.hero-sub { font-size: 1.1rem; color: var(--gray-300); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; color: var(--gray-300); }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges .icon { color: var(--gold-500); }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--navy-800); color: var(--white); padding: 26px 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 24px;
}
.trust-item { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .95rem; }
.trust-item .icon { color: var(--gold-500); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--gray-100); }
.section h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }

.img-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.img-card img { width: 100%; height: 100%; object-fit: cover; }

.check-list { display: flex; flex-direction: column; gap: 12px; margin: 20px 0 26px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--gray-900); font-weight: 500; }
.check-list .icon { color: var(--wa-green); margin-top: 3px; }

/* ---------- Cards / Services ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 40px;
}
.cards-grid--4 { grid-template-columns: 1fr; }

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(8,27,51,.06);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-100);
  color: var(--navy-800);
  border-radius: 14px;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.15rem; margin-bottom: .4em; }
.card p { margin: 0; font-size: .95rem; }

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin: 44px 0 60px;
}
.step {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 24px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(8,27,51,.06);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-500);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.08rem; }
.step p { font-size: .93rem; margin: 0; }

.split-img {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.split-img picture { display: block; height: 100%; }
.split-img img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.split-img-text { padding: 8px 30px 34px; }
.split-img-text h3 { font-size: 1.4rem; }

/* ---------- Requisitos ---------- */
.req-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 40px;
}
.req-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  border-top: 4px solid var(--gold-500);
  box-shadow: var(--shadow-sm);
}
.req-card h3 {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.05rem;
  color: var(--navy-900);
}
.req-card .check-list { margin-bottom: 0; }

/* ---------- Features (por qué elegirnos) ---------- */
.feature { text-align: left; padding: 6px 0; }
.feature .icon { color: var(--blue-600); margin-bottom: 14px; }
.feature h3 { font-size: 1.05rem; }
.feature p { font-size: .93rem; }

/* ---------- FAQ Accordion ---------- */
.accordion { margin-top: 36px; display: flex; flex-direction: column; gap: 14px; }
.accordion-item {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy-900);
}
.accordion-icon { transition: transform .25s ease; color: var(--blue-600); }
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(180deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}
.accordion-panel p { padding: 0 22px 20px; margin: 0; font-size: .96rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  padding: 64px 0;
}
.cta-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
}
.cta-banner h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-banner p { color: var(--gray-300); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--gray-300); padding-top: 64px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand { display: flex; gap: 16px; }
.footer-brand strong { color: var(--white); font-family: var(--font-head); font-size: 1.1rem; }
.footer-brand p { font-size: .9rem; margin: 8px 0 12px; }
.footer-fb { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-500); font-weight: 600; font-size: .9rem; }

.footer-col h3 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: .92rem; }
.footer-col a, .footer-col span { display: flex; align-items: center; gap: 8px; color: var(--gray-300); }
.footer-col a:hover { color: var(--gold-500); }

.map-embed { border-radius: var(--radius-md); overflow: hidden; height: 180px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer-bottom-inner { display: flex; flex-direction: column; gap: 8px; font-size: .8rem; color: var(--gray-500); }

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 640px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .req-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .nav-menu {
    position: static;
    flex-direction: row;
    background: none;
    box-shadow: none;
    padding: 0;
    height: auto;
    width: auto;
  }
  .grid-2 { grid-template-columns: 1.05fr .95fr; }
  .split-img { grid-template-columns: .9fr 1.1fr; }
  .split-img-text { padding: 30px 40px 30px 6px; }
}

@media (max-width: 859px) {
  .nav-menu {
    position: fixed;
    inset: 0 0 auto auto;
    top: var(--header-h, 96px);
    right: 0;
    width: min(320px, 86vw);
    height: calc(100vh - var(--header-h, 96px));
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 26px;
    gap: 22px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform .25s ease;
    overflow-y: auto;
  }
  .nav-menu.is-open { transform: translateX(0); }
  .nav-cta { width: 100%; justify-content: center; margin-left: 0; }
}

@media (min-width: 1024px) {
  .cards-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr .8fr .8fr 1fr; }
}

@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
  .hero-content { padding-top: 64px; }
}
