/* ============================
   Moblit / Field Service — CSS ordenado
   Paleta tomada del prototipo (azules y grises)
=============================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

/* ─────────────────────────────────────────
   VARIABLES
────────────────────────────────────────── */
/* Formularios: honeypot anti-spam + aviso envío */
.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
.form-feedback-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  padding: 0.9rem 1.5rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-family);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}
.form-feedback-banner--ok {
  background: linear-gradient(180deg, #15803d 0%, #0f6b33 100%);
  color: #fff;
}
.form-feedback-banner--err {
  background: linear-gradient(180deg, #dc2626 0%, #b91c1c 100%);
  color: #fff;
}

:root {
  --color-primary: #0B5AA6;
  --color-primary-dark: #06306D;
  --color-primary-light: #2D8AE5;
  --color-navy: #0B2E5B;
  --color-text: #0B2E5B;
  --color-text-muted: #5F6E83;
  --color-bg-section: #F5F7FB;
  --color-white: #FFFFFF;
  --border-subtle: 1px solid rgba(11, 90, 166, 0.12);
  --border-muted: 1px solid rgba(11, 90, 166, 0.2);
  --topbar-height: 0px;
  --navbar-height: 90px;
  /* Tipografía unificada */
  --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.1rem;
  --text-xl: 1.25rem;
  --heading-xs: 1rem;
  --heading-sm: 1.15rem;
  --heading-md: 1.35rem;
  --heading-lg: 1.6rem;
  --heading-xl: 1.9rem;
  --heading-2xl: 2.25rem;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
}

/* ─────────────────────────────────────────
   BASE / RESET
────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-family) !important;
  color: var(--color-text) !important;
  font-size: var(--text-base);
  line-height: 1.6;
  font-weight: var(--fw-normal);
  background-color: var(--color-white);
  padding-top: calc(var(--topbar-height) + var(--navbar-height));
}

a { color: inherit; text-decoration: none; }
/* Enlaces normales: hover azul. Los botones (pill, demo, main-btn) tienen su propio color en :hover para mantener contraste */
a:hover { color: var(--color-primary) !important; }
a.btn-primary-pill:hover,
a.btn-primary-pill:focus,
a.btn-primary-pill:active { color: #fff !important; }
a.btn-outline-pill:hover,
a.btn-outline-pill:focus,
a.btn-outline-pill:active { color: #0B5AA6 !important; }
a.btn-beneficios-demo:hover,
a.btn-beneficios-demo:focus,
a.btn-beneficios-demo:active { color: #fff !important; }
a.main-btn:hover,
a.main-btn:focus,
a.main-btn:active { color: #fff !important; }

a:focus,
input:focus,
textarea:focus,
button:focus,
.btn:focus { outline: none; box-shadow: none !important; }

.gray-bg-1,
.gray-bg-2 { background-color: var(--color-bg-section) !important; }

/* ─────────────────────────────────────────
   TIPOGRAFÍA UNIFICADA (toda la página)
────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family) !important;
  color: var(--color-text) !important;
  font-weight: var(--fw-bold);
  margin: 0;
  line-height: 1.25;
}

h1 {
  font-size: clamp(var(--heading-xl), 4.8vw, 3.25rem);
  font-weight: var(--fw-extrabold);
  line-height: 1.15;
}

h2 {
  font-size: clamp(var(--heading-lg), 3.6vw, var(--heading-2xl));
  font-weight: var(--fw-extrabold);
  line-height: 1.2;
}

h3 {
  font-size: var(--heading-md);
  font-weight: var(--fw-bold);
}

h4 {
  font-size: var(--heading-sm);
  font-weight: var(--fw-bold);
}

p, .contact-form input, .demo-modal-form input {
  font-family: var(--font-family) !important;
  font-size: var(--text-base);
}

.section-title h1,
.section-title h2,
.beneficios-main-title,
.monitoreo-title,
.operacion-mexico-title,
.beneficios-heading,
.beneficios-cta-box h3,
.contact-clean .container > h2,
.final-cta-box h2 {
  font-family: var(--font-family) !important;
  font-weight: var(--fw-extrabold) !important;
}

label, .form-label, .demo-modal-form label, .clean-form-card label {
  font-family: var(--font-family) !important;
  font-weight: var(--fw-semibold) !important;
}

button, .btn-primary-pill, .btn-outline-pill, .main-btn, .demo-modal-btn, .btn-beneficios-demo, .industries-toggle-btn {
  font-family: var(--font-family) !important;
  font-weight: var(--fw-semibold) !important;
}

.navbar .nav-link, .footer a, .industries-menu-link {
  font-family: var(--font-family) !important;
}

/* Escala de tamaños por jerarquía */
.beneficios-label,
.monitoreo-label,
.beneficios-label::before,
.beneficios-label::after { font-size: var(--text-xs) !important; font-weight: var(--fw-semibold) !important; }
.beneficios-main-title,
.monitoreo-title,
.contact-clean .container > h2,
.final-cta-box h2 { font-size: var(--heading-2xl) !important; }
.beneficios-heading,
.operacion-mexico-title,
.beneficios-cta-box h3 { font-size: var(--heading-md) !important; }
.beneficios-subtitle,
.monitoreo-subtitle,
.operacion-mexico-subtitle { font-size: var(--text-base) !important; font-weight: var(--fw-normal) !important; }
.beneficio-content h4,
.beneficio-extra-content h4 { font-size: var(--heading-sm) !important; }
.beneficio-content p,
.beneficio-extra-content p { font-size: var(--text-sm) !important; }
.industries-menu-group h4 { font-size: var(--text-xs) !important; }
.industries-menu-link { font-size: var(--text-sm) !important; }
.industries-mas-label { font-size: 1.5rem !important; }
.demo-modal-title { font-size: var(--heading-md) !important; }
.demo-modal-form label { font-size: var(--text-sm) !important; }
.demo-modal-form input { font-size: var(--text-base) !important; }
.clean-form-card label { font-size: var(--text-sm) !important; }
.form-legal,
.demo-modal-legal { font-size: var(--text-xs) !important; }
.values-strip h2,
.industries-clean .text-center.h2,
.industries-clean h2 { font-family: var(--font-family) !important; font-size: var(--heading-lg) !important; font-weight: var(--fw-extrabold) !important; }
.layout-moblit .hero-simple h1 { font-family: var(--font-family) !important; font-size: clamp(2.15rem, 5.4vw, 2.95rem) !important; font-weight: var(--fw-extrabold) !important; }
.layout-moblit .hero-simple p { font-family: var(--font-family) !important; font-size: 1.05rem !important; }

.section-title h1,
.section-title h2 { color: var(--color-text) !important; }
.section-title p { color: var(--color-text-muted) !important; }
p { color: var(--color-text); }

.section-title p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.text-muted-custom { color: var(--color-text-muted) !important; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary) !important;
  margin-bottom: 0.75rem;
}

/* ─────────────────────────────────────────
   BOTONES
────────────────────────────────────────── */
.main-btn,
.btn-primary-custom,
.header-btn .main-btn,
.sticky .navbar .header-btn .main-btn {
  background: var(--color-primary) !important;
  border: 2px solid var(--color-primary) !important;
  color: var(--color-white) !important;
  font-weight: 600;
  border-radius: 999px !important;
  padding: 14px 26px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.main-btn:hover,
.btn-primary-custom:hover,
.header-btn .main-btn:hover {
  background: var(--color-primary-dark) !important;
  border-color: var(--color-primary-dark) !important;
  color: var(--color-white) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(3, 33, 56, 0.18);
}

.main-btn.border-btn {
  border: 2px solid var(--color-primary) !important;
  background: transparent !important;
  color: var(--color-primary) !important;
  border-radius: 999px !important;
}

.main-btn.border-btn:hover {
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
}

.btn-hover::after { background-color: rgba(7, 73, 139, 0.12) !important; }

/* ─────────────────────────────────────────
   NAVBAR
────────────────────────────────────────── */
.header .navbar-area,
.header .navbar-area.sticky {
  background-color: var(--color-white) !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  box-shadow: none !important;
  border-bottom: var(--border-subtle);
}

.navbar { border-radius: 0 !important; }

.navbar-nav .nav-item a,
.sticky .navbar .navbar-nav .nav-item a { color: var(--color-text) !important; }

.navbar-nav .nav-item a:hover,
.navbar-nav .nav-item a.active,
.sticky .navbar .navbar-nav .nav-item a:hover,
.sticky .navbar .navbar-nav .nav-item a.active { color: var(--color-primary) !important; }

.navbar-nav .nav-item a {
  position: relative;
}

.navbar-nav .nav-item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.25s ease;
}

.navbar-nav .nav-item a:hover::after,
.navbar-nav .nav-item a.active::after {
  width: 100%;
}
.navbar-nav .nav-item a.active::before,
.navbar-nav .nav-item a:hover::before,
.sticky .navbar .navbar-nav .nav-item a.active::before,
.sticky .navbar .navbar-nav .nav-item a:hover::before { background: var(--color-primary) !important; }

.navbar-toggler .toggler-icon { background-color: var(--color-primary-dark) !important; }

.navbar-collapse {
  background-color: var(--color-white) !important;
  box-shadow: none !important;
  border: var(--border-subtle);
  border-top: none;
}

/* ─────────────────────────────────────────
   HERO
────────────────────────────────────────── */
.hero-section {
  background: var(--color-white) !important;
  padding-top: 140px;
  padding-bottom: 100px;
}

.hero-section::after { display: none !important; }

.hero-section .hero-content h1 {
  color: var(--color-text) !important;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-section .hero-content p {
  color: var(--color-text-muted) !important;
  font-size: 1.1rem;
  margin-bottom: 1.75rem;
}

.hero-section.has-nav-offset { padding-top: 140px; }

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.hero-buttons .main-btn.border-btn { margin-left: 0 !important; }

@media (max-width: 575px) {
  .hero-buttons .ms-3 { margin-left: 0 !important; }
}

.hero-accent {
  display: block;
  width: 64px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  text-align: center;
}

.hero-stat-value {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-white);
}

.hero-stat-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 767px) {
  .hero-stats { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────
   SECCIONES / LAYOUT
────────────────────────────────────────── */
.feature-section {
  background-image: none !important;
  background-color: var(--color-white) !important;
  padding-top: 120px;
  padding-bottom: 100px;
}

.bg-section-custom { background-color: var(--color-bg-section) !important; }
.about-section.bg-section-custom { padding-top: 120px; padding-bottom: 120px; }

.section-title.mb-60 { margin-bottom: 3rem; }
.container { max-width: 1140px; }

.pt-90 { padding-top: 4rem; }
.pt-120 { padding-top: 5rem; }
.pb-90 { padding-bottom: 4rem; }
.pb-120 { padding-bottom: 5rem; }
.pt-130 { padding-top: 5.5rem; }

@media (min-width: 768px) {
  .pt-90 { padding-top: 4.5rem; }
  .pt-120 { padding-top: 6rem; }
  .pb-90 { padding-bottom: 4.5rem; }
  .pb-120 { padding-bottom: 6rem; }
  .pt-130 { padding-top: 6.5rem; }
}

/* Logo strip */
.logo-strip {
  background: var(--color-white);
  padding: 2.5rem 0;
  border-bottom: var(--border-subtle);
}

.logo-strip-title {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.logo-strip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.logo-pill {
  background: var(--color-bg-section);
  color: var(--color-text);
  border: var(--border-subtle);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

/* Elementos visuales sutiles */
.section-divider {
  width: 80px;
  height: 3px;
  background: var(--color-primary);
  margin: 0.75rem auto 1.5rem;
  border-radius: 999px;
  opacity: 0.9;
}

.image-placeholder {
  min-height: 260px;
  background: var(--color-bg-section);
  border: 2px dashed rgba(3, 33, 56, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.image-slot {
  min-height: 260px;
  background: var(--color-white);
  border: none;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(8, 43, 87, 0.12);
}

.image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-photo-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(140px, 1fr);
  grid-template-rows: repeat(2, minmax(140px, 1fr));
  gap: 1rem;
  align-items: center;
  max-width: 520px;
  margin-left: auto;
}

.hero-photo {
  aspect-ratio: 1 / 1;
  width: 100%;
  background: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(3, 33, 56, 0.28);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-photo-lg {
  grid-row: 1 / span 2;
  grid-column: 1 / 2;
}

.hero-photo-sm {
  grid-column: 2 / 3;
}

.image-placeholder-wide {
  min-height: 220px;
}

.hero-image .image-placeholder {
  max-width: 520px;
  margin-left: auto;
}

.mini-list {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.mini-list i {
  color: var(--color-primary);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.chip {
  background: var(--color-bg-section);
  border: var(--border-subtle);
  color: var(--color-text);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.soft-card {
  background: var(--color-white);
  border: var(--border-subtle);
  border-radius: 14px;
  padding: 1.5rem;
}

.soft-card h4 {
  color: var(--color-text);
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.soft-card p {
  color: var(--color-text-muted);
  margin: 0;
}

.inline-note {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-top: 0.8rem;
}

.cta-bar {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: 1.5rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-bar h3 {
  color: var(--color-white);
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.cta-bar p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

@media (max-width: 767px) {
  .cta-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* FAQ / Accordion */
.faq-section .accordion-item {
  border: var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-white);
}

.faq-section .accordion-button {
  background: var(--color-white);
  color: var(--color-text);
  font-weight: 600;
  box-shadow: none;
}

.faq-section .accordion-button:not(.collapsed) {
  color: var(--color-primary);
  background: var(--color-white);
}

.faq-section .accordion-body {
  color: var(--color-text-muted);
}

/* Micro tarjetas */
.micro-card {
  background: var(--color-white);
  border: var(--border-subtle);
  border-radius: 12px;
  padding: 1.25rem;
  height: 100%;
}

.micro-card h4 {
  color: var(--color-text);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.micro-card p {
  color: var(--color-text-muted);
  margin: 0;
  font-size: 0.9rem;
}

/* Operación / iconos */
.operation-section .section-title {
  text-align: center;
}

.operation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.operation-card {
  text-align: center;
  padding: 1.5rem 1rem;
}

.operation-icon {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--color-white);
  border: 2px solid rgba(11, 90, 166, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 20px rgba(8, 43, 87, 0.12);
}

.operation-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.operation-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* AI section */
.ai-section {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: 4.5rem 0;
}

.ai-section h2,
.ai-section p {
  color: var(--color-white) !important;
}

.ai-section .section-eyebrow,
.cta-split .section-eyebrow,
.cta-section .section-eyebrow {
  color: rgba(255, 255, 255, 0.85) !important;
}

.ai-section p {
  color: rgba(255, 255, 255, 0.85) !important;
}

.ai-image {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.5rem;
}

.ai-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Map section */
.map-section {
  background: var(--color-white);
  padding: 4.5rem 0;
}

.map-frame {
  margin-top: 2rem;
  border-radius: 18px;
  overflow: hidden;
  border: var(--border-subtle);
  box-shadow: 0 14px 32px rgba(8, 43, 87, 0.12);
}

.map-frame iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

/* CTA split */
.cta-split {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: 4.5rem 0;
}

.cta-split h2,
.cta-split p {
  color: var(--color-white) !important;
}

.cta-split p {
  color: rgba(255, 255, 255, 0.85) !important;
}

.cta-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(8, 43, 87, 0.25);
}

.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Contact split */
.contact-section {
  background: var(--color-white);
  padding: 5rem 0;
}

.contact-intro h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.contact-intro p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.contact-card {
  background: var(--color-white);
  border: var(--border-subtle);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 14px 30px rgba(8, 43, 87, 0.12);
}

.contact-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-image {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(8, 43, 87, 0.2);
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─────────────────────────────────────────
   COMPONENTES
────────────────────────────────────────── */
.single-feature {
  margin-bottom: 2rem;
  padding: 1.25rem 0;
  border: none;
  background: transparent;
  box-shadow: none !important;
}

.single-feature,
.industry-card,
.info-card,
.pricing-card,
.problem-card,
.testimonial-card,
.micro-card,
.metric-item {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.single-feature:hover,
.industry-card:hover,
.info-card:hover,
.pricing-card:hover,
.problem-card:hover,
.testimonial-card:hover,
.micro-card:hover,
.metric-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(3, 33, 56, 0.14);
  border-color: rgba(3, 33, 56, 0.25);
}

.single-feature .feature-icon::before {
  background: var(--color-bg-section) !important;
  border-radius: 0 !important;
}

.single-feature .feature-icon::after {
  border: 2px solid var(--color-bg-section) !important;
  border-radius: 0 !important;
}

.single-feature:hover .feature-icon::before { background: var(--color-primary) !important; }
.single-feature .feature-icon i { color: var(--color-text) !important; }
.single-feature:hover .feature-icon i { color: var(--color-white) !important; }
.single-feature .feature-content h4 { color: var(--color-text) !important; margin-bottom: 0.5rem; }
.single-feature .feature-content p { color: var(--color-text-muted) !important; }

.industry-card {
  background: var(--color-white) !important;
  border: none;
  border-radius: 18px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 12px 24px rgba(8, 43, 87, 0.12) !important;
}

.industry-card,
.problem-card {
  cursor: pointer;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-section);
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.industry-card h3 { color: var(--color-text) !important; font-size: 1.2rem; margin-bottom: 0.75rem; }
.industry-card p { color: var(--color-text-muted) !important; margin: 0; }

.problems-section { background-color: var(--color-bg-section) !important; padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .problems-section { padding-top: 6rem; padding-bottom: 6rem; } }

.problem-card {
  background: var(--color-white) !important;
  border: none;
  border-radius: 18px;
  padding: 2rem;
  height: 100%;
  text-align: center;
  box-shadow: 0 12px 24px rgba(8, 43, 87, 0.12) !important;
}

.problem-card.is-accent {
  background: var(--color-primary) !important;
  border-color: transparent;
  color: var(--color-white);
}

.problem-card.is-accent h3,
.problem-card.is-accent p {
  color: var(--color-white) !important;
}

.problem-card.is-accent .problem-card-icon {
  background: var(--color-white);
}

.problem-card.is-accent .problem-card-icon i {
  color: var(--color-primary) !important;
}

.problem-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.problem-card-icon i { font-size: 1.75rem; color: var(--color-white) !important; }
.problem-card h3 { color: var(--color-text) !important; font-size: 1.2rem; margin-bottom: 0.5rem; }
.problem-card p { color: var(--color-text-muted) !important; font-size: 0.9375rem; margin: 0; }

.metric-item {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--color-white) !important;
  border: var(--border-subtle);
  border-radius: 0;
  box-shadow: none !important;
}

.metric-item .metric-value { font-size: 2.25rem; font-weight: 700; color: var(--color-text) !important; margin-bottom: 0.25rem; }
.metric-item .metric-label { font-size: 0.875rem; color: var(--color-text-muted) !important; }

/* Testimonios */
.testimonial-card {
  background: var(--color-white);
  border: var(--border-subtle);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 16px 40px rgba(3, 33, 56, 0.12);
}

.testimonial-text {
  color: var(--color-text);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.testimonial-name {
  font-weight: 700;
  color: var(--color-text);
}

.testimonial-role {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Tarjetas de bloques informativos */
.info-card {
  background: var(--color-white) !important;
  border: none;
  border-radius: 18px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 12px 24px rgba(8, 43, 87, 0.12);
}

.info-card h3 { color: var(--color-text) !important; font-size: 1.15rem; margin-bottom: 0.75rem; }
.info-card p { color: var(--color-text-muted) !important; margin-bottom: 0.5rem; }

.icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.4rem 0;
  color: var(--color-text);
}

.icon-list i { color: var(--color-primary); margin-top: 0.2rem; }

/* Cards de planes / licenciamiento */
.pricing-card {
  background: var(--color-white) !important;
  border: var(--border-subtle);
  border-radius: 0;
  padding: 2rem;
  height: 100%;
}

.pricing-card h3 {
  color: var(--color-text) !important;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.pricing-card .pricing-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-card li {
  padding: 0.35rem 0;
  color: var(--color-text);
}

.pricing-card li span {
  color: var(--color-text-muted);
}

/* ─────────────────────────────────────────
   CTA / FOOTER
────────────────────────────────────────── */
.cta-section {
  background-color: var(--color-primary-dark) !important;
  padding-top: 90px;
  padding-bottom: 90px;
}

.cta-section .cta-box {
  background: transparent !important;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.cta-section .section-title h2 { color: var(--color-white) !important; }
.cta-section .section-title p { color: rgba(255, 255, 255, 0.85) !important; }

.footer {
  background-color: var(--color-primary-dark) !important;
  color: var(--color-white);
  border-top: var(--border-subtle);
  padding-bottom: 2.5rem;
}

.footer-top {
  padding-bottom: 2.5rem;
}

.footer .footer-widget .logo a img {
  max-height: 44px;
  filter: none;
}

.footer .footer-widget .desc,
.footer .footer-widget .links li a {
  color: rgba(255, 255, 255, 0.75) !important;
}

.footer .footer-widget .links li a:hover {
  color: var(--color-white) !important;
}

.footer .footer-widget h3 {
  color: var(--color-white) !important;
  margin-bottom: 1rem;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: grid;
  gap: 0.65rem;
}

.footer-contact li {
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--color-white);
  font-size: 1rem;
  margin-top: 0.15rem;
}

.footer .footer-widget .social-links li a {
  background: rgba(255, 255, 255, 0.12) !important;
  color: var(--color-white) !important;
  border-radius: 8px;
}

.footer .footer-widget .social-links li a:hover {
  background: var(--color-white) !important;
  color: var(--color-primary-dark) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.25rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
  color: var(--color-white);
}

/* ─────────────────────────────────────────
   FORMULARIOS
────────────────────────────────────────── */
.contact-form .form-label { color: var(--color-text) !important; font-weight: 500; margin-bottom: 0.5rem; }

.form-control,
.contact-form .form-control {
  border: var(--border-muted) !important;
  border-radius: 0 !important;
  padding: 0.75rem 1rem;
  color: var(--color-text) !important;
  background: var(--color-white) !important;
}

.form-control:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 2px rgba(7, 73, 139, 0.15) !important;
  outline: none;
}

.form-control::placeholder { color: var(--color-text-muted); }
.contact-form .main-btn { width: 100%; padding: 1rem; margin-top: 0.5rem; border-radius: 0 !important; }

.legal-text { font-size: 0.8rem; color: var(--color-text-muted) !important; margin-top: 1rem; }
.form-section-title { color: var(--color-text) !important; font-size: 1.25rem; font-weight: 700; margin-bottom: 1.5rem; text-align: center; }

/* ─────────────────────────────────────────
   HERO INTERNO / SCROLL / PRELOADER
────────────────────────────────────────── */
.page-hero {
  padding: 160px 0 80px;
  background: var(--color-white) !important;
  border-bottom: var(--border-subtle);
}

.page-hero .section-title h1,
.page-hero .section-title h2 { color: var(--color-text) !important; font-size: 2.25rem; }

@media (min-width: 768px) {
  .page-hero .section-title h1,
  .page-hero .section-title h2 { font-size: 2.75rem; }
}

.page-hero .section-title p { color: var(--color-text-muted) !important; }

.scroll-top { background: var(--color-primary) !important; color: var(--color-white) !important; border-radius: 0 !important; }
.scroll-top:hover { background: var(--color-primary-dark) !important; color: var(--color-white) !important; }

.preloader { background: var(--color-white) !important; }
.preloader .loader .spinner-circle,
.preloader .loader .spinner-left .spinner-circle,
.preloader .loader .spinner-right .spinner-circle {
  border-color: var(--color-primary) var(--color-primary) rgba(3, 33, 56, 0.2) !important;
}

/* ─────────────────────────────────────────
   BOOTSTRAP OVERRIDES
────────────────────────────────────────── */
.btn-primary,
.btn-secondary,
.btn-success,
.btn-info,
.btn-warning,
.btn-danger,
.btn-light,
.btn-dark,
a.btn {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: var(--color-white) !important;
  border-radius: 0 !important;
}

.btn-primary:hover,
a.btn:hover {
  background-color: var(--color-primary-dark) !important;
  border-color: var(--color-primary-dark) !important;
  color: var(--color-white) !important;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ─────────────────────────────────────────
   MODERN REDESIGN (radical)
────────────────────────────────────────── */
body {
  background: var(--color-white);
}

.topbar {
  background: var(--color-primary-dark);
  color: var(--color-white);
  font-size: 0.85rem;
  height: 36px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1002;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.topbar-left,
.topbar-right {
  color: rgba(255, 255, 255, 0.8);
}

.header .navbar-area,
.header .navbar-area.sticky {
  top: var(--topbar-height);
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  box-shadow: 0 10px 30px rgba(3, 33, 56, 0.12) !important;
  border-bottom: none;
}

.navbar .navbar-brand img {
  max-height: 40px;
}

.navbar .navbar-brand {
  background: none !important;
}

.navbar .navbar-brand::before,
.navbar .navbar-brand::after {
  display: none !important;
}

@media (max-width: 991px) {
  .header .navbar-area,
  .header .navbar-area.sticky {
    height: auto;
    padding: 12px 0;
  }
}

.hero-section {
  position: relative;
  background: var(--color-white) !important;
  color: var(--color-text);
  padding-top: 140px;
  padding-bottom: 120px;
  overflow: hidden;
}

.hero-section::before,
.hero-section::after {
  display: none !important;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-section .hero-content h1,
.hero-section .hero-content p,
.hero-section .section-eyebrow {
  color: var(--color-text) !important;
}

.hero-buttons .main-btn {
  box-shadow: 0 10px 24px rgba(3, 33, 56, 0.2);
}

.feature-section {
  background-color: var(--color-white) !important;
}

.bg-section-custom {
  background-color: var(--color-bg-section) !important;
}

.info-card,
.problem-card,
.industry-card,
.pricing-card,
.metric-item {
  background: var(--color-white) !important;
  border: none !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 40px rgba(3, 33, 56, 0.12) !important;
}

.problem-card-icon {
  border-radius: 999px !important;
  background: var(--color-primary) !important;
}

.single-feature {
  background: var(--color-white);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 12px 30px rgba(3, 33, 56, 0.1) !important;
  height: 100%;
}

.single-feature .feature-icon::before,
.single-feature .feature-icon::after {
  border-radius: 12px !important;
}

.cta-section {
  background: var(--color-white) !important;
}

.cta-section .cta-box {
  background: var(--color-white) !important;
  border: 2px solid rgba(3, 33, 56, 0.2);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(3, 33, 56, 0.08);
}

.footer {
  background: var(--color-primary-dark) !important;
}

.scroll-top {
  display: none !important;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 28px;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: #25D366;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  box-shadow: 0 14px 32px rgba(3, 33, 56, 0.28);
  z-index: 999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: whatsapp-pulse 2.2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 36px rgba(3, 33, 56, 0.32);
}

@keyframes whatsapp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =========================
   LAYOUT EXACTO (capturas)
========================= */
.layout-moblit {
  font-family: var(--font-family) !important;
  color: var(--color-text);
  padding-top: 0;
}

.layout-moblit .header-clean {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--color-white);
  border-bottom: 1px solid rgba(11, 90, 166, 0.12);
  padding: 0.75rem 0;
}

.layout-moblit .navbar-brand img {
  max-height: 48px;
  height: 48px;
  width: auto;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.header-clean .navbar-brand img {
  max-height: 52px;
  height: 52px;
}

.layout-moblit .nav-link {
  color: var(--color-text) !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.layout-moblit .nav-link.active {
  color: var(--color-primary) !important;
}

.layout-moblit .nav-social {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text) !important;
}

@media (max-width: 991px) {
  .layout-moblit .navbar-nav {
    gap: 0.75rem;
  }

  .layout-moblit .navbar-nav .nav-item {
    width: 100%;
  }

  .layout-moblit .navbar-nav .nav-social {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(11, 90, 166, 0.2);
  }

  .layout-moblit .navbar-nav .nav-social-group {
    display: flex;
    gap: 0.75rem;
    padding-top: 0.5rem;
  }
}

.layout-moblit .hero-simple {
  padding: 4.75rem 0 3.75rem;
}

.layout-moblit .hero-simple h1 {
  color: var(--color-text);
  animation: fadeUp 0.8s ease both;
  line-height: 1.18;
}

.layout-moblit .hero-simple p {
  color: var(--color-text-muted);
  margin-top: 1rem;
  animation: fadeUp 0.9s ease both;
}

/* Hero: texto e imágenes juntos, sin hueco grande en medio */
@media (min-width: 992px) {
  .hero-simple-row > .col-lg-6:first-child {
    padding-right: 0.75rem;
    position: relative;
    z-index: 2;
  }
  .hero-simple-row > .col-lg-6:last-child {
    padding-left: 0.5rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  animation: fadeUp 1s ease both;
}

.btn-primary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #1996FF 0%, #0B5AA6 100%);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-outline-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 2px solid #0B5AA6;
  color: #0B5AA6 !important;
  font-weight: 600;
  font-size: 0.85rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary-pill:hover,
.btn-primary-pill:focus,
.btn-primary-pill:active {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(11, 90, 166, 0.2);
}

.btn-outline-pill:hover,
.btn-outline-pill:focus,
.btn-outline-pill:active {
  color: #0B5AA6 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(11, 90, 166, 0.2);
}

.btn-primary-pill::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  animation: shimmer 3.2s ease-in-out infinite;
}

.hero-circles {
  position: relative;
  display: grid;
  grid-template-columns: 210px 175px;
  justify-content: end;
  gap: 2.25rem;
}

/* Hero: solo 2 círculos grandes (portada1 / portada2) */
.hero-circles-portada {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.95rem 1.1rem;
  max-width: 100%;
  width: 100%;
  margin-left: 0;
}

.hero-circle {
  border-radius: 50%;
  background: #E9EEF5;
  width: 175px;
  height: 175px;
  display: grid;
  place-items: center;
  color: #9AA6B2;
  font-weight: 600;
  overflow: hidden;
  animation: floatSoft 4s ease-in-out infinite;
}

.hero-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-circle-lg {
  width: 210px;
  height: 210px;
  animation: floatSoft 4.5s ease-in-out infinite;
  animation-delay: 0.3s;
}

.hero-circle-offset {
  margin-left: 3rem;
  animation: floatSoft 4s ease-in-out infinite;
  animation-delay: 0.6s;
}

.hero-circle-portada {
  flex-shrink: 0;
  width: clamp(165px, 22vw, 235px);
  height: clamp(165px, 22vw, 235px);
  min-width: 0;
  min-height: 0;
  border-radius: 50%;
  box-shadow: 0 18px 52px rgba(11, 46, 91, 0.2);
  border: 5px solid #fff;
  animation: floatSoftHero 5.5s ease-in-out infinite;
}

.hero-circle-portada--2 {
  animation-delay: 0.75s;
  margin-top: 0;
  animation-duration: 6s;
}

.hero-circle-portada--3 {
  animation-delay: 1.15s;
  margin-top: 0;
  animation-duration: 6s;
}

/* Menos desplazamiento horizontal para no invadir el texto */
@keyframes floatSoftHero {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-10px); }
  50% { transform: translateY(4px); }
  75% { transform: translateY(-5px); }
}

/* Desktop: acomodar 3 círculos (2 arriba, 1 centrado abajo) */
@media (min-width: 992px) {
  .hero-circles-portada {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    grid-template-rows: auto auto;
    justify-content: end;
    align-items: start;
    gap: 0.85rem 0.95rem;
  }

  /* Tamaño grande, pero pensado para que quepan 2 por fila */
  .hero-circle-portada {
    width: clamp(190px, 18vw, 255px);
    height: clamp(190px, 18vw, 255px);
  }

  /* Posiciones: 1 (arriba izq), 2 (arriba der), 3 (abajo centrado) */
  .hero-circle-portada {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
  }
  .hero-circle-portada--2 {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .hero-circle-portada--3 {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
  }
}

/* Tablet/Móvil: permitir wrap sin forzar fila única */
@media (max-width: 991px) {
  .hero-circles-portada {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem 1.1rem;
  }
  .hero-circle-portada--3 {
    margin-top: 0;
  }
}

@media (min-width: 992px) {
  .hero-circle-portada {
    width: clamp(200px, 18vw, 265px);
    height: clamp(200px, 18vw, 265px);
  }
}

@media (min-width: 1200px) {
  .hero-circle-portada {
    width: clamp(220px, 16vw, 285px);
    height: clamp(220px, 16vw, 285px);
  }
}

@media (min-width: 1400px) {
  .hero-circle-portada {
    width: 280px;
    height: 280px;
  }
}

.problems-clean {
  padding: 2.5rem 0 3rem;
}

.problems-clean .section-title h2 {
  color: var(--color-text);
}

.problems-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.problem-card-alt {
  border-radius: 18px;
  padding: 2.5rem 1.75rem 1.75rem;
  text-align: center;
  position: relative;
  min-height: 180px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.problem-card-alt .problem-icon {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  color: #0B5AA6;
  box-shadow: 0 8px 18px rgba(11, 90, 166, 0.2);
}

.card-blue {
  background: linear-gradient(180deg, #1E95FF 0%, #0B3C78 100%);
  color: #fff;
}

.card-soft {
  background: #EAF2FB;
  color: var(--color-text);
}

.problem-card-alt:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(11, 90, 166, 0.2);
}

.card-blue p,
.card-blue h3 {
  color: #fff !important;
}

.ai-strip {
  background: #0B3C78;
  padding: 1.75rem 0;
  color: #fff;
}

.ai-strip-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: center;
}

.ai-strip-media {
  background: #154A92;
  border-radius: 16px;
  height: 170px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.ai-strip-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.ai-strip p {
  color: #fff;
}

.values-strip {
  padding: 3rem 0;
}

.values-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.value-item {
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.value-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at top, #2D8AE5 0%, #0B5AA6 70%);
  color: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  font-size: 1.8rem;
  box-shadow: 0 12px 24px rgba(11, 90, 166, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.value-item:hover {
  transform: translateY(-6px);
}

.value-item:hover .value-icon {
  transform: scale(1.04);
  box-shadow: 0 16px 32px rgba(11, 90, 166, 0.25);
}

.industries-clean {
  padding: 3rem 0;
}

.small-label {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.industries-grid {
  display: grid;
  gap: 1.75rem;
}

.industries-carousel {
  margin-top: 1.5rem;
  position: relative;
  overflow: visible;
  padding-left: 3.5rem;
  padding-right: 3.5rem;
}

@media (max-width: 991px) {
  .industries-carousel {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media (max-width: 575px) {
  .industries-carousel {
    padding-left: 2.75rem;
    padding-right: 2.75rem;
  }
}

/* Puntos (2 grupos de industrias) */
.industries-carousel-indicators {
  position: static;
  margin: 0 auto 1rem;
  justify-content: center;
  gap: 0.5rem;
}

.industries-carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(11, 90, 166, 0.35);
  opacity: 1;
  margin: 0;
}

.industries-carousel-indicators .active {
  background: #0B5AA6;
  transform: scale(1.15);
}

.industries-clean .btn-primary-pill {
  margin-top: 2.25rem;
}

/* Texto "Y más....." + subtítulo y menú desplegable de industrias */
.industries-cta {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.industries-mas-block {
  margin-bottom: 1.5rem;
}

.industries-mas-label {
  font-size: 1.6rem !important;
  font-weight: 700;
  color: #0B3C78;
  margin: 0 0 0.5rem 0;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.industries-mas-subtitle {
  font-size: 1.15rem;
  font-weight: 500;
  color: #475569;
  margin: 0 0 1.5rem 0;
  line-height: 1.4;
}

.industries-cta .industries-toggle-btn {
  font-size: 1rem;
  padding: 0.9rem 2rem;
  letter-spacing: 0.03em;
}

.industries-menu-collapse {
  margin-bottom: 1.25rem;
}

.industries-menu-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 2rem;
  max-width: 960px;
  margin: 0 auto;
  text-align: left;
  padding: 2rem 2.5rem;
  background: #f8fafc;
  border-radius: 16px;
  border: 1px solid rgba(11, 90, 166, 0.12);
  box-shadow: 0 4px 20px rgba(11, 90, 166, 0.06);
}

.industries-menu-group {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.industries-menu-group h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0B5AA6;
  margin: 0 0 0.75rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(11, 90, 166, 0.2);
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.industries-menu-group:first-child h4 {
  margin-top: 0;
}

.industries-menu-group:not(:first-child) h4 {
  margin-top: 0;
}

.industries-menu-link {
  display: block;
  font-size: 0.9rem;
  color: #334155;
  padding: 0.4rem 0;
  text-decoration: none;
  transition: color 0.2s;
  border-radius: 6px;
  width: 100%;
  line-height: 1.4;
}

.industries-menu-link:hover {
  color: #0B5AA6 !important;
}

.industries-toggle-btn {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

@media (max-width: 991px) {
  .industries-menu-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
    padding: 1.75rem 1.5rem;
  }
  .industries-menu-group h4 {
    margin-top: 0;
  }
  .industries-menu-group:nth-child(n+3) h4 {
    margin-top: 0.5rem;
  }
}

@media (max-width: 575px) {
  .industries-menu-list {
    grid-template-columns: 1fr;
    gap: 1.25rem 0;
    padding: 1.5rem 1.25rem;
  }
  .industries-menu-group {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(11, 90, 166, 0.08);
  }
  .industries-menu-group:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }
  .industries-menu-group h4 {
    margin-top: 0 !important;
  }
  .industries-menu-group:first-child h4 {
    margin-top: 0;
  }
}

.industries-carousel .carousel-item {
  padding: 1.5rem 0 2.5rem;
}

.industries-carousel .carousel-control-prev,
.industries-carousel .carousel-control-next {
  width: 48px;
  height: 48px;
  top: 50%;
  transform: translateY(-50%);
  background: #0B5AA6;
  border-radius: 50%;
  opacity: 1;
  box-shadow: 0 12px 24px rgba(11, 90, 166, 0.25);
  z-index: 4;
}

.industries-carousel .carousel-control-prev {
  left: 0;
}

.industries-carousel .carousel-control-next {
  right: 0;
}

.industries-carousel .industries-carousel-btn {
  width: 48px;
  height: 48px;
}

.industries-carousel .carousel-control-prev-icon,
.industries-carousel .carousel-control-next-icon {
  filter: brightness(0) invert(1);
}

.industries-carousel .industry-row {
  margin: 0;
}

.industry-flip {
  perspective: 1200px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.industry-flip-inner {
  position: relative;
  width: 100%;
  height: 220px;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
  border-radius: 14px;
}

.industry-flip-front,
.industry-flip-back {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  backface-visibility: hidden;
}

.industry-flip-front {
  background: #E9EEF5;
  color: #9AA6B2;
  font-weight: 600;
  overflow: hidden;
}

.industry-flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.industry-flip-back {
  background: #0B5AA6;
  color: #fff;
  padding: 1.25rem;
  text-align: left;
  transform: rotateY(180deg);
  align-content: center;
}

.industry-flip-back h3 {
  color: #fff !important;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.industry-flip-back ul {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Flip con mouse solo en equipos con hover (evita estados “pegados” en táctil) */
@media (hover: hover) and (pointer: fine) {
  .industry-flip:hover .industry-flip-inner {
    transform: rotateY(180deg);
  }
}

.industry-row {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 2rem;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (max-width: 991px) {
  .industries-carousel .carousel-control-prev,
  .industries-carousel .carousel-control-next {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }
  .industries-carousel .carousel-control-next {
    right: 0;
    left: auto;
  }
  .industries-carousel .carousel-control-prev {
    left: 0;
  }
}

.industry-image {
  background: #E9EEF5;
  height: 200px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #9AA6B2;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.industry-row:hover {
  transform: translateY(-4px);
}

.industry-row:hover .industry-image {
  box-shadow: 0 12px 24px rgba(11, 90, 166, 0.18);
}

.industry-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.industry-content ul {
  list-style: disc;
  padding-left: 1.1rem;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.map-clean {
  padding: 3rem 0;
}

.map-placeholder {
  margin-top: 1.5rem;
  background: #E9EEF5;
  min-height: 420px;
  height: auto;
  border-radius: 12px;
  display: block;
  color: #9AA6B2;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.map-placeholder:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(11, 90, 166, 0.2);
}

.map-placeholder img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  vertical-align: middle;
}

.cta-split-clean {
  background: #0B3C78;
  color: #fff;
  padding: 3rem 0;
}

.cta-split-clean h2,
.cta-split-clean p {
  color: #fff !important;
}

.cta-split-clean h2 {
  margin-bottom: 1rem;
}

.cta-split-clean .btn-primary-pill {
  margin-top: 1.5rem;
}

.cta-image-placeholder {
  background: #154A92;
  min-height: 200px;
  height: auto;
  border-radius: 16px;
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.cta-image-placeholder:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(11, 90, 166, 0.25);
}

.cta-image-placeholder img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  vertical-align: middle;
}

.contact-clean {
  padding: 3rem 0;
}

.contact-clean .container > h2 {
  margin-bottom: 0.5rem;
}

.contact-clean-intro {
  margin-bottom: 1.5rem;
}

.contact-integrated-wrapper {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(11, 90, 166, 0.15);
  overflow: hidden;
  display: flex;
  flex-wrap: nowrap;
  min-height: 480px;
  height: auto;
}

.contact-integrated-wrapper .row {
  width: 100%;
  margin: 0;
  --bs-gutter-x: 0;
  min-height: 480px;
  height: auto;
  align-items: stretch;
}

.contact-integrated-wrapper .col-lg-6 {
  display: flex;
  padding-left: 0;
  padding-right: 0;
  flex: 0 0 50%;
  max-width: 50%;
  min-height: 480px;
  height: auto;
}

.contact-integrated-wrapper .contact-integrated-form {
  box-shadow: none;
  border-radius: 18px 0 0 18px;
  flex: 1;
  min-height: 480px;
  height: auto;
  border-right: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.75rem;
}

.contact-integrated-wrapper .contact-integrated-form h3,
.contact-integrated-wrapper .contact-integrated-form .contact-form {
  width: 100%;
  flex: 0 0 auto;
}

.contact-integrated-wrapper .contact-integrated-form .contact-form {
  max-width: 100%;
}

.contact-integrated-wrapper .contact-integrated-form:hover {
  transform: none;
  box-shadow: none;
}

.contact-integrated-wrapper .contact-integrated-image {
  box-shadow: none;
  background: #f8f9fb;
  border-radius: 0 18px 18px 0;
  flex: 1;
  min-height: 480px;
  height: auto;
  margin-left: 0;
  overflow: hidden;
}

.contact-integrated-wrapper .contact-integrated-image:hover {
  transform: none;
  box-shadow: none;
}

.contact-integrated-wrapper .contact-integrated-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.clean-form-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(11, 90, 166, 0.15);
  padding: 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.clean-form-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(11, 90, 166, 0.2);
}

.clean-form-card h3 {
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.clean-form-card label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.75rem;
}

.clean-form-card input {
  width: 100%;
  border: 1px solid #C7D2E3;
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  margin-top: 0.35rem;
}

.clean-form-card button[type="submit"] {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.form-legal {
  display: block;
  font-size: 0.7rem;
  color: #8896A8;
  margin-top: 1rem;
}

.form-image-placeholder {
  background: #E9EEF5;
  min-height: 340px;
  height: auto;
  border-radius: 18px;
  display: block;
  color: #9AA6B2;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.form-image-placeholder:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(11, 90, 166, 0.2);
}

.form-image-placeholder img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  vertical-align: middle;
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0% { transform: translateX(-120%); }
  60% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

.industry-image::after,
.map-placeholder::after,
.cta-image-placeholder::after,
.form-image-placeholder::after,
.ai-strip-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-120%);
  animation: shimmer 4s ease-in-out infinite;
  pointer-events: none;
}

.final-cta {
  background: linear-gradient(135deg, #0B3C78 0%, #2D8AE5 100%);
  color: #fff;
  padding: 2.5rem 0;
}

.final-cta h2 {
  color: #fff !important;
  margin-bottom: 1.5rem;
}

.final-cta p,
.final-cta span {
  color: #fff !important;
}

.final-cta .btn-primary-pill {
  margin-top: 1rem;
}

.final-cta-box {
  text-align: center;
}

.footer-clean {
  background: #fff;
  padding: 2rem 0 2.5rem;
  color: var(--color-text);
}

.footer-clean p {
  margin-bottom: 0.35rem;
}

/* Footer 4 columnas (Moblit) */
.footer-moblit {
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(11, 60, 120, 0.08);
}

.footer-moblit-brand img {
  max-height: 48px;
  width: auto;
}

.footer-moblit-desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #2563ab;
  margin-bottom: 0;
  max-width: 320px;
}

.footer-moblit-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #0B3C78;
  margin: 0 0 1rem 0;
  letter-spacing: 0.02em;
}

.footer-moblit-links li {
  margin-bottom: 0.5rem;
}

.footer-moblit-links a {
  color: #2563ab;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-moblit-links a:hover {
  color: #0B5AA6;
  text-decoration: underline;
}

.footer-moblit-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2563ab;
  color: #fff !important;
  font-size: 1.15rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-moblit-social-btn:hover {
  background: #0B5AA6;
  color: #fff !important;
  transform: translateY(-2px);
}

.footer-moblit-contact a {
  color: #2563ab;
  text-decoration: none;
}

.footer-moblit-contact a:hover {
  text-decoration: underline;
}

.footer-moblit-contact-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1e293b;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.footer-moblit-email-wrap {
  color: #2563ab;
  font-size: 0.95rem;
  line-height: 1.45;
}

.footer-moblit-bottom {
  border-top: 1px solid rgba(11, 60, 120, 0.08);
  color: #64748b;
}

/* Carrusel industrias: transición más fluida (intervalo 5s en HTML) */
.industries-carousel.carousel-fade .carousel-item {
  transition: opacity 0.85s ease-in-out;
}

/* Tarjetas industria: táctil (mantener pulsado para ver reverso en móvil) */
@media (hover: none), (pointer: coarse) {
  .industry-flip:active .industry-flip-inner {
    transform: rotateY(180deg);
  }
}

@media (hover: hover) and (pointer: fine) {
  .industry-flip:active .industry-flip-inner {
    transform: none;
  }
}

/* ─────────────────────────────────────────
   MÓVIL: industrias, footer, WhatsApp, safe area
────────────────────────────────────────── */
@media (max-width: 991px) {
  #industrias.industries-clean,
  .industries-clean {
    overflow-x: hidden;
  }

  .industries-clean {
    padding: 2.25rem 0 2.5rem;
  }

  .industries-clean h2 {
    font-size: 1.4rem !important;
    line-height: 1.25;
    padding: 0 0.75rem;
  }

  .industries-carousel {
    padding-left: 2.65rem;
    padding-right: 2.65rem;
    margin-top: 1.25rem;
  }

  .industries-carousel .carousel-item {
    padding: 0.85rem 0 1.5rem;
  }

  .industries-carousel .carousel-control-prev,
  .industries-carousel .carousel-control-next {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .industries-carousel .industries-carousel-btn {
    width: 44px;
    height: 44px;
  }

  .industry-flip-inner {
    height: 200px;
  }

  .industries-carousel-indicators {
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
    padding: 0 0.5rem;
  }

  .footer-moblit {
    padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
  }
}

@media (max-width: 575px) {
  .industries-clean {
    padding: 1.75rem 0 2rem;
  }

  .industries-clean h2 {
    font-size: 1.25rem !important;
    padding: 0 0.5rem;
  }

  .industries-carousel {
    padding-left: 2.35rem;
    padding-right: 2.35rem;
  }

  .industries-carousel .carousel-item {
    padding: 0.5rem 0 1.25rem;
  }

  .industries-carousel .carousel-control-prev,
  .industries-carousel .carousel-control-next {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }

  .industries-carousel .industries-carousel-btn {
    width: 40px;
    height: 40px;
  }

  .industry-flip-inner {
    height: min(200px, 52vw);
    max-height: 240px;
  }

  .industry-flip-back {
    padding: 1rem;
  }

  .industry-flip-back ul {
    font-size: 0.8rem;
  }

  .industries-mas-label {
    font-size: 1.3rem !important;
    padding: 0 0.5rem;
  }

  .industries-mas-subtitle {
    font-size: 0.95rem;
    padding: 0 0.75rem;
    line-height: 1.45;
  }

  .industries-cta .industries-toggle-btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    white-space: normal;
    line-height: 1.3;
  }

  /* Footer: legible y centrado en pantallas estrechas */
  .footer-moblit {
    padding-top: 2rem;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
    text-align: center;
  }

  .footer-moblit-brand {
    display: flex !important;
    justify-content: center;
  }

  .footer-moblit-desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.9rem;
  }

  .footer-moblit-social {
    justify-content: center;
  }

  .footer-moblit .footer-moblit-heading {
    margin-top: 1.25rem;
  }

  .footer-moblit .footer-moblit-links {
    text-align: center;
  }

  .footer-moblit-contact li {
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
  }

  .footer-moblit-email-wrap {
    text-align: center;
    display: block;
  }

  .footer-moblit-bottom {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  /* WhatsApp: no tapa el contenido al hacer scroll al final */
  .whatsapp-float {
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: max(16px, env(safe-area-inset-bottom, 8px));
    width: 56px;
    height: 56px;
    font-size: 28px;
  }

  /* Evita solapamiento con botón flotante */
  body.layout-moblit {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}

/* ─────────────────────────────────────────
   VERSIÓN MÓVIL (no modifica escritorio)
────────────────────────────────────────── */
@media (max-width: 991px) {
  /* Hero: texto arriba, círculos abajo y centrados */
  .hero-simple .row {
    flex-direction: column;
    text-align: center;
  }
  .hero-simple-row > .col-lg-6:first-child {
    padding-right: 0;
  }
  .hero-simple-row > .col-lg-6:last-child {
    order: 2;
    margin-top: 2rem;
    padding-left: 0;
    justify-content: center;
  }
  .hero-simple h1 {
    font-size: 1.6rem;
    line-height: 1.3;
  }
  .hero-simple p {
    font-size: 0.95rem;
  }
  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .hero-circles {
    justify-content: center;
    gap: 1.25rem;
  }
  .hero-circles-portada {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-circle-portada {
    width: min(200px, 40vw);
    height: min(200px, 40vw);
    min-width: 0;
    min-height: 0;
  }
  .hero-circle-portada--2 {
    margin-top: 0;
  }
  .hero-circle-offset {
    margin-left: 2rem;
  }

  /* Formulario + imagen: apilados, formulario arriba, sin hueco en blanco */
  .contact-integrated-wrapper {
    height: auto;
    min-height: 0;
    flex-wrap: wrap;
  }
  .contact-integrated-wrapper .row {
    flex-direction: column;
    height: auto;
    min-height: 0;
  }
  .contact-integrated-wrapper .col-lg-6 {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
    height: auto;
    min-height: 0;
  }
  .contact-integrated-wrapper .contact-integrated-form {
    border-radius: 18px;
    min-height: 0;
    height: auto;
    padding-bottom: 1.5rem;
  }
  /* En móvil no se muestra la imagen del formulario, solo en escritorio */
  .contact-integrated-wrapper .contact-integrated-image {
    display: none !important;
  }
  .contact-integrated-wrapper .contact-integrated-image img {
    height: 100%;
    object-fit: cover;
  }

  /* CTA "Cuando una empresa usa Field Service": texto e imagen apilados */
  .cta-split-clean .row {
    flex-direction: column;
    text-align: center;
  }
  .cta-split-clean .col-lg-6 {
    margin-bottom: 1rem;
  }
  .cta-split-clean h2 {
    font-size: 1.4rem;
  }
  .cta-image-placeholder {
    max-height: 320px;
  }
  .cta-image-placeholder img {
    max-height: 320px;
    object-fit: contain;
  }

  /* AI strip: imagen arriba, texto abajo */
  .ai-strip-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .ai-strip-media {
    max-width: 280px;
    margin: 0 auto;
    height: 160px;
  }

  /* Mapa: altura razonable en móvil */
  .map-placeholder {
    min-height: 280px;
  }

  /* Valores agregados: tarjetas en una columna más legible */
  .values-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Problemas: una columna en pantallas muy estrechas */
  .problems-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .hero-simple {
    padding: 2.5rem 0 2rem;
  }
  .hero-simple h1 {
    font-size: 1.35rem;
  }
  /* Hero: 2 círculos portada en fila (móvil) */
  .hero-circles {
    grid-template-columns: repeat(3, auto);
    justify-items: center;
    justify-content: center;
    gap: 0.6rem;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-circles-portada {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.65rem;
    max-width: 100%;
    padding: 0 0.15rem;
  }
  .hero-circle-portada {
    width: min(100px, 28vw);
    height: min(100px, 28vw);
    min-width: 0;
    min-height: 0;
    border-width: 4px;
    box-shadow: 0 12px 32px rgba(11, 46, 91, 0.18);
  }
  .hero-circle-portada--2 {
    margin-top: 0;
    animation-duration: 5.5s;
  }
  .hero-circle,
  .hero-circle-sm {
    width: 95px;
    height: 95px;
  }
  .hero-circle-lg {
    width: 105px;
    height: 105px;
  }
  .hero-circle-offset {
    margin-left: 0;
  }
  .hero-actions .btn-primary-pill,
  .hero-actions .btn-outline-pill {
    width: 100%;
    display: block;
    text-align: center;
  }

  .contact-clean .container > h2 {
    font-size: 1.4rem;
  }
  .contact-clean {
    padding-bottom: 2rem;
  }

  .cta-split-clean {
    padding: 2rem 0;
  }
  .cta-split-clean h2 {
    font-size: 1.2rem;
  }
  .map-clean h2 {
    font-size: 1.2rem;
  }
  .map-placeholder {
    min-height: 220px;
  }
  .values-strip h2 {
    font-size: 1.35rem;
  }
  .final-cta-box h2 {
    font-size: 1.25rem;
  }
  .section-title h2 {
    font-size: 1.4rem;
  }
  .problems-clean .section-title h2 {
    font-size: 1.35rem;
  }
}

/* ─────────────────────────────────────────
   MODAL SOLICITAR DEMO
────────────────────────────────────────── */
/* Fondo apagado al abrir el modal */
.modal-backdrop {
  background-color: #000 !important;
  opacity: 0.6 !important;
}
.modal-backdrop.fade.show {
  opacity: 0.6 !important;
}

#demoModal.modal.show {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1rem;
  overflow-y: auto;
}

#demoModal .modal-dialog {
  max-width: 480px;
  margin: auto;
  width: 100%;
  max-height: calc(100vh - 2rem);
  display: flex;
  align-items: center;
}

#demoModal .modal-content {
  width: 100%;
  max-height: calc(100vh - 2rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.demo-modal-content {
  background: #fff;
  border-radius: 16px;
  border: none;
  box-shadow: 0 24px 48px rgba(11, 90, 166, 0.2);
  position: relative;
  padding-top: 2.5rem;
  max-height: inherit;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.demo-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(11, 90, 166, 0.08);
  color: #0B3C78;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 10;
  transition: background 0.2s, color 0.2s;
}

.demo-modal-close:hover,
.demo-modal-close:focus,
.demo-modal-close:active {
  background: rgba(11, 90, 166, 0.15);
  color: #0B3C78 !important;
}

#demoModal .modal-body {
  padding: 0 2rem 2rem;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.demo-modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0B3C78;
  margin-bottom: 1.5rem;
  padding-right: 2rem;
  line-height: 1.35;
}

.demo-modal-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0B3C78;
  margin-top: 1rem;
  margin-bottom: 0.35rem;
}

.demo-modal-form label:first-of-type {
  margin-top: 0;
}

.demo-modal-form input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #A8C5E8;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #1a1a1a;
  background: #fff;
  transition: border-color 0.2s;
}

.demo-modal-form input:focus {
  outline: none;
  border-color: #0B3C78;
  box-shadow: 0 0 0 3px rgba(11, 90, 166, 0.12);
}

.demo-modal-form input::placeholder {
  color: #7a8fa8;
}

.demo-modal-btn {
  width: 100%;
  margin-top: 1.5rem;
  padding: 0.85rem 1.5rem;
  background: #2D8AE5;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.demo-modal-btn:hover,
.demo-modal-btn:focus,
.demo-modal-btn:active {
  background: #0B5AA6;
  color: #fff !important;
}

.demo-modal-legal {
  font-size: 0.75rem;
  color: #6B7C8F;
  margin-top: 1rem;
  margin-bottom: 0;
  line-height: 1.4;
}

/* ─────────────────────────────────────────
   MONITOREO – diseño mejorado
────────────────────────────────────────── */
.monitoreo-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, #f0f4f9 0%, #e8eef6 50%, #f5f8fc 100%);
  position: relative;
}

.monitoreo-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11, 90, 166, 0.15), transparent);
}

.monitoreo-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #0B3C78;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.monitoreo-label::before,
.monitoreo-label::after {
  content: "";
  display: inline-block;
  width: 52px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #0B3C78, transparent);
  opacity: 0.9;
}

.monitoreo-title {
  text-align: center;
  font-size: 2.35rem;
  font-weight: 800;
  color: #0B3C78;
  margin-bottom: 1rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.monitoreo-title br {
  display: block;
  content: "";
}

.monitoreo-subtitle {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 400;
  color: #475569;
  margin-bottom: 2.5rem;
  line-height: 1.55;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.monitoreo-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(11, 90, 166, 0.08), 0 12px 48px rgba(11, 90, 166, 0.06);
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto;
  border: 1px solid rgba(11, 90, 166, 0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.monitoreo-card:hover {
  box-shadow: 0 8px 32px rgba(11, 90, 166, 0.12), 0 20px 56px rgba(11, 90, 166, 0.08);
}

.monitoreo-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #fff 0%, #fafbfd 100%);
}

.monitoreo-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0B3C78;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.monitoreo-card-title i {
  color: #dc3545;
  font-size: 1.15rem;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.06));
}

.monitoreo-live {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #198754;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.5rem;
  background: rgba(25, 135, 84, 0.08);
  border-radius: 6px;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #198754;
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
  box-shadow: 0 0 0 2px rgba(25, 135, 84, 0.2);
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

.monitoreo-map-area {
  min-height: 320px;
  background: #eef2f7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
}

.monitoreo-map-area::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.2) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.monitoreo-map-area img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  display: block;
  position: relative;
  z-index: 1;
}

.monitoreo-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #fafbfd 0%, #fff 100%);
}

.monitoreo-stat {
  padding: 1.5rem 1rem;
  text-align: center;
  border-right: 1px solid #e2e8f0;
  transition: background 0.2s ease;
}

.monitoreo-stat:hover {
  background: rgba(11, 90, 166, 0.03);
}

.monitoreo-stat:last-child {
  border-right: none;
}

.monitoreo-stat-num {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: #0B3C78;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.monitoreo-stat-label {
  font-size: 0.7rem;
  color: #64748b;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Tu Operación en México – diseño mejorado */
.operacion-mexico-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, #fff 0%, #f5f8fc 50%, #fff 100%);
  position: relative;
}

.operacion-mexico-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(11, 90, 166, 0.08), 0 12px 48px rgba(11, 90, 166, 0.06);
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto;
  border: 1px solid rgba(11, 90, 166, 0.1);
  transition: box-shadow 0.3s ease;
}

.operacion-mexico-card:hover {
  box-shadow: 0 8px 32px rgba(11, 90, 166, 0.12), 0 20px 56px rgba(11, 90, 166, 0.08);
}

/* Barra blanca con línea azul abajo */
.operacion-mexico-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.5rem;
  background: linear-gradient(180deg, #fff 0%, #fafbfd 100%);
  border-bottom: 3px solid #2D8AE5;
  box-shadow: 0 1px 0 rgba(45, 138, 229, 0.2);
}

.operacion-mexico-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0B3C78;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.operacion-mexico-title i {
  color: #2D8AE5;
  font-size: 1.2rem;
  opacity: 0.95;
}

/* Título en 2 líneas (como la captura) */
.operacion-mexico-title-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.operacion-mexico-title-text .op-title-main {
  font-weight: 800;
  color: #0B3C78;
}

.operacion-mexico-title-text .op-title-sub {
  font-size: 0.85rem;
  font-weight: 500;
  color: #475569;
  margin-top: 0.15rem;
}

.operacion-live {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #198754;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.5rem;
  background: rgba(25, 135, 84, 0.08);
  border-radius: 6px;
}

/* Área del mapa: se ve completo, sin datos abajo (la foto ya los trae) */
.operacion-mexico-map {
  background: linear-gradient(160deg, #0B3C78 0%, #0d4a8f 50%, #0B3C78 100%);
  padding: 0;
  display: block;
  position: relative;
  overflow: hidden;
  height: 440px;
}

.operacion-mexico-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.operacion-mexico-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Recorta la parte superior donde la imagen trae el título */
  object-position: center 70%;
  display: block;
  position: relative;
  z-index: 1;
  vertical-align: middle;
}

@media (max-width: 767px) {
  .operacion-mexico-map {
    height: 320px;
  }
}

/* Datos debajo del mapa México (14 EN TIEMPO, 8 POR VENCER, 10 VENCIDOS) */
.operacion-mexico-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border-top: 1px solid #e2e8f0;
}

.op-metric {
  padding: 1.5rem 1rem;
  text-align: center;
  border-right: 1px solid #e2e8f0;
  transition: background 0.2s ease;
}

.op-metric:hover {
  background: rgba(11, 90, 166, 0.03);
}

.op-metric:last-child {
  border-right: none;
}

.op-num {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.op-metric-green .op-num { color: #198754; }
.op-metric-amber .op-num { color: #fd7e14; }
.op-metric-red .op-num { color: #dc3545; }

.op-label {
  font-size: 0.7rem;
  color: #475569;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* =========================
   SECCIÓN ACTIVIDADES (debajo de industrias)
========================= */
.actividades-section {
  padding: 4rem 0;
  background: var(--color-white);
}

.actividades-container {
  max-width: 1160px;
}

.actividades-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.actividades-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 1rem;
  font-family: var(--font-family) !important;
}

.actividades-eyebrow::before,
.actividades-eyebrow::after {
  content: "";
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--color-primary-light);
  border-radius: 2px;
}

.actividades-title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.9rem;
  font-family: var(--font-family) !important;
}

.actividades-title em {
  font-style: normal;
  color: var(--color-primary-light);
}

.actividades-desc {
  font-size: 0.97rem;
  color: var(--color-text-muted);
  font-weight: 500;
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.65;
  font-family: var(--font-family) !important;
}

/* Grid: 2 anchas + 2 altas */
.actividades-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 340px 340px;
  gap: 14px;
}

.actividades-grid .act-1 { grid-column: 1 / 3; grid-row: 1; }
.actividades-grid .act-2 { grid-column: 3 / 4; grid-row: 1; }
.actividades-grid .act-3 { grid-column: 1 / 2; grid-row: 2; }
.actividades-grid .act-4 { grid-column: 2 / 4; grid-row: 2; }

.actividad-card {
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: transform 0.32s cubic-bezier(0.22, 0.68, 0, 1.15), box-shadow 0.32s ease;
  box-shadow: 0 4px 28px rgba(11, 31, 74, 0.12);
  animation: actividadesRise 0.54s ease both;
}

.actividad-card:nth-child(1) { animation-delay: 0.07s; }
.actividad-card:nth-child(2) { animation-delay: 0.16s; }
.actividad-card:nth-child(3) { animation-delay: 0.25s; }
.actividad-card:nth-child(4) { animation-delay: 0.34s; }

@keyframes actividadesRise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.actividad-card:hover {
  transform: translateY(-6px) scale(1.012);
  box-shadow: 0 22px 56px rgba(11, 31, 74, 0.2);
}

.actividad-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.actividad-card:hover .actividad-img {
  transform: scale(1.06);
}

.actividad-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 22, 53, 0.88) 0%,
    rgba(8, 22, 53, 0.45) 45%,
    rgba(8, 22, 53, 0.1) 100%
  );
  z-index: 1;
  transition: background 0.3s;
}

.actividad-card:hover::after {
  background: linear-gradient(
    to top,
    rgba(8, 22, 53, 0.92) 0%,
    rgba(8, 22, 53, 0.52) 50%,
    rgba(8, 22, 53, 0.14) 100%
  );
}

.actividad-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem 1.6rem;
}

.actividad-tag {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  padding: 5px 13px 5px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  font-family: var(--font-family) !important;
}

.actividad-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary-light);
  flex-shrink: 0;
  animation: actividadesPulse 2s infinite;
}

@keyframes actividadesPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}

.actividad-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff !important;
  margin-bottom: 0.4rem;
  font-family: var(--font-family) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.actividad-content .actividad-title,
.actividad-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff !important;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  font-family: var(--font-family) !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.act-1 .actividad-title,
.act-4 .actividad-title {
  font-size: 1.7rem;
}

.actividad-desc {
  font-size: 0.835rem;
  color: rgba(255, 255, 255, 0.95) !important;
  line-height: 1.6;
  font-weight: 500;
  max-width: 420px;
  font-family: var(--font-family) !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.actividad-industries {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 0.9rem;
}

.actividad-pill {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  font-family: var(--font-family) !important;
}

.actividad-card:hover .actividad-pill {
  background: rgba(45, 138, 229, 0.25);
  border-color: rgba(45, 138, 229, 0.4);
  color: #fff;
}

@media (max-width: 820px) {
  .actividades-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .actividades-grid .act-1 { grid-column: 1 / 3; grid-row: auto; }
  .actividades-grid .act-2 { grid-column: 1 / 2; grid-row: auto; }
  .actividades-grid .act-3 { grid-column: 2 / 3; grid-row: auto; }
  .actividades-grid .act-4 { grid-column: 1 / 3; grid-row: auto; }
  .actividad-card { min-height: 300px; }
}

@media (max-width: 500px) {
  .actividades-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .actividades-grid .act-1,
  .actividades-grid .act-2,
  .actividades-grid .act-3,
  .actividades-grid .act-4 {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .actividad-card { min-height: 280px; }
}

/* Beneficios ¿Por qué Usar Moblit? – diseño mejorado */
.beneficios-section {
  padding: 4rem 0 0.5rem 0;
  background: #eef2f7;
  position: relative;
}

.beneficios-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11, 90, 166, 0.12), transparent);
}

.beneficios-main-title {
  text-align: center;
  font-size: 1.85rem;
  font-weight: 800;
  color: #0B3C78;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.beneficios-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #2D8AE5;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.beneficios-label::before,
.beneficios-label::after {
  content: "";
  display: inline-block;
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2D8AE5, transparent);
  opacity: 0.8;
}

.beneficios-heading {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: #0B3C78;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.beneficios-subtitle {
  text-align: center;
  font-size: 1rem;
  color: #475569;
  margin-bottom: 1.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.beneficios-cards {
  max-width: 740px;
  margin: 0 auto;
}

/* =========================
   BENEFICIOS v2 – colores de la página, fondo blanco, animaciones
========================= */
@keyframes beneficioFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.beneficios-section.beneficios-v2 {
  padding: 4.25rem 0 4rem 0;
  background: var(--color-white);
}

.beneficios-v2 .beneficios-label {
  margin-bottom: 0.9rem;
}

.beneficios-v2 .beneficios-main-title {
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

.beneficios-v2 .beneficios-subtitle {
  margin-bottom: 2.25rem;
}

.beneficios-tiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.beneficio-tile {
  position: relative;
  border-radius: 18px;
  padding: 1.25rem 1.25rem 1.35rem;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(11, 90, 166, 0.1);
  box-shadow: 0 4px 20px rgba(11, 90, 166, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  animation: beneficioFadeUp 0.6s ease both;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s ease;
}

.beneficio-tile:nth-child(1) { animation-delay: 0.05s; }
.beneficio-tile:nth-child(2) { animation-delay: 0.12s; }
.beneficio-tile:nth-child(3) { animation-delay: 0.19s; }
.beneficio-tile:nth-child(4) { animation-delay: 0.26s; }
.beneficio-tile:nth-child(5) { animation-delay: 0.33s; }

.beneficio-tile.is-light {
  background: var(--color-white);
  color: var(--color-text);
}

.beneficio-tile.is-dark {
  background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  border-color: rgba(11, 90, 166, 0.25);
  box-shadow: 0 8px 28px rgba(6, 48, 109, 0.2);
}

.beneficio-chip {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  flex: 0 0 auto;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.beneficio-tile.is-light .beneficio-chip {
  background: linear-gradient(145deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, var(--color-primary-light) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(11, 90, 166, 0.25);
}

.beneficio-tile.is-dark .beneficio-chip {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.beneficio-tile:hover .beneficio-chip {
  transform: scale(1.05);
}

.beneficio-tile h3 {
  margin-top: 1rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.beneficio-tile.is-dark h3 { color: #fff !important; }
.beneficio-tile.is-light h3 { color: var(--color-navy) !important; }

.beneficio-tile p {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 26ch;
}

.beneficio-tile.is-dark p { color: rgba(255, 255, 255, 0.88) !important; }
.beneficio-tile.is-light p { color: var(--color-text-muted) !important; }

.beneficio-watermark {
  position: absolute;
  right: 14px;
  bottom: -10px;
  font-size: 6.5rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.beneficio-tile.is-dark .beneficio-watermark {
  color: rgba(255, 255, 255, 0.06);
}

.beneficio-tile.is-light .beneficio-watermark {
  color: rgba(11, 90, 166, 0.05);
}

.beneficio-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(11, 90, 166, 0.12);
  border-color: rgba(11, 90, 166, 0.18);
}

.beneficio-tile.is-dark:hover {
  box-shadow: 0 14px 36px rgba(6, 48, 109, 0.28);
}

.beneficio-tile:hover .beneficio-watermark {
  opacity: 0.7;
}

@media (max-width: 991px) {
  .beneficios-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .beneficios-tiles {
    grid-template-columns: repeat(5, minmax(250px, 1fr));
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .beneficio-tile {
    scroll-snap-align: start;
  }
}

.beneficio-card {
  display: flex;
  align-items: flex-start;
  gap: 1.35rem;
  background: #fff;
  border-radius: 16px;
  padding: 1.6rem 1.75rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 16px rgba(11, 90, 166, 0.06), 0 8px 32px rgba(11, 90, 166, 0.06);
  border: 1px solid rgba(11, 90, 166, 0.08);
  border-left: 4px solid #2D8AE5;
  transition: box-shadow 0.3s ease, transform 0.25s ease, border-color 0.25s ease, border-left-color 0.25s ease;
}

.beneficio-card:hover {
  box-shadow: 0 8px 28px rgba(11, 90, 166, 0.12), 0 16px 48px rgba(11, 90, 166, 0.08);
  transform: translateY(-2px);
  border-color: rgba(11, 90, 166, 0.15);
  border-left-color: #0B5AA6;
}

.beneficio-num {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: linear-gradient(145deg, #0B5AA6 0%, #2D8AE5 50%, #3d9aff 100%);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(45, 138, 229, 0.35);
}

.beneficio-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0B3C78;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.beneficio-content p {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.beneficio-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
  color: #0B3C78;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  border: 1px solid rgba(11, 90, 166, 0.1);
}

.beneficio-arrow:hover {
  background: linear-gradient(145deg, #0B3C78 0%, #0B5AA6 100%);
  color: #fff;
  transform: translateX(4px);
}

/* Beneficios 03-05 + CTA – mismo bloque visual que 01-02 */
.beneficios-extra-section {
  padding: 0 0 4rem 0;
  background: #eef2f7;
  position: relative;
  margin-top: 0;
}

.beneficios-extra-list {
  max-width: 740px;
  margin: 0 auto 2.75rem;
  padding-top: 0;
}

.beneficio-extra-card {
  display: flex;
  align-items: flex-start;
  gap: 1.35rem;
  background: #fff;
  border-radius: 16px;
  padding: 1.6rem 1.75rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 16px rgba(11, 90, 166, 0.06), 0 8px 32px rgba(11, 90, 166, 0.06);
  border: 1px solid rgba(11, 90, 166, 0.08);
  border-left: 4px solid #2D8AE5;
  transition: box-shadow 0.3s ease, transform 0.25s ease, border-color 0.25s ease, border-left-color 0.25s ease;
}

.beneficio-extra-card:hover {
  box-shadow: 0 8px 28px rgba(11, 90, 166, 0.12), 0 16px 48px rgba(11, 90, 166, 0.08);
  transform: translateY(-2px);
  border-left-color: #0B5AA6;
}

.beneficio-extra-num {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: linear-gradient(145deg, #0B5AA6 0%, #2D8AE5 50%, #3d9aff 100%);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(45, 138, 229, 0.35);
}

.beneficio-extra-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0B3C78;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.beneficio-extra-content p {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.beneficio-extra-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
  color: #0B3C78;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  border: 1px solid rgba(11, 90, 166, 0.1);
}

.beneficio-extra-arrow:hover {
  background: linear-gradient(145deg, #0B3C78 0%, #0B5AA6 100%);
  color: #fff;
  transform: translateX(4px);
}

.beneficios-cta-box {
  text-align: center;
  padding: 2.5rem 2rem;
  background: linear-gradient(145deg, rgba(11, 60, 120, 0.04) 0%, rgba(45, 138, 229, 0.06) 100%);
  border-radius: 20px;
  border: 1px solid rgba(11, 90, 166, 0.12);
}

.beneficios-cta-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0B3C78;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.btn-beneficios-demo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  background: linear-gradient(145deg, #0B3C78 0%, #0B5AA6 100%);
  color: #fff !important;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(11, 90, 166, 0.35);
  border: none;
}

.btn-beneficios-demo:hover,
.btn-beneficios-demo:focus,
.btn-beneficios-demo:active {
  background: linear-gradient(145deg, #0B5AA6 0%, #2D8AE5 100%);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(11, 90, 166, 0.4);
}

/* Modal: ajuste a pantallas pequeñas */
@media (max-width: 575px) {
  #demoModal.modal.show {
    padding: 0.5rem;
    align-items: flex-start;
    padding-top: 2rem;
  }
  #demoModal .modal-dialog {
    max-height: calc(100vh - 2.5rem);
    margin: 0 auto;
    align-items: stretch;
  }
  #demoModal .modal-content,
  .demo-modal-content {
    max-height: calc(100vh - 2.5rem);
  }
  #demoModal .modal-body {
    padding: 0 1.25rem 1.5rem;
  }
  .demo-modal-title {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    padding-right: 2.5rem;
  }
  .demo-modal-form label {
    margin-top: 0.75rem;
  }
  .demo-modal-form input {
    padding: 0.55rem 0.75rem;
    font-size: 0.9rem;
  }
  .demo-modal-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .monitoreo-title { font-size: 1.4rem; }
  .monitoreo-stats { grid-template-columns: 1fr; }
  .monitoreo-stat { border-right: none; border-bottom: 1px solid #E9EEF5; }
  .monitoreo-stat:last-child { border-bottom: none; }
  .operacion-mexico-metrics { grid-template-columns: 1fr; }
  .op-metric { border-right: none; border-bottom: 1px solid #e2e8f0; }
  .op-metric:last-child { border-bottom: none; }
  .beneficio-card,
  .beneficio-extra-card { flex-wrap: wrap; }
  .beneficios-cta-box h3 { font-size: 1.2rem; }
}
