/* ============================================================
   MUDANZAS ATLAS — Design System
   Font: Poppins 900 (headings) / 500 (body)
============================================================ */

:root {
  --red: #ff3131;
  --red-dark: #e02020;
  --dark: #0B1E33;
  --bg1: #F8FAF9;
  --bg2: #F3F6F4;
  --bg3: #EEF2F6;
  --text: #0B1E33;
  --muted: #545454;
  --white: #ffffff;
  --radius: 16px;
  --header-h: 94px;
  --top-h: 52px;
}

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

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: 'Open Sauce Sans', sans-serif;
  font-weight: 500;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
  padding-top: 0;
}

h1, h2, h3, h4 {
  font-family: 'Open Sauce Sans', sans-serif;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--dark);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.text-center { text-align: center; }

.highlight { color: var(--red); }

.section-label {
  display: inline-block;
  background: rgba(255,49,49,.1);
  color: var(--red);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: .95rem;
  padding: .85rem 1.6rem;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 8px 24px rgba(255,49,49,.35); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: #142A45; transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--dark); color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: var(--white); }
.btn-white { background: var(--white); color: var(--dark); }
.btn-white:hover { background: var(--bg2); }

/* ── Header (barra flotante navy, esquinas redondas, sobre el hero) ── */
#navbar {
  position: fixed; top: 14px; left: 14px; right: 14px;
  z-index: 1000;
  border-radius: 22px;
  box-shadow: 0 15px 40px rgba(11,30,51,.35);
}
.header-top {
  height: var(--top-h);
  background: var(--dark);
  display: flex; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
  border-radius: 22px 22px 0 0;
}
.header-top-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.header-contact { display: flex; align-items: center; gap: .8rem; }
.header-contact .icon-box {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--red); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.header-contact .icon-box svg { width: 18px; height: 18px; color: var(--white); }
.header-contact .txt-q { font-size: .72rem; color: #9aa0a0; line-height: 1.2; }
.header-contact .txt-phone { font-size: 1.05rem; font-weight: 800; color: var(--white); line-height: 1.2; }
.header-coverage { display: flex; align-items: center; gap: .6rem; }
.header-coverage .icon-box { background: transparent; border: 2px solid var(--red); }
.header-coverage .txt-label { font-size: .68rem; color: var(--red); font-weight: 700; text-transform: uppercase; line-height: 1.2; }
.header-coverage .txt-value { font-size: .85rem; color: var(--white); font-weight: 800; line-height: 1.25; }

.header-main {
  height: var(--header-h);
  background: var(--dark);
  border-radius: 0 0 22px 22px;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.nav-logo { display: flex; align-items: center; gap: .6rem; }
.nav-logo img { height: 84px; width: auto; }
.nav-links { display: flex; align-items: center; gap: .3rem; }
.nav-links a {
  font-weight: 700; font-size: .9rem; color: var(--white);
  padding: .6rem 1rem; border-radius: 50px;
  transition: all .2s;
}
.nav-links a:hover { background: rgba(255,255,255,.1); }
.nav-links a.active { background: var(--red); color: var(--white); }
.nav-cta { display: flex; align-items: center; gap: .9rem; }
.nav-phone-link { font-weight: 700; color: var(--white); display:flex; align-items:center; gap:.4rem; }
.nav-wa-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(37,211,102,.18); color: #25D366;
  display: flex; align-items: center; justify-content: center;
}
.nav-wa-icon svg { width: 20px; height: 20px; }
.lang-toggle { display: flex; align-items: center; gap: .25rem; padding: .2rem .3rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 8px; animation: langBounce 2.5s ease-in-out 1.5s 3; }
.nav-phone-desktop { display: none; }
.lang-btn { padding: .22rem .45rem; border-radius: 5px; font-weight: 700; font-size: .75rem; cursor: pointer; color: rgba(255,255,255,.45); background: none; border: none; letter-spacing: .04em; transition: all .2s; }
.lang-btn.active { background: var(--white); color: var(--dark); }
@keyframes langBounce { 0%,100% { transform: translateY(0); } 30% { transform: translateY(-4px); } 60% { transform: translateY(-2px); } }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background:none; border:none; }
.hamburger span { width: 26px; height: 3px; background: var(--white); border-radius: 2px; }
#navbar .btn-dark { background: var(--red); }
#navbar .btn-dark:hover { background: var(--red-dark); }

/* ── Mobile menu ── */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 999;
  background: var(--white);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .7rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1rem; font-weight: 700; color: var(--dark); }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #142A45 100%);
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,49,49,.15);
  color: var(--red);
  font-weight: 700; font-size: .85rem;
  padding: .5rem 1.1rem; border-radius: 50px;
  margin-bottom: 1.2rem;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.3;} }
.hero h1 { font-size: 2.8rem; color: var(--white); margin-bottom: 1rem; }
.hero p.lead { color: #c7cbcb; font-size: 1.1rem; max-width: 480px; margin-bottom: 1.6rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-stats { display: flex; gap: 2.2rem; flex-wrap: wrap; }
.hero-stat .number { font-size: 1.7rem; font-weight: 900; color: var(--red); }
.hero-stat .label { font-size: .8rem; color: #aab0b0; }

.hero-form-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: 0 30px 60px rgba(0,0,0,.3);
}
.hero-form-box h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.hero-form-box p { color: var(--muted); font-size: .85rem; margin-bottom: 1.2rem; }

.form-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: .8rem; }
.form-group { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: .78rem; font-weight: 700; color: var(--dark); }
.form-group input, .form-group select, .form-group textarea {
  border: 1.5px solid #e2e6e6;
  border-radius: 10px;
  padding: .65rem .8rem;
  font-family: 'Open Sauce Sans', sans-serif;
  font-size: .9rem;
  background: var(--bg1);
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.form-group textarea { resize: vertical; min-height: 70px; }
.form-note { font-size: .75rem; color: var(--muted); margin: .8rem 0; }
.form-submit { width: 100%; justify-content: center; }
.form-success { display: none; text-align: center; padding: 1.5rem 0; }

/* ── Trust bar ── */
.trust-bar { background: var(--bg2); padding: 1.4rem 0; border-bottom: 1px solid #e2e6e6; }
.trust-items { display: flex; align-items: center; justify-content: center; gap: 2.4rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .85rem; color: var(--dark); }
.trust-item svg { color: var(--red); width: 18px; height: 18px; }

/* ── Services ── */
.services-section { background: var(--white); }
.services-header { text-align: center; margin-bottom: 3rem; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: var(--bg1);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all .25s ease;
  border: 1px solid #eceeee;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,.08); background: var(--white); border-color: var(--red); }
.service-card .icon {
  width: 56px; height: 56px;
  background: rgba(255,49,49,.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.service-card p { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.service-card-link { color: var(--red); font-weight: 700; font-size: .85rem; display: flex; align-items: center; gap: .3rem; }

/* ── Why us ── */
.why-section { background: var(--bg2); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.why-img { text-align: center; }
.why-img img { border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0,0,0,.12); width: auto; height: auto; max-width: 100%; object-fit: contain; display: inline-block; }
.why-list { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.why-item { display: flex; gap: 1rem; align-items: flex-start; }
.why-item .check {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--red); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 900;
}
.why-item h4 { font-size: 1rem; margin-bottom: .2rem; }
.why-item p { color: var(--muted); font-size: .88rem; }

/* ── Coverage / Map ── */
.coverage-section { background: var(--white); }
.coverage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.coverage-map { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.1); height: 420px; }
.coverage-map iframe { width: 100%; height: 100%; border: 0; }
.city-pills { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.city-pill {
  background: var(--bg2); padding: .5rem 1rem; border-radius: 50px;
  font-size: .85rem; font-weight: 600; color: var(--dark);
  transition: all .2s;
}
.city-pill:hover { background: var(--red); color: var(--white); }

/* ── FAQ ── */
.faq-section { background: var(--bg2); }
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 1rem; }
.faq-item { background: var(--white); border-radius: 14px; padding: 1.3rem 1.6rem; cursor: pointer; }
.faq-q { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 1rem; line-height: 1.25; }
.faq-q svg { transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; color: var(--muted); font-size: .9rem; }
.faq-item.open .faq-a { max-height: 300px; padding-top: .9rem; }

/* ── Contact CTA section ── */
.contact-section { background: var(--dark); color: var(--white); }
.contact-section h2 { color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.contact-items { display: grid; gap: 1.2rem; margin: 1.5rem 0; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: rgba(255,49,49,.15); color: var(--red);
  border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.contact-item h4 { color: var(--white); font-size: .95rem; margin-bottom: .15rem; }
.contact-item a, .contact-item p { color: #c7cbcb; font-size: .9rem; }
.contact-form-box { background: var(--white); border-radius: var(--radius); padding: 1.8rem; color: var(--text); }

/* ── Footer ── */
footer { background: #08172A; color: #9aa0a0; padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-col h4 { color: var(--white); font-size: .95rem; margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: .6rem; }
.footer-col a { font-size: .85rem; color: #9aa0a0; }
.footer-col a:hover { color: var(--red); }
.footer-logo { height: 90px; width: auto; margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid #1c1f1f; padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .8rem; }

/* ── Floating CTA ── */
.float-cta { position: fixed; right: 1.25rem; bottom: 2.5rem; z-index: 998; display: flex; flex-direction: column; gap: .6rem; }
.float-btn {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
  transition: transform .2s;
}
.float-btn:hover { transform: scale(1.08); }
.float-btn svg { width: 22px; height: 22px; }
.float-btn-wa { background: #25D366; color: var(--white); }
.float-btn-tel { background: var(--red); color: var(--white); }

/* ── Inner page hero (servicios/ciudades) ── */
.page-hero { background: linear-gradient(135deg, var(--dark), #142A45); padding: calc(var(--header-h) + var(--top-h) + 3rem) 0 2.5rem; color: var(--white); }
.breadcrumb { font-size: .85rem; color: #9aa0a0; margin-bottom: 1rem; }
.breadcrumb a { color: #c7cbcb; }
.breadcrumb a:hover { color: var(--red); }
.page-hero h1 { color: var(--white); font-size: 2.2rem; margin-bottom: .8rem; }
.page-hero p { color: #c7cbcb; max-width: 600px; }
.page-content { padding: 3.5rem 0; }
.page-content-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 3rem; }
.includes-list { display: grid; gap: .8rem; margin: 1.5rem 0; }
.includes-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; }
.includes-list li::before { content: "✓"; color: var(--red); font-weight: 900; flex-shrink: 0; }
.sidebar-card { background: var(--bg2); border-radius: var(--radius); padding: 1.6rem; position: sticky; top: 100px; }
.sidebar-card h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.related-links { display: grid; gap: .5rem; margin-top: .8rem; }
.related-links a { font-size: .85rem; font-weight: 600; color: var(--dark); padding: .5rem 0; border-bottom: 1px solid #e2e6e6; }
.related-links a:hover { color: var(--red); }

/* ════════ MOBILE ════════ */
@media (max-width: 968px) {
  .hero-grid, .why-grid, .coverage-grid, .contact-grid, .page-content-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links, .nav-cta .btn-outline { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-top { display: none; }
  .hero-v2 { padding: calc(var(--header-h) + 3.5rem) 0 5rem; min-height: 560px; }
  .page-hero { padding-top: calc(var(--header-h) + 2.2rem); }
  #navbar { top: 10px; left: 10px; right: 10px; border-radius: 18px; }
  @keyframes heroKenBurns { 0% { transform: scale(1); } 100% { transform: scale(1.12); } }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .form-grid, .form-grid-compact { grid-template-columns: 1fr; }
  .hero-btns .btn { flex: 1; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-wa-icon { display: none; }
  :root { --header-h: 70px; }
  .form-group input, .form-group select, .form-group textarea,
  .form-grid-compact .form-group input, .form-grid-compact .form-group select, .form-grid-compact .form-group textarea {
    font-size: 14px;
  }
  .btn { min-height: 44px; }
}

/* ════════════════════════════════════════════════════════
   NEW SECTIONS — inspired by mudanzasexpres24.es structure
════════════════════════════════════════════════════════ */

/* ── Hero v2 (centered, photo background crossfade) ── */
.hero-v2 {
  position: relative;
  background: var(--dark);
  padding: calc(var(--header-h) + var(--top-h) + 6rem) 0 10rem;
  min-height: 780px;
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center center;
  transform-origin: 22% 55%;
  animation: heroKenBurns 14s ease-in-out infinite alternate;
}
@keyframes heroKenBurns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.28) translate(-1%, -1%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; }
}
.hero-bg img:nth-child(1) { z-index: 0; }
.hero-bg img:nth-child(2) { z-index: 1; transform: translateY(-100%); animation: heroSlideOver 12s infinite; }
@keyframes heroSlideOver {
  0%   { transform: translateY(-100%); }
  8%   { transform: translateY(0); }
  50%  { transform: translateY(0); }
  58%  { transform: translateY(-100%); }
  100% { transform: translateY(-100%); }
}
.hero-v2::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(11,30,51,.15) 0%, rgba(11,30,51,.35) 70%, rgba(11,30,51,.55) 100%);
}
.hero-v2 .container { position: relative; z-index: 2; width: 100%; }
.hero-v2 .hero-badge { margin: 0 auto 1.2rem; }
.hero-v2 h1 {
  font-size: 3rem; font-style: italic; color: var(--white); max-width: 760px; margin: 0 auto .4rem;
  text-shadow: 0 3px 20px rgba(0,0,0,.7), 0 1px 4px rgba(0,0,0,.6);
  animation: titleFloat 4s ease-in-out infinite;
}
@keyframes titleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-v2 h1 { animation: none; }
}
.hero-v2 p.lead { color: #ffffff; max-width: 600px; margin: 0 auto 1.8rem; text-shadow: 0 2px 14px rgba(0,0,0,.65), 0 1px 3px rgba(0,0,0,.5); }
.hero-v2 .hero-subtext { font-size: 1rem; font-weight: 600; color: #f1f2f2; margin: 0 auto .25rem; text-shadow: 0 2px 14px rgba(0,0,0,.85), 0 1px 4px rgba(0,0,0,.9); }
.hero-v2 .hero-slogan { font-size: 1.9rem; font-weight: 800; margin: 0 auto .4rem; text-shadow: 0 3px 18px rgba(0,0,0,.85), 0 1px 5px rgba(0,0,0,.9); }
.hero-v2 .hero-btns { justify-content: center; margin-bottom: 2.2rem; }
.hero-v2 .hero-stats { justify-content: center; }

/* ── CTA Banner (presupuesto, right after hero) ── */
.cta-banner {
  background: var(--white);
  margin-top: -3.5rem;
  position: relative;
  z-index: 10;
}
.cta-banner-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0,0,0,.18);
  padding: 2.2rem;
  border-top: 5px solid var(--dark);
  animation: ctaFloat 3s ease-in-out infinite;
}
@keyframes ctaFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .cta-banner-box { animation: none; }
}
.cta-banner-box h3 { font-size: 1.5rem; text-align: center; margin-bottom: .3rem; }
.cta-banner-box > p.sub { text-align: center; color: var(--muted); margin-bottom: 1.5rem; font-size: .95rem; }

/* ── CTA banner split: imagen izq + formulario compacto der ── */
.cta-banner-split {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 2rem;
  align-items: center;
  padding: 1.4rem;
  background: var(--white);
}
.cta-banner-img {
  position: relative;
  height: 100%; max-height: 360px; overflow: hidden; border-radius: 14px;
  background: var(--white);
  display: flex; align-items: flex-end; justify-content: center;
}
.cta-banner-img img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.cta-banner-form-col h3 { text-align: left; font-size: 1.9rem; }
.cta-banner-form-col > p.sub { text-align: left; margin-bottom: 1.1rem; }
.form-grid-compact { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: .6rem; }
.form-grid-compact .form-group input,
.form-grid-compact .form-group select,
.form-grid-compact .form-group textarea { background: var(--bg1); font-family: 'Open Sauce Sans', sans-serif; width: 100%; min-width: 0; box-sizing: border-box; }
.form-grid-compact textarea { resize: vertical; min-height: 60px; width: 100%; border: 1.5px solid #e2e6e6; border-radius: 10px; padding: .65rem .8rem; font-size: .9rem; }

@media (max-width: 968px) {
  .cta-banner-split { grid-template-columns: 1fr; }
  .cta-banner-img { max-height: 180px; }
  .cta-banner-img img { max-width: 160px; margin: 0 auto; }
}

/* ── Services v2: 3 big feature cards ── */
.services-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2.5rem; }
.feature-card {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem;
  text-align: center;
  transition: transform .25s;
}
.feature-card:hover { transform: translateY(-6px); }
.feature-card .icon {
  width: 64px; height: 64px; margin: 0 auto 1.2rem;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  overflow: hidden;
}
.feature-card .icon.icon-img { width: 84px; height: 84px; background: transparent; border: none; animation: iconFloat 4s ease-in-out infinite; }
.feature-card .icon.icon-img:nth-child(1) { animation-delay: 0s; }
.feature-card:nth-child(2) .icon.icon-img { animation-delay: 1.3s; }
.feature-card:nth-child(3) .icon.icon-img { animation-delay: 2.6s; }
.feature-card .icon.icon-img img { width: 100%; height: 100%; object-fit: cover; }
@keyframes iconFloat { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-7px) scale(1.03); } }
.feature-card h3 { color: var(--white); font-size: 1.15rem; margin-bottom: .6rem; }
.feature-card p { color: #b8bcbc; font-size: .88rem; line-height: 1.35; }

/* ── Services v2: left "Servicios" label + right 2x3 grid ── */
.services-detail-split { display: grid; grid-template-columns: .8fr 2.2fr; gap: 2.5rem; align-items: center; }
.services-side-label { position: relative; }
.services-rotating-title {
  font-size: 2.6rem;
  color: var(--dark);
  position: relative;
  display: inline-block;
  animation: servicesFloat 3.5s ease-in-out infinite;
}
.services-rotating-title::after {
  content: '';
  position: absolute; left: 0; bottom: -10px;
  width: 56px; height: 5px;
  background: var(--red);
  border-radius: 4px;
  animation: servicesUnderline 2.5s ease-in-out infinite;
}
@keyframes servicesFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes servicesUnderline {
  0%, 100% { width: 56px; }
  50% { width: 90px; }
}

/* ── Título flotante reutilizable (sin línea) para secciones a partir del formulario ── */
.title-float {
  animation: servicesFloat 3.5s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .title-float, .services-rotating-title { animation: none; }
}

.services-icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem 1.2rem; }
.icon-item { display: flex; gap: .8rem; align-items: flex-start; padding: 1.2rem; border-radius: 14px; background: var(--dark); transition: transform .25s; }
.icon-item:hover { transform: translateY(-4px); }
.icon-item .icon-dot {
  width: 10px; height: 10px; flex-shrink: 0; margin-top: .45rem;
  background: var(--red); border-radius: 50%;
  transition: transform .3s;
}
.icon-item:hover .icon-dot { animation: iconBounce .6s ease; }
@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(-8px); }
  50% { transform: translateY(0); }
  70% { transform: translateY(-4px); }
}
.icon-item h4 { font-size: .95rem; margin-bottom: .05rem; color: var(--white); }
.icon-item p { color: var(--white); font-family: 'Poppins', sans-serif; font-size: .82rem; line-height: 1.2; }

@media (max-width: 768px) {
  .services-detail-split { grid-template-columns: 1fr; }
  .services-side-label { text-align: center; }
  .services-rotating-title::after { left: 50%; transform: translateX(-50%); }
}

/* ── Stats section (big numbers) ── */
.stats-section { background: var(--dark); padding: 3.5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-big .number { font-size: 2.6rem; font-weight: 900; color: var(--red); line-height: 1; }
.stat-big .label { color: #c7cbcb; font-size: .85rem; margin-top: .4rem; }

/* ── Process section (3 numbered steps) ── */
.process-section { background: var(--white); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; position: relative; }
.process-step { text-align: center; position: relative; }
.process-step .num {
  width: 64px; height: 64px; margin: 0 auto 1.2rem;
  background: var(--red); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 900;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.process-step p { color: var(--muted); font-size: .88rem; line-height: 1.3; }
.process-step h3 { line-height: 1.2; }

/* ── Testimonials ── */
.testimonials-section { background: var(--bg2); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.testimonial-card { background: var(--white); border-radius: var(--radius); padding: 1.8rem; }
.testimonial-card .stars { color: var(--red); margin-bottom: .8rem; font-size: .9rem; }
.testimonial-card p.quote { font-size: .92rem; color: var(--text); margin-bottom: 1.2rem; }
.reviewer { display: flex; align-items: center; gap: .8rem; }
.reviewer-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--dark); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.1rem; flex-shrink: 0;
}
.reviewer-name { font-weight: 700; font-size: .9rem; }
.reviewer-city { font-size: .78rem; color: var(--muted); }

@media (max-width: 968px) {
  .services-feature-grid, .services-icon-grid, .stats-grid, .process-grid, .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .hero-v2 h1 { font-size: 2.2rem; }
}
@media (max-width: 640px) {
  .services-feature-grid, .services-icon-grid, .stats-grid, .process-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .cta-banner { margin-top: -2rem; }
  .cta-banner-box { padding: 1.4rem; }
}

/* ── Scroll reveal: set de variantes dinámicas, se repiten cada vez ── */
[class*="reveal-"] {
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 1.4s cubic-bezier(.16,1,.3,1), transform 1.4s cubic-bezier(.16,1,.3,1);
}
[class*="reveal-"].revealed { opacity: 1; }

.reveal-up { transform: translateY(46px) scale(.96); }
.reveal-up.revealed { transform: translateY(0) scale(1); }

.reveal-down { transform: translateY(-90px) scale(.95); }
.reveal-down.revealed { transform: translateY(0) scale(1); }

.reveal-left { transform: translateX(-90px) rotate(-2deg); }
.reveal-left.revealed { transform: translateX(0) rotate(0deg); }

.reveal-right { transform: translateX(90px) rotate(2deg); }
.reveal-right.revealed { transform: translateX(0) rotate(0deg); }

.reveal-scale { transform: scale(.7); }
.reveal-scale.revealed { transform: scale(1); }

.reveal-rotate { transform: scale(.85) rotate(-6deg); }
.reveal-rotate.revealed { transform: scale(1) rotate(0deg); }

@media (prefers-reduced-motion: reduce) {
  [class*="reveal-"] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ── Nav dropdown "Zonas" ── */
.nav-dropdown { position: relative; }
.nav-dropdown-btn {
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: .9rem; color: var(--white);
  padding: .6rem 1rem; border-radius: 50px;
  display: flex; align-items: center; gap: .35rem;
  transition: background .2s;
}
.nav-dropdown-btn:hover { background: rgba(255,255,255,.1); }
.nav-dropdown-btn svg { transition: transform .2s; }
.nav-dropdown:hover .nav-dropdown-btn svg { transform: rotate(180deg); }
.nav-dropdown-panel {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%);
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(11,30,51,.25);
  padding: 1.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  width: 480px;
  opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(-10px);
  transition: all .25s ease;
  z-index: 50;
  max-height: 70vh; overflow-y: auto;
}
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown-panel:hover {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-dropdown-col h5 { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--red); margin-bottom: .6rem; }
.nav-dropdown-col { display: flex; flex-direction: column; }
.nav-dropdown-col a { font-size: .85rem; color: var(--dark); padding: .35rem 0; font-weight: 600; }
.nav-dropdown-col a:hover { color: var(--red); }

@media (max-width: 968px) {
  .nav-dropdown-panel { display: none; }
}

/* ── Why-us banner clicable a Sobre Nosotros ── */
.why-banner-link { display: block; cursor: pointer; transition: transform .3s; }
.why-banner-link:hover { transform: translateY(-4px); }
.why-banner-link:hover .why-img img { transform: scale(1.03); }
.why-img img { transition: transform .4s; border-radius: var(--radius); }

/* ── CTA cobertura nacional (naranja marca) ── */
.btn-coverage-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--red); color: var(--white);
  font-weight: 800; font-size: 1rem;
  padding: 1rem 1.8rem; border-radius: 50px;
  margin-top: 1.2rem;
  box-shadow: 0 10px 30px rgba(255,49,49,.4);
  transition: all .25s;
}
.btn-coverage-cta:hover { background: var(--red-dark); transform: translateY(-3px); box-shadow: 0 14px 36px rgba(255,49,49,.5); }

/* ── Contact final: iconos limpios, centrado ── */
.contact-items-final {
  max-width: 560px; margin: 0 auto 2rem;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
}
.contact-items-final .contact-item { justify-content: center; }
.contact-items-final .contact-icon svg { width: 20px; height: 20px; }

/* ── Offset de scroll para que el header flotante no tape las secciones ── */
[id] { scroll-margin-top: calc(var(--header-h) + var(--top-h) + 30px); }

/* ── Services buttons card (estilo "Nuestros servicios" de las páginas de zona) ── */
.services-buttons-card {
  background: var(--bg2);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex; flex-direction: column;
}
.services-buttons-card h4 { font-size: 1.05rem; margin-bottom: .8rem; color: var(--red); }
.service-btn-link {
  font-size: .92rem; font-weight: 700; color: var(--dark);
  padding: .7rem 0; border-bottom: 1px solid #e2e6e6;
  transition: color .2s, padding-left .2s;
}
.service-btn-link:hover { color: var(--red); padding-left: .4rem; }
.service-btn-link.highlight-link { color: var(--dark); border-bottom: 1px solid #e2e6e6; }

/* ── Mobile menu CTA buttons ── */
.mobile-menu-cta { display: flex; flex-direction: row; gap: .6rem; margin-top: .5rem; }
.mobile-menu-cta .btn { padding: .5rem 1.1rem; font-size: .8rem; min-height: auto; justify-content: center; }

/* ── Touch targets ≥44px (accesibilidad móvil) ── */
@media (max-width: 968px) {
  .nav-wa-icon { width: 44px; height: 44px; }
  .hamburger { padding: .5rem; margin: -.5rem; }
  .lang-btn { padding: .5rem .8rem; }
  .city-pill { padding: .65rem 1.1rem; }
}

/* ════════ FIX FINAL: overrides móviles con prioridad de cascada ════════ */
@media (max-width: 968px) {
  .hero-v2 {
    padding: 25vh 0 3rem !important;
    min-height: 90svh !important;
    align-items: flex-start !important;
  }
  .hero-bg img {
    object-fit: cover !important;
    object-position: center center !important;
    content: url('../assets/ruta-hero-mobile.png') !important;
    animation: none !important;
    transform: none !important;
  }
  .hero-v2 h1 { font-size: 1.7rem !important; margin-bottom: .2rem !important; }
  .hero-v2 .hero-slogan { font-size: .95rem !important; margin-bottom: 1rem !important; }
  .hero-v2 .hero-btns { flex-direction: row !important; gap: .6rem !important; margin-bottom: 0 !important; margin-top: 15vh !important; }

  /* Header compacto en móvil: logo más pequeño, toggle ES/CA y botón Presupuesto reducidos */
  .nav-logo img { height: 46px !important; }
  .lang-toggle { padding: .15rem !important; }
  .lang-btn { padding: .35rem .55rem !important; font-size: .7rem !important; }
  .nav-cta { gap: .5rem !important; }
  #navbar .btn-dark { padding: .55rem 1rem !important; font-size: .8rem !important; }

  /* Botones del hero, mucho más pequeños */
  .hero-v2 .hero-btns { align-items: center !important; }
  .hero-v2 .hero-btns .btn {
    width: auto !important;
    padding: .5rem 1rem !important;
    font-size: .78rem !important;
    min-height: auto !important;
    border-radius: 50px !important;
  }
  .hero-v2 .hero-btns .btn svg { width: 14px !important; height: 14px !important; }

  /* Título del formulario en una sola línea, descripción más compacta y centrada */
  .cta-banner-form-col h3 { font-size: 1.3rem !important; white-space: nowrap !important; text-align: center !important; }
  .cta-banner-form-col > p.sub { font-size: .85rem !important; line-height: 1.35 !important; margin-bottom: .8rem !important; text-align: center !important; }

  /* Header móvil: quitar botón Presupuesto, barra navy menos ancha */
  #navbar { left: 10px !important; right: 10px !important; }
  .nav-cta .btn-dark { display: none !important; }
  :root { --header-h: 58px !important; }
  .nav-logo img { height: 34px !important; }
  .header-main { height: 58px !important; }
  .nav-inner { height: 58px !important; }

  /* Texto de privacidad del formulario en una sola línea */
  .form-note { font-size: .68rem !important; }
  .cta-banner-box, .cta-banner-form-col, .cta-banner-split { min-width: 0 !important; max-width: 100% !important; overflow-wrap: break-word !important; }

  /* Imagen galería nosotros: proporciones naturales, ligeramente más pequeña */
  .why-img img { max-width: 82% !important; }

  /* Botón "Conoce Mudanzas Atlas" — centrado y más pequeño */
  .why-banner-link .btn-dark {
    display: block !important;
    width: fit-content !important;
    margin: 0 auto !important;
    padding: .55rem 1.1rem !important;
    font-size: .82rem !important;
  }

  /* Botón CTA cobertura — centrado y más pequeño */
  .btn-coverage-cta {
    display: inline-flex !important;
    width: auto !important;
    max-width: 90% !important;
    white-space: normal !important;
    text-align: center !important;
    justify-content: center !important;
    margin: 1rem auto 0 !important;
    padding: .6rem 1.2rem !important;
    font-size: .82rem !important;
    line-height: 1.3 !important;
  }

  /* Interlineado más compacto en textos descriptivos de esas secciones */
  .why-banner-link p, #cobertura p { line-height: 1.35 !important; }

  /* Feature cards: descripción en 2 líneas en móvil */
  .feature-card p { font-size: .72rem !important; line-height: 1.3 !important; }

  /* Teléfono del nav en móvil: visible y compacto */
  .nav-phone-desktop { display: flex !important; font-size: .72rem !important; gap: .25rem !important; white-space: nowrap !important; }
  /* Lang toggle: empujado a la izquierda solo en móvil */
  .lang-toggle { margin-right: auto !important; margin-left: -1rem !important; }

  /* Ocultar bloque teléfono/email en sección contacto en móvil */
  .contact-items-final { display: none !important; }

  /* Eliminar espacio vacío sobrante en sección contacto en móvil */
  .contact-section.section { padding-bottom: 2rem !important; }
}
@keyframes heroKenBurnsMobile {
  0% { transform: scale(1.02); }
  100% { transform: scale(1.12); }
}
@media (max-width: 640px) {
  .hero-v2 { padding: 25vh 0 2.5rem !important; }
  .hero-v2 h1 { font-size: 1.5rem !important; }
  .nav-logo img { height: 40px !important; }
  #navbar .btn-dark { padding: .5rem .85rem !important; font-size: .75rem !important; }
}
