/* FLOWTIME - Sitio web de ventas */
:root {
  --primary: #032f51;
  --primary-light: #0d4a75;
  --primary-soft: rgba(3, 47, 81, 0.08);
  --accent: #7ba3c4;
  --cta: #20cec9;
  --cta-hover: #1ab8b3;
  --text: #2d2a26;
  --text-muted: #5c5a55;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --border: rgba(3, 47, 81, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 20px rgba(3, 47, 81, 0.08);
  --shadow-lg: 0 12px 40px rgba(3, 47, 81, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* Top bar: Contacto · Iniciar sesión (discreto, derecha) */
.top-bar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 0.4rem 1.5rem;
  font-size: 0.85rem;
}
.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.top-bar-spacer { flex: 1; }
.top-bar-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.top-bar-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}
.top-bar-nav a:hover {
  color: var(--primary);
  text-decoration: underline;
}
.top-bar-sep {
  color: var(--border);
  font-weight: 400;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 1.5rem;
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--primary);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.site-logo:hover { text-decoration: none; color: var(--primary); }
.site-logo-img {
  height: 48px;
  width: auto;
  max-height: 52px;
  display: block;
  object-fit: contain;
  vertical-align: middle;
}
.site-logo-text {
  display: inline-block;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.site-nav .nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius);
}
.site-nav .nav-link:hover {
  color: var(--primary);
  text-decoration: none;
}
.site-nav .nav-trigger {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.site-nav .nav-trigger:hover,
.site-nav .nav-trigger[aria-expanded="true"] {
  color: var(--primary);
}
.site-nav .nav-trigger::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 0.2rem;
  opacity: 0.7;
}
.nav-item { position: relative; }
.btn-cta-header {
  margin-left: 0.5rem;
  white-space: nowrap;
}

/* Mega menú */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 580px;
  max-width: 90vw;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 200;
}
.nav-dropdown:hover .mega-menu,
.mega-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}
.mega-menu-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
.mega-menu-sectores {
  grid-template-columns: repeat(3, 1fr);
  min-width: 720px;
}
.mega-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s;
}
.mega-item:hover {
  background: var(--primary-soft);
  text-decoration: none;
  color: var(--primary);
}
/* Características: ítems sin enlace (solo texto) */
.mega-item.no-link {
  cursor: default;
}
.mega-icon {
  font-size: 1.35rem;
  line-height: 1;
  color: #20cec9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mega-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}
.mega-item:hover .mega-icon {
  color: #20cec9;
}
.mega-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}
.mega-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.3;
}
.mega-item:hover .mega-desc { color: var(--text); }

/* Botón menú móvil */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: var(--primary-soft);
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 -6px 0 var(--primary), 0 6px 0 var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--cta);
  color: #032f51;
}

.btn-primary:hover {
  background: var(--cta-hover);
  color: #032f51;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-soft);
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 4rem 1.5rem 5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 0 0 2rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Hero estilo control horario / gestión jornadas */
.hero-control {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
}

.hero-control .hero h1,
.hero-control h1 {
  color: #fff;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
}

.hero-control .hero-desc,
.hero-control p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.hero-badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
}

.hero-desc {
  font-size: 1.05rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.hero-control .btn-outline {
  border-color: #fff;
  color: #fff;
}

.hero-control .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  text-decoration: none;
  border-color: #fff;
}

/* Hero home: degradado, móvil + textos, normativa destacada, 4.8 estrellas */
.hero-home {
  padding: 3rem 1.5rem 4rem;
  text-align: left;
  background: linear-gradient(135deg, #032f51 0%, #0d4a75 35%, #1a6b9e 70%, #7ba3c4 100%);
  min-height: 0;
}
.hero-home,
.hero-home * {
  color: inherit;
}
.hero-home {
  color: #ffffff;
}
.hero-home p,
.hero-home h1,
.hero-home .hero-home-title,
.hero-home .hero-home-desc,
.hero-home .stars-text {
  color: #ffffff !important;
}
.hero-home .hero-home-desc {
  color: rgba(255, 255, 255, 0.95) !important;
}
.hero-home .stars-text strong {
  color: #ffffff !important;
}
.hero-home-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-home-content {
  max-width: 520px;
}
.hero-badge-normativa {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #20cec9;
  color: #032f51 !important;
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
.hero-home-title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #ffffff !important;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.hero-home-desc {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95) !important;
}
.hero-home-stars {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.stars-icon {
  color: #ffc107;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
}
.stars-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95) !important;
}
.stars-text strong {
  color: #ffffff !important;
}
.hero-home-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-home-buttons .btn-outline {
  border-color: rgba(255, 255, 255, 0.9);
  color: #ffffff !important;
}
.hero-home-buttons .btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  color: #ffffff !important;
  text-decoration: none;
}
.hero-home-buttons .btn-primary {
  background: #20cec9;
  color: #032f51 !important;
}
.hero-home-buttons .btn-primary:hover {
  background: #1ab8b3;
  color: #032f51 !important;
}
.hero-home-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-mockup {
  width: 280px;
  max-width: 100%;
  aspect-ratio: 9 / 19.5;
  background: #1a1a1a;
  border-radius: 2rem;
  padding: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35), 0 0 0 3px rgba(255, 255, 255, 0.08);
  position: relative;
}
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: #0a0a0a;
  border-radius: 0 0 12px 12px;
  z-index: 1;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--bg-alt);
}
.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.phone-screenshot[src=""],
.phone-screenshot:not([src]) {
  min-height: 400px;
  background: linear-gradient(180deg, var(--primary-soft) 0%, var(--bg-alt) 100%);
}

/* Sections */
.section {
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Secciones con fondo a todo ancho */
.section-alt {
  width: 100%;
  max-width: none;
  background: var(--bg-alt);
  padding: 0;
  margin: 0;
}
.section-alt .section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-title {
  text-align: center;
  margin: 0 0 1rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
}

.section-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.section-alt .section-title {
  margin-bottom: 0.5rem;
}

/* Sección: Puntos de dolor (sin app) */
.section-pain {
  padding: 4rem 1.5rem;
}
.pain-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.pain-card {
  padding: 1.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.2s, transform 0.2s;
}
.pain-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.pain-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
}
.pain-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.pain-cta {
  text-align: center;
  margin-top: 2.5rem;
  padding: 2rem;
  background: rgba(32, 206, 201, 0.1);
  border-radius: var(--radius-lg);
  border: 2px dashed rgba(32, 206, 201, 0.4);
}
.pain-cta-text {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
}

/* Sección: Nuestros clientes hablan */
.section-testimonials {
  overflow: hidden;
}
.testimonials-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}
.testimonials-track {
  flex: 1;
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0;
}
/* Sin barra de scroll visible */
.testimonials-track {
  scrollbar-width: none;
}
.testimonials-track::-webkit-scrollbar {
  display: none;
  height: 0;
}
.testimonial-card {
  flex: 0 0 320px;
  max-width: 100%;
  scroll-snap-align: start;
  padding: 1.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testimonial-stars {
  color: #ffc107;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}
.testimonial-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
  font-style: normal;
  flex: 1;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.testimonial-author strong {
  color: var(--primary);
  font-weight: 600;
}
.slider-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 2px solid var(--primary);
  background: var(--bg);
  color: var(--primary);
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.slider-btn:hover {
  background: #20cec9;
  border-color: #20cec9;
  color: #032f51;
}
.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.testimonials-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.testimonials-dot:hover,
.testimonials-dot.active {
  background: #20cec9;
}

@media (max-width: 768px) {
  .testimonials-slider {
    gap: 0.5rem;
  }
  .slider-btn {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }
  .testimonial-card {
    flex: 0 0 280px;
    padding: 1.5rem;
  }
}

/* ========== PÁGINA PARTNERS ========== */
.partners-hero {
  padding: 3rem 1.5rem 4rem;
  background: linear-gradient(135deg, #032f51 0%, #0d4a75 40%, #1a6b9e 100%);
  color: #fff;
}
.partners-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.partners-hero-content h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
.partners-hero-desc {
  margin: 0 0 2rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
}
.partners-cta-form-wrap {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.partners-form-title {
  margin: 0 0 1.25rem;
  font-size: 1.2rem;
  color: var(--primary);
}
.partners-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 500;
  color: var(--text);
  font-size: 0.9rem;
}
.partners-form input,
.partners-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  margin-bottom: 1rem;
  box-sizing: border-box;
  font-family: inherit;
}
.partners-form input:focus,
.partners-form textarea:focus {
  outline: none;
  border-color: #20cec9;
}
.partners-form textarea { min-height: 100px; resize: vertical; }
.partners-hero-visual { position: relative; }
.partners-img-placeholder {
  background: linear-gradient(145deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.06) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  text-align: center;
  padding: 2rem;
  border: 1px dashed rgba(255,255,255,0.25);
}
.partners-img-wide { min-height: 220px; }
.partners-perfiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.partners-perfil-card {
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.partners-perfil-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: #20cec9;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.partners-perfil-icon svg { width: 28px; height: 28px; }
.partners-perfil-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--primary);
}
.partners-perfil-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.partners-porque-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.partners-list-ticks {
  list-style: none;
  margin: 0;
  padding: 0;
}
.partners-list-ticks li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 1rem;
  line-height: 1.5;
  color: var(--text);
}
.partners-list-ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 10px;
  height: 10px;
  background: #20cec9;
  border-radius: 50%;
}
.partners-list-pidenos {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}
.partners-list-pidenos li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--text);
}
.partners-list-pidenos li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #20cec9;
  font-weight: 700;
}
.partners-list-soluciones { max-width: 560px; margin-left: auto; margin-right: auto; }
.partners-beneficios {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.partners-beneficio-card {
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
}
.partners-beneficio-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.partners-beneficio-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--primary);
}
.partners-beneficio-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.partners-confianza-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.partners-pasos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.partners-paso {
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
}
.partners-paso-num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #20cec9;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.partners-paso h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--primary);
}
.partners-paso p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
}
@media (max-width: 1024px) {
  .partners-hero-inner { grid-template-columns: 1fr; }
  .partners-porque-inner,
  .partners-confianza-inner { grid-template-columns: 1fr; }
  .partners-perfiles { grid-template-columns: repeat(2, 1fr); }
  .partners-beneficios { grid-template-columns: repeat(2, 1fr); }
  .partners-pasos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .partners-perfiles,
  .partners-beneficios,
  .partners-pasos { grid-template-columns: 1fr; }
  .partners-cta-form-wrap { padding: 1.5rem; }
}

/* Landings sectoriales */
.hero-sector {
  padding: 3rem 1.5rem 4rem;
  text-align: center;
  background: linear-gradient(135deg, #032f51 0%, #0d4a75 35%, #1a6b9e 70%, #7ba3c4 100%);
  color: #fff;
}
.hero-sector-inner {
  max-width: 720px;
  margin: 0 auto;
}
.hero-sector h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.hero-sector-tagline {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  line-height: 1.5;
  font-style: italic;
  opacity: 0.95;
}
.hero-sector-desc {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
}
.hero-sector .hero-badge-normativa {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #20cec9;
  color: #032f51;
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

/* Sección: Diseñado para todos los dispositivos */
.section-devices {
  padding: 4rem 1.5rem;
}
.responsive-image-wrapper {
  max-width: 900px;
  margin: 2.5rem auto 0;
  text-align: center;
}
.responsive-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Benefits list (todo en una plataforma) */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem 2rem;
  margin-top: 2rem;
}

.benefit-item {
  padding: 1.25rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.benefit-item strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1rem;
  color: var(--primary);
}

.benefit-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.sector-extra {
  margin: 1.5rem 0 0;
  padding: 1rem 1.25rem;
  background: rgba(32, 206, 201, 0.1);
  border-left: 4px solid #20cec9;
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}

/* Features grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 1.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(3, 47, 81, 0.2);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  background: rgba(32, 206, 201, 0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #20cec9;
}
.feature-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* CTA block */
.cta-block {
  padding: 4rem 1.5rem;
  text-align: center;
  background: var(--primary);
  color: #fff;
}

.cta-block h2 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
}

.cta-block p {
  margin: 0 0 1.5rem;
  opacity: 0.9;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.95);
}

.cta-block .btn,
.cta-block .btn-cta {
  background: var(--cta);
  color: #032f51;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.cta-block .btn:hover,
.cta-block .btn-cta:hover {
  background: var(--cta-hover);
  color: #032f51;
  text-decoration: none;
}

/* Footer */
.site-footer {
  padding: 3rem 1.5rem 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
  background: var(--bg-alt);
}

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  margin: 0 0 1rem;
  line-height: 1.5;
}

.footer-company {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.footer-company strong {
  color: var(--primary);
  font-size: 0.95rem;
}

.footer-links h4 {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--primary);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Pricing page */
.section-pricing {
  padding: 4rem 1.5rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  position: relative;
  padding: 2rem 1.75rem 2rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(32, 206, 201, 0.4);
}

.pricing-card-featured {
  border-color: #20cec9;
  box-shadow: 0 8px 30px rgba(32, 206, 201, 0.25);
  transform: scale(1.03);
}

.pricing-card-featured:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 12px 40px rgba(32, 206, 201, 0.35);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #20cec9;
  color: #032f51;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(32, 206, 201, 0.4);
}

.plan-name {
  margin: 0.5rem 0 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0.5rem 0 0.75rem;
  line-height: 1;
}

.plan-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-price-from {
  font-size: 0.55em;
  font-weight: 600;
  vertical-align: top;
  margin-right: 0.15em;
}

.plan-trial {
  font-size: 0.85rem;
  color: #20cec9;
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

.plan-trial small {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

.plan-employees {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
  margin: 0 0 1rem;
  padding: 0.5rem 1rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

.plan-price-extra {
  font-size: 0.9rem;
  color: var(--text);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.plan-examples {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  line-height: 1.4;
}

.plan-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0 0 1.25rem;
  line-height: 1.4;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  text-align: left;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.4;
}

.plan-features li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #20cec9;
  margin-top: 0.1rem;
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

/* Contact form */
.contact-form {
  max-width: 520px;
  margin: 2rem auto 0;
}

.contact-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

@media (max-width: 992px) {
  .hero-home-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .hero-home-content {
    max-width: none;
  }
  .hero-home-buttons {
    justify-content: center;
  }
  .hero-home-stars {
    justify-content: center;
  }
  .hero-home-visual {
    order: -1;
  }
  .mega-menu-sectores {
    min-width: 320px;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar { padding: 0.35rem 1rem; font-size: 0.8rem; }
  .site-header-inner { padding: 0; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav .nav-item,
  .site-nav .nav-link,
  .site-nav .btn-cta-header {
    margin: 0;
    width: 100%;
    justify-content: flex-start;
    padding: 0.75rem 1rem;
  }
  .mega-menu {
    position: static;
    transform: none;
    left: auto;
    min-width: 100%;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    opacity: 1;
    visibility: visible;
    display: none;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.06);
  }
  .nav-dropdown:hover .mega-menu,
  .mega-menu.is-open {
    display: block;
    transform: none;
  }
  .mega-menu-inner {
    grid-template-columns: 1fr;
    min-width: 0;
  }
  .mega-menu-sectores {
    grid-template-columns: 1fr;
    min-width: 0;
  }
  .nav-toggle {
    display: flex;
  }
  .hero {
    padding: 3rem 1rem 4rem;
  }
  .hero-home {
    padding: 2.5rem 1rem 3.5rem;
  }
  .phone-mockup {
    width: 240px;
    margin: 0 auto;
  }
  .section {
    padding: 3rem 1rem;
  }
  .section-devices {
    padding: 3rem 1rem;
  }
  .section-alt .section-inner {
    padding: 3rem 1rem;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .pricing-card-featured {
    transform: scale(1);
  }
  .pricing-card-featured:hover {
    transform: translateY(-4px);
  }
}
