    :root {
      --primary-blue: #274698;
      --primary-blue-dark: #274698;
      --primary-blue-light: #eef3fb;
      --accent-red: #e02029;
      --accent-red-hover: #b8171f;
      --white: #ffffff;
      --bg-light: #f8fafc;
      --text-dark: #0f172a;
      --text-muted: #64748b;
      --border-color: #94a3b8;
      --radius: 14px;
      --shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.18), 0 8px 16px -2px rgba(15, 23, 42, 0.12), inset 0 1px 0 0 rgba(255, 255, 255, 0.8);
      --font-main: 'Plus Jakarta Sans', sans-serif;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: var(--font-main);
      background-color: var(--bg-light);
      color: var(--text-dark);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    ul {
      list-style: none;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* SISTEMA SPA (PÁGINAS) */
    .page {
      display: none;
      animation: fadeIn 0.3s ease-in-out;
      padding-bottom: 60px;
      flex-grow: 1;
    }

    .page.active {
      display: block;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(6px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* ANIMACIÓN DE ZOOM ELEGANTE Y ENTRADA PROGRESIVA AL HACER SCROLL */
    .scroll-reveal {
      opacity: 0;
      transform: scale(0.88) translateY(35px);
      transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                  transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                  box-shadow 0.3s ease, 
                  border-color 0.3s ease;
      will-change: opacity, transform;
    }

    .scroll-reveal.visible {
      opacity: 1;
      transform: scale(1) translateY(0);
    }

    /* HEADER Y NAVEGACIÓN ORGANIZADA */
    header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: var(--white);
      border-bottom: 2px solid var(--border-color);
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    }

    .header-content {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 80px;
      gap: 12px;
      padding: 0 20px;
    }

    .logo {
      display: flex;
      align-items: center;
      flex-shrink: 0;
    }

    .logo img {
      height: 62px;
      width: auto;
      display: block;
      object-fit: contain;
    }

    nav ul {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
    }

    nav a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 8px 10px;
      font-size: 13.5px;
      font-weight: 600;
      color: var(--text-muted);
      border-radius: 8px;
      transition: all 0.2s;
      white-space: nowrap;
      text-align: center;
    }

    nav a:hover, nav a.active {
      color: var(--primary-blue);
      background-color: var(--primary-blue-light);
    }

    nav a.nav-red {
      color: var(--accent-red) !important;
      font-weight: 800;
      padding: 8px 12px !important;
    }

    nav a.nav-red svg {
      width: 26px;
      height: 26px;
      display: block;
      animation: cartVibrate 1.8s infinite ease-in-out;
    }

    @keyframes cartVibrate {
      0%, 100% { transform: scale(1) rotate(0deg); }
      10% { transform: scale(1.2) rotate(-12deg); }
      20% { transform: scale(1.2) rotate(12deg); }
      30% { transform: scale(1.2) rotate(-12deg); }
      40% { transform: scale(1.2) rotate(12deg); }
      50% { transform: scale(1.1) rotate(0deg); }
    }

    nav a.nav-red:hover, nav a.nav-red.active {
      color: var(--accent-red-hover) !important;
      background-color: rgba(224, 32, 41, 0.12);
    }

    nav ul li.dropdown {
      position: relative;
    }

    .dropdown-trigger {
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    .dropdown-arrow {
      font-size: 10px;
      transition: transform 0.2s ease;
    }

    nav ul li.dropdown:hover .dropdown-arrow {
      transform: rotate(180deg);
    }

    .dropdown-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background-color: var(--white);
      min-width: 270px;
      box-shadow: var(--shadow);
      border-radius: var(--radius);
      border: 2px solid var(--border-color);
      padding: 8px 0;
      z-index: 250;
      animation: fadeIn 0.2s ease;
    }

    nav ul li.dropdown:hover .dropdown-menu {
      display: block;
    }

    .dropdown-menu a {
      display: block;
      padding: 10px 18px;
      font-size: 13.5px;
      font-weight: 600;
      color: var(--text-dark);
      text-align: left;
      white-space: normal;
      border-radius: 0;
      transition: background 0.2s;
    }

    .dropdown-menu a:hover {
      background-color: var(--primary-blue-light);
      color: var(--primary-blue);
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-shrink: 0;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 10px 16px;
      font-size: 13.5px;
      font-weight: 700;
      border-radius: 8px;
      border: none;
      cursor: pointer;
      transition: all 0.2s ease;
      white-space: nowrap;
    }

    .btn-soy {
      background-color: #e2ebf9;
      color: var(--primary-blue);
      border: 2px solid var(--primary-blue);
      border-radius: 10px;
      padding: 8px 14px;
      font-weight: 800;
      font-size: 13px;
      box-shadow: 0 4px 12px rgba(39, 70, 152, 0.15);
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: all 0.25s ease;
    }

    .btn-soy:hover, .btn-soy.active {
      background-color: var(--primary-blue);
      color: var(--white);
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(39, 70, 152, 0.35);
    }

    .btn-red {
      background-color: var(--accent-red);
      color: var(--white);
      box-shadow: 0 6px 16px rgba(224, 32, 41, 0.35);
    }

    .btn-red:hover {
      background-color: var(--accent-red-hover);
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(224, 32, 41, 0.45);
    }

    .btn-blue {
      background-color: var(--primary-blue);
      color: var(--white);
      box-shadow: 0 6px 16px rgba(39, 70, 152, 0.3);
    }

    .btn-blue:hover {
      background-color: var(--primary-blue-dark);
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(39, 70, 152, 0.4);
    }

    .btn-outline {
      background: transparent;
      border: 2px solid var(--primary-blue);
      color: var(--primary-blue);
      box-shadow: 0 4px 10px rgba(39, 70, 152, 0.08);
    }

    .btn-outline:hover {
      background-color: var(--primary-blue-light);
      transform: translateY(-2px);
    }

    .menu-toggle {
      display: none;
      background: none;
      border: none;
      padding: 8px;
      cursor: pointer;
      color: var(--text-dark);
    }

    /* ==========================================
       HERO VIDEO - PROPORCIÓN Y TEXTO SIN FRANJA ROJA
       ========================================== */
    .hero-video-container {
      position: relative;
      height: 410px;
      display: flex;
      align-items: center;
      overflow: hidden;
      background-color: #0f172a;
      color: var(--white);
      border-bottom: 3px solid var(--primary-blue);
    }

    .hero-video-bg {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 100%;
      height: 100%;
      z-index: 1;
      transform: translate(-50%, -50%);
      object-fit: cover;
      object-position: center 30%;
    }

    .hero-video-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.5) 100%);
      z-index: 2;
    }

    .hero-video-content {
      position: relative;
      z-index: 3;
      padding: 40px 24px;
      max-width: 820px;
    }

    .hero-video-content .badge {
      background: transparent;
      border: none;
      color: var(--white);
      padding: 0;
      margin-bottom: 12px;
      font-size: 14px;
      font-weight: 800;
      letter-spacing: 0.5px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      text-shadow: 0 2px 6px rgba(0,0,0,0.6);
    }

    .hero-video-content h1 {
      font-size: 34px;
      line-height: 1.22;
      color: var(--white);
      margin-bottom: 14px;
      font-weight: 800;
      text-shadow: 0 2px 10px rgba(0,0,0,0.6);
    }

    .hero-video-content h1 span {
      color: #60a5fa;
    }

    .hero-video-content p.slogan {
      font-size: 15px;
      color: #cbd5e1;
      margin-bottom: 28px;
      line-height: 1.5;
      max-width: 720px;
    }

    .hero-video-content .btn-outline {
      border-color: var(--white);
      color: var(--white);
    }

    .hero-video-content .btn-outline:hover {
      background: rgba(255, 255, 255, 0.15);
    }

    .hero-ctas {
      display: flex;
      gap: 12px;
      align-items: center;
      flex-wrap: wrap;
    }

    .sound-toggle-btn {
      position: absolute;
      bottom: 20px;
      right: 24px;
      z-index: 10;
      background: rgba(15, 23, 42, 0.75);
      border: 1.5px solid rgba(255, 255, 255, 0.35);
      color: var(--white);
      padding: 8px 16px;
      border-radius: 30px;
      cursor: pointer;
      font-weight: 700;
      font-size: 12.5px;
      display: flex;
      align-items: center;
      gap: 8px;
      backdrop-filter: blur(6px);
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
      transition: all 0.25s ease;
    }

    .sound-toggle-btn:hover {
      background: var(--primary-blue);
      border-color: var(--white);
      transform: translateY(-2px);
    }

    .fixed-mini-ambulance {
      position: fixed;
      width: 56px;
      height: 36px;
      z-index: 1001;
      pointer-events: none;
      opacity: 0;
      will-change: left, top, opacity, transform;
    }

    .mini-ambulance-svg {
      width: 100%;
      height: 100%;
      filter: drop-shadow(0 6px 12px rgba(0,0,0,0.35));
    }

    .siren-flash {
      animation: sirenBlink 0.3s infinite alternate;
    }

    @keyframes sirenBlink {
      0% { fill: #e02029; opacity: 1; }
      100% { fill: #ff858d; opacity: 0.3; filter: drop-shadow(0 0 8px #e02029); }
    }

    .form-card {
      background: var(--white);
      padding: 36px 44px;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      border: 2px solid var(--border-color);
    }

    .form-card h3 {
      font-size: 22px;
      color: var(--primary-blue);
      margin-bottom: 6px;
      font-weight: 800;
    }

    .form-card p {
      font-size: 14px;
      color: var(--text-muted);
      margin-bottom: 24px;
    }

    .form-group {
      margin-bottom: 16px;
    }

    .form-group label {
      display: block;
      font-size: 12px;
      font-weight: 700;
      color: var(--text-dark);
      margin-bottom: 6px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .form-control {
      width: 100%;
      padding: 12px 14px;
      border: 2px solid var(--border-color);
      border-radius: 8px;
      font-family: inherit;
      font-size: 14px;
      background-color: var(--bg-light);
      transition: border-color 0.2s, box-shadow 0.2s;
    }

    .form-control:focus {
      outline: none;
      border-color: var(--primary-blue);
      background-color: var(--white);
      box-shadow: 0 0 0 4px rgba(39, 70, 152, 0.18);
    }

    textarea.form-control {
      resize: vertical;
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .form-checkbox-group {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      margin-top: 18px;
      margin-bottom: 10px;
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.4;
    }

    .form-checkbox-group input[type="checkbox"] {
      margin-top: 2px;
      accent-color: var(--primary-blue);
      width: 17px;
      height: 17px;
      cursor: pointer;
      flex-shrink: 0;
    }

    .form-checkbox-group label {
      cursor: pointer;
      user-select: none;
      text-transform: none;
      letter-spacing: normal;
      font-weight: 500;
      color: var(--text-muted);
    }

    .form-checkbox-group label a {
      color: var(--primary-blue);
      text-decoration: underline;
      font-weight: 700;
    }

    .alert-success {
      display: none;
      padding: 12px;
      background-color: #d1fae5;
      color: #065f46;
      border-radius: 8px;
      font-size: 13px;
      font-weight: 600;
      margin-top: 16px;
      text-align: center;
    }

    /* ==========================================
       LOGIN FULL-WIDTH SIN MARGENES (SOY SISMEDICA)
       ========================================== */
    .soy-login-section {
      background: linear-gradient(135deg, rgba(15, 23, 42, 0.65) 0%, rgba(15, 23, 42, 0.35) 100%), url('DSC06546.jpg') center/cover no-repeat;
      width: 100%;
      min-height: calc(100vh - 80px);
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 40px 20px;
      margin: 0;
      border: none;
      border-bottom: 3px solid var(--primary-blue);
    }

    .soy-login-box {
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(12px);
      border-radius: 16px;
      padding: 48px 40px;
      max-width: 440px;
      width: 100%;
      border: 1px solid rgba(255, 255, 255, 0.8);
      box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
    }

    .privacy-content-block h4 {
      font-size: 16px;
      color: var(--primary-blue);
      font-weight: 800;
      margin-top: 20px;
      margin-bottom: 8px;
    }

    .privacy-content-block p {
      font-size: 13.5px;
      color: var(--text-dark);
      line-height: 1.6;
      margin-bottom: 12px;
    }

    .privacy-content-block ul {
      list-style-type: disc;
      padding-left: 20px;
      margin-bottom: 14px;
    }

    .privacy-content-block li {
      font-size: 13px;
      color: var(--text-dark);
      margin-bottom: 6px;
      line-height: 1.5;
    }

    /* PASARELA DE PAGO */
    .checkout-grid {
      display: grid;
      grid-template-columns: 1.25fr 0.75fr;
      gap: 32px;
      align-items: start;
    }

    .payment-title-section {
      font-size: 18px;
      font-weight: 800;
      color: var(--primary-blue);
      margin-bottom: 18px;
    }

    .payment-methods-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
      margin-bottom: 24px;
    }

    .payment-method-card {
      border: 2px solid var(--border-color);
      border-radius: 10px;
      padding: 16px 8px;
      text-align: center;
      cursor: pointer;
      background: var(--bg-light);
      transition: all 0.2s ease;
      font-size: 13px;
      font-weight: 700;
      color: var(--text-dark);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 8px;
      box-shadow: 0 6px 14px rgba(0,0,0,0.06);
    }

    .payment-method-card svg {
      width: 28px;
      height: 28px;
      display: block;
    }

    .payment-method-card.active {
      border-color: var(--primary-blue);
      background: var(--white);
      box-shadow: 0 8px 20px rgba(39, 70, 152, 0.22);
      color: var(--primary-blue);
    }

    .summary-card {
      background: var(--white);
      border: 2px solid var(--border-color);
      border-radius: var(--radius);
      padding: 32px 28px;
      box-shadow: var(--shadow);
      position: sticky;
      top: 100px;
    }

    .summary-card h3 {
      font-size: 20px;
      font-weight: 800;
      color: var(--primary-blue);
      margin-bottom: 24px;
    }

    .summary-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 14px;
      font-size: 14px;
      color: var(--text-muted);
    }

    .summary-divider {
      height: 1px;
      background: var(--border-color);
      margin: 18px 0;
    }

    .summary-total-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 18px;
      font-weight: 800;
      color: var(--text-dark);
      margin-top: 10px;
      margin-bottom: 24px;
    }

    .summary-total-price {
      font-size: 22px;
      font-weight: 900;
      color: var(--primary-blue);
    }

    /* MODALES */
    .modal-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(15, 23, 42, 0.75);
      backdrop-filter: blur(4px);
      z-index: 1000;
      align-items: center;
      justify-content: center;
      padding: 20px;
      overflow-y: auto;
    }

    .modal-overlay.active {
      display: flex;
      animation: fadeIn 0.25s ease-out;
    }

    .modal-container {
      background: var(--white);
      border-radius: var(--radius);
      max-width: 680px;
      width: 100%;
      padding: 36px 40px;
      position: relative;
      border: 2px solid var(--border-color);
      box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.3);
      max-height: 90vh;
      overflow-y: auto;
    }

    .modal-close-btn {
      position: absolute;
      top: 18px;
      right: 22px;
      background: transparent;
      border: none;
      font-size: 26px;
      font-weight: 800;
      color: var(--text-muted);
      cursor: pointer;
      transition: color 0.2s;
      line-height: 1;
    }

    .modal-close-btn:hover {
      color: var(--accent-red);
    }

    /* BARRA DE MÉTRICAS */
    .metrics-bar {
      background: var(--primary-blue);
      color: var(--white);
      padding: 40px 0;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 16px;
      text-align: center;
    }

    .metric-item {
      padding: 0 12px;
      border-right: 1px solid rgba(255, 255, 255, 0.2);
    }

    .metric-item:last-child {
      border-right: none;
    }

    .metric-item h2 {
      font-size: 40px;
      font-weight: 800;
      color: var(--white);
      line-height: 1;
      margin-bottom: 8px;
      letter-spacing: -0.5px;
    }

    .metric-item p {
      font-size: 13px;
      opacity: 0.95;
      font-weight: 600;
      line-height: 1.3;
    }

    /* SECCIONES Y TARJETAS EN RELIEVE 3D */
    .section {
      padding: 70px 0;
    }

    .section-title {
      text-align: center;
      margin-bottom: 48px;
    }

    .section-title h2 {
      font-size: 32px;
      color: var(--primary-blue);
      font-weight: 800;
      margin-bottom: 10px;
    }

    .section-title p {
      color: var(--text-muted);
      font-size: 16px;
      max-width: 600px;
      margin: 0 auto;
    }

    .grid-2 {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 28px;
    }

    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .grid-4 {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }

    .card {
      background: var(--white);
      border-radius: var(--radius);
      padding: 32px;
      border: 2px solid var(--border-color);
      box-shadow: var(--shadow);
      display: flex;
      flex-direction: column;
    }

    .card.scroll-reveal.visible:hover {
      transform: translateY(-8px) scale(1) !important;
      box-shadow: 0 24px 44px -4px rgba(39, 70, 152, 0.22), 0 12px 20px -2px rgba(0, 0, 0, 0.12) !important;
      border-color: var(--primary-blue) !important;
    }

    .card-icon {
      width: 52px;
      height: 52px;
      background: var(--primary-blue-light);
      color: var(--primary-blue);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      border: 1px solid rgba(39, 70, 152, 0.2);
    }

    .card-icon svg {
      width: 24px;
      height: 24px;
      display: block;
    }

    .card h3 {
      font-size: 20px;
      color: var(--text-dark);
      margin-bottom: 12px;
      font-weight: 700;
    }

    .card p {
      color: var(--text-muted);
      font-size: 14px;
      line-height: 1.6;
      flex-grow: 1;
      margin-bottom: 20px;
    }

    /* ESTILOS DE DISEÑO ALTERNADO EN BLOQUES PARA "SERVICIOS PARA" */
    .service-feature-container {
      display: flex;
      flex-direction: column;
      gap: 60px;
      max-width: 1100px;
      margin: 0 auto;
    }

    .service-feature-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
    }

    .service-feature-row:nth-child(even) .feature-text { order: 2; }
    .service-feature-row:nth-child(even) .feature-image-card { order: 1; }

    .feature-text h3 {
      font-size: 26px;
      font-weight: 800;
      color: var(--primary-blue-dark);
      margin-bottom: 16px;
      line-height: 1.3;
    }

    .feature-text p {
      font-size: 15px;
      color: var(--text-muted);
      line-height: 1.7;
      margin-bottom: 24px;
    }

    .feature-image-card {
      background: var(--white);
      border-radius: 20px;
      padding: 24px;
      box-shadow: var(--shadow);
      position: relative;
      border: 2px solid var(--border-color);
    }

    .feature-image-card img {
      width: 100%;
      height: 320px;
      object-fit: cover;
      border-radius: 14px;
      display: block;
    }

    /* CLIENTES Y CERTIFICACIONES */
    .clients-section {
      margin-top: 50px;
      text-align: center;
    }

    .clients-title {
      font-size: 14px;
      font-weight: 800;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 1.2px;
      margin-bottom: 28px;
    }

    .clients-grid {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 24px;
    }

    .certifications-subblock {
      margin-top: 48px;
      padding-top: 36px;
      border-top: 2px dashed var(--border-color);
    }

    .iso-svg-card {
      background: var(--white);
      border: 2px solid var(--border-color);
      border-radius: var(--radius);
      padding: 10px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100px;
      width: 220px;
      box-shadow: var(--shadow);
      transition: all 0.25s ease;
    }

    .iso-svg-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 12%;
      display: block;
    }

    /* TESTIMONIOS */
    .testimonials-section {
      margin-top: 60px;
      padding-top: 20px;
    }

    .testimonial-carousel-container {
      position: relative;
      max-width: 900px;
      margin: 0 auto;
      padding: 0 50px;
    }

    .testimonial-track-wrapper {
      overflow: hidden;
      width: 100%;
      border-radius: var(--radius);
    }

    .testimonial-track {
      display: flex;
      transition: transform 0.4s ease-in-out;
      width: 100%;
    }

    .testimonial-slide {
      min-width: 100%;
      box-sizing: border-box;
    }

    .testimonial-card-box {
      background: var(--white);
      border: 2px solid var(--border-color);
      border-radius: var(--radius);
      padding: 36px 44px;
      box-shadow: var(--shadow);
      text-align: center;
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .testimonial-stars {
      color: #f59e0b;
      font-size: 22px;
      letter-spacing: 2px;
      margin-bottom: 12px;
    }

    .testimonial-card-title {
      font-size: 20px;
      font-weight: 800;
      color: var(--primary-blue);
      margin-bottom: 16px;
    }

    .testimonial-quote-text {
      font-size: 15px;
      color: var(--text-dark);
      font-style: italic;
      line-height: 1.7;
      margin-bottom: 24px;
      max-width: 750px;
    }

    .testimonial-author-info {
      font-size: 14px;
      font-weight: 700;
      color: var(--text-muted);
      border-top: 1.5px solid var(--border-color);
      padding-top: 14px;
      width: 100%;
    }

    .carousel-nav-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: var(--white);
      border: 2px solid var(--border-color);
      color: var(--primary-blue);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 8px 20px rgba(0,0,0,0.15);
      transition: all 0.2s ease;
      z-index: 10;
    }

    .carousel-nav-btn.prev { left: 0; }
    .carousel-nav-btn.next { right: 0; }

    .carousel-dots {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 20px;
    }

    .carousel-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--border-color);
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .carousel-dot.active {
      background: var(--primary-blue);
      width: 26px;
      border-radius: 10px;
    }

    /* ACORDEÓN (NOSOTROS) */
    .accordion-container {
      border: 2px solid var(--border-color);
      border-radius: var(--radius);
      overflow: hidden;
      background: var(--white);
      max-width: 950px;
      margin: 0 auto 40px auto;
      box-shadow: var(--shadow);
    }

    .accordion-item { border-bottom: 1.5px solid var(--border-color); }
    .accordion-item:last-child { border-bottom: none; }

    .accordion-header {
      display: flex;
      align-items: center;
      cursor: pointer;
      background: var(--white);
      user-select: none;
      transition: background 0.2s;
    }

    .accordion-icon-box {
      width: 54px;
      height: 54px;
      border-right: 1.5px solid var(--border-color);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 20px;
      color: var(--text-dark);
      flex-shrink: 0;
      background: var(--bg-light);
    }

    .accordion-title {
      padding: 0 24px;
      font-weight: 700;
      font-size: 17px;
      color: var(--text-dark);
    }

    .accordion-item.active .accordion-title { color: var(--primary-blue); }
    .accordion-content {
      display: none;
      padding: 28px 32px;
      font-size: 15px;
      color: var(--text-dark);
      line-height: 1.7;
      border-top: 1.5px solid var(--border-color);
      background: var(--white);
    }

    .accordion-item.active .accordion-content { display: block; }

    /* ESTILOS ACORDEÓN EXCLUSIVO DE PREGUNTAS FRECUENTES (FAQS) */
    .faq-accordion-list {
      max-width: 920px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .faq-item {
      background: var(--white);
      border: 2px solid var(--border-color);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: 0 8px 20px -2px rgba(15, 23, 42, 0.08);
      transition: all 0.2s ease;
    }

    .faq-item:hover {
      border-color: var(--primary-blue);
      box-shadow: var(--shadow);
    }

    .faq-question {
      padding: 18px 24px;
      font-weight: 700;
      font-size: 15px;
      color: var(--text-dark);
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: var(--white);
      user-select: none;
      transition: color 0.2s;
    }

    .faq-question::after {
      content: '+';
      font-size: 22px;
      font-weight: 800;
      color: var(--primary-blue);
      transition: transform 0.2s ease;
      margin-left: 16px;
      flex-shrink: 0;
    }

    .faq-item.active .faq-question { color: var(--primary-blue); }
    .faq-item.active .faq-question::after { content: '−'; color: var(--accent-red); }

    .faq-answer {
      display: none;
      padding: 18px 24px 22px 24px;
      color: var(--text-dark);
      font-size: 14.5px;
      line-height: 1.7;
      border-top: 1.5px solid var(--border-color);
      background: var(--bg-light);
    }

    .faq-item.active .faq-answer { display: block; }
    .faq-answer ul { list-style-type: disc; padding-left: 20px; margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }

    /* ESTILOS INTRANET (SOY SISMEDICA) */
    .intra-hero-banner {
      background: linear-gradient(135deg, #f0f4fd 0%, #e2ebf9 100%);
      border-radius: 20px;
      border: 2px solid var(--border-color);
      box-shadow: var(--shadow);
      padding: 32px 40px;
      display: grid;
      grid-template-columns: 1fr 1.1fr 0.5fr;
      gap: 24px;
      align-items: center;
      margin-bottom: 24px;
      position: relative;
      overflow: hidden;
    }

    .intra-hero-text h1 {
      font-size: 38px;
      font-weight: 900;
      color: var(--primary-blue);
      line-height: 1.1;
      letter-spacing: -1px;
      margin-bottom: 4px;
    }

    .intra-hero-text h2 {
      font-size: 24px;
      font-weight: 700;
      color: #334155;
      font-style: italic;
      margin-bottom: 14px;
    }

    .intra-hero-text p {
      font-size: 13.5px;
      color: var(--text-muted);
      line-height: 1.5;
      font-weight: 600;
    }

    .intra-hero-img-box img {
      width: 100%;
      height: 220px;
      object-fit: cover;
      border-radius: 16px;
      box-shadow: 0 10px 25px rgba(39, 70, 152, 0.18);
      border: 3px solid var(--white);
    }

    .intra-hero-script {
      text-align: right;
      font-family: 'Caveat', cursive;
      font-size: 32px;
      color: var(--primary-blue);
      line-height: 1.1;
      font-weight: 700;
    }

    /* ACCESOS RÁPIDOS 5 TARJETAS */
    .intra-quick-bar {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 16px;
      margin-bottom: 32px;
    }

    .intra-quick-card {
      background: var(--white);
      border: 2px solid var(--border-color);
      border-radius: 16px;
      padding: 18px 16px;
      box-shadow: var(--shadow);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
      transition: all 0.25s ease;
      cursor: pointer;
      min-height: 130px;
    }

    .intra-quick-card:hover {
      transform: translateY(-4px);
      border-color: var(--primary-blue);
      box-shadow: 0 14px 28px rgba(39, 70, 152, 0.2);
    }

    .intra-quick-card.highlight-blue {
      background: var(--primary-blue);
      color: var(--white);
      border-color: var(--primary-blue);
    }

    .intra-quick-card.highlight-blue p { color: rgba(255, 255, 255, 0.85); }

    .intra-quick-card-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 12px;
    }

    .intra-quick-icon {
      width: 38px;
      height: 38px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
    }

    .intra-quick-card.highlight-blue .intra-quick-icon {
      background: rgba(255, 255, 255, 0.18);
      color: var(--white);
    }

    .intra-quick-icon.blue-soft { background: #e0f2fe; color: var(--primary-blue); }
    .intra-quick-icon.green-soft { background: #dcfce7; color: #16a34a; }
    .intra-quick-icon.red-soft { background: #ffe4e6; color: var(--accent-red); }
    .intra-quick-icon.purple-soft { background: #f3e8ff; color: #9333ea; }

    .intra-quick-card h4 {
      font-size: 15px;
      font-weight: 800;
      line-height: 1.2;
      margin-bottom: 4px;
    }

    .intra-quick-card p {
      font-size: 11.5px;
      color: var(--text-muted);
      line-height: 1.3;
    }

    .intra-arrow { font-size: 14px; font-weight: 800; }

    /* DASHBOARD EN 3 COLUMNAS */
    .intra-dashboard-grid {
      display: grid;
      grid-template-columns: 1.35fr 1.15fr 0.8fr;
      gap: 24px;
      align-items: start;
    }

    .intra-box {
      background: var(--white);
      border: 2px solid var(--border-color);
      border-radius: 18px;
      padding: 24px;
      box-shadow: var(--shadow);
    }

    .intra-box-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 20px;
    }

    .intra-box-title {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 18px;
      font-weight: 800;
      color: var(--text-dark);
    }

    .intra-news-item {
      background: var(--bg-light);
      border-radius: 12px;
      padding: 14px;
      border: 1.5px solid var(--border-color);
      margin-bottom: 12px;
    }

    .intra-news-item h5 {
      font-size: 14px;
      font-weight: 800;
      color: var(--text-dark);
      margin-bottom: 4px;
    }

    .intra-news-item p {
      font-size: 12px;
      color: var(--text-muted);
      line-height: 1.4;
      margin-bottom: 8px;
    }

    .intra-people-card {
      background: var(--bg-light);
      border-radius: 14px;
      padding: 14px;
      border: 1.5px solid var(--border-color);
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .intra-people-img {
      width: 58px;
      height: 58px;
      border-radius: 12px;
      object-fit: cover;
      flex-shrink: 0;
      border: 2px solid var(--primary-blue);
    }

    .intra-people-info h5 {
      font-size: 13.5px;
      font-weight: 800;
      color: var(--text-dark);
    }

    .intra-people-role {
      font-size: 11px;
      font-weight: 700;
      color: var(--primary-blue);
      margin-bottom: 4px;
    }

    .intra-people-quote {
      font-size: 11.5px;
      color: var(--text-muted);
      font-style: italic;
      line-height: 1.3;
    }

    .intra-profile-widget {
      background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
      border-radius: 16px;
      padding: 20px;
      border: 2px solid var(--border-color);
      text-align: center;
      margin-bottom: 16px;
      box-shadow: var(--shadow);
    }

    .intra-profile-avatar {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      object-fit: cover;
      margin: 0 auto 10px auto;
      border: 3px solid var(--primary-blue);
    }

    .intra-profile-widget h4 { font-size: 16px; font-weight: 800; color: var(--text-dark); }
    .intra-profile-widget p { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

    .intra-banner-mueve {
      background: linear-gradient(rgba(39, 70, 152, 0.88), rgba(39, 70, 152, 0.88)), url('DSC09605.jpg') center/cover no-repeat;
      border-radius: 16px;
      padding: 28px 20px;
      color: var(--white);
      text-align: center;
      border: 2px solid var(--primary-blue);
      box-shadow: var(--shadow);
    }

    .intra-banner-mueve h3 { font-size: 20px; font-weight: 900; line-height: 1.2; }

    /* LAYOUT COBERTURA Y ARTÍCULOS EN 3D */
    .cobertura-section-wrapper {
      max-width: 1080px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 32px;
      align-items: stretch;
    }

    .dept-tags-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
    .dept-badge {
      background: var(--primary-blue-light);
      color: var(--primary-blue-dark);
      padding: 6px 12px;
      border-radius: 6px;
      font-size: 12px;
      font-weight: 700;
      border: 1.5px solid rgba(39, 70, 152, 0.25);
      cursor: pointer;
      box-shadow: 0 4px 10px rgba(0,0,0,0.06);
      transition: all 0.2s ease;
    }

    .dept-badge:hover {
      background: var(--accent-red);
      color: var(--white);
      border-color: var(--accent-red);
      transform: translateY(-2px);
      box-shadow: 0 6px 14px rgba(224, 32, 41, 0.35);
    }

    .map-card-container {
      background: var(--white);
      border: 2px solid var(--border-color);
      border-radius: var(--radius);
      padding: 16px;
      box-shadow: var(--shadow);
      display: flex;
      flex-direction: column;
      position: relative;
      min-height: 320px;
    }

    .map-header-badge {
      position: absolute;
      top: 24px;
      right: 24px;
      background: var(--white);
      border: 1.5px solid var(--border-color);
      padding: 6px 14px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 800;
      color: var(--primary-blue);
      display: flex;
      align-items: center;
      gap: 6px;
      box-shadow: 0 6px 16px rgba(0,0,0,0.12);
      z-index: 500;
    }

    #leaf-map-colombia { width: 100%; height: 300px; border-radius: 8px; z-index: 10; }

    .article-card {
      background: var(--white);
      border-radius: var(--radius);
      border: 2px solid var(--border-color);
      box-shadow: var(--shadow);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      cursor: pointer;
    }

    .article-card.scroll-reveal.visible:hover {
      transform: translateY(-6px) scale(1) !important;
      box-shadow: 0 24px 44px -4px rgba(15, 23, 42, 0.2) !important;
      border-color: var(--primary-blue) !important;
    }

    .article-header { position: relative; height: 160px; background: var(--primary-blue-light); overflow: hidden; }
    .article-header img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .article-tag {
      position: absolute; top: 12px; left: 12px; background: var(--white); color: var(--accent-red);
      font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 12px; text-transform: uppercase;
      box-shadow: 0 4px 10px rgba(0,0,0,0.18); z-index: 2;
    }

    .article-body { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
    .article-body h4 { font-size: 16px; color: var(--text-dark); margin-bottom: 12px; line-height: 1.4; font-weight: 700; }
    .article-link { margin-top: auto; color: var(--primary-blue); font-size: 13px; font-weight: 700; cursor: pointer; }

    /* FOOTER INTEGRADO CON SOMBRA 3D (SOLO INICIO) */
    .contact-block {
      background: var(--text-dark);
      color: var(--white);
      border-radius: 16px;
      padding: 48px;
      margin-top: 40px;
      box-shadow: var(--shadow);
    }

    .contact-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
    .contact-col h4 {
      color: var(--white); font-size: 18px; margin-bottom: 20px; font-weight: 700;
      border-bottom: 2px solid var(--primary-blue); padding-bottom: 8px; display: inline-block;
    }

    .contact-info-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 14px; color: #94a3b8; }
    .contact-info-list svg { width: 20px; height: 20px; color: var(--white); flex-shrink: 0; }
    .contact-info-list strong { color: var(--white) !important; }

    .contact-info-list a { color: var(--white); text-decoration: none; }
    .contact-info-list a:hover { text-decoration: underline; }

    .rrhh-box { background: rgba(255, 255, 255, 0.05); padding: 20px; border-radius: 8px; border: 1.5px solid rgba(255, 255, 255, 0.15); }
    .rrhh-box p { font-size: 13px; color: #94a3b8; margin-bottom: 12px; }

    .social-box { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
    .social-box h5 { color: var(--white); font-size: 14px; margin-bottom: 12px; font-weight: 700; }
    .social-links { display: flex; gap: 10px; }
    .social-btn {
      width: 42px; height: 42px; border-radius: 8px; background: rgba(255, 255, 255, 0.08);
      color: var(--white); display: flex; align-items: center; justify-content: center;
      border: 1px solid rgba(255, 255, 255, 0.15); transition: all 0.3s ease;
    }

    .social-btn:hover { background: var(--primary-blue); border-color: var(--primary-blue); color: var(--white); transform: translateY(-2px); }
    .social-btn svg { width: 20px; height: 20px; fill: currentColor; }


    /* ==========================================
       FOOTER DELGADO CON ÍCONOS SVG Y COLORES BLANCOS
       ========================================== */
    #compact-footer {
      display: none;
      background: #0f172a;
      color: #e2e8f0;
      padding: 14px 24px;
      font-size: 13px;
      border-top: 3px solid var(--primary-blue);
      box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
    }
    
    body.internal-page #compact-footer {
      display: block;
    }

    .cf-container {
      max-width: 1280px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
    }

    .cf-left, .cf-center, .cf-right {
      display: flex;
      align-items: center;
      gap: 14px;
      flex-wrap: wrap;
    }

    .cf-contact-link {
      color: #ffffff !important;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-weight: 600;
      transition: opacity 0.2s;
    }

    .cf-contact-link:hover {
      opacity: 0.85;
    }

    .cf-contact-link svg {
      color: #ffffff;
      flex-shrink: 0;
    }

    .cf-center a {
      color: #cbd5e1;
      text-decoration: none;
      font-weight: 600;
      transition: color 0.2s;
    }

    .cf-center a:hover {
      color: #60a5fa;
    }

    .cf-divider {
      color: #475569;
    }

    .cf-social {
      display: flex;
      gap: 8px;
    }

    .cf-social a {
      background: rgba(255,255,255,0.1);
      color: #fff;
      width: 32px; height: 32px;
      border-radius: 6px;
      display: flex; align-items: center; justify-content: center;
      transition: all 0.2s;
    }

    .cf-social a:hover {
      background: var(--primary-blue);
    }

    .cf-social svg { width: 16px; height: 16px; fill: currentColor; }

    .page-header { background: var(--primary-blue); color: var(--white); padding: 60px 0; text-align: center; margin-bottom: 40px; }
    #nosotros .page-header {
      background: linear-gradient(rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0.65)), url('DSC09605.jpg') center/cover no-repeat;
      padding: 110px 0; margin-bottom: 50px; border-bottom: 4px solid var(--primary-blue);
    }

    #nosotros .page-header h1 { font-size: 44px; font-weight: 800; }

    @media (max-width: 992px) {
        a.btn.btn-red {display: none !important;}
      .hero-video-content h1 { font-size: 30px; }
      .soy-login-section { padding: 40px 16px; }
      .soy-login-box { padding: 36px 24px; }
      .metrics-grid { grid-template-columns: repeat(3, 1fr); }
      .grid-4 { grid-template-columns: repeat(2, 1fr); }
      .grid-3 { grid-template-columns: 1fr; }
      .contact-grid { grid-template-columns: 1fr; }
      .cobertura-section-wrapper { grid-template-columns: 1fr; }
      .checkout-grid { grid-template-columns: 1fr; }
      .payment-methods-grid { grid-template-columns: repeat(2, 1fr); }
      .intra-hero-banner { grid-template-columns: 1fr; text-align: center; }
      .intra-hero-script { text-align: center; }
      .intra-quick-bar { grid-template-columns: repeat(2, 1fr); }
      .intra-dashboard-grid { grid-template-columns: 1fr; }
      .cf-container { flex-direction: column; justify-content: center; text-align: center; }
      .cf-left, .cf-center, .cf-right { justify-content: center; }

      nav {
        display: none; position: absolute; top: 80px; left: 0; right: 0;
        background: var(--white); padding: 20px; border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
      }
      nav.mobile-active { display: block; }
      nav ul { flex-direction: column; align-items: stretch; gap: 8px; }
      nav a { justify-content: flex-start; padding: 12px 16px; font-size: 15px; }
      .dropdown-menu { position: static; box-shadow: none; border: none; padding-left: 15px; }
      .menu-toggle { display: block; }
    }

    @media (max-width: 768px) {
      .hero-video-content h1 { font-size: 24px; }
      .hero-video-content p.slogan { font-size: 13.5px; }
      .metrics-grid { grid-template-columns: repeat(2, 1fr); }
      .grid-2, .grid-4 { grid-template-columns: 1fr; }
      .form-row { grid-template-columns: 1fr; }
    }