/* ─── home.css ─── */
/* Extra CSS variables */
  /* ─── COLORS ─── */
  :root {
    --blue: #1B6FE4;
    --blue-dark: #1558B8;
    --green: #3DDC84;
    --green-dark: #2BAE65;
    --navy: #0B1D35;
    --gray-text: #1E2A3A;
    --gray-body: #64748B;
    --bg-light: #F4F7FF;
    --grad-start: #0B1D35;
    --grad-mid: #0E2D45;
    --grad-end: #0D3B30;
  }


  /* ─── HERO ─── */
  .hero {
    background: linear-gradient(150deg, #f4f7ff 0%, #eef3ff 60%, #e8f4ff 100%);
    padding: 0 0 80px;
    text-align: left;
    position: relative;
    overflow: hidden;
  }
  .hero-split {
    max-width: 1400px;
    margin: 0 auto;
    padding: 90px 48px 0 64px;
    display: flex;
    align-items: center;
    gap: 40px;
    min-height: 640px;
  }
  .hero-left {
    flex: 0 0 420px;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 40px;
  }
  .hero h1 {
    font-size: 64px; font-weight: 800; line-height: 1.06;
    letter-spacing: -2.5px; color: #0a0a0a;
    margin-bottom: 20px;
    max-width: 100%;
  }
  .hero h1 .blue { color: var(--blue); }
  .hero-subtitle {
    font-size: 17px;
    color: #4a5568;
    line-height: 1.65;
    max-width: 380px;
    margin: 0 0 36px;
  }
  .hero-buttons { display: flex; gap: 14px; justify-content: flex-start; margin-bottom: 0; }
  .hero-buttons .btn-blue { padding: 14px 28px; font-size: 15px; }
  .hero-buttons .btn-outline-dark { padding: 14px 24px; font-size: 15px; }
  .hero-right {
    flex: 1 1 auto;
    position: relative;
    align-self: center;
    margin-right: 0;
    overflow: visible;
  }
  .hero-right .hero-devices {
    position: relative;
    width: 100%;
  }
  .hero-right .hero-device-macbook {
    width: 100%;
    position: relative; z-index: 1;
    filter: drop-shadow(0 40px 80px rgba(0,0,0,0.18));
  }
  .hero-right .hero-device-macbook img { width: 100%; display: block; }
  .hero-right .hero-device-phone {
    position: absolute;
    bottom: -20px;
    right: -10px;
    width: 26%;
    z-index: 2;
    filter: drop-shadow(0 28px 56px rgba(0,0,0,0.30));
  }
  .hero-right .hero-device-phone img { width: 100%; display: block; }
  .hero-note { font-size: 14px; color: #888; margin-bottom: 40px; }
  .hero-note strong { color: #555; font-weight: 600; }
  @media (max-width: 900px) {
    .hero-split { flex-direction: column; padding: 64px 32px 0; gap: 40px; min-height: unset; }
    .hero-left { flex: unset; max-width: 100%; padding-bottom: 0; align-items: center; text-align: center; }
    .hero h1 { font-size: 48px; }
    .hero-buttons { justify-content: center; }
    .hero-right { width: 100%; margin-right: 0; }
    .hero-right .hero-devices { width: 100%; }
  }



  /* ─── DARK GRADIENT SECTIONS ─── */
  .dark-section {
    background: linear-gradient(160deg, #0B1D35 0%, #0F2B42 35%, #0C3535 70%, #0A2E26 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
  }
  .dark-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(13,92,72,0.25) 0%, transparent 60%),
                radial-gradient(ellipse 60% 50% at 20% 60%, rgba(11,50,100,0.3) 0%, transparent 60%);
    pointer-events: none;
  }
  .dark-inner { position: relative; z-index: 1; }
  .wave-bottom {
    position: absolute; bottom: -2px; left: 0; right: 0; z-index: 10;
    line-height: 0;
  }
  .wave-bottom svg { display: block; width: 100%; }
  .section-label {
    display: flex; align-items: center; gap: 8px; justify-content: center;
    color: var(--green); font-size: 11px; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase; margin-bottom: 14px;
  }



  /* ─── CARROUSEL WRAP ─── */
  .carrousel-wrap {
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
  }



  /* ─── FUNCIONALIDADES ─── */
  
  .section-desc {
    font-size: 15px; color: rgba(255,255,255,0.75);
    text-align: center; max-width: 620px; margin: 0 auto 16px; line-height: 1.65;
  }
  .section-desc2 {
    font-size: 14px; color: rgba(255,255,255,0.6);
    text-align: center; max-width: 740px; margin: 0 auto 48px; line-height: 1.7;
  }
  .section-desc strong { color: #fff; font-weight: 700; }
  .section-title {
    font-size: 48px; font-weight: 800; text-align: center; margin-bottom: 16px;
    letter-spacing: -1px;
  }
  /* ─── VENTAJAS (now light-section overrides) ─── */


  /* ─── FAQ ─── */
  /* ─── SEGURIDAD SECTION ─── */
  .seguridad-section {
    background: #F4F7FF;
    padding: 80px 48px 80px;
    position: relative;
  }
  .seguridad-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
  }
  .seguridad-headline {
    font-size: 48px; font-weight: 800; color: var(--navy);
    letter-spacing: -1.5px; line-height: 1.1;
    margin-bottom: 0;
  }
  .seguridad-section .section-label { color: #1B6FE4; }
  .seguridad-section .section-label svg { stroke: #1B6FE4; }
  .seguridad-section .security-card {
    background: #fff;
    box-shadow: 0 8px 40px rgba(27,111,228,0.10);
    border: none;
    border-top: 4px solid var(--blue);
  }

  /* ─── FAQ SECTION ─── */
  .faq-section { background: #F4F7FF; padding: 80px 48px 80px;
    position: relative; }
  .faq-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
  .faq-section .section-label { color: var(--blue); justify-content: center; }
  .faq-top { text-align: center; margin-bottom: 48px; }
  .faq-top h2 { font-size: 48px; font-weight: 800; color: var(--navy); margin-bottom: 12px; letter-spacing: -1px; }
  .faq-top p { font-size: 15px; color: #888; }
  .faq-top p a { color: var(--blue); font-weight: 600; text-decoration: none; }
  .faq-top p a:hover { text-decoration: underline; }
  /* Security card */
  .security-card {
    background: #EEF3FB; border-radius: 20px;
    display: grid; grid-template-columns: 260px 1fr; gap: 40px;
    padding: 40px 40px; margin-bottom: 64px; align-items: center;
    max-width: 900px; margin-left: auto; margin-right: auto;
  }
  .security-card-img { display: flex; align-items: center; justify-content: center; }
  .security-card h3 { font-size: 22px; font-weight: 800; color: #0a0a2e; margin-bottom: 12px; line-height: 1.3; }
  .security-card > div > p { font-size: 13.5px; color: #444; line-height: 1.65; margin-bottom: 16px; }
  .check-list { list-style: none; margin-bottom: 16px; }
  .check-list li {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 13px; color: #444; margin-bottom: 7px; line-height: 1.5;
  }
  .check-list li svg { flex-shrink: 0; margin-top: 2px; }
  .security-link { color: var(--blue); font-size: 13.5px; font-weight: 600; text-decoration: none; }
  .security-link:hover { text-decoration: underline; }
  /* FAQ accordion */
  .faq-title { font-size: 48px; font-weight: 800; text-align: center; color: var(--navy); margin-bottom: 36px; margin-top: 16px; letter-spacing: -1px; }
  .faq-list { max-width: 820px; margin: 0 auto; }
  .faq-item { border: 1px solid #dde6f5; border-radius: 12px; overflow: hidden; margin-bottom: 10px; }
  .faq-item.open { border-left: 3px solid var(--blue); }
  .faq-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; cursor: pointer; user-select: none;
    background: #fff; transition: background 0.15s;
  }
  .faq-header:hover { background: #f4f7ff; }
  .faq-header-left { display: flex; align-items: center; gap: 12px; }
  .faq-icon-circle {
    width: 24px; height: 24px; border-radius: 50%;
    border: 2px solid var(--blue);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: background 0.15s;
  }
  .faq-icon-circle.open { background: rgba(27,111,228,0.1); }
  .faq-q-text { font-size: 15px; font-weight: 600; color: #111; }
  .faq-chevron { color: #aaa; transition: transform 0.3s; flex-shrink: 0; }
  .faq-chevron.open { transform: rotate(180deg); }
  .faq-body {
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease;
    background: #fafcff;
  }
  .faq-body.open { max-height: 400px; }
  .faq-body-inner { padding: 4px 20px 18px 56px; font-size: 14px; color: #555; line-height: 1.7; }
  .faq-sub-title { font-weight: 700; color: #222; margin: 12px 0 4px; }


  .faq-bottom-note {
    text-align: center; font-size: 15px; color: #888;
    margin-top: 40px;
  }
  .faq-bottom-note a { color: var(--blue); font-weight: 600; text-decoration: none; }
  .faq-bottom-note a:hover { text-decoration: underline; }

  /* ─── CTA BAND ─── */
  .cta-band {
    background: linear-gradient(135deg, #1254B0 0%, #1B6FE4 50%, #18A558 100%);
    padding: 120px 48px 120px; text-align: center; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center;
  }
  .cta-band::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(circle 700px at -8% 50%, rgba(255,255,255,0.1) 0%, transparent 65%),
      radial-gradient(circle 600px at 108% 50%, rgba(255,255,255,0.1) 0%, transparent 65%),
      radial-gradient(circle 400px at 50% -15%, rgba(255,255,255,0.07) 0%, transparent 60%);
    pointer-events: none;
  }
  .cta-band::after {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.08);
    top: -120px; right: -100px;
    pointer-events: none;
  }
  .cta-band h2 { font-size: 52px; font-weight: 800; color: #fff; margin-bottom: 32px; line-height: 1.15; letter-spacing: -1.5px; position: relative; }
  .cta-band .btn-blue, .cta-band .btn-outline-white {
    padding: 13px 26px; font-size: 14.5px; border-radius: 10px;
  }
  .cta-band h2 .green { color: var(--green); }
  .cta-band-buttons { display: flex; gap: 14px; justify-content: center; }
  .clients-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
    position: relative;
  }
  .client-logo-wrap {
    background: #fff;
    border-radius: 14px;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
    height: 68px;
    min-width: 130px;
  }
  .client-logo {
    max-height: 36px;
    max-width: 120px;
    width: auto;
    object-fit: contain;
    display: block;
  }
  .btn-outline-white {
    background: transparent; color: #fff;
    border: 1.5px solid rgba(255,255,255,0.55);
    border-radius: 10px; padding: 13px 26px; font-size: 14.5px; font-weight: 600;
    cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-block;
  }
  .btn-outline-white:hover { background: rgba(255,255,255,0.1); }
  .cta-wave { position: absolute; bottom: -2px; left: 0; right: 0; line-height: 0; z-index: 10; }

  /* ─── CONTACT ─── */
  .contact-section {
    background: #F4F7FF;
    padding: 96px 48px 120px;
    position: relative;
  }
  .contact-inner {
    max-width: 640px;
    margin: 0 auto;
  }
  .contact-top {
    text-align: center;
    margin-bottom: 48px;
  }
  .contact-top h2 {
    font-size: 48px; font-weight: 800; color: #0a0a0a;
    margin-bottom: 12px; letter-spacing: -1px;
  }
  .contact-subtitle {
    font-size: 15px; color: #6b7a94; line-height: 1.6;
  }
  .contact-form-wrap {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 40px rgba(27,111,228,0.10);
    border: none;
    border-top: 4px solid var(--blue);
  }
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
  }
  .form-row-full {
    grid-template-columns: 1fr;
  }
  .form-input {
    width: 100%;
    padding: 13px 16px;
    font-size: 14px;
    font-family: inherit;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #fafbfc;
    color: #111;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
  }
  .form-textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.6;
  }
  .form-input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(27,111,228,0.1);
    background: #fff;
  }
  .form-input.error { border-color: #ef4444; }
  .form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7a94' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
  }
  .error-msg { font-size: 11.5px; color: #ef4444; margin-top: 4px; min-height: 16px; }
  .btn-contact-submit {
    width: 100%;
    margin-top: 8px;
    padding: 15px;
    background: var(--blue);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    letter-spacing: -0.2px;
  }
  .btn-contact-submit:hover { background: #1560cc; }
  .btn-contact-submit:active { transform: scale(0.99); }
  .form-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 12px;
    color: #94a3b8;
  }
  .form-trust svg { stroke: #94a3b8; flex-shrink: 0; }

  /* ── Conoce más block ── */
  .dif-learn-more {
    margin-top: 64px;
    background: #0B1D35;
    border-radius: 20px;
    padding: 64px 64px;
    text-align: center;
  }
  .dif-learn-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
    margin-bottom: 16px;
  }
  .dif-learn-heading {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 48px;
    letter-spacing: -1px;
  }
  .dif-learn-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .dif-learn-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,.07);
    border: 1.5px solid rgba(255,255,255,.12);
    border-radius: 14px;
    padding: 18px 24px;
    text-decoration: none;
    color: inherit;
    flex: 1 1 240px;
    max-width: 300px;
    transition: background .2s, border-color .2s, transform .2s;
  }
  .dif-learn-card:hover {
    background: rgba(255,255,255,.13);
    border-color: rgba(255,255,255,.30);
    transform: translateY(-3px);
  }
  .dif-learn-icon {
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: transform .2s;
  }
  .dif-learn-card:hover .dif-learn-icon {
    transform: scale(1.08);
  }
  .dif-learn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 1;
  }
  .dif-learn-title {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
  }
  .dif-learn-desc {
    font-size: 13px;
    color: rgba(255,255,255,.50);
    margin-top: 3px;
    line-height: 1.65;
  }
  .dif-learn-arrow {
    font-size: 16px;
    color: rgba(255,255,255,.30);
    transition: color .2s, transform .2s;
  }
  .dif-learn-card:hover .dif-learn-arrow {
    color: #7eb8ff;
    transform: translateX(4px);
  }

  @media (max-width: 1024px) {
    .plat-grid { grid-template-columns: repeat(2, 1fr); }
    .plat-split { grid-template-columns: 1fr; gap: 40px; }
    .dif-grid { grid-template-columns: repeat(2, 1fr); }
    .dif-card, .dif-card:nth-child(4), .dif-card:nth-child(5) { grid-column: span 1; }
  }
  @media (max-width: 640px) {
    .plat-grid { grid-template-columns: 1fr; }
    .dif-grid { grid-template-columns: 1fr; }
    .plat-headline { font-size: 34px; letter-spacing: -1px; }
  }

  /* ─── CTA BAND RESPONSIVE ─── */
  @media (max-width: 768px) {
    .cta-band { padding: 80px 32px; }
    .cta-band h2 { font-size: 34px; letter-spacing: -1px; }
  }
  @media (max-width: 640px) {
    .cta-band { padding: 64px 24px; }
    .cta-band h2 { font-size: 26px; letter-spacing: -0.5px; margin-bottom: 20px; }
    .cta-buttons, .cta-band-buttons { flex-direction: column; align-items: center; gap: 12px; }
  }

  /* ─── NAVBAR CTA BUTTON COMPACT (mobile) ─── */
  @media (max-width: 640px) {
    .nav-actions .btn-blue { font-size: 12.5px; padding: 8px 14px; }
  }

  /* ─── HERO RESPONSIVE ─── */
  @media (max-width: 900px) {
    .hero-split { min-height: unset; }
  }
  @media (max-width: 640px) {
    .hero-split { padding: 48px 20px 0; }
    .hero-subtitle { font-size: 15px; max-width: 100%; }
    .hero-right .hero-device-phone { display: none; }
    .hero-buttons { width: 100%; }
    .hero-buttons .btn-blue,
    .hero-buttons .btn-outline-dark { width: 100%; text-align: center; justify-content: center; box-sizing: border-box; }
  }
  @media (max-width: 390px) {
    .hero h1 { font-size: 28px; letter-spacing: -0.5px; }
    .hero-subtitle { font-size: 14px; }
  }

  /* ─── PAIN SECTION RESPONSIVE ─── */
  @media (max-width: 768px) {
    .pain-section { padding: 64px 32px; }
    .pain-grid { grid-template-columns: repeat(2, 1fr); }
    .pain-title { font-size: 38px; letter-spacing: -1px; margin-bottom: 36px; }
  }
  @media (max-width: 640px) {
    .pain-section { padding: 56px 20px; }
    .pain-card { padding: 24px 20px; }
    .pain-title { font-size: 30px; margin-bottom: 28px; }
  }

  /* ─── PLATAFORMA SECTION RESPONSIVE ─── */
  @media (max-width: 768px) {
    .plataforma-section { padding: 64px 24px 56px; }
    .plat-headline { font-size: 36px; letter-spacing: -1px; }
    .plat-subtitle { font-size: 15px; }
  }
  @media (max-width: 640px) {
    .plataforma-section { padding: 56px 20px 48px; }
    .plat-headline { font-size: 28px; letter-spacing: -0.5px; }
    .plat-tab { padding: 8px 16px; font-size: 12px; }
    .plat-card { padding: 18px 16px; }
    .plat-split { gap: 32px; padding-top: 40px; }
    .plat-split-headline { font-size: 26px; }
    .plat-split-body { font-size: 13.5px; }
  }

  /* ─── DIF SECTION (Por qué romVo) RESPONSIVE ─── */
  @media (max-width: 768px) {
    .dif-section { padding: 64px 24px 80px; }
    .dif-section .section-title { font-size: 36px; letter-spacing: -1px; }
    .dif-learn-more { padding: 48px 32px; margin-top: 48px; }
    .dif-learn-heading { font-size: 34px; letter-spacing: -0.5px; margin-bottom: 32px; }
  }
  @media (max-width: 640px) {
    .dif-section { padding: 56px 20px 64px; }
    .dif-section .section-title { font-size: 28px; }
    .dif-card { padding: 24px 20px; }
    .dif-learn-more { padding: 36px 24px; border-radius: 16px; }
    .dif-learn-heading { font-size: 26px; margin-bottom: 24px; }
    .dif-learn-card { flex: 1 1 100%; max-width: 100%; }
  }

  /* ─── SEGURIDAD SECTION RESPONSIVE ─── */
  @media (max-width: 768px) {
    .seguridad-section { padding: 64px 24px; }
    .seguridad-headline { font-size: 36px; letter-spacing: -1px; }
    .security-card { padding: 32px 28px; gap: 28px; grid-template-columns: 1fr; }
    .security-card-img { text-align: center; }
    .security-card-img svg { width: 160px; height: 160px; }
  }
  @media (max-width: 640px) {
    .seguridad-section { padding: 56px 20px; }
    .seguridad-headline { font-size: 28px; letter-spacing: -0.5px; }
    .security-card { padding: 24px 20px; gap: 20px; border-radius: 16px; margin-bottom: 32px; }
    .security-card h3 { font-size: 19px; }
  }

  /* ─── FAQ SECTION RESPONSIVE ─── */
  @media (max-width: 768px) {
    .faq-top h2 { font-size: 36px; letter-spacing: -0.5px; }
    .faq-title { font-size: 36px; letter-spacing: -0.5px; }
    .faq-top { margin-bottom: 32px; }
  }
  @media (max-width: 640px) {
    .faq-section { padding: 48px 20px; }
    .faq-top h2 { font-size: 28px; }
    .faq-title { font-size: 28px; margin-bottom: 24px; }
    .faq-header { padding: 14px 16px; }
    .faq-q-text { font-size: 14px; }
    .faq-body-inner { padding: 4px 16px 16px 44px; font-size: 13.5px; }
    .faq-bottom-note { font-size: 14px; margin-top: 28px; }
  }

  /* ─── CONTACT SECTION RESPONSIVE ─── */
  @media (max-width: 768px) {
    .contact-top h2 { font-size: 36px; letter-spacing: -0.5px; }
  }
  @media (max-width: 640px) {
    .contact-section { padding: 48px 20px 64px; }
    .contact-top h2 { font-size: 28px; }
    .contact-top { margin-bottom: 32px; }
    .contact-subtitle { font-size: 14px; }
    .contact-form-wrap { padding: 24px 20px; border-radius: 16px; }
    .form-row { grid-template-columns: 1fr; }
  }
