/* Paleta oficial: https://mgmultiservicio.com/ — misma en empresa-web y web-admin */
:root {
  --primary: #ea580c;
  --primary-dark: #c2410c;
  --primary-light: #ffedd5;
  --accent-yellow: #fbbf24;
  --accent-red: #dc2626;
  --text: #0f0f0f;
  --text-soft: #525252;
  --white: #ffffff;
  --bg: #fafafa;
  --bg-card: #ffffff;
  --gray: #737373;
  --shadow: 0 2px 12px rgba(234,88,12,0.12);
  --shadow-hover: 0 8px 28px rgba(234,88,12,0.18);
  --radius: 14px;
  --radius-full: 9999px;
  --transition: 0.2s ease;
  --space-section: 3rem;
  --space-block: 1.5rem;
  --space-tight: 0.75rem;
  --touch-target-min: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { min-height: 100%; min-height: -webkit-fill-available; }
body { margin: 0; font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--bg); color: var(--text); line-height: 1.75; font-size: 1.0625rem; overflow-x: hidden; -webkit-font-smoothing: antialiased; letter-spacing: 0.01em; }
img, video, iframe { max-width: 100%; height: auto; }
@media (max-width: 640px) {
  body { font-size: 1rem; line-height: 1.7; }
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

main { max-width: 1100px; margin: 0 auto; overflow-x: hidden; }

/* Accesibilidad: enlace "Saltar al contenido" visible solo al recibir foco */
.skip-link {
  position: absolute;
  top: -3.5rem;
  left: max(1rem, env(safe-area-inset-left));
  z-index: 9999;
  padding: 0.6rem 1rem;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius);
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0.75rem;
  outline: 2px solid var(--white);
  outline-offset: 2px;
  z-index: 10250;
}
@media (max-width: 640px) {
  .skip-link { padding: 0.75rem 1.25rem; min-height: var(--touch-target-min); display: inline-flex; align-items: center; }
}

.top-bar {
  background: #1a1a1a;
  color: var(--white);
  padding: 12px 20px;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
  padding-top: max(12px, env(safe-area-inset-top));
  font-size: 0.9375rem;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.25rem;
  font-weight: 600;
}
.top-bar a { color: var(--white); }
.top-bar a:hover { text-decoration: underline; opacity: 0.9; }
.top-bar .top-bar-cta,
.top-bar a[href^="tel:"] { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 18px; background: var(--primary); color: var(--white); font-weight: 700; border-radius: var(--radius); transition: var(--transition); }
.top-bar .top-bar-cta:hover,
.top-bar a[href^="tel:"]:hover { background: var(--primary-dark); opacity: 1; text-decoration: none; }
.top-bar .badge { background: var(--accent-red); color: var(--white); padding: 5px 14px; border-radius: var(--radius-full); font-size: 0.8125rem; font-weight: 700; }
header {
  background: var(--white);
  color: var(--text);
  padding: 1.35rem 1.5rem;
  padding-left: max(1.5rem, env(safe-area-inset-left));
  padding-right: max(1.5rem, env(safe-area-inset-right));
  text-align: center;
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow);
  border-bottom: 3px solid var(--primary);
}
header h1, header .site-name { margin: 0; font-family: 'Outfit', sans-serif; font-size: clamp(1.9rem, 4.5vw, 2.65rem); font-weight: 700; color: var(--primary); letter-spacing: -0.02em; }
header h1 a, header .site-name a { color: inherit; }
header .tagline { margin: 10px 0 0; font-size: 1.25rem; color: var(--text-soft); font-weight: 500; }
@media (max-width: 640px) {
  header { padding: 1.1rem 1rem; }
  header h1, header .site-name { font-size: clamp(1.35rem, 6vw, 1.9rem); }
  header .tagline { font-size: 1.1rem; margin-top: 0.5rem; }
}
nav {
  background: var(--white);
  text-align: center;
  padding: 0.75rem 1rem;
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
  border-bottom: 1px solid var(--primary-light);
  max-width: 1100px;
  margin: 0 auto;
}
nav a {
  color: var(--text);
  margin: 0 4px;
  font-weight: 500;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: 1rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
nav a:hover { color: var(--primary); background: var(--primary-light); }
nav a.nav-register { background: var(--primary); color: var(--white); font-weight: 600; }
nav a.nav-register:hover { background: var(--primary-dark); color: var(--white); }

.hero {
  position: relative;
  text-align: center;
  color: white;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #0f0f0f 0%, #262626 35%, #ea580c 100%);
  background-image: url('/img/hero-fondo.png'), linear-gradient(145deg, rgba(28,25,23,0.75) 0%, rgba(234,88,12,0.65) 100%);
  background-size: cover, cover;
  background-position: center 28%, center;
  background-repeat: no-repeat, no-repeat;
  filter: brightness(0.95);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 50%, transparent 100%);
}
.hero-section { display: block; }
.hero-content { position: relative; z-index: 1; padding: 2.5rem 1.5rem; max-width: 680px; width: 100%; margin: 0 auto; }
.hero-eyebrow { margin: 0 0 0.75rem; font-size: clamp(0.8125rem, 1.8vw, 0.9375rem); font-weight: 600; color: #fef3c7; text-transform: uppercase; letter-spacing: 0.08em; text-shadow: 0 1px 3px rgba(0,0,0,0.6), 0 0 1px rgba(0,0,0,0.8); }
.hero h2 { margin: 0 0 1rem; font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; color: #ffffff; text-shadow: 0 2px 8px rgba(0,0,0,0.7), 0 1px 2px rgba(0,0,0,0.8); line-height: 1.2; letter-spacing: -0.02em; }
.hero-service-line { margin: 0 0 0.75rem; font-size: clamp(1rem, 2vw, 1.125rem); color: #ffffff; font-weight: 600; line-height: 1.45; text-shadow: 0 1px 4px rgba(0,0,0,0.6), 0 0 1px rgba(0,0,0,0.5); }
.hero p.hero-subtitle { margin: 0 0 1.75rem; line-height: 1.6; }
.hero p { font-size: clamp(1rem, 2vw, 1.125rem); color: #ffffff; line-height: 1.65; text-shadow: 0 1px 4px rgba(0,0,0,0.6), 0 0 1px rgba(0,0,0,0.5); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; }
.hero-cta a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; gap: 8px; padding: 14px 24px; border-radius: var(--radius); font-weight: 700; font-size: 1rem; transition: var(--transition); }
.hero-cta a:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.hero-cta-call { font-size: 1.0625rem !important; padding: 16px 28px !important; min-height: 52px !important; box-shadow: 0 4px 16px rgba(0,0,0,0.25); }
.btn-primary { background: var(--accent-red); color: var(--white); border: none; box-shadow: var(--shadow); font-weight: 700; min-height: 48px; padding: 14px 24px; border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center; transition: var(--transition); }
.btn-primary:hover { background: #b91c1c; color: var(--white); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(220,38,38,0.35); }
.btn-primary:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.hero .btn-primary { background: var(--accent-yellow); color: var(--text); box-shadow: 0 2px 12px rgba(0,0,0,0.25); }
.hero .btn-primary:hover { background: #f59e0b; color: var(--text); }
.btn-outline { background: rgba(255,255,255,0.08); color: var(--white); border: 2px solid rgba(255,255,255,0.9); }
.btn-outline:hover { background: rgba(255,255,255,0.2); border-color: var(--white); }
.btn-outline:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }

section { padding: var(--space-section) 1.5rem; max-width: 1100px; margin: 0 auto; }
section h2 { color: var(--primary); font-family: 'Outfit', sans-serif; text-align: center; margin: 0 0 1rem; font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
@media (max-width: 640px) {
  section h2 { font-size: clamp(1.25rem, 5.5vw, 1.75rem); line-height: 1.3; }
}
.section-intro { text-align: center; color: var(--text-soft); margin: 0 auto 1.75rem; max-width: 580px; font-size: 1.0625rem; line-height: 1.75; }
@media (max-width: 640px) {
  .section-intro { font-size: 1rem; line-height: 1.7; margin-bottom: 1.5rem; padding: 0 0.5rem; }
  .benefits-intro { font-size: 1rem; line-height: 1.6; padding: 0 0.5rem; margin-bottom: 1.25rem; }
}
.section-sub { text-align: center; font-weight: 600; margin-bottom: 1.25rem; }
.zonas-section { padding: 1.5rem 1.5rem 2rem; }
.section-cta-inline { text-align: center; margin: var(--space-block) 0 0; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; }
.section-cta-inline a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 24px; font-weight: 600; border-radius: var(--radius); transition: var(--transition); font-size: 1rem; }
.section-cta-inline a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.zonas-btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.zonas-btn-outline:hover { background: var(--primary-light); color: var(--primary-dark); }
.zonas-btn-outline:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.intro-section { padding-top: 2.5rem; }
.intro-text { max-width: 720px; margin: 0 auto; text-align: center; color: var(--text-soft); font-size: 1.125rem; line-height: 1.75; }
.page-links { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2rem; }
.page-links a { padding: 14px 22px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; background: var(--primary-light); color: var(--primary); border-radius: var(--radius); font-weight: 600; font-size: 1rem; }
.page-links a:hover { background: var(--primary); color: var(--white); }

.legal-content { max-width: 100%; }
.legal-content h2 { text-align: left; margin-bottom: 1.25rem; }
.legal-content h3 { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin: 1.75rem 0 0.5rem; }
.legal-content h3:first-of-type { margin-top: 0; }
.legal-content p { margin: 0 0 0.75rem; }
.legal-content ul { margin: 0 0 1rem 1.25rem; padding: 0; }
.legal-content li { margin-bottom: 0.35rem; }

.app-section { background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-card) 60%); border-radius: 16px; padding: 3rem 1.5rem; box-shadow: var(--shadow); border: 1px solid var(--primary-light); }
.app-section h2 { color: var(--primary); }
.app-benefits { list-style: none; padding: 0; margin: 0 auto 1.5rem; max-width: 600px; }
.app-benefits li { padding: 0.75rem 0; border-bottom: 1px solid rgba(234,88,12,0.15); color: var(--text-soft); font-size: 1.0625rem; line-height: 1.65; }
.app-benefits li:last-child { border-bottom: 0; }
.app-benefits strong { color: var(--text); }
.app-cta-double { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; margin-top: 1.5rem; }
.app-cta-double a { margin: 0; }
.btn-app-download { display: inline-flex; align-items: center; gap: 10px; padding: 18px 34px; background: var(--primary); color: var(--white); font-weight: 700; font-size: 1.0625rem; border-radius: var(--radius-full); transition: var(--transition); box-shadow: var(--shadow); }
.btn-app-download:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.app-note { text-align: center; font-size: 0.8125rem; color: var(--text-soft); margin: 0.5rem 0 0; }
.app-how-title { text-align: center; font-size: clamp(1.2rem, 2vw, 1.4rem); color: var(--primary); font-weight: 700; margin: 2rem 0 0.5rem; }
.app-how-intro { text-align: center; color: var(--text-soft); font-size: 1rem; margin: 0 auto 1.5rem; max-width: 480px; }
.app-phones { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; margin-bottom: 2rem; }
.app-phone-mockup { flex: 0 0 auto; text-align: center; max-width: 220px; }
.app-phone-frame {
  width: 160px;
  height: 320px;
  margin: 0 auto 0.75rem;
  background: linear-gradient(145deg, #2d2d2d 0%, #1a1a1a 100%);
  border-radius: 32px;
  padding: 12px;
  box-shadow:
    0 0 0 2px #444,
    0 0 0 4px #1a1a1a,
    0 12px 32px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.06);
  border: none;
  position: relative;
}
.app-phone-frame::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 20px;
  background: #0a0a0a;
  border-radius: 0 0 20px 20px;
  z-index: 2;
  box-shadow: inset 0 0 0 1px #333;
}
.app-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  background: var(--bg-card);
  padding: 2rem 0.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-soft);
  line-height: 1.4;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}
.app-phone-screen::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #ccc;
  border-radius: 2px;
}
.app-screen-label { font-weight: 700; color: var(--primary); font-size: 0.9375rem; margin-bottom: 0.5rem; display: block; }
.app-phone-caption { margin: 0; font-size: 0.9375rem; color: var(--text); font-weight: 500; }
.app-cta-double a.btn-app-register,
a.btn-app-register { background: var(--white); color: var(--primary); border: 2px solid var(--primary); padding: 14px 22px; border-radius: var(--radius); font-weight: 600; font-size: 1rem; display: inline-flex; align-items: center; transition: var(--transition); }
.app-cta-double a.btn-app-register:hover,
a.btn-app-register:hover { background: var(--primary-light); color: var(--primary-dark); border-color: var(--primary-dark); }

.services { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; }
.service { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; flex: 1 1 280px; max-width: 360px; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--primary-light); }
.service:hover { box-shadow: var(--shadow-hover); border-color: rgba(234,88,12,0.4); }
.service img { border-radius: var(--radius) var(--radius) 0 0; width: 100%; height: 200px; object-fit: cover; display: block; }
.service img.service-img-top { object-position: top center; }
.service-body { padding: 1.75rem; }
.service h3 { margin: 0 0 0.75rem; font-family: 'Outfit', sans-serif; font-size: 1.25rem; font-weight: 600; color: var(--primary); line-height: 1.3; }
.service p { margin: 0; color: var(--text-soft); font-size: 1.0625rem; line-height: 1.7; }
.service-cta-wrap { margin: 1.25rem 0 0 !important; padding-top: 1.25rem !important; border-top: 1px solid var(--primary-light); }
.service-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 24px; background: var(--primary); color: var(--white); font-weight: 600; font-size: 1rem; border-radius: var(--radius); transition: var(--transition); }
.service-cta:hover { background: var(--primary-dark); color: var(--white); }
.service-cta:focus-visible { outline: 2px solid var(--primary-dark); outline-offset: 2px; }
.services-page .section-intro { margin-bottom: var(--space-tight); }
.services-intro { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; color: var(--text-soft); font-size: 1rem; line-height: 1.75; }
.services-cta { margin-top: 2.5rem; }

/* ========== Carrusel lateral de fotos (Trabajos realizados) ========== */
.trabajos-section {
  padding: 2.5rem max(1rem, env(safe-area-inset-right)) 2.5rem max(1rem, env(safe-area-inset-left));
}
.trabajos-section .section-intro {
  margin-bottom: 1.5rem;
}
.carousel-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0.5rem;
}
.carousel-no-photos .carousel-arrow {
  display: none;
}
.carousel-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--white);
  color: var(--primary);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  font-family: inherit;
  box-shadow: var(--shadow);
}
.carousel-arrow:hover {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.06);
  box-shadow: var(--shadow-hover);
}
.carousel-arrow:active {
  transform: scale(0.98);
}
.carousel-viewport {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 0.5rem 1.25rem;
  cursor: grab;
  user-select: none;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg) 0%, rgba(255,237,213,0.25) 100%);
  border: 1px solid var(--primary-light);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
}
.carousel-viewport:active {
  cursor: grabbing;
}
.carousel-viewport::-webkit-scrollbar {
  height: 10px;
}
.carousel-viewport::-webkit-scrollbar-track {
  background: var(--primary-light);
  border-radius: 6px;
}
.carousel-viewport::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 6px;
}
.carousel-viewport::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}
.carousel-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1rem;
  width: max-content;
  min-width: max-content;
  padding: 0 0.25rem;
  box-sizing: border-box;
  align-items: stretch;
}
.carousel-item {
  flex: 0 0 auto;
  width: 200px;
  min-width: 200px;
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 120px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--primary-light);
  box-shadow: var(--shadow);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: var(--bg-card);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.carousel-item:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(234, 88, 12, 0.45);
  transform: translateY(-2px);
}
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  vertical-align: middle;
}
/* Placeholder cuando no hay fotos */
.carousel-item-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(145deg, var(--primary-light) 0%, rgba(255,237,213,0.6) 100%);
  border: 2px dashed rgba(234, 88, 12, 0.4);
  color: var(--text-soft);
  padding: 1rem;
  text-align: center;
}
.carousel-item-placeholder .carousel-placeholder-icon {
  font-size: 2rem;
  line-height: 1;
  opacity: 0.8;
}
.carousel-item-placeholder .carousel-placeholder-text {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary);
  line-height: 1.3;
}
.carousel-empty {
  display: none;
  text-align: center;
  color: var(--text-soft);
  padding: 1.25rem 1rem;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.trabajos-section .carousel-empty {
  padding-top: 0.5rem;
}

/* Responsive: móvil */
@media (max-width: 640px) {
  section {
    padding: 2.25rem max(1rem, env(safe-area-inset-left)) 2.25rem max(1rem, env(safe-area-inset-right));
  }
  .hero-content { padding: 1.75rem 1rem; }
  .hero .hero-title { font-size: clamp(1.5rem, 6vw, 2rem); line-height: 1.2; }
  .hero-service-line { font-size: 1rem; }
  .hero .hero-subtitle { font-size: 1rem; }
  .hero-cta { gap: 0.75rem; }
  .hero-cta a { min-height: 48px; padding: 14px 20px; }
  .hero-cta-call { width: 100%; max-width: 280px; justify-content: center; padding: 16px 20px !important; font-size: 1rem !important; min-height: 48px !important; }
  nav a {
    padding: 12px 16px;
    font-size: 1rem;
    min-height: var(--touch-target-min);
  }
  .stats-strip-section { padding: 2rem 1rem; }
  .benefits-three { gap: 1.25rem; }
  .benefit-card { padding: 1.35rem 1rem; }
  .benefit-card h3 { font-size: 1.1rem; }
  .benefit-card p { font-size: 1rem; line-height: 1.55; }
  .app-section { padding: 2.25rem 1rem; border-radius: 12px; }
  .step-card { padding: 1.35rem 1rem; }
  .step-card h3 { font-size: 1.05rem; }
  .step-card p { font-size: 1rem; line-height: 1.55; }
  .section-cta-inline { gap: 1rem; margin-top: 1.25rem; }
  .section-cta-inline a { min-height: var(--touch-target-min); padding: 14px 24px; font-size: 1rem; }
  .intro-text { font-size: 1rem; padding: 0 0.5rem; line-height: 1.75; }
  .legal-content { padding: 0 0.5rem; }
  .legal-content p, .legal-content li { font-size: 1rem; line-height: 1.7; }
  .carousel-wrap {
    padding: 0 max(0.5rem, env(safe-area-inset-left)) 0 max(0.5rem, env(safe-area-inset-right));
    gap: 0.5rem;
  }
  .carousel-arrow {
    width: var(--touch-target-min);
    height: var(--touch-target-min);
    min-width: var(--touch-target-min);
    min-height: var(--touch-target-min);
    font-size: 1.5rem;
    flex-shrink: 0;
  }
  .carousel-item {
    width: 140px;
    min-width: 140px;
    min-height: 105px;
  }
  .carousel-item-placeholder .carousel-placeholder-icon {
    font-size: 1.5rem;
  }
  .carousel-item-placeholder .carousel-placeholder-text {
    font-size: 0.75rem;
  }
  .carousel-viewport {
    padding: 0.75rem 0.5rem 1rem;
  }
  .testimonials { gap: 1.25rem; }
  .testimonial { padding: 1.35rem 1.25rem; }
  .testimonial p { font-size: 1rem; line-height: 1.6; }
  .testimonial cite { font-size: 0.9375rem; }
  footer {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
  footer a {
    padding: 0.75rem 0.5rem;
    margin: -0.1em 0;
  }
  .page-links a { min-height: var(--touch-target-min); padding: 14px 24px; }
  .request-success a { min-height: var(--touch-target-min); padding: 14px 24px; }
  .contact-card a { min-height: var(--touch-target-min); }
}

/* Responsive: tablets y desktop pequeño */
@media (min-width: 641px) and (max-width: 900px) {
  .carousel-item {
    width: 160px;
    min-width: 160px;
    min-height: 120px;
  }
}

.testimonials { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
.testimonial { background: var(--bg-card); padding: 1.5rem 1.75rem; border-radius: var(--radius); flex: 1 1 280px; max-width: 400px; box-shadow: var(--shadow); position: relative; transition: var(--transition); border: 1px solid var(--primary-light); }
.testimonial:hover { box-shadow: var(--shadow-hover); }
.testimonial::before { content: '"'; position: absolute; top: 12px; left: 18px; font-size: 2.25rem; color: var(--primary); opacity: 0.5; font-family: Georgia, serif; }
.testimonial p { margin: 0 0 1rem; font-style: italic; color: var(--text-soft); padding-left: 0.25rem; font-size: 1.0625rem; line-height: 1.6; }
.testimonial strong,
.testimonial cite { display: block; color: var(--text); font-size: 0.9375rem; font-weight: 600; font-style: normal; }
.testimonial-badge { display: inline-block; margin-bottom: 0.75rem; padding: 5px 12px; background: var(--primary-light); color: var(--primary); border-radius: 6px; font-size: 0.8125rem; font-weight: 600; }
.testimonial-rating { margin: 0 0 0.5rem !important; font-style: normal !important; color: #f59e0b; letter-spacing: 0.05em; }
.testimonial-photos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.75rem 0 1rem; }
.testimonial-photo-link { display: block; width: 80px; height: 80px; border-radius: 8px; overflow: hidden; border: 1px solid var(--primary-light); box-shadow: 0 1px 3px rgba(0,0,0,0.08); transition: transform 0.2s, box-shadow 0.2s; }
.testimonial-photo-link:hover { transform: scale(1.05); box-shadow: 0 4px 12px rgba(234,88,12,0.2); }
.testimonial-photo-link img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trustindex-container { min-height: 200px; margin: 1rem 0; }
.trustindex-container iframe { max-width: 100%; }

#contact { background: var(--bg-card); border-radius: 16px; box-shadow: var(--shadow); padding: 2.25rem 1.5rem; border: 1px solid var(--primary-light); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin-bottom: 1.75rem; }
@media (max-width: 640px) {
  #contact { padding: 1.75rem max(1rem, env(safe-area-inset-left)); border-radius: 12px; }
  .contact-grid { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1.5rem; }
  .contact-card { padding: 1.25rem 1rem; font-size: 1rem; }
  .contact-card a { min-height: var(--touch-target-min); display: inline-flex; align-items: center; }
}
.contact-card { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 1.25rem; background: var(--bg); border-radius: var(--radius); transition: var(--transition); }
.contact-card:hover { background: var(--primary-light); }
.contact-card .label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-soft); margin-bottom: 4px; }
.contact-card a { color: var(--primary); font-weight: 600; }
.contact-card a:hover { color: var(--primary-dark); text-decoration: underline; }
.map-container { width: 100%; height: 320px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-container iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Formulario de solicitud de servicio */
.request-form-section { max-width: 560px; margin: 0 auto; }
.request-success { background: var(--primary-light); border: 1px solid var(--primary); color: var(--text); padding: 1.75rem; border-radius: var(--radius); text-align: center; }
.request-success p { margin: 0 0 0.75rem; }
.request-success p:last-of-type { margin-bottom: 0; }
.request-success a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 20px; margin: 0 0.35rem 0.35rem 0; border-radius: var(--radius); font-weight: 600; transition: var(--transition); }
.request-form { background: var(--bg-card); padding: 1.75rem; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--primary-light); }
.request-form .form-row { margin-bottom: 1.25rem; }
.request-form label { display: block; font-weight: 600; color: var(--text); margin-bottom: 0.35rem; font-size: 0.9375rem; }
.request-form .required { color: var(--accent-red); }
.request-form input,
.request-form select,
.request-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--gray); border-radius: var(--radius); font-family: inherit; font-size: 1rem; color: var(--text); background: var(--white); transition: border-color var(--transition); -webkit-appearance: none; appearance: none; }
.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.2); }
.request-form input::placeholder,
.request-form textarea::placeholder { color: var(--text-soft); opacity: 0.8; }
.request-form select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23525252' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.request-form textarea { resize: vertical; min-height: 100px; }
.request-form .form-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.request-form .form-actions .btn-primary { min-height: var(--touch-target-min); padding: 12px 22px; font-size: 1rem; font-weight: 600; border: none; cursor: pointer; border-radius: var(--radius); }
.request-form .form-actions .btn-primary:disabled { opacity: 0.7; cursor: not-allowed; }
@media (max-width: 640px) {
  .request-form { padding: 1.5rem 1rem; }
  .request-form input, .request-form select, .request-form textarea { padding: 14px 16px; font-size: 16px; }
  .request-form .form-actions { flex-direction: column; align-items: stretch; }
  .request-form .form-actions .btn-primary { min-height: 48px; width: 100%; }
}

footer { background: #0f0f0f; color: var(--gray); text-align: center; padding: 1.5rem 1rem; font-size: 0.9375rem; padding-bottom: max(1.5rem, env(safe-area-inset-bottom)); padding-left: max(1rem, env(safe-area-inset-left)); padding-right: max(1rem, env(safe-area-inset-right)); max-width: 1100px; margin: 0 auto; }
footer p { margin: 0; }
footer a { color: var(--accent-yellow); }
footer a:hover { color: var(--white); text-decoration: underline; }

/* Botón flotante WhatsApp: fixed bottom-right, todas las páginas, móvil con safe-area */
.whatsapp { position: fixed; bottom: 20px; right: 20px; z-index: 999; }
.whatsapp a { background: #25D366; color: #fff; padding: 14px 22px; min-height: 44px; border-radius: var(--radius-full); font-size: 1rem; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.whatsapp a:hover, .whatsapp a:focus-visible { opacity: 0.95; outline: 2px solid #fff; outline-offset: 2px; }
.whatsapp img { width: 22px; height: 22px; flex-shrink: 0; }
@media (max-width: 640px) {
  .whatsapp { bottom: max(16px, env(safe-area-inset-bottom)); right: max(16px, env(safe-area-inset-right)); }
  .whatsapp a { padding: 12px 18px; min-height: 48px; font-size: 0.9375rem; }
}

/* ========== Estilo tipo Cronoshare: hero con búsqueda, pasos, stats ========== */
.hero-cronoshare { min-height: 420px; }
.hero-cronoshare .hero-content { max-width: 720px; padding: 2.5rem 1.25rem; }
.hero-cronoshare .hero-title { font-size: clamp(1.9rem, 4.5vw, 2.9rem); font-weight: 800; line-height: 1.2; margin: 0 0 0.5rem; letter-spacing: -0.02em; color: #ffffff; text-shadow: 0 2px 8px rgba(0,0,0,0.7), 0 1px 2px rgba(0,0,0,0.8); }
.hero-cronoshare .hero-subtitle { font-size: clamp(1.2rem, 2.2vw, 1.5rem); margin: 0 0 1.25rem; font-weight: 500; color: #ffffff; text-shadow: 0 1px 4px rgba(0,0,0,0.6), 0 0 1px rgba(0,0,0,0.5); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .steps-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}
.step-card {
  background: var(--bg);
  border-radius: 14px;
  padding: 1.6rem;
  text-align: center;
  border: 1px solid var(--primary-light);
  transition: var(--transition);
}
.step-card:hover { box-shadow: var(--shadow-hover); border-color: rgba(234,88,12,0.4); }
.step-card .step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.9rem;
}
.step-card h3 { margin: 0 0 0.4rem; font-size: 1.1rem; color: var(--text); font-weight: 600; }
.step-card p { margin: 0; font-size: 1rem; color: var(--text-soft); line-height: 1.55; }

/* Por qué elegirnos: título de sección + tres beneficios */
.stats-strip-section { padding: 2.5rem 1.5rem; max-width: 1100px; margin: 0 auto; }
.stats-strip-section .section-heading { margin-bottom: 0.75rem; }
.benefits-intro { text-align: center; color: var(--text-soft); margin: 0 auto 1.5rem; max-width: 520px; font-size: 1.0625rem; line-height: 1.6; }
.benefits-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.benefit-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--primary-light);
  transition: var(--transition);
  min-width: 0;
}
.benefit-card:hover { box-shadow: var(--shadow-hover); border-color: rgba(234,88,12,0.35); }
.benefit-icon { display: block; font-size: 2rem; margin-bottom: 0.75rem; line-height: 1; }
.benefit-card h3 { margin: 0 0 0.35rem; font-size: 1.1rem; font-weight: 700; color: var(--primary); }
.benefit-card p { margin: 0; font-size: 0.9375rem; color: var(--text-soft); }
@media (max-width: 640px) {
  .benefits-three { grid-template-columns: 1fr; gap: 1.25rem; }
}

.cta-professional {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-card) 55%);
  border-radius: 14px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  border: 1px solid var(--primary-light);
}
.cta-professional h2 { margin-bottom: 0.5rem; }
.cta-professional p { color: var(--text-soft); margin: 0 0 1.35rem; font-size: 1.0625rem; max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.65; }
.cta-final-intro { font-size: 1.125rem !important; margin-bottom: 1.5rem !important; }
.cta-final-phone { color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.cta-final-phone:hover { color: var(--primary-dark); }
.cta-professional .btn-wrap { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; align-items: center; }
.cta-professional .btn-wrap a { flex: 0 1 auto; font-size: 1rem; padding: 14px 24px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.cta-final-buttons .cta-call { font-weight: 700; }
.cta-final-buttons .cta-request:hover { background: rgba(255,255,255,0.2); border-color: var(--white); color: var(--white); }

@media (max-width: 600px) {
  .top-bar { font-size: 0.875rem; gap: 0.5rem; padding: 10px max(12px, env(safe-area-inset-left)) 10px max(12px, env(safe-area-inset-right)); }
  .top-bar .top-bar-cta,
  .top-bar a[href^="tel:"] { min-height: var(--touch-target-min); padding: 12px 18px; font-size: 1rem; }
  nav { padding: 0.5rem max(8px, env(safe-area-inset-left)); }
  nav a { margin: 2px; padding: 12px 14px; font-size: 0.9375rem; min-height: var(--touch-target-min); }
  .app-phones { flex-direction: column; align-items: center; gap: 1.5rem; }
  .app-phone-mockup { max-width: 100%; }
  .hero { min-height: 340px; }
  .hero-bg {
    background-image: url('/img/hero-fondo.png'), linear-gradient(145deg, rgba(28,25,23,0.75) 0%, rgba(234,88,12,0.65) 100%);
    background-size: cover, cover;
    background-position: center 28%, center;
  }
  .hero-cronoshare { min-height: 380px; }
  .hero-cronoshare .hero-content { padding: 1.75rem 1rem; }
  .hero-cta { flex-direction: column; gap: 0.75rem; }
  .hero-cta a { width: 100%; max-width: 280px; padding: 14px 18px; font-size: 1rem; min-height: 48px; }
  .hero-eyebrow { font-size: 0.8125rem; }
  .steps-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .step-card { padding: 1.35rem 1rem; }
  section { padding: 2.25rem max(1rem, env(safe-area-inset-left)); }
  .cta-professional { margin: 0 max(1rem, env(safe-area-inset-left)); padding: 2rem 1rem; }
  .cta-final-intro { font-size: 1rem !important; text-align: center; padding: 0 0.5rem; line-height: 1.6; }
  .cta-professional .btn-wrap { flex-direction: column; gap: 0.75rem; }
  .cta-professional .btn-wrap a { width: 100%; max-width: 280px; justify-content: center; min-height: 48px; padding: 14px 20px; font-size: 1rem; }
  .services-page .services { gap: 1.25rem; }
  .services-page .service { flex: 1 1 100%; max-width: none; }
  .services-page .section-cta-inline { flex-direction: column; margin-top: 1.5rem; gap: 0.75rem; }
  .services-page .section-cta-inline a { width: 100%; max-width: 280px; min-height: var(--touch-target-min); }
}

/* Pantallas muy pequeñas: legibilidad y espaciado */
@media (max-width: 400px) {
  body { font-size: 1rem; }
  section { padding: 2rem max(0.75rem, env(safe-area-inset-left)); }
  section h2 { font-size: 1.25rem; }
  .section-intro { font-size: 1rem; padding: 0 0.25rem; }
  .hero-content { padding: 1.5rem 0.75rem; }
  .hero h2, .hero .hero-title { font-size: 1.35rem; }
  .request-form { padding: 1.25rem 0.75rem; }
  .request-form input, .request-form select, .request-form textarea { padding: 14px 12px; font-size: 16px; }
  .legal-content { padding: 0 0.25rem; }
  footer { padding-left: max(0.75rem, env(safe-area-inset-left)); padding-right: max(0.75rem, env(safe-area-inset-right)); }
}

/* ========== Home conversión (index): bloque añadido, no altera tokens globales ========== */
.hero-subtitle--lead {
  font-size: clamp(1.05rem, 2.4vw, 1.2rem) !important;
  font-weight: 600 !important;
  margin: 0 0 0.65rem !important;
  line-height: 1.45 !important;
}
.hero-cta--dual {
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  margin-top: 0.25rem;
}
.hero-cta--dual .hero-cta-call {
  flex: 1 1 220px;
  max-width: 100%;
}
.hero-cta-wa-green {
  background: rgba(37, 211, 102, 0.2) !important;
  border-color: #25d366 !important;
  color: #ecfdf5 !important;
  font-weight: 700 !important;
  flex: 1 1 180px;
  max-width: 100%;
}
.hero-cta-wa-green:hover {
  background: rgba(37, 211, 102, 0.35) !important;
  border-color: #4ade80 !important;
  color: #fff !important;
}
.hero-cta-secondary {
  margin: 1rem 0 0;
  text-align: center;
}
.hero-cta-secondary-link {
  color: #fef3c7;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.hero-cta-secondary-link:hover {
  color: #fff;
}

.home-trust {
  background: var(--bg-card);
  border-bottom: 1px solid var(--primary-light);
  padding: 1.35rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.home-trust-inner {
  max-width: 640px;
  margin: 0 auto;
}
.home-trust-headline {
  margin: 0 0 0.35rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 700;
  color: var(--text);
}
.home-trust-stars {
  font-size: 1.35rem;
  letter-spacing: 0.15em;
  color: var(--accent-yellow);
  line-height: 1.2;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}
.home-trust-note {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.home-services-section .home-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .home-services-section .home-services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
  }
}
/* Dos tarjetas (sin fontanería/reformas): dos columnas centradas en escritorio */
.home-services-section .home-services-grid--two {
  max-width: 640px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) {
  .home-services-section .home-services-grid--two {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
.home-service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.35rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--primary-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  color: inherit;
  min-height: 100%;
}
.home-service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.home-service-card:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.home-service-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.65rem;
}
.home-service-title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
}
.home-service-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.home-why-section .home-why-list {
  list-style: none;
  margin: 0 auto 1rem;
  padding: 0;
  max-width: 520px;
  text-align: left;
}
.home-why-section .home-why-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--primary-light);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
}
.home-why-section .home-why-list li:last-child {
  border-bottom: none;
}
.home-why-check {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 800;
  margin-top: 0.1rem;
}
.home-why-foot {
  text-align: center;
  margin: 0 auto;
  font-size: 0.95rem;
  color: var(--text-soft);
  max-width: 560px;
}

.cta-professional--urgent {
  background: linear-gradient(160deg, #fff7ed 0%, var(--primary-light) 45%, var(--bg-card) 100%);
  border: 2px solid var(--primary);
}
.cta-professional--urgent h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
}
.cta-btn-xl {
  min-height: 56px !important;
  padding: 16px 28px !important;
  font-size: 1.0625rem !important;
  font-weight: 700 !important;
}
.cta-professional--urgent .cta-whatsapp.cta-btn-xl {
  background: #25d366 !important;
  color: #fff !important;
  border: 2px solid #128c7e !important;
}
.cta-professional--urgent .cta-whatsapp.cta-btn-xl:hover {
  filter: brightness(1.06);
  color: #fff !important;
}
.cta-final-sub {
  margin: 1.25rem 0 0 !important;
}
.cta-final-sub-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cta-final-sub-link:hover {
  color: var(--primary-dark);
}

.whatsapp-float {
  z-index: 10050;
}
.whatsapp-float a {
  padding: 14px 20px 14px 16px;
  min-height: 56px;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.28);
  animation: wa-float-pulse 3s ease-in-out infinite;
}
.whatsapp-float .whatsapp-float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.whatsapp-float .whatsapp-float-icon img {
  width: 28px;
  height: 28px;
}
@keyframes wa-float-pulse {
  0%,
  100% {
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.28);
  }
  50% {
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
  }
}
@media (max-width: 640px) {
  .home-services-section .home-services-grid,
  .home-services-section .home-services-grid--two {
    grid-template-columns: 1fr;
  }
  .whatsapp-float a {
    min-height: 52px;
    padding: 12px 18px;
  }
  .whatsapp-float .whatsapp-float-text {
    display: inline;
  }
}

/* ========== Home: contacto en &lt;10 s (barra instantánea + dock móvil) ========== */
.instant-cta-bar {
  display: flex;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  gap: 0;
  border-bottom: 3px solid var(--primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  background: var(--white);
}
.instant-cta {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 58px;
  padding: 10px 12px;
  font-weight: 800;
  text-decoration: none;
  color: var(--white);
  transition: filter 0.15s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.instant-cta:active {
  transform: scale(0.98);
}
.instant-cta:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: -3px;
  z-index: 1;
}
.instant-cta--call {
  background: linear-gradient(180deg, #dc2626 0%, #b91c1c 100%);
}
.instant-cta--call:hover {
  filter: brightness(1.08);
  color: var(--white);
}
.instant-cta--wa {
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
}
.instant-cta--wa:hover {
  filter: brightness(1.08);
  color: var(--white);
}
.instant-cta-icon {
  line-height: 1;
  display: flex;
  align-items: center;
}
.instant-cta-label {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.instant-cta-num {
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.95;
}
@media (min-width: 480px) {
  .instant-cta {
    flex-direction: row;
    gap: 0.5rem;
    min-height: 56px;
  }
  .instant-cta-label {
    font-size: 1.05rem;
  }
  .instant-cta-num {
    font-size: 0.9rem;
  }
}

/* Hero más bajo: decisión ya vista arriba */
.hero--rush {
  min-height: 300px;
}
.hero--rush .hero-content {
  padding-top: 1.5rem;
  padding-bottom: 1.75rem;
}
.hero--rush .hero-title {
  margin-bottom: 0.5rem;
  font-size: clamp(1.45rem, 5vw, 2.1rem);
}
.hero-one-liner {
  margin: 0 0 1rem !important;
  font-size: clamp(0.9rem, 2vw, 1rem) !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}
.hero-cta--rush .hero-cta-call {
  font-size: 1rem !important;
  padding: 14px 20px !important;
}
@media (max-width: 640px) {
  .hero--rush {
    min-height: 260px;
  }
}

/* Dock inferior: solo móvil/tablet (pulgar) */
.sticky-cta-dock {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10040;
  padding: 0;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(8px);
  border-top: 2px solid var(--primary);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.2);
  gap: 0;
}
.sticky-cta-dock-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--white);
  border: none;
  -webkit-tap-highlight-color: transparent;
}
.sticky-cta-dock-btn:focus-visible {
  outline: 3px solid var(--accent-yellow);
  outline-offset: -3px;
  z-index: 1;
}
.sticky-cta-dock-btn--call {
  background: #b91c1c;
}
.sticky-cta-dock-btn--call:active {
  background: #991b1b;
}
.sticky-cta-dock-btn--wa {
  background: #128c7e;
}
.sticky-cta-dock-btn--wa:active {
  background: #0d6b62;
}
@media (max-width: 900px) {
  .page-sticky-cta .sticky-cta-dock {
    display: flex;
  }
  .page-sticky-cta {
    padding-bottom: calc(58px + max(12px, env(safe-area-inset-bottom)));
  }
  /* Dock móvil: ocultar solo el WA flotante de escritorio (evita duplicar) */
  .page-sticky-cta .whatsapp-float--landing-desktop {
    display: none !important;
  }
}

/* ========== Landing home alta conversión (index) ========== */
.page-landing-pro {
  --landing-section-y: clamp(2.5rem, 6vw, 4rem);
}

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

.urgency-flash-bar {
  text-align: center;
  font-weight: 800;
  font-size: clamp(0.82rem, 2.4vw, 0.95rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.65rem 1rem;
  margin: 0;
  background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 42%, #fbbf24 100%);
  color: #1c1917;
  border-bottom: 2px solid rgba(180, 83, 9, 0.35);
}
.urgency-flash-icon {
  margin-right: 0.35rem;
}

.hero--landing-pro.hero--rush {
  min-height: clamp(300px, 44vh, 460px);
}
.hero--landing-pro .hero-content--landing {
  padding-top: clamp(1.1rem, 3.5vw, 1.85rem);
  padding-bottom: clamp(1.35rem, 4vw, 2.35rem);
}
.hero--landing-pro .hero-title--xl {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.75rem, 7.2vw, 3.35rem) !important;
  line-height: 1.06 !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 0.55rem !important;
}
.hero--landing-pro .hero-eta-line {
  font-size: clamp(1rem, 3.2vw, 1.22rem);
  margin: 0 0 1rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}
.hero--landing-pro .hero-eta-line strong {
  font-weight: 800;
}

.hero-trust-chips {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
}
.hero-trust-chip {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
@media (min-width: 480px) {
  .hero-trust-chip {
    font-size: 0.85rem;
    padding: 0.45rem 1rem;
  }
}

.hero-cta--landing.hero-cta--dual {
  flex-direction: column;
  width: 100%;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  gap: 0.7rem !important;
}
@media (min-width: 520px) {
  .hero-cta--landing.hero-cta--dual {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 560px;
  }
}

.hero-btn-call-pro {
  background: #dc2626 !important;
  color: #fff !important;
  box-shadow: 0 6px 26px rgba(220, 38, 38, 0.42) !important;
  font-weight: 800 !important;
  min-height: 54px !important;
  padding: 16px 22px !important;
  font-size: 1.05rem !important;
  border-radius: 14px !important;
  border: none !important;
}
.hero-btn-call-pro:hover {
  background: #b91c1c !important;
  color: #fff !important;
  transform: translateY(-2px);
}
.hero-btn-wa-pro {
  background: #25d366 !important;
  color: #fff !important;
  border: 2px solid #128c7e !important;
  font-weight: 800 !important;
  min-height: 54px !important;
  padding: 16px 22px !important;
  font-size: 1.05rem !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.32) !important;
}
.hero-btn-wa-pro:hover {
  filter: brightness(1.08);
  color: #fff !important;
}

.hero--landing-pro .hero-cta-secondary {
  margin-top: 0.85rem;
}

.home-trust--pro {
  padding: var(--landing-section-y) 1.25rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--primary-light) 55%, var(--bg) 100%);
}
.home-trust-inner.home-trust-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-card);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 14px 44px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(234, 88, 12, 0.14);
}
.home-trust-stars--emoji {
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  margin: 0 0 0.45rem;
  line-height: 1;
}
.home-trust-headline {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.2rem, 3.4vw, 1.55rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: var(--text);
  line-height: 1.2;
}
.home-trust-note {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.home-testimonial-snippet {
  padding: 0 1.25rem var(--landing-section-y);
  margin-top: -0.25rem;
}
.home-snippet-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 1.5rem 1.35rem;
  border-radius: 18px;
  background: linear-gradient(145deg, #fffbeb 0%, #fff 58%);
  border: 1px solid rgba(251, 191, 36, 0.38);
  box-shadow: 0 10px 32px rgba(245, 158, 11, 0.12);
}
.home-snippet-stars {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}
.home-snippet-quote {
  margin: 0 0 0.7rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--text);
  font-style: normal;
}
.home-snippet-meta {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--text-soft);
}
.home-snippet-link {
  font-weight: 700;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.home-snippet-link:hover {
  color: var(--primary-dark);
}

.home-mid-cta {
  margin-top: 2rem;
  padding: 1.65rem 1.2rem;
  border-radius: 18px;
  background: linear-gradient(160deg, #1e293b 0%, #0f172a 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.home-mid-cta-text {
  margin: 0 0 1.15rem;
  font-size: clamp(1rem, 2.8vw, 1.08rem);
  line-height: 1.45;
}
.home-mid-cta-text strong {
  font-weight: 800;
}
.home-mid-cta-btns {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: stretch;
  max-width: 460px;
  margin: 0 auto;
}
@media (min-width: 480px) {
  .home-mid-cta-btns {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
  .home-mid-cta-btns .btn-primary,
  .home-mid-cta-btns .home-mid-cta-wa {
    flex: 1 1 auto;
    min-width: 200px;
  }
}
.home-mid-cta .home-mid-cta-call {
  background: #ef4444 !important;
  color: #fff !important;
  font-weight: 800 !important;
  min-height: 54px !important;
  border-radius: 14px !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.35);
}
.home-mid-cta .home-mid-cta-call:hover {
  background: #dc2626 !important;
  color: #fff !important;
}
.home-mid-cta .home-mid-cta-wa {
  border-width: 2px !important;
  border-color: #4ade80 !important;
  color: #fff !important;
  background: rgba(34, 197, 94, 0.22) !important;
  font-weight: 700 !important;
  min-height: 54px !important;
  border-radius: 14px !important;
}
.home-mid-cta .home-mid-cta-wa:hover {
  background: #22c55e !important;
  color: #fff !important;
  border-color: #16a34a !important;
}
.home-mid-cta-sub {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0.88;
  color: rgba(255, 255, 255, 0.92);
}

.home-work-showcase {
  padding: var(--landing-section-y) 1.25rem;
  background: var(--bg);
}
.home-work-showcase .section-heading {
  margin-bottom: 0.5rem;
}
.home-work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  max-width: 1100px;
  margin: 1.35rem auto 0;
}
@media (min-width: 640px) {
  .home-work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .home-work-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.home-work-card {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.home-work-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
}
.home-work-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 400 / 260;
  object-fit: cover;
  display: block;
}
.home-work-card figcaption {
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-soft);
}

.cta-professional--landing {
  padding-top: clamp(2.5rem, 6vw, 3.75rem) !important;
  padding-bottom: clamp(2.5rem, 6vw, 3.75rem) !important;
}
.cta-final-eyebrow {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin: 0 0 0.65rem;
}
.cta-professional--landing h2 {
  font-size: clamp(1.5rem, 4.5vw, 2.1rem) !important;
  line-height: 1.2 !important;
}

@media (min-width: 901px) {
  .page-landing-pro .whatsapp-float--landing-desktop {
    bottom: max(24px, env(safe-area-inset-bottom));
    right: max(20px, env(safe-area-inset-right));
  }
  .page-landing-pro .whatsapp-float--landing-desktop a {
    min-height: 58px;
    padding: 16px 22px 16px 18px;
    font-size: 1.08rem;
    border-radius: 999px;
  }
  .page-landing-pro .whatsapp-float--landing-desktop .whatsapp-float-icon img {
    width: 30px;
    height: 30px;
  }
}

/* ========== Sticky header + CTA (solo home landing) ========== */
.site-sticky-head {
  position: sticky;
  top: 0;
  z-index: 10100;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.07);
}
.site-sticky-head header.site-header {
  position: relative;
  top: auto;
  z-index: auto;
  text-align: left;
  box-shadow: none;
  border-bottom: none;
  padding: 0.7rem 1rem;
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}
.site-sticky-head .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  max-width: 1100px;
  margin: 0 auto;
}
.site-sticky-head .header-brand {
  min-width: 0;
  flex: 1;
}
.site-sticky-head .site-name {
  margin: 0;
  font-size: clamp(1.05rem, 4vw, 1.55rem);
  line-height: 1.15;
}
.site-sticky-head .tagline {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  line-height: 1.25;
  color: var(--text-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 480px) {
  .site-sticky-head .tagline {
    font-size: 0.88rem;
  }
}
.header-call-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  padding: 0.5rem 0.75rem;
  min-height: 44px;
  background: linear-gradient(165deg, #f87171 0%, #dc2626 45%, #b91c1c 100%);
  color: var(--white) !important;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none !important;
  line-height: 1.1;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.38);
}
.header-call-cta:hover {
  color: var(--white) !important;
  filter: brightness(1.05);
}
.header-call-cta-icon {
  font-size: 1rem;
  line-height: 1;
}
.header-call-cta-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.header-call-cta-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.95;
}
.header-call-cta-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
@media (min-width: 400px) {
  .header-call-cta {
    padding: 0.55rem 0.9rem;
  }
  .header-call-cta-label {
    font-size: 0.72rem;
  }
  .header-call-cta-num {
    font-size: 0.8rem;
  }
}
@media (min-width: 640px) {
  .site-sticky-head header.site-header {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }
  .site-sticky-head .site-name {
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  }
  .site-sticky-head .tagline {
    font-size: 1rem;
    -webkit-line-clamp: 1;
  }
  .header-call-cta-text {
    flex-direction: row;
    align-items: baseline;
    gap: 0.4rem;
  }
  .header-call-cta-label::after {
    content: "·";
    margin-left: 0.4rem;
    opacity: 0.7;
  }
  .header-call-cta-num {
    font-size: 0.95rem;
  }
}
.site-sticky-head .site-sticky-nav {
  border-top: 1px solid rgba(234, 88, 12, 0.12);
}

@media print {
  .site-sticky-head {
    position: static;
    box-shadow: none;
  }
}

/* ========== Micro-animaciones CTA (solo transform + box-shadow, sin JS) ========== */
@keyframes cta-red-glow-pulse {
  0%,
  100% {
    box-shadow: 0 4px 18px rgba(220, 38, 38, 0.32);
  }
  50% {
    box-shadow: 0 7px 28px rgba(220, 38, 38, 0.52);
  }
}
@keyframes cta-wa-glow-pulse {
  0%,
  100% {
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.22);
  }
  50% {
    box-shadow: 0 8px 26px rgba(37, 211, 102, 0.42);
  }
}
.cta-hover-lift {
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}
.cta-hover-lift:hover {
  transform: translateY(-2px);
}
.cta-hover-lift:active {
  transform: translateY(0);
}
.cta-pulse-shadow {
  animation: cta-red-glow-pulse 2.85s ease-in-out infinite;
}
.cta-wa-glow {
  animation: cta-wa-glow-pulse 3.15s ease-in-out infinite;
}
.page-landing-pro .home-mid-cta .cta-pulse-shadow {
  animation-name: cta-red-glow-pulse;
}
.page-landing-pro .cta-professional--landing .cta-pulse-shadow {
  animation-duration: 3s;
}

@media (prefers-reduced-motion: reduce) {
  .cta-pulse-shadow,
  .cta-wa-glow {
    animation: none !important;
  }
  .cta-hover-lift:hover,
  .cta-hover-lift:active {
    transform: none;
  }
}

/* Pulgar móvil: mantener feedback táctil en barra instantánea */
.instant-cta.cta-hover-lift:active {
  transform: scale(0.98);
}
@media (prefers-reduced-motion: reduce) {
  .instant-cta.cta-hover-lift:active {
    transform: none;
  }
}
