/* Ajuste de contenido para tarjetas y vistas estrechas. */
.service-card { display: flex; flex-direction: column; padding: 20px; overflow: visible; box-sizing: border-box; }
.service-card h3 { margin: 12px 0 8px; word-wrap: break-word; overflow-wrap: break-word; hyphens: auto; }
.service-card p { margin: 0 0 16px; word-wrap: break-word; overflow-wrap: break-word; line-height: 1.5; }
.service-card .service-media { width: 100%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 8px; margin-bottom: 16px; }
.service-card .service-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-card .btn, .service-card .btn-service-whatsapp { margin-top: auto; max-width: 100%; box-sizing: border-box; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; text-align: center; }
.lead-card { display: flex; flex-direction: column; padding: 20px; overflow: hidden; box-sizing: border-box; }
.lead-card h2 { margin: 0 0 14px; word-wrap: break-word; overflow-wrap: break-word; }
.lead-card .lead-list { margin: 0 0 16px; padding: 0; list-style: none; }
.lead-card .lead-list li { word-wrap: break-word; overflow-wrap: break-word; padding-left: 26px; position: relative; margin-bottom: 8px; line-height: 1.5; }
.lead-card .btn { margin-top: auto; width: 100%; max-width: 100%; box-sizing: border-box; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; text-align: center; }
.hero-inner { overflow: hidden; box-sizing: border-box; }
.hero h1, .hero .hero-copy, .page-hero h1, .page-hero .page-hero-copy { word-wrap: break-word; overflow-wrap: break-word; max-width: 100%; }
.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; box-sizing: border-box; overflow-x: clip; overflow-y: visible; }
img { max-width: 100%; height: auto; display: block; }
.btn { max-width: 100%; box-sizing: border-box; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; text-align: center; }
.btn svg,
.btn-whatsapp svg,
.btn-service-whatsapp svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.btn-service-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 780px) {
  .service-card { padding: 16px; }
  .service-card .service-media { aspect-ratio: 3 / 2; }
  .lead-card { padding: 16px; }
  .lead-card h2 { font-size: 1.15rem; }
  .lead-card .lead-list li { font-size: .9rem; }
  .hero h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); line-height: 1.15; }
  .hero .hero-copy { font-size: 1rem; }
}

/* === Tarjetas de servicio SIN scroll interno === */
.service-card {
  overflow: visible;
  height: auto;
  min-height: 0;
}

.service-media {
  height: auto;
}

.service-card h3,
.service-card p {
  height: auto;
}

.service-grid {
  overflow: visible;
  height: auto;
}

.services {
  overflow: visible;
  height: auto;
}

.container {
  overflow-y: visible;
  height: auto;
}

@media (max-width: 780px) {
  .service-card {
    overflow: visible;
    height: auto;
  }

  .service-grid {
    overflow: visible;
  }
}

/* FINAL TOPBAR OVERRIDE */
html body .topbar {
  padding: 8px 0;
  background: #0F2338;
  color: #FFFFFF;
  font-size: .75rem;
  font-weight: 600;
}
html body .topbar .topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 32px;
}
html body .topbar .topbar-business,
html body .topbar .topbar-phone,
html body .topbar .topbar-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
html body .topbar .topbar-business {
  background: rgba(255,255,255,.10);
  color: #FFFFFF;
  border: 1px solid rgba(255,255,255,.15);
}
html body .topbar .topbar-phone {
  background: rgba(255,193,7,.15);
  color: #FFC107;
  border: 1px solid rgba(255,193,7,.25);
}
html body .topbar .topbar-status {
  background: rgba(22,167,101,.15);
  color: #16A765;
  border: 1px solid rgba(22,167,101,.3);
  animation: breathingGreen 2.5s ease-in-out infinite;
  will-change: transform, background, border-color, box-shadow;
}
html body .topbar .topbar-business:hover { background: rgba(255,255,255,.15); transform: translateY(-1px); }
html body .topbar .topbar-phone:hover { background: rgba(255,193,7,.22); transform: translateY(-1px); }
html body .topbar .topbar-status:hover { transform: translateY(-1px); }
html body .topbar .topbar-phone svg { display: none; }
html body .topbar .topbar-status span[aria-hidden="true"] {
  color: #16A765;
  animation: pulseDot 1.2s ease-in-out infinite;
}
@keyframes breathingGreen {
  0%, 100% {
    background: rgba(22,167,101,.15);
    border-color: rgba(22,167,101,.3);
    box-shadow: 0 0 0 0 rgba(22,167,101,0);
    transform: scale(1);
  }
  50% {
    background: rgba(22,167,101,.45);
    border-color: rgba(22,167,101,.8);
    box-shadow: 0 0 12px 2px rgba(22,167,101,.5);
    transform: scale(1.04);
  }
}
@keyframes pulseDot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    text-shadow: 0 0 0 rgba(22,167,101,0);
  }
  50% {
    opacity: .4;
    transform: scale(1.5);
    text-shadow: 0 0 8px rgba(22,167,101,.8);
  }
}
@media (max-width: 780px) {
  html body .topbar .topbar-inner { gap: 8px; padding: 8px 12px; justify-content: space-between; }
  html body .topbar .topbar-business { display: none; }
  html body .topbar .topbar-phone,
  html body .topbar .topbar-status { padding: 3px 10px; font-size: .65rem; gap: 4px; }
}

/* Final translucent topbar theme */
.topbar {
  padding: 12px 0;
  background: #0F2338;
  color: #FFFFFF;
  font-size: .8rem;
  font-weight: 600;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
}
.topbar-business,
.topbar-phone,
.topbar-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.topbar-business {
  background: rgba(255,255,255,.10);
  color: #FFFFFF;
  border: 1px solid rgba(255,255,255,.15);
}
.topbar-business:hover {
  background: rgba(255,255,255,.15);
  transform: translateY(-1px);
}
.topbar-phone {
  background: rgba(255,193,7,.15);
  color: #FFC107;
  border: 1px solid rgba(255,193,7,.25);
}
.topbar-phone:hover {
  background: rgba(255,193,7,.22);
  transform: translateY(-1px);
}
.topbar-phone svg { display: none; }
.topbar-status {
  background: rgba(22,167,101,.15);
  color: #16A765;
  border: 1px solid rgba(22,167,101,.25);
}
.topbar-status span[aria-hidden="true"] {
  color: #16A765;
  animation: openNowPulse 2.2s ease-in-out infinite;
}
@media (max-width: 780px) {
  .topbar-inner {
    gap: 8px;
    padding: 8px 12px;
    justify-content: space-between;
  }
  .topbar-business { display: none; }
  .topbar-phone,
  .topbar-status {
    padding: 6px 14px;
    font-size: .75rem;
  }
}

/* Final topbar pill theme */
.topbar { padding: 12px 0; }
.topbar-inner { justify-content: space-between; gap: 12px; min-height: 40px; }
.topbar-business,
.topbar-phone,
.topbar-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}
.topbar-business {
  background: rgba(255,255,255,.10);
  color: #FFFFFF;
  border: 1px solid rgba(255,255,255,.15);
}
.topbar-phone {
  background: rgba(255,193,7,.15);
  color: #FFC107;
  border: 1px solid rgba(255,193,7,.25);
}
.topbar-status {
  background: rgba(22,167,101,.15);
  color: #16A765;
  border: 1px solid rgba(22,167,101,.25);
}
.topbar-business:hover { background: rgba(255,255,255,.15); transform: translateY(-1px); }
.topbar-phone:hover { background: rgba(255,193,7,.22); transform: translateY(-1px); }
.topbar-status:hover { transform: translateY(-1px); }
.topbar-business .status-dot { display: none; }
.topbar-phone svg { display: none; }
.topbar-status span[aria-hidden="true"] {
  color: #16A765;
  animation: openNowPulse 2.2s ease-in-out infinite;
}
@media (max-width: 780px) {
  .topbar-inner { justify-content: space-between; gap: 8px; padding: 8px 12px; }
  .topbar-business { display: none; }
  .topbar-phone,
  .topbar-status { padding: 6px 14px; font-size: .75rem; }
}

@media (max-width: 780px) {
}

.topbar { position: relative !important; }
@media (max-width: 780px) {
}
.site-header, .header-inner, .nav, .dropdown { overflow: visible !important; }
.brand img, .brand picture img { width: 48px !important; height: 48px !important; object-fit: contain; display: block; flex-shrink: 0; }
@media (max-width: 780px) {
  .nav.is-open { overflow-y: auto; max-height: calc(100vh - 72px); }
}
.topbar { position: relative; }
.site-header {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  background: #FFFFFF !important;
  border-bottom: 1px solid #E1E5EA;
  transition: box-shadow 0.2s ease, background 0.2s ease;
  width: 100%;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 4px 20px rgba(15, 35, 56, 0.08) !important;
}
@media (max-width: 780px) {
  .site-header { position: sticky !important; top: 0 !important; z-index: 100 !important; }
  .nav.is-open { top: 60px !important; }
}
.site-header { overflow: visible !important; }
.header-inner { overflow: visible !important; }
.nav { overflow: visible !important; }
.dropdown { overflow: visible !important; }
.brand img,
.brand picture img { width: 48px !important; height: 48px !important; object-fit: contain; display: block; flex-shrink: 0; }

/* Header compartido: sticky, topbar normal y dropdown responsive. */
.topbar { position: relative; z-index: 50; background: #0F2338; color: #FFFFFF; font-size: .85rem; padding: 8px 0; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar-phone { color: #FFC107; font-weight: 700; text-decoration: none; }
.topbar-status { color: #16A765; font-weight: 700; font-size: .8rem; }
.site-header {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  width: 100%;
  background: #FFFFFF !important;
  border-bottom: 1px solid #E1E5EA;
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .98) !important; box-shadow: 0 4px 20px rgba(15, 35, 56, .08) !important; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; padding: 8px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #0F2338; flex-shrink: 0; min-width: 0; }
.brand img { width: 48px !important; height: 48px !important; object-fit: contain; display: block; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-name { font-size: 1rem; font-weight: 900; color: #0F2338; white-space: nowrap; }
.brand-sub { font-size: .75rem; font-weight: 600; color: #8A9AA3; white-space: nowrap; }
.header-date { font-size: .7rem; font-weight: 500; color: #8A9AA3; white-space: nowrap; text-transform: capitalize; }
.nav { display: flex; align-items: center; gap: 16px; margin-left: auto; flex-shrink: 0; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; padding: 0; margin: 0; }
.nav-list > li > a { display: inline-flex; align-items: center; padding: 10px 14px; font-size: .95rem; font-weight: 700; color: #0F2338; text-decoration: none; border-radius: 6px; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-actions .btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; font-size: .9rem; font-weight: 900; border-radius: 6px; text-decoration: none; white-space: nowrap; }
.header-actions .btn-llamar { background: #FFC107; color: #0F2338; }
.header-actions .btn-whatsapp { background: #25D366; color: #FFFFFF; }
@media (max-width: 1200px) { .header-date { display: none; } }
@media (max-width: 980px) {
  .brand-sub { display: none; }
  .nav-list > li > a { padding: 10px; font-size: .9rem; }
  .header-actions .btn { padding: 8px 12px; font-size: .85rem; }
}
@media (max-width: 780px) {
  .site-header { position: -webkit-sticky !important; position: sticky !important; top: 0 !important; z-index: 100 !important; }
  .nav { position: fixed; top: 60px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; background: #FFFFFF; padding: 8px 16px 20px; max-height: calc(100vh - 60px); overflow-y: auto; z-index: 90; }
  .nav.is-open { display: flex; }
  .header-actions { flex-direction: column; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #E1E5EA; }
  .header-actions .btn { width: 100%; justify-content: center; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .dropdown { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; background: #F8F9FA; padding: 0; }
  .has-dropdown.is-open .dropdown { display: block; padding: 8px 0; }
  .dropdown li a { display: block; padding: 12px 24px; color: #1A1A1A; font-size: .9rem; }
}

.topbar { position: relative !important; }
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  background: #FFFFFF;
  border-bottom: 1px solid #E1E5EA;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(15, 35, 56, 0.08);
}
@media (max-width: 780px) {
  .site-header { position: sticky !important; top: 0 !important; z-index: 100 !important; }
  .nav.is-open { top: 60px !important; max-height: calc(100vh - 60px) !important; }
}
@media (max-width: 780px) {
  .has-dropdown > a { display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
  .has-dropdown > a::after { content: ""; width: 8px; height: 8px; border-right: 2px solid #0F2338; border-bottom: 2px solid #0F2338; transform: rotate(45deg); transition: transform .2s ease; margin-left: 8px; }
  .has-dropdown.is-open > a::after { transform: rotate(-135deg); }
  .dropdown { position: static; display: none; background: #F8F9FA; padding: 0; margin: 0; box-shadow: none; border: 0; border-radius: 0; }
  .has-dropdown.is-open .dropdown { display: block; padding: 8px 0; }
  .dropdown li a { display: block; padding: 12px 24px; color: #1A1A1A; font-size: .9rem; }
  .dropdown li a:hover { background: #FFF8E5; color: #E5A800; }
}

.site-header { overflow: visible !important; }
.header-inner { overflow: visible !important; }
.nav { overflow: visible !important; }
.dropdown { overflow: visible !important; }
.brand img,
.brand picture img { width: 48px !important; height: 48px !important; object-fit: contain; display: block; flex-shrink: 0; }

/* Topbar pills */
.topbar {
  padding: 10px 0;
  background: #0F2338;
  color: #FFFFFF;
  font-size: .8rem;
  font-weight: 600;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  min-height: 36px;
}
.topbar-business {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  background: #FFFFFF;
  color: #0F2338;
  font-weight: 900;
  font-size: .85rem;
  border-radius: 999px;
  white-space: nowrap;
}
.topbar-business .status-dot { display: none; }
.topbar-direct { font-size: 0; }
.topbar-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  background: #FFC107;
  color: #0F2338;
  font-weight: 900;
  font-size: .85rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}
.topbar-direct .topbar-phone { font-size: .85rem; }
.topbar-phone svg { display: none; }
.topbar-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #145A3A;
  color: #FFFFFF;
  font-size: .75rem;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid #1B8052;
}
.topbar-status span[aria-hidden="true"] {
  color: #7AE2A9;
  animation: openNowPulse 2.2s ease-in-out infinite;
}
@media (max-width: 780px) {
  .topbar-inner { gap: 8px; padding: 8px 12px; justify-content: space-between; }
  .topbar-business { display: none; }
  .topbar-phone { padding: 5px 12px; font-size: .8rem; }
  .topbar-direct .topbar-phone { font-size: .8rem; }
  .topbar-status { padding: 5px 10px; font-size: .7rem; }
}
:root {
  color-scheme: light;
  --color-primario: #0F2338;
  --color-primario-2: #1A3550;
  --color-primario-3: #2A4A6B;
  --color-acento: #FFC107;
  --color-acento-hover: #E5A800;
  --color-acento-suave: #FFF8E5;
  --color-acento-texto: #0F2338;
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #1EBE5A;
  --color-whatsapp-texto: #FFFFFF;
  --color-exito: #16A765;
  --color-urgente: #E63946;
  --color-fondo: #FFFFFF;
  --color-fondo-alt: #F8F9FA;
  --color-fondo-soft: #FAFBFC;
  --color-texto: #1A1A1A;
  --color-texto-suave: #5A6B73;
  --color-texto-muted: #8A9AA3;
  --color-texto-claro: #FFFFFF;
  --color-texto-claro-suave: rgba(255,255,255,.75);
  --color-borde: #E1E5EA;
  --color-borde-oscuro: rgba(255,255,255,.12);
  --shadow-sm: 0 1px 3px rgba(15,35,56,.06);
  --shadow-md: 0 4px 14px rgba(15,35,56,.1);
  --shadow-lg: 0 10px 30px rgba(15,35,56,.15);
  --shadow-dorado: 0 4px 14px rgba(255,193,7,.35);
  --shadow-verde: 0 4px 14px rgba(37,211,102,.3);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --color-primario: #0F2A44;
  --color-primario-2: #1A3A5C;
  --color-primario-3: #2E5F8F;
  --color-acento: #E5A800;
  --color-acento-hover: #C89000;
  --color-acento-suave: #FFF8E5;
  --color-llamada: #E5A800;
  --color-llamada-hover: #C89000;
  --color-llamada-texto: #1A1206;
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #1EBE5A;
  --color-urgente: #E63946;
  --color-fondo: #FFFFFF;
  --color-fondo-alt: #F8F9FA;
  --color-fondo-soft: #FAFBFC;
  --color-texto: #1A1A1A;
  --color-texto-suave: #5A6B73;
  --color-texto-muted: #8A9AA3;
  --color-texto-claro: #FFFFFF;
  --color-exito: #16A765;
  --color-borde: #E1E5EA;
  --navy-950: #0F2A44;
  --navy-900: #0F2A44;
  --navy-800: #1A3A5C;
  --steel: #5A6B73;
  --gold: #E5A800;
  --gold-700: #C89000;
  --whatsapp: #25D366;
  --paper: #FFFFFF;
  --soft: #F8F9FA;
  --line: #E1E5EA;
  --danger: #E63946;
  --shadow-sm: 0 1px 3px rgba(15,42,68,.06);
  --shadow-md: 0 4px 14px rgba(15,42,68,.1);
  --shadow: 0 10px 30px rgba(15,42,68,.12);
  --radius: 6px;
  --max: 1180px;
}

/* Ajuste de contenido para tarjetas y vistas estrechas. */
.service-card { display: flex; flex-direction: column; padding: 20px; overflow: visible; box-sizing: border-box; }
.service-card h3 { margin: 12px 0 8px; word-wrap: break-word; overflow-wrap: break-word; hyphens: auto; }
.service-card p { margin: 0 0 16px; word-wrap: break-word; overflow-wrap: break-word; line-height: 1.5; }
.service-card .service-media { width: 100%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 8px; margin-bottom: 16px; }
.service-card .service-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-card .btn, .service-card .btn-service-whatsapp { margin-top: auto; max-width: 100%; box-sizing: border-box; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; text-align: center; }
.lead-card { display: flex; flex-direction: column; padding: 20px; overflow: hidden; box-sizing: border-box; }
.lead-card h2 { margin: 0 0 14px; word-wrap: break-word; overflow-wrap: break-word; }
.lead-card .lead-list { margin: 0 0 16px; padding: 0; list-style: none; }
.lead-card .lead-list li { word-wrap: break-word; overflow-wrap: break-word; padding-left: 26px; position: relative; margin-bottom: 8px; line-height: 1.5; }
.lead-card .btn { margin-top: auto; width: 100%; max-width: 100%; box-sizing: border-box; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; text-align: center; }
.hero-inner { overflow: hidden; box-sizing: border-box; }
.hero h1, .hero .hero-copy, .page-hero h1, .page-hero .page-hero-copy { word-wrap: break-word; overflow-wrap: break-word; max-width: 100%; }
.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; box-sizing: border-box; overflow-x: clip; overflow-y: visible; }
img { max-width: 100%; height: auto; display: block; }
.btn { max-width: 100%; box-sizing: border-box; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; text-align: center; }
@media (max-width: 780px) {
  .service-card { padding: 16px; }
  .service-card .service-media { aspect-ratio: 3 / 2; }
  .lead-card { padding: 16px; }
  .lead-card h2 { font-size: 1.15rem; }
  .lead-card .lead-list li { font-size: .9rem; }
  .hero h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); line-height: 1.15; }
  .hero .hero-copy { font-size: 1rem; }
}
 .brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
@media (max-width: 780px) {
  .brand img {
    width: 40px;
    height: 40px;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--color-texto);
  font-size: 1rem;
  background: var(--paper);
  line-height: 1.6;
}
body.nav-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid rgba(245, 189, 72, .55); outline-offset: 3px; }

.skip-link {
  position: absolute;
  top: 12px;
  left: -999px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--gold);
  color: #14100a;
  font-weight: 900;
  text-decoration: none;
}
.skip-link:focus { left: 12px; }
.container { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
.topbar { padding: 8px 0; background: var(--color-primario); color: rgba(255,255,255,.85); font-size: .8rem; font-weight: 600; }
.topbar-inner { min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar-business { color: var(--color-texto-claro); font-weight: 700; }
.status-dot { color: var(--color-exito); animation: openNowPulse 2.2s ease-in-out infinite; }
.topbar-direct { color: var(--color-texto-claro); }
.topbar-phone { color: var(--color-acento); font-weight: 700; text-decoration: none; }
.topbar-status { padding: 4px 12px; border-radius: 999px; background: rgba(22,167,101,.15); color: var(--color-exito); font-size: .75rem; font-weight: 700; }
.topbar-status span { animation: openNowPulse 2.2s ease-in-out infinite; }
@keyframes openNowPulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.site-header { position: -webkit-sticky !important; position: sticky !important; top: 0 !important; z-index: 100 !important; width: 100%; background: #FFFFFF; border-bottom: 1px solid #E1E5EA; transition: box-shadow 0.2s ease, background 0.2s ease; }
.site-header.is-scrolled { background: var(--color-fondo); box-shadow: var(--shadow-md); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--color-primario); text-decoration: none; font-weight: 900; }
.brand img { width: 120px; height: 90px; object-fit: contain; }
.brand-text { display: grid; line-height: 1.05; }
.brand-text span:first-child { font-size: 1rem; font-weight: 900; }
.brand-text span:last-child { color: var(--color-texto-muted); font-size: .7rem; font-weight: 700; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 22px; font-size: .95rem; font-weight: 700; }
.nav a { padding: 8px 12px; text-decoration: none; color: var(--color-primario); transition: all .2s ease; }
.nav a:hover { color: var(--color-acento); }
.menu-toggle { display: none; border: 1px solid var(--color-borde); border-radius: var(--radius-md); background: var(--color-fondo-alt); color: var(--color-primario); padding: 10px 13px; font-size: 1.2rem; cursor: pointer; }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-md); padding: 12px 18px; font-weight: 900; text-decoration: none; transition: all .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--color-llamada); color: var(--color-llamada-texto); box-shadow: 0 4px 14px rgba(229,168,0,.3); }
.btn-whatsapp { background: var(--color-whatsapp); color: #fff; box-shadow: 0 4px 14px rgba(37,211,102,.3); }
.btn-ghost { background: transparent; color: var(--navy-900); border: 1px solid var(--line); }
.hero, .page-hero { min-height: 600px; padding: 80px 0; background-color: var(--color-primario); background-image: linear-gradient(180deg, var(--color-primario) 0%, var(--color-primario-2) 100%), radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px); background-size: auto, 24px 24px; color: var(--color-texto-claro); }
.hero-inner, .page-hero-inner { display: grid; gap: 56px; grid-template-columns: 1.1fr .9fr; align-items: center; }
.eyebrow, .section-kicker { display: inline-block; margin: 0 0 10px; color: var(--gold-700); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }
.hero h1, .page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; line-height: 1.1; margin: 0 0 12px; }
.hero-copy, .page-hero-copy { font-size: 1.05rem; color: rgba(255,255,255,.85); margin: 0 0 18px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 24px; }
.hero-actions #btnLlamar { background: var(--color-acento); color: var(--color-acento-texto); box-shadow: var(--shadow-dorado); }
.hero-actions .btn-whatsapp, .hero-actions #btnSolicitarServicio { background: transparent; border: 2px solid var(--color-whatsapp); color: var(--color-whatsapp); box-shadow: none; }
.hero-actions .btn-whatsapp:hover, .hero-actions #btnSolicitarServicio:hover { background: var(--color-whatsapp); color: var(--color-whatsapp-texto); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-team-image { width: 100%; max-height: 220px; margin: -8px 0 20px; border-radius: var(--radius-xl); object-fit: cover; object-position: center 35%; box-shadow: var(--shadow-lg); }
.proof-mini { background: transparent; color: var(--color-texto-claro-suave); border: 0; border-radius: 0; padding: 8px 0; box-shadow: none; font-size: .85rem; }
.lead-card { display: flex; flex-direction: column; gap: 16px; padding: 24px; background: #FFFFFF; border: 1px solid #E1E5EA; border-radius: 12px; box-shadow: 0 4px 14px rgba(15,35,56,.08); }
.lead-card-title, .lead-card h2 { margin: 0 !important; font-size: 1.25rem !important; font-weight: 800 !important; color: #0F2338 !important; line-height: 1.2 !important; display: block !important; visibility: visible !important; opacity: 1 !important; }
.lead-list { list-style: none !important; padding: 0 !important; margin: 0 !important; display: grid; gap: 10px; }
.lead-list li { position: relative; padding-left: 28px; font-size: .95rem; line-height: 1.5; color: #1A1A1A; }
.lead-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; color: #FFC107; font-weight: 900; font-size: 1rem; }
.lead-card .btn { margin-top: 4px; width: 100%; justify-content: center; }
.section { padding: 80px 0; background: var(--color-fondo); }
.stats-bar { padding: 32px 0; border-bottom: 1px solid var(--color-borde); background: var(--color-fondo); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { display: grid; gap: 3px; padding-left: 18px; border-left: 3px solid var(--color-acento); }
.stat-item strong { color: var(--color-primario); font-size: 1.5rem; font-weight: 900; line-height: 1.1; }
.stat-item span { color: var(--color-texto-suave); font-size: .8125rem; font-weight: 600; }
.section-head { margin-bottom: 24px; max-width: 800px; }
.section-head h2 { font-size: clamp(2rem, 3.5vw, 2.25rem); font-weight: 800; margin: 0 0 8px; letter-spacing: -.01em; }
.section-head p { margin: 0; color: var(--navy-800); }
.service-grid, .feature-grid, .contact-grid, .row-grid { display: grid; gap: 20px; }
.service-grid { grid-template-columns: repeat(3, minmax(0,1fr)); overflow: visible; }
.services { overflow: visible; }
.service-card { padding: 22px; }
.service-card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.service-card p { color: var(--navy-800); margin-bottom: 12px; }
.service-card .btn { margin-top: 8px; }
.service-card:hover, .info-card:hover, .review-card:hover { border-color: var(--color-acento); box-shadow: var(--shadow-md); }
.feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.info-card { padding: 22px; }
.info-card ul { padding-left: 18px; color: var(--navy-800); }
.contact-grid { grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
.contact-panel, .card { padding: 24px; }
.contact-panel h3, .card h3 { margin-top: 0; }
.form-grid { display: grid; gap: 14px; }
.field { display: grid; gap: 8px; }
.field label, .field span { font-weight: 700; color: var(--navy-900); }
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fcfeff;
}
.field textarea { min-height: 110px; resize: vertical; }
.form-message { margin: 0; font-weight: 700; }
.form-message.is-ok { color: var(--whatsapp); }
.form-message.is-error { color: var(--danger); }
.map-wrap iframe { width: 100%; min-height: 330px; border: 0; border-radius: 18px; box-shadow: var(--shadow-sm); }
.site-footer { padding: 56px 0 80px; background: var(--color-primario); color: rgba(255,255,255,.75); }
.footer-columns { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 48px; }
.footer-column { display: grid; align-content: start; gap: 8px; }
.footer-column h3 { color: #fff; font-size: 1rem; font-weight: 800; margin: 0 0 8px; }
.footer-column p { margin: 0; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--color-borde-oscuro); }
.footer-credit { margin: 0; color: rgba(255,255,255,.5); font-size: .75rem; text-align: center; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--color-acento); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .45s ease, transform .45s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .hero-inner, .page-hero-inner, .contact-grid, .service-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .topbar-inner { justify-content: space-between; gap: 12px; padding: 8px 12px; }
  .menu-toggle { display: inline-flex; }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; padding: 8px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #0F2338; flex-shrink: 0; min-width: 0; }
.brand img { width: 48px !important; height: 48px !important; object-fit: contain; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-name { font-size: 1rem; font-weight: 900; color: #0F2338; white-space: nowrap; }
.brand-sub { font-size: .75rem; font-weight: 600; color: #8A9AA3; white-space: nowrap; }
.header-date { font-size: .7rem; font-weight: 500; color: #8A9AA3; white-space: nowrap; text-transform: capitalize; }
.nav { display: flex; align-items: center; gap: 16px; margin-left: auto; flex-shrink: 0; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; padding: 0; margin: 0; }
.nav-list > li > a { display: inline-flex; align-items: center; padding: 10px 14px; font-size: .95rem; font-weight: 700; color: #0F2338; text-decoration: none; border-radius: 6px; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.nav-list > li > a:hover { background: #F8F9FA; color: #E5A800; }
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-actions .btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; font-size: .9rem; font-weight: 900; border-radius: 6px; text-decoration: none; white-space: nowrap; }
#btnLlamarHeader { background: #FFC107; color: #0F2338; }
#btnWhatsappHeader { background: #25D366; color: #FFFFFF; }
@media (max-width: 1200px) { .header-date { display: none; } }
@media (max-width: 980px) {
  .brand-sub { display: none; }
  .nav-list > li > a { padding: 10px; font-size: .9rem; }
  .header-actions .btn { padding: 8px 12px; font-size: .85rem; }
}
@media (max-width: 780px) {
  .nav { display: none; }
  .header-actions { display: none; }
  .brand img { width: 40px !important; height: 40px !important; }
  .brand-name { font-size: .95rem; }
}
  .nav {
    position: fixed;
    inset: 92px 16px auto 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav a, .nav .btn { width: 100%; }
  .hero, .page-hero { min-height: 0; padding: 48px 0; }
  .hero-inner, .page-hero-inner { gap: 28px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .footer-columns { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding-bottom: 100px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .lead-card { padding: 18px 16px !important; gap: 12px !important; margin-top: 16px !important; }
  .lead-card-title, .lead-card h2 { font-size: 1.1rem !important; }
  .lead-list { gap: 8px !important; }
  .lead-list li { font-size: .9rem !important; padding-left: 24px !important; }
  .lead-list li::before { width: 18px; height: 18px; font-size: .9rem; }
  .lead-card .btn { padding: 12px 16px !important; font-size: .95rem !important; min-height: 48px !important; }
}

@media (max-width: 780px) {
  body { padding-bottom: 80px !important; }
  .topbar-business { display: none; }
}

@media (min-width: 781px) {
}

/* BOTONES FLOTANTES - DISENO FINAL */
.floating-actions { position: fixed !important; z-index: 99999 !important; display: flex !important; gap: 10px !important; padding: 0 !important; margin: 0 !important; pointer-events: auto !important; }
.floating-actions .btn { display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important; font-family: inherit !important; font-weight: 900 !important; line-height: 1 !important; text-decoration: none !important; border: 0 !important; cursor: pointer !important; opacity: 1 !important; visibility: visible !important; transition: transform .2s ease, box-shadow .2s ease !important; white-space: nowrap !important; }
.floating-actions .btn svg { width: 20px !important; height: 20px !important; flex-shrink: 0 !important; }
#btnLlamarFloating { background-color: #FFC107 !important; background: #FFC107 !important; color: #0F2338 !important; box-shadow: 0 4px 14px rgba(255,193,7,.45) !important; }
#btnLlamarFloating svg { color: #0F2338 !important; fill: none !important; stroke: #0F2338 !important; }
#btnLlamarFloating span { color: #0F2338 !important; }
#btnLlamarFloating:hover { background-color: #E5A800 !important; background: #E5A800 !important; transform: translateY(-2px) !important; }
#btnWhatsappFloating { background-color: #25D366 !important; background: #25D366 !important; color: #FFFFFF !important; box-shadow: 0 4px 14px rgba(37,211,102,.45) !important; }
#btnWhatsappFloating svg { color: #FFFFFF !important; fill: #FFFFFF !important; }
#btnWhatsappFloating span { color: #FFFFFF !important; }
#btnWhatsappFloating:hover { background-color: #1EBE5A !important; background: #1EBE5A !important; transform: translateY(-2px) !important; }
@media (min-width: 781px) {
  .floating-actions { left: auto !important; right: 24px !important; bottom: 24px !important; width: auto !important; max-width: calc(100vw - 48px) !important; flex-direction: row !important; }
  .floating-actions .btn { flex: 0 0 auto !important; min-width: 0 !important; width: auto !important; height: 52px !important; padding: 0 22px !important; font-size: .95rem !important; border-radius: 999px !important; }
}
@media (max-width: 780px) {
  .floating-actions { left: 10px !important; right: 10px !important; bottom: 10px !important; width: auto !important; flex-direction: row !important; gap: 8px !important; }
  .floating-actions .btn { flex: 1 1 0 !important; width: auto !important; min-width: 0 !important; height: 54px !important; padding: 0 10px !important; font-size: .9rem !important; border-radius: 8px !important; }
  .floating-actions .btn svg { width: 18px !important; height: 18px !important; }
}
@media (max-width: 360px) {
  .floating-actions .btn { font-size: .85rem !important; padding: 0 8px !important; gap: 4px !important; }
  .floating-actions .btn svg { width: 16px !important; height: 16px !important; }
}

/* MENU PRINCIPAL Y DROPDOWN */
.nav { display: flex; align-items: center; gap: 4px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; padding: 0; margin: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; font-size: .95rem; font-weight: 700; color: #0F2338; text-decoration: none; border-radius: 6px; transition: background .2s ease, color .2s ease; }
.nav-list > li > a:hover { background: #F8F9FA; color: #E5A800; }
.dropdown { position: absolute; top: calc(100% + 4px); left: 0; min-width: 220px; padding: 8px 0; margin: 0; list-style: none; background: #FFFFFF; border: 1px solid #E1E5EA; border-radius: 8px; box-shadow: 0 10px 30px rgba(15,35,56,.12); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; z-index: 100; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li { list-style: none; }
.dropdown li a { display: block; padding: 10px 18px; font-size: .9rem; font-weight: 600; color: #1A1A1A; text-decoration: none; transition: background .15s ease, color .15s ease, padding-left .15s ease; }
.dropdown li a:hover { background: #FFF8E5; color: #E5A800; padding-left: 22px; }
@media (max-width: 780px) {
  .nav { position: fixed; top: 60px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - 60px); overflow: visible; padding: 12px 16px 20px; background: #FFFFFF; border-bottom: 1px solid #E1E5EA; box-shadow: 0 10px 30px rgba(15,35,56,.12); z-index: 90; }
  .nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav-list > li { width: 100%; border-bottom: 1px solid #F0F2F5; }
  .nav-list > li:last-child { border-bottom: 0; }
  .nav-list > li > a { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; font-size: 1rem; color: #0F2338; border-radius: 0; background: transparent; }
  .nav-list > li > a:hover { background: transparent; color: #E5A800; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 4px 0 8px 16px; background: #F8F9FA; min-width: 0; display: none; }
  .has-dropdown.is-open .dropdown { display: block; }
  .has-dropdown > a::after { content: "▾"; font-size: .9rem; transition: transform .2s ease; }
  .has-dropdown.is-open > a::after { transform: rotate(180deg); }
  .dropdown li a { padding: 10px 12px; font-size: .9rem; color: #1A1A1A; }
  .dropdown li a:hover { background: #FFF8E5; color: #E5A800; padding-left: 16px; }
  .nav .header-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #E1E5EA; }
  .nav .header-actions .btn { width: 100%; min-height: 48px; font-size: .95rem; }
}

.site-header { overflow: visible !important; }
.header-inner { overflow: visible !important; }
.nav { overflow: visible !important; }
.dropdown { overflow: visible !important; }
.brand img,
.brand picture img { width: 48px !important; height: 48px !important; object-fit: contain; display: block; flex-shrink: 0; }

  @media (max-width: 780px) {
    .brand img { width: 90px; height: 68px; }
  }

/* Ajuste de contenido para tarjetas y vistas estrechas. */
.service-card { display: flex; flex-direction: column; padding: 20px; overflow: visible; box-sizing: border-box; }
.service-card h3 { margin: 12px 0 8px; word-wrap: break-word; overflow-wrap: break-word; hyphens: auto; }
.service-card p { margin: 0 0 16px; word-wrap: break-word; overflow-wrap: break-word; line-height: 1.5; }
.service-card .service-media { width: 100%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 8px; margin-bottom: 16px; }
.service-card .service-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-card .btn, .service-card .btn-service-whatsapp { margin-top: auto; max-width: 100%; box-sizing: border-box; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; text-align: center; }
.lead-card { display: flex; flex-direction: column; padding: 20px; overflow: hidden; box-sizing: border-box; }
.lead-card h2 { margin: 0 0 14px; word-wrap: break-word; overflow-wrap: break-word; }
.lead-card .lead-list { margin: 0 0 16px; padding: 0; list-style: none; }
.lead-card .lead-list li { word-wrap: break-word; overflow-wrap: break-word; padding-left: 26px; position: relative; margin-bottom: 8px; line-height: 1.5; }
.lead-card .btn { margin-top: auto; width: 100%; max-width: 100%; box-sizing: border-box; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; text-align: center; }
.hero-inner { overflow: hidden; box-sizing: border-box; }
.hero h1, .hero .hero-copy, .page-hero h1, .page-hero .page-hero-copy { word-wrap: break-word; overflow-wrap: break-word; max-width: 100%; }
.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; box-sizing: border-box; overflow-x: clip; overflow-y: visible; }
img { max-width: 100%; height: auto; display: block; }
.btn { max-width: 100%; box-sizing: border-box; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; text-align: center; }
@media (max-width: 780px) {
  .service-card { padding: 16px; }
  .service-card .service-media { aspect-ratio: 3 / 2; }
  .lead-card { padding: 16px; }
  .lead-card h2 { font-size: 1.15rem; }
  .lead-card .lead-list li { font-size: .9rem; }
  .hero h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); line-height: 1.15; }
  .hero .hero-copy { font-size: 1rem; }
}
