/* ─── common.css ─── */
/* Base + Variables */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { font-family: 'Nunito Sans', sans-serif; color: #111; overflow-x: hidden; background: #fff; }
  :root {
    --blue: #1B6FE4; --blue-dark: #1558B8;
    --green: #3DDC84; --green-dark: #2BAE65;
    --navy: #0B1D35; --gray-text: #1E2A3A;
    --gray-body: #64748B; --bg-light: #F4F7FF;
  }

/* Navbar */
  /* ─── NAVBAR ─── */
  .navbar {
    position: sticky; top: 0; z-index: 100;
    background: #fff;
    border-bottom: 1px solid #d0d7e3;
    padding: 0 48px;
    height: 72px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .nav-logo {
    display: flex; align-items: center;
    text-decoration: none;
  }
  .nav-logo img { height: 44px; width: auto; display: block; }
  .nav-logo .v-accent { color: #3DDC84; }
  .nav-links { display: flex; align-items: center; gap: 28px; position: absolute; left: 50%; transform: translateX(-50%); }
  .nav-links a {
    font-size: 15px; font-weight: 700; color: #444;
    text-decoration: none; white-space: nowrap;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--blue); }
  .nav-actions { display: flex; align-items: center; gap: 16px; }
  .nav-login { font-size: 15px; font-weight: 600; color: #444; text-decoration: none; }
  .btn-blue {
    background: var(--blue); color: #fff;
    border: none; border-radius: 8px;
    padding: 10px 22px; font-size: 14.5px; font-weight: 700;
    cursor: pointer; transition: background 0.2s; text-decoration: none;
    display: inline-block;
  }
  .btn-blue:hover { background: var(--blue-dark); }
  .btn-white {
    background: #fff; color: var(--navy);
    border: none; border-radius: 8px;
    padding: 13px 28px; font-size: 15px; font-weight: 700;
    cursor: pointer; transition: background 0.18s, box-shadow 0.18s; text-decoration: none;
    display: inline-block;
  }
  .btn-white:hover { background: #f0f4ff; box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
  .btn-outline-dark {
    background: transparent; color: #333;
    border: 1.5px solid #c8cdd6; border-radius: 8px;
    padding: 10px 20px; font-size: 13.5px; font-weight: 600;
    cursor: pointer; transition: all 0.2s; text-decoration: none;
    display: inline-flex; align-items: center; gap: 6px;
  }
  .btn-outline-dark:hover { border-color: var(--blue); color: var(--blue); }


/* Footer + Scroll Animations + Hamburger */
  /* ─── FOOTER ─── */
  .footer {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    position: relative;
    overflow: hidden;
  }
  .footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 48px;
  }
  .footer-main {
    padding: 64px 0 48px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
    align-items: start;
  }
  .footer-brand-col {
    padding-left: 0;
  }
  .footer-brand-col { display: flex; flex-direction: column; gap: 0; }
  .footer-logo-wrap {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
  }
  .footer-logo {
    height: 36px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: invert(1) hue-rotate(180deg);
  }
  .footer-tagline {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
    line-height: 1.5;
  }
  .footer-socials { display: flex; align-items: center; gap: 16px; }
  .footer-socials a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
  .footer-socials a:hover { color: #fff; }
  .footer-col h4 {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 18px;
  }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .footer-col ul li a {
    font-size: 13.5px;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.15s;
  }
  .footer-col ul li a:hover { color: #fff; }
  .footer-bottom {
    padding: 20px 0 28px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-copyright { font-size: 12px; color: rgba(255,255,255,0.3); }
  .footer-bottom-links { display: flex; gap: 20px; }
  .footer-bottom-links a { font-size: 12px; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.15s; }
  .footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }
  @media (max-width: 900px) {
    .footer-inner { padding: 0 24px; }
    .footer-main { grid-template-columns: repeat(3, 1fr); padding: 48px 0 32px; }
    .footer-brand-col { grid-column: 1 / -1; }
  }
  @media (max-width: 640px) {
    .footer-inner { padding: 0 20px; }
    .footer-main { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 24px; }
    .footer-brand-col { grid-column: auto; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  }
  /* ─── SCROLL ANIMATIONS ─── */
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
  .reveal.visible { opacity: 1; transform: none; }
  .reveal-left { opacity: 0; transform: translateX(-28px); transition: opacity 0.65s ease, transform 0.65s ease; }
  .reveal-left.visible { opacity: 1; transform: none; }
  .reveal-right { opacity: 0; transform: translateX(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
  .reveal-right.visible { opacity: 1; transform: none; }
  .d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; }
  .d3 { transition-delay: 0.3s; } .d4 { transition-delay: 0.4s; }
  .d5 { transition-delay: 0.5s; }

  /* ─── HAMBURGER ─── */
  .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
  .hamburger span { display: block; width: 22px; height: 2px; background: #555; border-radius: 2px; transition: all 0.3s; }
  .mobile-nav {
    display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: #fff; z-index: 99; padding: 24px 32px; flex-direction: column; gap: 20px;
    border-top: 1px solid #eee; overflow-y: auto;
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { font-size: 17px; font-weight: 600; color: #222; text-decoration: none; padding: 8px 0; border-bottom: 1px solid #f3f4f6; }

  @media (max-width: 1024px) {
    .nav-links { display: none; }
    .nav-actions .nav-login { display: none; }
    .hamburger { display: flex; }
    .hero h1 { font-size: 42px; }
    .que-es, .funcionalidades, 
    .faq-section, .contact-section { padding: 60px 32px; }
    .video-split { grid-template-columns: 1fr; }
    .security-card { grid-template-columns: 1fr; }
    .footer-top-bar, .footer-bottom { padding: 14px 24px; }
    .navbar { padding: 0 24px; }
  }

  @media (max-width: 640px) {
    .hero h1 { font-size: 32px; letter-spacing: -1px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .section-title { font-size: 32px; }
    .feat-grid { grid-template-columns: 1fr; }
  }


/* Pain Section + Dark Bridge + Social Proof + Plataforma + Diferenciadores + CTA Responsive + Navbar Compact */
  /* ─── PAIN SECTION (¿Te suena familiar?) ─── */
  .pain-section {
    background: #F4F7FF;
    padding: 80px 48px 72px;
    text-align: center;
  }
  .pain-inner { max-width: 960px; margin: 0 auto; }
  .pain-eyebrow {
    display: inline-block;
    font-size: 11px; font-weight: 700; letter-spacing: 3px;
    text-transform: uppercase; color: #ef4444;
    margin-bottom: 14px;
  }
  .pain-title {
    font-size: 48px; font-weight: 800; color: #0a0a0a;
    letter-spacing: -1.5px; margin-bottom: 52px; line-height: 1.1;
  }
  .pain-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 20px; margin-bottom: 52px;
  }
  .pain-card {
    background: #fff;
    border: none;
    border-top: 4px solid var(--blue);
    border-radius: 16px; padding: 36px 28px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(27,111,228,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .pain-card:nth-child(even) {
    border-top-color: var(--green);
    box-shadow: 0 4px 24px rgba(61,220,132,0.1);
  }
  .pain-card:hover { transform: translateY(-4px); box-shadow: 0 10px 40px rgba(27,111,228,0.16); }
  .pain-card:nth-child(even):hover { box-shadow: 0 10px 40px rgba(61,220,132,0.2); }
  .pain-icon {
    width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; flex-shrink: 0;
  }
  .pain-card h4 {
    font-size: 17px; font-weight: 800; color: #0a0a0a;
    margin-bottom: 10px; line-height: 1.3;
  }
  .pain-card p {
    font-size: 13.5px; color: #777; line-height: 1.65;
  }
  .pain-bridge {
    display: flex; align-items: center; justify-content: center; gap: 16px;
    color: #1B6FE4; font-size: 14px; font-weight: 600;
  }
  .pain-bridge::before, .pain-bridge::after {
    content: ''; flex: 1; max-width: 80px;
    height: 1px; background: #1B6FE4; opacity: 0.3;
  }

  /* ─── DARK BRIDGE (microcopy en secciones oscuras) ─── */
  .dark-bridge {
    display: flex; align-items: center; justify-content: center;
    gap: 16px; margin-top: 48px;
    color: rgba(255,255,255,0.45); font-size: 13px; font-weight: 500;
    font-style: italic;
  }
  .dark-bridge::before, .dark-bridge::after {
    content: ''; flex: 1; max-width: 60px;
    height: 1px; background: rgba(255,255,255,0.2);
  }

  @media (max-width: 640px) {
    .pain-grid { grid-template-columns: 1fr; }
    .pain-title { font-size: 32px; }
  }



  /* ─── SOCIAL PROOF STRIP ─── */
  /* .social-proof-strip removed */
  .sp-inner {
    max-width: 900px;
    margin: 48px auto 0;
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .sp-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 40px;
    gap: 4px;
  }
  .sp-num {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
  }
  .sp-label {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
    max-width: 130px;
    line-height: 1.4;
    text-align: center;
  }
  .sp-divider {
    width: 1px;
    height: 44px;
    background: rgba(255,255,255,0.12);
    flex-shrink: 0;
  }
  @media (max-width: 640px) {
    .sp-inner { gap: 28px; }
    .sp-divider { display: none; }
    .sp-item { padding: 0; }
  }




  /* ─── PLATAFORMA SECTION ─── */
  .plataforma-section {
    background: #F4F7FF;
    padding: 96px 48px 80px;
  }
  .plataforma-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
  }
  .plat-headline {
    font-size: 48px; font-weight: 800; color: #0a0a0a;
    letter-spacing: -1.5px; line-height: 1.1;
    max-width: 820px; margin: 0 auto 14px;
  }
  .plat-subtitle {
    font-size: 16px; color: #6b7a94; max-width: 560px;
    margin: 0 auto 36px; line-height: 1.6;
  }
  .plat-tabs {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; margin-bottom: 40px; flex-wrap: wrap;
  }
  .plat-tab {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 10px 22px; border-radius: 100px;
    font-size: 13px; font-weight: 700;
    border: 1.5px solid #dde3ee;
    background: #fff; color: #555;
    cursor: pointer; transition: all 0.2s;
    font-family: inherit; letter-spacing: -0.1px;
  }
  .plat-tab:hover { border-color: var(--blue); color: var(--blue); }
  .plat-tab.active { color: #fff; border-color: transparent; }
  .plat-tab.active[data-filter="all"]           { background: var(--navy); }
  .plat-tab.active[data-filter="colaboracion"]  { background: #1B6FE4; }
  .plat-tab.active[data-filter="comunicacion"]  { background: #2CB89A; }
  .plat-tab.active[data-filter="organizacion"]  { background: #8B5CF6; }
  .plat-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
    margin-bottom: 72px; text-align: left;
  }
  .plat-card {
    background: #fff; border: 1.5px solid #e2e8f0; border-radius: 16px;
    padding: 22px; border-top-width: 3px;
    transition: opacity 0.3s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }
  .plat-card.highlighted { box-shadow: 0 4px 24px rgba(0,0,0,0.09); }
  .plat-card.highlighted[data-category="colaboracion"] { border-color: #1B6FE4; }
  .plat-card.highlighted[data-category="comunicacion"] { border-color: #2CB89A; }
  .plat-card.highlighted[data-category="organizacion"] { border-color: #8B5CF6; }
  .plat-card.dimmed { opacity: 0.2; }
  .plat-cat-chip {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 9px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
    padding: 3px 10px; border-radius: 100px; margin-bottom: 14px;
  }
  .plat-cat-chip.colaboracion { background: rgba(27,111,228,0.1); color: #1B6FE4; }
  .plat-cat-chip.comunicacion { background: rgba(44,184,154,0.12); color: #2CB89A; }
  .plat-cat-chip.organizacion { background: rgba(139,92,246,0.1); color: #8B5CF6; }
  .plat-icon {
    width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
  }
  .plat-card h4 { font-size: 14.5px; font-weight: 700; color: #0a0a0a; margin-bottom: 6px; line-height: 1.3; }
  .plat-card p  { font-size: 12.5px; color: #666; line-height: 1.55; }
  /* Plat-split (carrousel + texto) */
  .plat-split {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
    border-top: 1px solid #e2e8f0; padding-top: 64px; text-align: left;
  }
  .plat-split .video-label { color: var(--blue); }
  .plat-split .video-label svg { stroke: var(--blue); }
  .plat-split-headline {
    font-size: 34px; font-weight: 800; color: var(--navy);
    line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.5px;
  }
  .plat-split-body {
    font-size: 14px; color: #4a5568; line-height: 1.75;
  }

  /* ─── DIFERENCIADORES ─── */
  .dif-section {
    background: #F4F7FF;
    color: #1E2A3A; position: relative; overflow: hidden;
    padding: 96px 48px 120px;
  }
  .dif-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 60% at 90% 10%, rgba(27,111,228,0.07) 0%, transparent 60%),
                radial-gradient(ellipse 50% 50% at 10% 90%, rgba(61,220,132,0.07) 0%, transparent 60%);
    pointer-events: none;
  }
  .dif-section .section-label { color: var(--blue); }
  .dif-section .section-label svg { stroke: var(--blue); }
  .dif-section .section-title { color: #1E2A3A; }
  .dif-section .section-desc { color: #64748B; }
  .dif-inner {
    max-width: 1100px; margin: 0 auto;
    text-align: center; position: relative; z-index: 1;
  }
  .dif-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 48px;
    text-align: left;
  }
  .dif-card {
    grid-column: span 2;
    background: #fff;
    border: none;
    border-top: 4px solid var(--blue);
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 4px 24px rgba(27,111,228,0.08);
    transition: box-shadow 0.2s, transform 0.2s;
  }
  .dif-card:nth-child(even) {
    border-top-color: var(--green);
    box-shadow: 0 4px 24px rgba(61,220,132,0.1);
  }
  .dif-card:hover { box-shadow: 0 10px 40px rgba(27,111,228,0.16); transform: translateY(-4px); }
  .dif-card:nth-child(even):hover { box-shadow: 0 10px 40px rgba(61,220,132,0.2); }
  .dif-card:nth-child(4) { grid-column: 2 / span 2; }
  .dif-card:nth-child(5) { grid-column: 4 / span 2; }
  .dif-num {
    font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
    color: #fff; background: var(--blue);
    display: inline-block; padding: 3px 10px; border-radius: 20px;
    margin-bottom: 16px;
  }
  .dif-card:nth-child(even) .dif-num { background: var(--green-dark); }
  .dif-card h3 { font-size: 17px; font-weight: 800; color: #1E2A3A; margin-bottom: 10px; line-height: 1.3; }
  .dif-card p  { font-size: 13px; color: #64748B; line-height: 1.65; }

  @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; }
  }

  /* ─── SOBRE ROMVO — RESPONSIVE ─── */
  @media (max-width: 640px) {
    .page-hero { padding: 64px 20px 72px; }
    .page-hero h1 { font-size: 32px; letter-spacing: -1px; }
    .page-hero p { font-size: 15px; }
    .section { padding: 56px 20px; }
    .section-h2 { font-size: 28px; letter-spacing: -0.5px; }
    .section-subtitle { font-size: 14px; margin-bottom: 36px; }
    .historia-callout { padding: 32px 24px; }
    .historia-callout-quote { font-size: 20px; }
    .mision-box { padding: 28px 20px; border-radius: 18px; }
    .mision-box blockquote { font-size: 17px; }
    .valor-card { padding: 24px 20px; }
  }
  @media (max-width: 390px) {
    .page-hero h1 { font-size: 28px; }
    .section-h2 { font-size: 26px; }
  }

  /* ─── LANGUAGE SWITCHER ─── */
  .lang-switcher { display: inline-flex; gap: 6px; margin-left: 12px; }
  .lang-btn {
    background: none; border: 2px solid transparent; border-radius: 4px;
    padding: 2px 4px; cursor: pointer; font-size: 18px; line-height: 1;
    opacity: 0.5; transition: opacity 0.15s, border-color 0.15s;
  }
  .lang-btn:hover { opacity: 0.8; }
  .lang-btn.active { opacity: 1; border-color: rgba(255,255,255,0.4); }
