/* ============================================================
   Sales by Oftex - hoja de estilos unificada
   Consolida el CSS antes embebido en cada pagina, sin duplicar.

   Reglas comunes a TODAS las paginas: globales (sin envoltura).
   Reglas de un subconjunto de paginas: acotadas con
       :where(body.page-XXX, ...)
   El selector :where() NO anyade especificidad, asi que cada regla
   conserva exactamente la prioridad que tenia en su pagina original;
   solo afecta a las paginas cuyo <body> lleva esa clase.

   Clases por pagina:
     inicio=page-inicio  plataforma=page-plataforma  precios=page-precios
     contacto=page-contacto  404=page-404  legales=page-legal
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
      --dark_blue: #0a4860;
      /* --dark_blue: #1B4F72; */
      --light_blue: #1e8fb1;
      /* --light_blue: #2E86C1; */
      --orange: #E67E22;
      --text: #1a1a2e;
      --text-light: #555;
      --bg: #ffffff;
      --bg-light: #CEE2ED;
      --border: #e8eaf0;
      --radius: 12px;
    }

body:where(.page-inicio, .page-plataforma, .page-precios, .page-contacto, .page-legal) {
      font-family: 'Inter', sans-serif;
      color: var(--text);
      background: var(--bg);
      line-height: 1.6;
    }

/* NAV */
    
    :where(body.page-inicio, body.page-plataforma, body.page-contacto, body.page-legal) nav {
      position: sticky;
      top: 0;
      z-index: 100;
      background: #fff;
      padding: 0 2.5%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 70px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12), inset 0 -1px rgba(0, 0, 0, 0.12);
    }

:where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto) .nav-links a.active {
      color: var(--text);
      position: relative;
    }

:where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto) .nav-links a.active::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 100%;
      height: 3px;
      background-color: var(--dark_blue);
      border-radius: 2px;
    }

:where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto, body.page-legal) .nav-logo {
      font-size: 1.3rem;
      font-weight: 800;
      color: var(--light_blue);
      text-decoration: none;
      letter-spacing: -0.5px;
    }

:where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto) .nav-logo span { color: var(--dark_blue); }

:where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto, body.page-legal) .nav-links {
      display: flex;
      gap: 2rem;
      list-style: none;
    }

:where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto, body.page-legal) .nav-links a {
      text-decoration: none;
      color: var(--text);
      font-size: 1rem;
      font-weight: 550;
      transition: color 0.2s;
    }

:where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto, body.page-legal) .nav-links a:hover { color: var(--dark_blue); }

:where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto, body.page-legal) .nav-cta {
      background: var(--dark_blue);
      color: #fff !important;
      padding: 0.5rem 1.2rem;
      border-radius: 8px;
      font-weight: 600 !important;
      transition: background 0.2s !important;
    }

:where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto, body.page-legal) .nav-cta:hover { background: var(--light_blue) !important; color: #fff !important; }

/* HAMBURGER */
    :where(body.page-inicio, body.page-plataforma) .nav-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      width: 44px;
      height: 44px;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 5px;
    }

:where(body.page-inicio, body.page-plataforma) .nav-toggle span {
      display: block;
      width: 26px;
      height: 3px;
      background: var(--dark_blue);
      border-radius: 2px;
      transition: transform 0.3s, opacity 0.3s;
    }

:where(body.page-inicio, body.page-plataforma) .nav-toggle.open span:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
    }

:where(body.page-inicio, body.page-plataforma) .nav-toggle.open span:nth-child(2) {
      opacity: 0;
    }

:where(body.page-inicio, body.page-plataforma) .nav-toggle.open span:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
    }

/* HERO */
    :where(body.page-inicio) .hero {
      /* background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 50%, #f5f8ff 100%); */
      background: var(--bg-light);
      padding: 55px 5% 50px;
      text-align: center;
    }

:where(body.page-inicio) .hero h1 {
      font-size: clamp(2rem, 4.5vw, 3.2rem);
      font-weight: 900;
      line-height: 1.2;
      max-width: 900px;
      margin: 0 auto 1.5rem;
      color: var(--text);
    }

:where(body.page-inicio) .hero h1 span { color: var(--dark_blue); }

:where(body.page-inicio) .hero-subtitle {
      font-size: clamp(1rem, 2vw, 1.15rem);
      color: var(--text-light);
      max-width: 640px;
      margin: 0 auto 2.5rem;
      line-height: 1.7;
    }

:where(body.page-inicio) .hero-subtitle strong { color: var(--dark_blue); font-weight: 700; }

:where(body.page-inicio) .btn-secondary {
      display: inline-block;
      background: transparent;
      color: var(--dark_blue);
      padding: 1rem 2.2rem;
      border-radius: var(--radius);
      text-decoration: none;
      font-weight: 700;
      font-size: 1rem;
      border: 2px solid var(--dark_blue);
      transition: all 0.2s;
      margin-left: 1rem;
    }

:where(body.page-inicio, body.page-plataforma) .btn-secondary:hover {
      background: var(--dark_blue);
      color: #fff;
    }

/* STATS BAND */
    :where(body.page-inicio) .stats-band {
      background: #fff;
      padding: 40px 5%;
      display: flex;
      justify-content: center;
      gap: 60px;
      flex-wrap: wrap;
      /* border-bottom: 1px solid var(--border); */
    }

:where(body.page-inicio) .stat-item {
      text-align: center;
    }

:where(body.page-inicio) .stat-number {
      font-size: 2.2rem;
      font-weight: 900;
      color: var(--dark_blue);
      line-height: 1;
    }

:where(body.page-inicio) .stat-number span {
      color: white
    }

:where(body.page-inicio) .stat-label {
      font-size: 0.85rem;
      color: var(--text-light);
      margin-top: 4px;
      font-weight: 500;
      margin: 0px auto;
    }

/* DEMO CALL SECTION */
    :where(body.page-inicio) .demo-call {
      background: var(--bg-light);
      color: #fff;
      padding: 34px 5% 18px;
    }

:where(body.page-inicio) .demo-call-inner {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 480px;
      gap: 10%;
      align-items: start;
    }

:where(body.page-inicio) .demo-call-left {
      display: flex;
      flex-direction: column;
      gap: 2rem;
      align-items: flex-start;
    }

:where(body.page-inicio) .demo-call-left .demo-call-form {
      margin: 0;
      align-items: flex-start;
    }

:where(body.page-inicio) .demo-call-calendar {
      width: 100%;
      justify-self: center;
    }

:where(body.page-inicio) .demo-call-calendar-title {
      text-align: center;
      margin: 0 0 16px;
      line-height: normal;
      font-size: clamp(1.1rem, 1.6vw, 1.4rem);
      white-space: nowrap;
    }

:where(body.page-inicio) .demo-call-calendar iframe {
      display: block;
      width: 100%;
      max-height: 400px;
      height: 300px;
      border: 0;
      border-radius: 10px;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
      background: #fff;
    }

:where(body.page-inicio) .demo-call h2 {
      font-size: clamp(1.9rem, 3vw, 2.35rem);
      font-weight: 900;
      line-height: 1.1;
      margin-bottom: 1.2rem;
      letter-spacing: -0.6px;
    }

:where(body.page-inicio) .demo-call-subtitle {
      font-size: clamp(1.15rem, 2vw, 1.55rem);
      text-align: left;
      font-weight: 800;
      line-height: 1.25;
    }

:where(body.page-inicio) p2 {
      font-size: 2px;
      color: var(--text);
      line-height: 1.6;
      text-align: left;

    }

:where(body.page-inicio) button {
      display: inline-block;
      background: var(--dark_blue);
      color: #fff;
      padding: 0.5rem 1.2rem;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 600;
      font-size: 0.95rem;
      font-family: inherit;
      border: none;
      cursor: pointer;
      transition: background 0.2s;
    }

:where(body.page-inicio) button:hover {
      background: var(--light_blue);
      color: #fff;
    }

:where(body.page-inicio) .demo-call-form {
      display: flex;
      flex-direction: column;
      gap: 12px;
      align-items: center;
      padding-top: 1px;
      margin: 0 auto;
    }

:where(body.page-inicio) .demo-call-form input {
      width: 100%;
      height: 42px;
      border: 1.2px solid rgba(0,0,0,0.15);
      border-radius: 4px;
      background: #fff;
      padding: 0 16px;
      font-family: inherit;
      font-size: 0.95rem;
      color: var(--text);
      box-shadow: inset 0 1px 2px rgba(0,0,0,0.15);
      cursor:text;
    }

:where(body.page-inicio) .demo-call-form input2 {
      width: 100%;
      height: 42px;
      border: 1.2px solid rgba(0,0,0,0.15);
      border-radius: 4px;
      background: #fff;
      padding: 0 16px;
      font-family: inherit;
      font-size: 0.95rem;
      color: var(--text);
      box-shadow: inset 0 1px 2px rgba(0,0,0,0.15);
      cursor:text;
    }

:where(body.page-inicio) .demo-call-form input::placeholder {
      color: var(--dark_blue);
    }

:where(body.page-inicio) .demo-call-form .web-input {
      width: 100%;
      max-width: 305px;
    }

:where(body.page-inicio) .demo-call-form .llamame-btn {
      width: 100%;
      max-width: 305px;
      height: 47px;
    }

:where(body.page-inicio) .demo-call-form button {
      display: inline-block;
      background: var(--dark_blue);
      color: #fff;
      padding: 0.5rem 1.2rem;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 600;
      font-size: 0.95rem;
      font-family: inherit;
      border: none;
      cursor: pointer;
      transition: background 0.2s;
      margin-top: 10px;
    }

:where(body.page-inicio) .demo-call-form button:hover {
      background: var(--light_blue);
      color: #fff;
    }

:where(body.page-inicio) /* 
    .demo-call-form button {
      justify-self: start;
      height: 52px;
      min-width: 174px;
      background: transparent;
      color: #fff;
      border: 2px solid #fff;
      font-family: inherit;
      font-weight: 900;
      font-size: 0.96rem;
      letter-spacing: 0.2px;
      cursor: pointer;
      transition: background 0.2s, color 0.2s;
    }

    .demo-call-form button:hover {
      background: #fff;
      color: var(--dark_blue);
    } */

    .demo-call-legal {
      max-width: 1020px;
      margin: 78px auto 0;
      text-align: center;
      font-size: 0.9rem;
      line-height: 1.55;
      font-weight: 700;
    }

/* SECTION COMMON */
    :where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto) section {
      padding: 80px 5%;
    }

:where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto) .section-title {
      text-align: center;
      font-size: clamp(1.6rem, 3vw, 2.2rem);
      font-weight: 800;
      margin-bottom: 1rem;
    }

:where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto) .section-title span { color: var(--dark_blue); }

:where(body.page-inicio, body.page-precios, body.page-contacto) .section-sub {
      text-align: center;
      color: var(--text-light);
      max-width: 600px;
      margin: 0 auto 3rem;
      font-size: 1.05rem;
    }

/* HOW IT WORKS */
    :where(body.page-inicio) .how-it-works {
      background: var(--bg-light);
    }

:where(body.page-inicio) .steps {
      display: flex;
      gap: 2rem;
      justify-content: center;
      flex-wrap: wrap;
      max-width: 900px;
      margin: 0 auto 3rem;
    }

:where(body.page-inicio) .step {
      flex: 1;
      min-width: 220px;
      max-width: 270px;
      background: #fff;
      border-radius: var(--radius);
      padding: 2rem 1.5rem;
      box-shadow: 0 2px 16px rgba(0,87,255,0.07);
      text-align: center;
    }

:where(body.page-inicio) .step-num {
      width: 44px;
      height: 44px;
      background: var(--dark_blue);
      color: #fff;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 1.1rem;
      margin: 0 auto 1rem;
    }

:where(body.page-inicio) .step h3 {
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
    }

:where(body.page-inicio) .step p {
      font-size: 0.9rem;
      color: var(--text-light);
      line-height: 1.6;
    }

/* RESPONSES SECTION */
    :where(body.page-inicio) .responses-section {
      background: #fff;
    }

:where(body.page-inicio) .response-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1rem;
      max-width: 800px;
      margin: 0 auto 2rem;
    }

:where(body.page-inicio) .response-card {
      border-radius: var(--radius);
      padding: 1.2rem 1.5rem;
      font-size: 0.95rem;
      font-weight: 600;
    }

:where(body.page-inicio) .response-card.opportunity {
      background: #e8f5e9;
      color: #2e7d32;
      border-left: 4px solid #4caf50;
    }

:where(body.page-inicio) .response-card.rejected {
      background: #fce4e4;
      color: #c62828;
      border-left: 4px solid #e53935;
    }

:where(body.page-inicio) .response-card .tag {
      font-size: 0.78rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-top: 0.3rem;
      opacity: 0.8;
    }

:where(body.page-inicio) .response-note {
      text-align: center;
      font-style: italic;
      color: var(--text-light);
      font-size: 0.95rem;
    }

/* TESTIMONIALS */
    :where(body.page-inicio) .testimonials {
      background: var(--bg-light);
    }

:where(body.page-inicio) .testimonial-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
      max-width: 1000px;
      margin: 0 auto;
    }

:where(body.page-inicio) .testimonial-card {
      background: #fff;
      border-radius: var(--radius);
      padding: 2rem;
      box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    }

:where(body.page-inicio) .testimonial-quote {
      font-size: 0.97rem;
      color: var(--text);
      line-height: 1.7;
      margin-bottom: 1.5rem;
      font-style: italic;
    }

:where(body.page-inicio) .testimonial-quote::before { content: '"'; color: var(--dark_blue); font-size: 1.3rem; font-style: normal; }

:where(body.page-inicio) .testimonial-quote::after { content: '"'; color: var(--dark_blue); font-size: 1.3rem; font-style: normal; }

:where(body.page-inicio) .testimonial-author {
      display: flex;
      align-items: center;
      gap: 0.8rem;
    }

:where(body.page-inicio) .testimonial-avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--dark_blue), #6c63ff);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-weight: 700;
      font-size: 1rem;
      flex-shrink: 0;
    }

:where(body.page-inicio) .testimonial-name {
      font-weight: 700;
      font-size: 0.9rem;
    }

:where(body.page-inicio) .testimonial-role {
      font-size: 0.8rem;
      color: var(--text-light);
    }

/* FOR WHOM */
    :where(body.page-inicio) .for-whom {
      background: #fff;
      text-align: center;
    }

:where(body.page-inicio) .tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
      justify-content: center;
      margin-bottom: 3rem;
    }

:where(body.page-inicio) .tag-pill {
      background: var(--bg-light);
      border: 1px solid var(--border);
      border-radius: 50px;
      padding: 0.5rem 1.2rem;
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--text);
    }

/* FAQ */
    :where(body.page-inicio) .faq {
      background: var(--bg-light);
    }

:where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto) .faq-list {
      max-width: 750px;
      margin: 0 auto;
    }

:where(body.page-inicio) .faq-item {
      background: #fff;
      border-radius: var(--radius);
      margin-bottom: 0.8rem;
      overflow: hidden;
      box-shadow: 0 1px 8px rgba(0,0,0,0.05);
    }

:where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto) .faq-question {
      width: 100%;
      background: none;
      border: none;
      padding: 1.2rem 1.5rem;
      text-align: left;
      font-weight: 600;
      font-size: 0.97rem;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-family: inherit;
      color: var(--dark_blue);
    }

:where(body.page-inicio) .faq-question:hover { 
      background: #E6E6E6; 
      color: var(--dark_blue)
    }

:where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto) .faq-question .chevron {
      transition: transform 0.3s;
      color: var(--dark_blue);
      font-size: 1.2rem;
    }

:where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto) .faq-item.open .chevron { transform: rotate(180deg); }

:where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto) .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      font-size: 0.93rem;
      color: var(--text-light);
      line-height: 1.7;
      
    }

:where(body.page-inicio, body.page-precios, body.page-contacto) .faq-item.open .faq-answer {
      max-height: 300px;
    }

:where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto) .faq-answer-inner { padding: 0.1rem 1.5rem 1.2rem; }

/* CTA BOTTOM */
    :where(body.page-inicio) .cta-bottom {
      background: linear-gradient(135deg, var(--dark_blue) 0%, var(--light_blue) 100%);
      color: #fff;
      text-align: center;
      padding: 80px 5%;
    }

:where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto) .cta-bottom h2 {
      font-size: clamp(1.6rem, 3vw, 2.2rem);
      font-weight: 800;
      margin-bottom: 1rem;
    }

:where(body.page-inicio) .cta-bottom p {
      opacity: 0.85;
      margin-bottom: 2.5rem;
      font-size: 1.05rem;
    }

:where(body.page-inicio) .btn-white {
      display: inline-block;
      background: #fff;
      color: var(--dark_blue);
      padding: 1rem 2.2rem;
      border-radius: var(--radius);
      text-decoration: none;
      font-weight: 700;
      font-size: 1rem;
      transition: transform 0.15s;
      box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    }

:where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto) .btn-white:hover { transform: translateY(-2px); }

/* FOOTER */
    :where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto, body.page-legal) footer {
      background: #0f0f1a;
      color: rgba(255,255,255,0.6);
      padding: 40px 5% 40px;
    }

:where(body.page-inicio) .footer-top {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      align-items: start;
      gap: 2rem;
      padding-bottom: 2rem;
      border-bottom: 1px solid rgba(255,255,255,0.1);
      margin-bottom: 2rem;
    }

@media (max-width: 768px) {
  :where(body.page-inicio) .footer-top {
        grid-template-columns: 1fr;
      }
}

:where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto, body.page-legal) .footer-brand .nav-logo { font-size: 1.4rem; }

:where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto, body.page-legal) .footer-brand p {
      font-size: 0.85rem;
      margin-top: 0.8rem;
      max-width: 280px;
      line-height: 1.6;
    }

:where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto, body.page-legal) .footer-links h4 {
      color: #fff;
      font-size: 1rem;
      margin-bottom: 0.8rem;
    }

:where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto, body.page-legal) .footer-links a {
      display: block;
      width: fit-content;
      margin-left: auto;
      color: rgba(255,255,255,0.55);
      text-decoration: none;
      font-size: 0.85rem;
      margin-bottom: 0.6rem;
      transition: color 0.2s;
    }

:where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto, body.page-legal) .footer-links a:hover { color: #fff; }

:where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto, body.page-legal) .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
      font-size: 0.8rem;
    }

:where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto, body.page-legal) .footer-social {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }

:where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto, body.page-legal) .footer-social a {
      color: rgba(255,255,255,0.5);
      text-decoration: none;
      font-size: 0.82rem;
      transition: color 0.2s;
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
    }

:where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto, body.page-legal) .footer-social a i {
      font-size: 1.05rem;
      line-height: 1;
    }

:where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto, body.page-legal) .footer-social a:hover { color: #fff; }

:where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto, body.page-legal) .feder-badge {
      background: rgba(255,255,255,0.06);
      border-radius: 8px;
      padding: 0.8rem 1rem;
      font-size: 0.75rem;
      line-height: 1.5;
      max-width: 320px;
    }

:where(body.page-inicio) .feder-logo {
        width: 200px;
        height: auto;
        object-fit: cover;
        display: block;
        margin: 0 auto 5px;
    }

:where(body.page-inicio) .avatar-box {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        overflow: hidden;
        flex-shrink: 0;
    }

:where(body.page-inicio) .avatar-img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
        display: block;
    }

:where(body.page-inicio, body.page-plataforma, body.page-precios, body.page-contacto, body.page-legal) .footer-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 2rem;

      padding-bottom: 2rem;
      border-bottom: 1px solid rgba(255,255,255,0.1);
      margin-bottom: 2rem;
    }

:where(body.page-inicio) .footer-brand {
      width: 45%;
    }

:where(body.page-inicio) .footer-links {
    width: 45%;
    text-align: right;
  }

:where(body.page-inicio, body.page-contacto) .footer-feder {
    display: flex;
    justify-content: center;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

@media (max-width: 768px) {
  :where(body.page-inicio, body.page-contacto) .footer-brand, :where(body.page-inicio, body.page-contacto) .footer-links {
      width: 100%;
      text-align: left;
    }
  :where(body.page-inicio, body.page-contacto) .footer-links a {
      margin-left: 0;
    }
}

:where(body.page-inicio) .newsletter-section h2 {
    line-height:1.4;
  }

:where(body.page-inicio) .newsletter-section input, :where(body.page-inicio) .newsletter-section button {
    height:52px !important;
  }

:where(body.page-inicio) .barra-blanca {
    width: 20%px;
    height: 5px;
    background: white;
    margin: 0px auto 25px;
   
    border-radius: 999px;
  }

/* RESPONSIVE — TABLET */
    @media (max-width: 900px) {
  :where(body.page-inicio) .stats-band {
        display: grid;
        grid-template-columns: repeat(2, max-content);
        justify-content: center;
        gap: 32px 80px;
      }
  :where(body.page-inicio) .demo-call-inner {
        grid-template-columns: 1fr;
        gap: 28px;
      }
  :where(body.page-inicio) .demo-call-left {
        align-items: center;
      }
  :where(body.page-inicio) .demo-call-left .demo-call-form {
        margin: 0 auto;
        align-items: center;
      }
  :where(body.page-inicio) .demo-call-calendar {
        max-width: 480px;
        margin: 0 auto;
      }
  :where(body.page-inicio) .demo-call-calendar iframe {
        height: 460px;
      }
  :where(body.page-inicio) .demo-call h2, :where(body.page-inicio) .demo-call-subtitle {
        text-align: center !important;
      }
}

/* RESPONSIVE — MOBILE */
    @media (max-width: 833px) {
  :where(body.page-inicio) nav {
        padding: 0 4%;
        flex-wrap: wrap;
      }
  :where(body.page-inicio) .nav-toggle {
        display: flex;
      }
  :where(body.page-inicio) .nav-links {
        display: none;
        flex-direction: column;
        gap: 0;
        width: 100%;
        background: #fff;
        order: 3;
        padding: 0.5rem 0 1rem;
        border-top: 1px solid var(--border);
      }
  :where(body.page-inicio) .nav-links.open {
        display: flex;
      }
  :where(body.page-inicio) .nav-links li {
        width: 100%;
      }
  :where(body.page-inicio) .nav-links a {
        display: block;
        padding: 0.75rem 0;
        width: 100%;
      }
  :where(body.page-inicio) .nav-links a.active::after { display: none; }
  :where(body.page-inicio) .nav-cta {
        display: inline-block !important;
        width: fit-content;
        margin-top: 0.5rem;
      }
}

@media (max-width: 680px) {
  :where(body.page-inicio) .hero { padding: 50px 4% 40px; }
  :where(body.page-inicio) section { padding: 50px 4%; }
  :where(body.page-inicio) .stats-band {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 30px 4% !important;
      }
  :where(body.page-inicio) .stats-band .stat-item {
        width: 100%;
        text-align: center;
      }
  :where(body.page-inicio) .stat-number { font-size: 1.8rem; }
  :where(body.page-inicio) .stat-label { font-size: 0.78rem; }
  :where(body.page-inicio) .demo-call { padding: 34px 4% 18px; }
  :where(body.page-inicio) .demo-call-form {
        max-width: 420px;
        margin: 0 auto;
        width: 100%;
      }
  :where(body.page-inicio) .demo-call-legal { margin-top: 46px; font-size: 0.82rem; }
  :where(body.page-inicio) .btn-secondary {
        margin-left: 0;
        margin-top: 0.8rem;
        display: block;
        text-align: center;
        padding: 0.9rem 1.4rem;
        font-size: 0.95rem;
      }
  :where(body.page-inicio) .hero a.btn-secondary:first-of-type { margin-top: 0; }
  :where(body.page-inicio) .steps { gap: 1.2rem; }
  :where(body.page-inicio) .step { min-width: 100%; max-width: 100%; }
  :where(body.page-inicio) footer { padding: 40px 4% 20px; }
  :where(body.page-inicio) .footer-top {
        flex-direction: column;
        gap: 1.5rem;
      }
  :where(body.page-inicio) .footer-brand, :where(body.page-inicio) .footer-links {
        width: 100%;
        text-align: left;
      }
  :where(body.page-inicio) .footer-links a { margin-left: 0; }
  :where(body.page-inicio) .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
      }
  :where(body.page-inicio) .cta-bottom { padding: 50px 4% !important; }
  :where(body.page-inicio) .cta-bottom h2 { font-size: 1.3rem; line-height: 1.35; }
  :where(body.page-inicio) .newsletter-section input, :where(body.page-inicio) .newsletter-section button {
        width: 100% !important;
      }
  :where(body.page-inicio) .newsletter-section h2 { font-size: 1.2rem !important; line-height: 1.4; }
  :where(body.page-inicio) .response-card[style*="width: 260px"] {
        width: 100% !important;
        max-width: 260px;
        min-width: 0 !important;
      }
}

@media (max-width: 420px) {
  :where(body.page-inicio) .hero h1 { font-size: 1.55rem; }
  :where(body.page-inicio) .stats-band { gap: 18px 24px; }
  :where(body.page-inicio) .stat-number { font-size: 1.55rem; }
  :where(body.page-inicio) .nav-logo { font-size: 1.05rem; }
}

/* Integrar selector de país dentro del input de teléfono */
    :where(body.page-inicio) .demo-call-form .iti {
      width: 100%;
      max-width: 305px;
    }

:where(body.page-inicio) .demo-call-form .iti input#phone {
      width: 100%;
      margin-left: 0 !important;
      padding-left: 100px !important;
    }

:where(body.page-inicio) .demo-call-form .iti__flag-container {
      background: transparent;
      border-right: 1px solid rgba(0,0,0,0.12);
    }

:where(body.page-inicio) .demo-call-form .iti__selected-flag {
      padding: 0 8px 0 12px;
      border-radius: 4px 0 0 4px;
      border: 1px solid var(--text-light);
      
      background: #E6E6E6;
    }

:where(body.page-inicio) .demo-call-form .iti__selected-dial-code {
      font-size: 13px;
      margin-left: 4px;
      /* Ancho fijo: el botón no cambia de tamaño al elegir prefijos distintos */
      flex: none;
      width: 34px;
      text-align: left;
    }

:where(body.page-inicio) .demo-call-form .iti__selected-flag:focus {
      background: rgba(10, 72, 96, 0.06);
    }

/* Desplegable de países: ancho fijo para que no encoja al filtrar */
    :where(body.page-inicio) .demo-call-form .iti__country-list {
      width: 303px !important;
      max-height: 220px;
      white-space: normal;
      box-sizing: border-box;
    }

@media (max-width: 680px) {
  :where(body.page-inicio) .demo-call-form .iti__country-list {
        width: 90vw !important;
        min-width: 90vw !important;
        max-width: 90vw !important;
      }
}

:where(body.page-inicio, body.page-contacto) .iti__search-wrapper {
      width: 100%;
      position: sticky;
      top: 0;
      list-style: none;
      background: #fff;
      padding: 8px;
      border-bottom: 1px solid var(--border);
      z-index: 2;
    }

:where(body.page-inicio, body.page-contacto) .iti__search-input {
      width: 100%!important;
      height: 36px!important;
      padding: 0 auto 0!important;
      border: 2px solid var(--light_blue)!important;
      border-radius: 6px!important;
      font-family: inherit!important;
      font-size: 0.9rem!important;
      color: var(--text)!important;
      outline: none!important;
      box-sizing: border-box!important;
      transition: border-color 0.2s, box-shadow 0.2s!important;
    }

:where(body.page-inicio, body.page-contacto) .iti__search-input:focus {
      border-color: var(--light_blue);
      box-shadow: 0 0 0 3px rgba(30, 143, 177, 0.15);
    }

:where(body.page-inicio, body.page-contacto) .iti__no-results {
      list-style: none;
      padding: 10px 12px;
      font-size: 0.88rem;
      color: var(--text-light);
      font-style: italic;
    }

/* PANEL DE NOTIFICACIÓN — sale a la izquierda del formulario */
  :where(body.page-inicio) #form-notice {
    position: absolute;
    top: 0;
    bottom: 0;
    right: calc(100% + 20px);
    width: 320px;
    max-width: 320px;
    margin-top: 20px;
    height: 120px;
    padding: 1.2rem 2.4rem 1.2rem 1.3rem;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--border);
    border-right: 4px solid var(--dark_blue);
    box-shadow: 0 6px 24px rgba(10, 72, 96, 0.12);
    font-family: 'Inter', sans-serif;
    color: var(--text);
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    pointer-events: none;
    z-index: 50;
  }

:where(body.page-inicio, body.page-contacto) #form-notice.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
  }

:where(body.page-inicio) #form-notice.error {
    border-right-color: #C70000;
  }

/* BOTÓN CERRAR */
  :where(body.page-inicio, body.page-contacto) #form-notice .form-notice-close {
    position: absolute;
    top: 12px;
    right: 17px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    color: var(--dark_blue);
    line-height: 1;
    padding: 0;
    margin: 0;
    transition: opacity 0.2s, color 0.2s;
  }

:where(body.page-inicio) #form-notice .form-notice-close:hover {
    opacity: 1;
    color: var(--dark_blue);
  }

/* CONTENIDO */
  :where(body.page-inicio, body.page-contacto) .form-notice-body {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
  }

:where(body.page-inicio, body.page-contacto) .form-notice-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    background: var(--dark_blue);
  }

:where(body.page-inicio) #form-notice.error .form-notice-icon {
    background: #C70000;
  }

:where(body.page-inicio, body.page-contacto) .form-notice-text {
    flex: 1;
    min-width: 0;
  }

:where(body.page-inicio) .form-notice-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark_blue);
    margin-bottom: 0.2rem;
    line-height: 1.3;
  }

:where(body.page-inicio, body.page-contacto) #form-notice.error .form-notice-title {
    color: #A12B2B;
  }

:where(body.page-inicio) .form-notice-msg {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-light);
    line-height: 1.5;
  }

/* RESPONSIVE: por debajo del formulario en pantallas estrechas */
  @media (max-width: 900px) {
  :where(body.page-inicio) #form-notice {
      position: static;
      width: 100%;
      max-width: 420px;
      height: auto;
      min-height: 90px;
      margin: 14px auto 0;
      transform: translateY(-8px);
    }
  :where(body.page-inicio) #form-notice.show {
      transform: translateY(0);
    }
}

@media (max-width: 680px) {
  :where(body.page-inicio) #form-notice {
      max-width: 100%;
      padding: 1rem 2.2rem 1rem 1rem;
    }
  :where(body.page-inicio) .form-notice-title { font-size: 1rem; }
  :where(body.page-inicio) .form-notice-msg { font-size: 0.86rem; }
}

/* HERO (platform) */
    :where(body.page-plataforma) .platform-hero {
      background: var(--bg-light);
      padding: 50px 5% 25px;
      text-align: center;
    }

:where(body.page-plataforma) .platform-hero h1 {
      font-size: clamp(2rem, 4.5vw, 3.2rem);
      font-weight: 900;
      line-height: 1.2;
      max-width: 900px;
      margin: 0 auto 1.2rem;
      color: var(--text);
    }

:where(body.page-plataforma) .platform-hero h1 span { color: var(--dark_blue); }

:where(body.page-plataforma) .platform-hero p {
      font-size: clamp(1rem, 2vw, 1.15rem);
      color: var(--text-light);
      max-width: 720px;
      margin: 0 auto 1.8rem;
      line-height: 1.7;
    }

:where(body.page-plataforma) .platform-hero p strong { color: var(--dark_blue); font-weight: 700; }

:where(body.page-plataforma) .platform-hero .hero-ctas {
      display: flex;
      gap: 1rem;
      justify-content: center;
      flex-wrap: wrap;
      margin-top: 0.5rem;
    }

:where(body.page-plataforma) .btn-primary {
      display: inline-block;
      background: var(--dark_blue);
      color: #fff;
      padding: 0.95rem 1.8rem;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 700;
      font-size: 0.95rem;
      letter-spacing: 0.4px;
      transition: background 0.2s, transform 0.15s;
    }

:where(body.page-plataforma) .btn-primary:hover { background: var(--light_blue); transform: translateY(-1px); }

:where(body.page-plataforma) .btn-secondary {
      display: inline-block;
      background: transparent;
      color: var(--dark_blue);
      padding: 0.95rem 1.8rem;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 700;
      font-size: 0.95rem;
      border: 2px solid var(--dark_blue);
      transition: all 0.2s;
    }

:where(body.page-plataforma) .section-sub {
      text-align: center;
      color: var(--text-light);
      max-width: 640px;
      margin: 0 auto 3rem;
      font-size: 1.05rem;
      line-height: 1.7;
    }

/* MODULES OVERVIEW */
    :where(body.page-plataforma) .modules-overview {
      background: #fff;
      padding: 40px 5% 50px;
    }

:where(body.page-plataforma) .modules-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.8rem;
      max-width: 1100px;
      margin: 0 auto;
    }

:where(body.page-plataforma) .module-card {
      background: #fff;
      border: 2px solid #C9CCD4;
      border-radius: var(--radius);
      padding: 2rem 2rem;
      transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
      position: relative;
      overflow: hidden;
    }

:where(body.page-plataforma) .module-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 14px 36px rgba(10, 72, 96, 0.10);
      border-color: var(--light_blue);
    }

:where(body.page-plataforma) .module-card .module-icon {
      width: 60px;
      height: 60px;
      background: linear-gradient(135deg, var(--dark_blue) 0%, var(--light_blue) 100%);
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 1.7rem;
      margin-bottom: 1.2rem;
    }

:where(body.page-plataforma) .module-card .module-name {
      font-size: 1.6rem;
      font-weight: 900;
      color: var(--dark_blue);
      letter-spacing: 0.5px;
      margin-bottom: 0.4rem;
    }

:where(body.page-plataforma) .module-card .module-tag {
      display: inline-block;
      background: var(--bg-light);
      color: var(--dark_blue);
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      padding: 0.3rem 0.7rem;
      border-radius: 999px;
      margin-bottom: 1rem;
    }

:where(body.page-plataforma) .module-card p {
      color: var(--text-light);
      font-size: 0.97rem;
      line-height: 1.65;
      margin-bottom: 1.4rem;
    }

:where(body.page-plataforma) .module-card .module-anchor {
      color: var(--dark_blue);
      text-decoration: none;
      font-weight: 700;
      font-size: 0.9rem;
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      transition: gap 0.2s, color 0.2s;
    }

:where(body.page-plataforma) .module-card .module-anchor:hover {
      gap: 0.6rem;
      color: var(--light_blue);
    }

/* MODULE DETAIL SECTIONS */
    :where(body.page-plataforma) .module-detail {
      padding: 50px 5% 30px;
    }

:where(body.page-plataforma) .module-detail.bg-light { background: var(--bg-light); }

:where(body.page-plataforma) .module-detail.bg-white { background: #fff; }

:where(body.page-plataforma) .module-detail-header {
      max-width: 1000px;
      margin: 0 auto 3rem;
      text-align: center;
    }

:where(body.page-plataforma) .module-detail-header .module-tag {
      display: inline-block;
      background: var(--dark_blue);
      color: #fff;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      padding: 0.35rem 0.95rem;
      border-radius: 999px;
      margin-bottom: 1rem;
    }

:where(body.page-plataforma) .module-detail-header .title-row {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.9rem;
      flex-wrap: nowrap;
      margin-bottom: 1rem;
    }

:where(body.page-plataforma) .module-detail-header .title-row .module-tag {
      flex-shrink: 0;
      white-space: nowrap;
    }

:where(body.page-plataforma) .module-detail-header .title-row .module-tag {
      margin-bottom: 0;
    }

:where(body.page-plataforma) .module-detail-header .title-row h2 {
      margin-bottom: 0;
      white-space: nowrap;
    }

:where(body.page-plataforma) .module-detail-header h2 {
      font-size: clamp(1.6rem, 3vw, 2.2rem);
      font-weight: 800;
      margin-bottom: 1rem;
    }

:where(body.page-plataforma) .module-detail-header h2 span { color: var(--dark_blue); }

:where(body.page-plataforma) .module-detail-header p {
      color: var(--text-light);
      font-size: 1.05rem;
      line-height: 1.7;
    }

/* FEATURES GRID */
    :where(body.page-plataforma) .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
      max-width: 1150px;
      margin: 0 auto;
    }

:where(body.page-plataforma) .feature-card {
      background: #fff;
      border: 0px solid #C9CCD4;
      border-radius: var(--radius);
      padding: 1.8rem 1.6rem;
      transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
      display: flex;
      flex-direction: column;
    }

:where(body.page-plataforma) /* .feature-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 28px rgba(10, 72, 96, 0.08);
      border-color: var(--light_blue);
    } */

    .feature-card .feature-step {
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: var(--light_blue);
      margin-bottom: 0.5rem;
    }

:where(body.page-plataforma) .feature-card .feature-icon {
      width: 48px;
      height: 48px;
      background: var(--bg-light);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--dark_blue);
      font-size: 1.4rem;
      margin-bottom: 1rem;
    }

:where(body.page-plataforma) .feature-card h3 {
      font-size: 1.1rem;
      font-weight: 800;
      color: var(--dark_blue);
      margin-bottom: 0.5rem;
      line-height: 1.3;
    }

:where(body.page-plataforma) .feature-card p {
      color: var(--text-light);
      font-size: 0.93rem;
      line-height: 1.6;
      margin-bottom: 1rem;
      flex: 1;
    }

:where(body.page-plataforma) .feature-card ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

:where(body.page-plataforma) .feature-card ul li {
      font-size: 0.88rem;
      color: var(--text);
      padding: 0.4rem 0;
      
      display: flex;
      gap: 0.5rem;
      align-items: flex-start;
      line-height: 1.5;
    }

:where(body.page-plataforma) .feature-card ul li i {
      color: var(--light_blue);
      flex-shrink: 0;
      margin-top: 2px;
      font-size: 1rem;
    }

/* VANESSA FEATURES (4 columns) */
    :where(body.page-plataforma) .features-grid.cols-4 {
      grid-template-columns: repeat(4, 1fr);
    }

/* WORKFLOW */
    :where(body.page-plataforma) .workflow {
      background: #fff;
      padding: 55px 5%;
    }

:where(body.page-plataforma) .workflow-steps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.5rem;
      max-width: 1150px;
      margin: 0 auto;
      position: relative;
    }

:where(body.page-plataforma) .workflow-step {
      text-align: center;
      position: relative;
    }

:where(body.page-plataforma) .workflow-step .step-num {
      width: 54px;
      height: 54px;
      background: var(--dark_blue);
      color: #fff;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 900;
      font-size: 1.2rem;
      margin: 0 auto 1rem;
      position: relative;
      z-index: 2;
    }

:where(body.page-plataforma) .workflow-step h3 {
      font-size: 1.05rem;
      font-weight: 800;
      color: var(--text);
      margin-bottom: 0.5rem;
    }

:where(body.page-plataforma) .workflow-step p {
      color: var(--text-light);
      font-size: 0.93rem;
      line-height: 1.6;
    }

/* STATS / TRUST BAND */
    :where(body.page-plataforma) .trust-band {
      background: var(--bg-light);
      padding: 55px 5%;
    }

:where(body.page-plataforma) .trust-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 1.2rem;
      max-width: 1100px;
      margin: 0 auto;
      text-align: center;
    }

:where(body.page-plataforma) .trust-item .trust-number {
      font-size: clamp(2rem, 3.5vw, 2.8rem);
      font-weight: 900;
      color: var(--dark_blue);
      line-height: 1;
      margin-bottom: 0.4rem;
    }

:where(body.page-plataforma) .trust-item .trust-label {
      font-size: 0.92rem;
      color: var(--text-light);
      font-weight: 500;
    }

/* FAQ */
    :where(body.page-plataforma) .faq {
      background: #fff;
      padding: 45px 5% 60px;
    }

:where(body.page-plataforma, body.page-precios, body.page-contacto) .faq-item {
      background: #fff;
      border: 2px solid #C9CCD4;
      border-radius: var(--radius);
      margin-bottom: 0.8rem;
      overflow: hidden;
    }

:where(body.page-plataforma, body.page-precios, body.page-contacto) .faq-question:hover {
      background: #E6E6E6;
      color: var(--dark_blue);
    }

:where(body.page-plataforma) .faq-item.open .faq-answer { max-height: 320px; }

/* CTA BOTTOM */
    :where(body.page-plataforma, body.page-precios, body.page-contacto) .cta-bottom {
      background: linear-gradient(135deg, var(--dark_blue) 0%, var(--light_blue) 100%);
      color: #fff;
      text-align: center;
      padding: 55px 5% 50px;
    }

:where(body.page-plataforma, body.page-precios, body.page-contacto) .cta-bottom p {
      opacity: 0.9;
      margin-bottom: 2.2rem;
      font-size: 1.05rem;
    }

:where(body.page-plataforma, body.page-precios, body.page-contacto) .btn-white {
      display: inline-block;
      background: #fff;
      color: var(--dark_blue);
      padding: 1rem 2.2rem;
      border-radius: var(--radius);
      text-decoration: none;
      font-weight: 700;
      font-size: 1rem;
      transition: transform 0.15s;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }

:where(body.page-plataforma, body.page-precios, body.page-contacto, body.page-legal) .footer-brand { width: 45%; }

:where(body.page-plataforma, body.page-precios, body.page-legal) .footer-feder {
      display: flex;
      justify-content: center;
      padding-bottom: 2rem;
      margin-bottom: 2rem;
      border-bottom: 1px solid rgba(255,255,255,0.1);
    }

:where(body.page-plataforma, body.page-precios, body.page-contacto, body.page-legal) .feder-logo {
      width: 200px;
      height: auto;
      object-fit: cover;
      display: block;
      margin: 0 auto 5px;
    }

:where(body.page-plataforma, body.page-precios, body.page-contacto, body.page-legal) .footer-links {
      width: 45%;
      text-align: right;
    }

/* RESPONSIVE */
    @media (max-width: 1024px) {
  :where(body.page-plataforma) .modules-grid { grid-template-columns: 1fr; }
  :where(body.page-plataforma) .features-grid, :where(body.page-plataforma) .features-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  :where(body.page-plataforma) .workflow-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :where(body.page-plataforma) .module-detail-header .title-row {
        flex-direction: column;
        flex-wrap: wrap;
        gap: 0.6rem;
      }
  :where(body.page-plataforma) .module-detail-header .title-row h2 {
        white-space: normal;
      }
}

@media (max-width: 768px) {
  :where(body.page-plataforma) nav {
        padding: 0 4%;
        flex-wrap: wrap;
      }
  :where(body.page-plataforma) .nav-toggle { display: flex; }
  :where(body.page-plataforma) .nav-links {
        display: none;
        flex-direction: column;
        gap: 0;
        width: 100%;
        background: #fff;
        order: 3;
        padding: 0.5rem 0 1rem;
        border-top: 1px solid var(--border);
      }
  :where(body.page-plataforma) .nav-links.open { display: flex; }
  :where(body.page-plataforma) .nav-links li { width: 100%; }
  :where(body.page-plataforma) .nav-links a {
        display: block;
        padding: 0.75rem 0;
        width: 100%;
      }
  :where(body.page-plataforma) .nav-links a.active::after { display: none; }
  :where(body.page-plataforma) .nav-cta {
        display: inline-block !important;
        width: fit-content;
        margin-top: 0.5rem;
      }
  :where(body.page-plataforma) .footer-top { flex-direction: column; align-items: flex-start; text-align: left; gap: 1.5rem; }
  :where(body.page-plataforma) .footer-brand, :where(body.page-plataforma) .footer-links { width: 100%; }
  :where(body.page-plataforma) .footer-links { text-align: left; }
  :where(body.page-plataforma) .footer-links a { margin-left: 0; margin-right: auto; }
  :where(body.page-plataforma) .footer-brand p { margin-left: 0; margin-right: auto; }
  :where(body.page-plataforma) .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 680px) {
  :where(body.page-plataforma) .platform-hero { padding: 50px 4% 30px; }
  :where(body.page-plataforma) section { padding: 50px 4%; }
  :where(body.page-plataforma) .module-card { padding: 1.6rem 1.4rem; }
  :where(body.page-plataforma) .module-card .module-name { font-size: 1.35rem; }
  :where(body.page-plataforma) .features-grid, :where(body.page-plataforma) .features-grid.cols-4 { grid-template-columns: 1fr; }
  :where(body.page-plataforma) .workflow-steps { grid-template-columns: 1fr; gap: 1.2rem; }
  :where(body.page-plataforma) .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
  :where(body.page-plataforma) .module-detail { padding: 40px 4% 25px; }
  :where(body.page-plataforma) .module-detail-header { margin-bottom: 2rem; }
  :where(body.page-plataforma) .platform-hero .hero-ctas { gap: 0.7rem; }
  :where(body.page-plataforma) .btn-primary, :where(body.page-plataforma) .btn-secondary {
        width: 100%;
        max-width: 320px;
        text-align: center;
      }
  :where(body.page-plataforma) .cta-bottom { padding: 45px 4% 45px; }
  :where(body.page-plataforma) .cta-bottom h2 { font-size: 1.3rem; line-height: 1.35; }
  :where(body.page-plataforma) footer { padding: 40px 4% 20px; }
}

@media (max-width: 420px) {
  :where(body.page-plataforma) .platform-hero h1 { font-size: 1.55rem; }
  :where(body.page-plataforma) .trust-grid { grid-template-columns: 1fr; }
  :where(body.page-plataforma) .module-detail-header .module-tag { font-size: 0.65rem; }
}

/* NAV */
    :where(body.page-precios) nav {
      position: sticky;
      top: 0;
      z-index: 100;
      /* background: #fff; */
      background: rgba(255, 255, 255, 0.75);
      backdrop-filter: blur(7px);
      -webkit-backdrop-filter: blur(10px);
      padding: 0 2.5%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 70px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12), inset 0 -1px rgba(0, 0, 0, 0.12);
    }

/* HERO (pricing) */
    :where(body.page-precios) .pricing-hero {
      background: linear-gradient(135deg, var(--bg-light) 0%, var(--light_blue) 100%);
      padding: 55px 5% 50px;
      text-align: center;
    }

:where(body.page-precios) .pricing-hero h1 {
      font-size: clamp(2rem, 4.5vw, 3.2rem);
      font-weight: 900;
      line-height: 1.2;
      max-width: 820px;
      margin: 0 auto 1.2rem;
      color: var(--text);
    }

:where(body.page-precios) .pricing-hero h1 span { color: var(--dark_blue); }

:where(body.page-precios) .pricing-hero p {
      font-size: clamp(1rem, 2vw, 1.15rem);
      color: var(--text-light);
      max-width: 640px;
      margin: 0 auto;
      line-height: 1.7;
    }

:where(body.page-precios) .pricing-hero p strong { color: var(--dark_blue); font-weight: 700; }

/* PRICING GRID */
    :where(body.page-precios) .pricing-section {
      background: #fff;
      padding: 20px 5% 50px;
    }

/* BILLING TOGGLE */
    :where(body.page-precios) .billing-toggle-wrap {
      display: flex;
      justify-content: center;
      margin-bottom: 2.8rem;
      margin-top: 2rem;

    }

:where(body.page-precios) .billing-toggle {
      display: inline-flex;
      background: #f1f3f7;
      border-radius: 999px;
      padding: 5px;
      gap: 4px;
    }

:where(body.page-precios) .billing-option {
      background: transparent;
      border: none;
      padding: 0.65rem 1.5rem;
      font-family: inherit;
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--text-light);
      cursor: pointer;
      border-radius: 999px;
      transition: background 0.2s, color 0.2s, box-shadow 0.2s;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      flex: 1;
      min-width: 160px;
    }

:where(body.page-precios) .billing-option:hover { color: var(--dark_blue); }

:where(body.page-precios) .billing-option.active {
      background: var(--dark_blue);
      color: #fff;
      box-shadow: 0 2px 10px rgba(10, 72, 96, 0.18);
    }

:where(body.page-precios) .billing-option.active:hover { color: #fff; }

:where(body.page-precios) .save-badge {
      background: var(--orange);
      color: #fff;
      font-size: 0.57rem;
      padding: 2px 8px;
      border-radius: 999px;
      font-weight: 700;
      letter-spacing: 0.3px;
    }

:where(body.page-precios) .pricing-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.5rem;
      max-width: 1200px;
      margin: 0 auto;
    }

:where(body.page-precios) .price-card {
      background: #fff;
      border: 2px solid #C9CCD4;
      border-radius: var(--radius);
      padding: 2rem 1.5rem 1.8rem;
      display: flex;
      flex-direction: column;
      transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
      position: relative;
    }

:where(body.page-precios) .price-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 32px rgba(10, 72, 96, 0.10);
      border-color: var(--light_blue);
    }

:where(body.page-precios) .price-card.featured {
      border-color: var(--dark_blue);
      box-shadow: 0 8px 28px rgba(10, 72, 96, 0.12);
    }

:where(body.page-precios) .price-badge {
      position: absolute;
      top: -12px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--dark_blue);
      color: #fff;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      padding: 0.35rem 0.9rem;
      border-radius: 999px;
      transition: background 0.2s;
    }

:where(body.page-precios) .price-card.featured:hover .price-badge {
      background: var(--light_blue);
    }

:where(body.page-precios) .price-card .plan-name {
      font-size: 1rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--dark_blue);
      margin-bottom: 0.4rem;
    }

:where(body.page-precios) .price-card:hover .plan-name {
      color: var(--light_blue);
    }

:where(body.page-precios) .price-card .plan-tag {
      font-size: 0.88rem;
      color: var(--text-light);
      margin-bottom: 1.3rem;
      min-height: 2.4em;
      line-height: 1.4;
    }

:where(body.page-precios) .price-card .price {
      font-size: 2.4rem;
      font-weight: 900;
      color: var(--text);
      line-height: 1;
      margin-bottom: 0.3rem;
    }

:where(body.page-precios) .price-card .price small {
      font-size: 0.95rem;
      font-weight: 500;
      color: var(--text-light);
      margin-left: 4px;
    }

:where(body.page-precios) .price-card .price-sub {
      font-size: 0.82rem;
      color: var(--text-light);
      margin-bottom: 1.6rem;
    }

:where(body.page-precios) .price-card ul {
      list-style: none;
      padding: 0;
      margin: 0 0 1.8rem;
      flex: 1;
    }

:where(body.page-precios) .price-card ul li {
      display: flex;
      gap: 0.6rem;
      align-items: flex-start;
      font-size: 0.92rem;
      color: var(--text);
      line-height: 1.5;
      padding: 0.5rem 0;
      border-bottom: 1px solid #f1f3f7;
    }

:where(body.page-precios) .price-card ul li:last-child { border-bottom: none; }

:where(body.page-precios) .price-card ul li i {
      color: var(--light_blue);
      font-size: 1.05rem;
      margin-top: 2px;
      flex-shrink: 0;
    }

:where(body.page-precios) .price-card .price-cta {
      display: block;
      width: 100%;
      text-align: center;
      background: var(--dark_blue);
      color: #fff;
      padding: 0.85rem 1rem;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 700;
      font-size: 0.92rem;
      letter-spacing: 0.4px;
      transition: background 0.2s;
    }

:where(body.page-precios) .price-card .price-cta:hover { background: var(--light_blue); }

:where(body.page-precios) .price-card.outline .price-cta {
      background: transparent;
      color: var(--dark_blue);
      border: 2px solid var(--dark_blue);
      padding: calc(0.85rem - 2px) 1rem;
    }

:where(body.page-precios) .price-card.outline .price-cta:hover {
      background: var(--dark_blue);
      color: #fff;
    }

/* COMPARISON / NOTE */
    :where(body.page-precios) .pricing-note {
      max-width: 1200px;
      margin: 2.5rem auto 0;
      text-align: center;
      font-size: 0.92rem;
      color: var(--text-light);
      line-height: 1.7;
      font-style: italic;
    }

/* BENEFITS BAND */
    :where(body.page-precios) .benefits {
      /* background: linear-gradient(135deg, var(--bg-light) 0%, var(--light_blue) 100%); */
      background: #65B0C9;
      padding: 50px 5%;
    }

:where(body.page-precios, body.page-contacto) .benefits-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1.2rem;
      max-width: 1100px;
      margin: 0 auto;
    }

:where(body.page-precios, body.page-contacto) .benefit-card {
      background: #fff;
      border-radius: var(--radius);
      padding: 1.6rem 1.3rem;
      text-align: center;
      box-shadow: 0 2px 12px rgba(0, 87, 255, 0.05);
    }

:where(body.page-precios, body.page-contacto) .benefit-card i {
      font-size: 1.8rem;
      color: var(--dark_blue);
      display: block;
      margin-bottom: 0.6rem;
    }

:where(body.page-precios, body.page-contacto) .benefit-card h3 {
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 0.4rem;
      color: var(--text);
    }

:where(body.page-precios, body.page-contacto) .benefit-card p {
      font-size: 0.88rem;
      color: var(--text-light);
      line-height: 1.55;
    }

/* FAQ */
    :where(body.page-precios, body.page-contacto) .faq {
      background: #fff;
      padding: 55px 5% 50px;
    }

/* RESPONSIVE */
    @media (max-width: 1024px) {
  :where(body.page-precios) .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :where(body.page-precios, body.page-legal) .footer-top { flex-direction: column; align-items: center; text-align: center; }
  :where(body.page-precios, body.page-legal) .footer-brand, :where(body.page-precios, body.page-legal) .footer-links { width: 100%; }
  :where(body.page-precios, body.page-legal) .footer-links { text-align: center; }
  :where(body.page-precios, body.page-legal) .footer-links a { margin-left: auto; margin-right: auto; }
  :where(body.page-precios, body.page-legal) .footer-brand p { margin-left: auto; margin-right: auto; }
}

@media (max-width: 680px) {
  :where(body.page-precios) nav { padding: 0 4%; }
  :where(body.page-precios) .nav-links { gap: 1rem; }
  :where(body.page-precios) .nav-links li:not(:last-child) { display: none; }
  :where(body.page-precios) .pricing-hero { padding: 60px 4% 40px; }
  :where(body.page-precios) section { padding: 60px 4%; }
  :where(body.page-precios) .pricing-grid { grid-template-columns: 1fr; }
  :where(body.page-precios) .pricing-section { padding: 45px 4% 50px; }
  :where(body.page-precios) footer { padding: 40px 4% 20px; }
}

/* HERO (contact) */
    :where(body.page-contacto) .contact-hero {
      background: var(--bg-light);
      padding: 55px 5% 50px;
      text-align: center;
    }

:where(body.page-contacto) .contact-hero h1 {
      font-size: clamp(2rem, 4.5vw, 3.2rem);
      font-weight: 900;
      line-height: 1.2;
      max-width: 820px;
      margin: 0 auto 1.2rem;
      color: var(--text);
    }

:where(body.page-contacto) .contact-hero h1 span { color: var(--dark_blue); }

:where(body.page-contacto) .contact-hero p {
      font-size: clamp(1rem, 2vw, 1.15rem);
      color: var(--text-light);
      max-width: 640px;
      margin: 0 auto;
      line-height: 1.7;
    }

:where(body.page-contacto) .contact-hero p strong { color: var(--dark_blue); font-weight: 700; }

/* CONTACT SECTION */
    :where(body.page-contacto) .contact-section {
      background: #fff;
      padding: 60px 5% 70px;
    }

:where(body.page-contacto) .contact-grid {
      display: grid;
      grid-template-columns: 1.3fr 1fr;
      gap: 2.5rem;
      max-width: 1200px;
      margin: 0 auto;
      align-items: stretch;
    }

/* CONTACT FORM CARD */
    :where(body.page-contacto) .contact-form-card {
      background: #fff;
      border: 2px solid #C9CCD4;
      border-radius: var(--radius);
      padding: 2.2rem 2rem;
      transition: border-color 0.2s, box-shadow 0.2s;
    }

:where(body.page-contacto) .contact-form-card:hover {
      border-color: var(--light_blue);
      box-shadow: 0 12px 32px rgba(10, 72, 96, 0.08);
    }

:where(body.page-contacto) .contact-form-card h2 {
      font-size: 1.6rem;
      font-weight: 800;
      color: var(--dark_blue);
      margin-bottom: 0.4rem;
    }

:where(body.page-contacto) .contact-form-card .form-sub {
      color: var(--text-light);
      font-size: 0.95rem;
      margin-bottom: 1.8rem;
    }

:where(body.page-contacto) .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
      margin-bottom: 1rem;
    }

:where(body.page-contacto) .form-group {
      display: flex;
      flex-direction: column;
      margin-bottom: 1rem;
    }

:where(body.page-contacto) .form-group label {
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 0.4rem;
    }

:where(body.page-contacto) .form-group label .required { color: var(--orange); }

:where(body.page-contacto) .form-group input, :where(body.page-contacto) .form-group select, :where(body.page-contacto) .form-group textarea {
      font-family: inherit;
      font-size: 0.95rem;
      padding: 0.75rem 0.9rem;
      border: 2px solid #e8eaf0;
      border-radius: 8px;
      background: #fff;
      color: var(--text);
      transition: border-color 0.2s, box-shadow 0.2s;
      width: 100%;
    }

:where(body.page-contacto) .form-group input:focus, :where(body.page-contacto) .form-group select:focus, :where(body.page-contacto) .form-group textarea:focus {
      outline: none;
      border-color: var(--light_blue);
      box-shadow: 0 0 0 3px rgba(30, 143, 177, 0.15);
    }

:where(body.page-contacto) .form-group textarea {
      min-height: 110px;
      resize: vertical;
    }

/* PHONE INPUT (intl-tel-input) */
    :where(body.page-contacto) .form-group .iti {
      width: 100%;
      display: block;
    }

:where(body.page-contacto) .form-group .iti input#phone {
      width: 100%;
      padding-left: 104px !important;
      margin-left: 0 !important;
    }

:where(body.page-contacto) .form-group .iti__flag-container {
      background: transparent;
      border-right: 1px solid #e8eaf0;
    }

:where(body.page-contacto) .form-group .iti__selected-flag {
      padding: 0 8px 0 12px;
      border-radius: 6px 0 0 6px;
      background: #f7f8fa;
      transition: background 0.2s;
      border: 1px solid var(--light_blue)!important;
    }

:where(body.page-contacto) .form-group .iti__selected-flag:focus {
      background: #eaf4f8;
    }

:where(body.page-contacto) .form-group .iti__selected-dial-code {
      font-size: 0.9rem;
      margin-left: 4px;
      color: var(--text);
      /* Ancho fijo: el botón no cambia de tamaño al elegir prefijos distintos */
      flex: none;
      width: 38px;
      text-align: left;
    }

:where(body.page-contacto) .form-group .iti__country-list {
      width: 285px !important;
      max-height: 220px;
      white-space: normal;
      box-sizing: border-box;
      border-radius: 8px;
      box-shadow: 0 8px 24px rgba(10, 72, 96, 0.15);
      margin-top: 4px;
      padding: 0;
    }

/* COUNTRY COMBOBOX */
    :where(body.page-contacto) .country-combobox {
      position: relative;
    }

:where(body.page-contacto) .country-combobox .country-input {
      padding-right: 2.5rem;
      cursor: text;
      background-image: none;
    }

:where(body.page-contacto) .country-chevron {
      position: absolute;
      right: 0.9rem;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-light);
      pointer-events: none;
      transition: transform 0.2s;
      font-size: 1.1rem;
    }

:where(body.page-contacto) .country-combobox.open .country-chevron {
      transform: translateY(-50%) rotate(180deg);
      color: var(--light_blue);
    }

:where(body.page-contacto) .country-list {
      position: absolute;
      top: calc(100% + 4px);
      left: 0;
      right: 0;
      background: #fff;
      border: 2px solid var(--light_blue);
      border-radius: 8px;
      max-height: 240px;
      overflow-y: auto;
      list-style: none;
      padding: 0.3rem 0;
      margin: 0;
      z-index: 50;
      box-shadow: 0 8px 24px rgba(10, 72, 96, 0.15);
      display: none;
    }

:where(body.page-contacto) .country-combobox.open .country-list { display: block; }

:where(body.page-contacto) .country-list li {
      padding: 0.55rem 0.9rem;
      font-size: 0.93rem;
      cursor: pointer;
      color: var(--text);
      transition: background 0.15s, color 0.15s;
    }

:where(body.page-contacto) .country-list li:hover, :where(body.page-contacto) .country-list li.highlighted {
      background: #eaf4f8;
      color: var(--dark_blue);
    }

:where(body.page-contacto) .country-list li.selected {
      background: var(--dark_blue);
      color: #fff;
      font-weight: 600;
    }

:where(body.page-contacto) .country-list li.no-results {
      color: var(--text-light);
      font-style: italic;
      cursor: default;
      text-align: center;
    }

:where(body.page-contacto) .country-list li.no-results:hover {
      background: transparent;
      color: var(--text-light);
    }

:where(body.page-contacto) .country-list::-webkit-scrollbar { width: 8px; }

:where(body.page-contacto) .country-list::-webkit-scrollbar-track { background: #f1f3f7; border-radius: 4px; }

:where(body.page-contacto) .country-list::-webkit-scrollbar-thumb { background: #c9ccd4; border-radius: 4px; }

:where(body.page-contacto) .country-list::-webkit-scrollbar-thumb:hover { background: var(--light_blue); }

:where(body.page-contacto) .form-check {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 0.2rem 0.6rem;
      align-items: start;
      margin-bottom: 0.8rem;
      font-size: 0.85rem;
      color: var(--text-light);
      line-height: 1.5;
    }

/* INLINE ERROR MESSAGE */
    :where(body.page-contacto) .form-error {
      display: none;
      color: var(--orange);
      font-size: 0.82rem;
      font-weight: 500;
      margin-top: 0.4rem;
      align-items: center;
      gap: 0.3rem;
      line-height: 1.3;
    }

:where(body.page-contacto) .form-error.show { display: flex; }

:where(body.page-contacto) .form-error i {
      font-size: 1rem;
      flex-shrink: 0;
    }

:where(body.page-contacto) .form-check .form-error {
      grid-column: 2 / 3;
      margin-top: 0.2rem;
    }

:where(body.page-contacto) .form-check input[type="checkbox"] {
      margin-top: 3px;
      width: 16px;
      height: 16px;
      accent-color: var(--dark_blue);
      cursor: pointer;
      flex-shrink: 0;
    }

:where(body.page-contacto) .form-check a {
      color: var(--dark_blue);
      text-decoration: underline;
      font-weight: 600;
    }

:where(body.page-contacto) .form-check a:hover { color: var(--light_blue); }

:where(body.page-contacto) .form-submit {
      display: block;
      width: 100%;
      background: var(--dark_blue);
      color: #fff;
      border: none;
      padding: 0.95rem 1rem;
      border-radius: 8px;
      font-family: inherit;
      font-weight: 700;
      font-size: 0.95rem;
      letter-spacing: 0.4px;
      cursor: pointer;
      margin-top: 1rem;
      transition: background 0.2s, transform 0.15s;
    }

:where(body.page-contacto) .form-submit:hover {
      background: var(--light_blue);
      transform: translateY(-1px);
    }

/* CONTACT INFO CARD */
    :where(body.page-contacto) .contact-info-card {
      background: linear-gradient(135deg, var(--dark_blue) 0%, var(--light_blue) 100%);
      color: #fff;
      border-radius: var(--radius);
      padding: 2.2rem 2rem;
      display: flex;
      flex-direction: column;
    }

:where(body.page-contacto) .contact-info-card h2 {
      font-size: 1.5rem;
      font-weight: 800;
      margin-bottom: 0.5rem;
    }

:where(body.page-contacto) .contact-info-card .info-sub {
      font-size: 0.95rem;
      opacity: 0.92;
      margin-bottom: 2rem;
      line-height: 1.6;
    }

:where(body.page-contacto) .info-item {
      display: flex;
      gap: 0.9rem;
      align-items: flex-start;
      padding: 0.9rem 0;
      border-bottom: 1px solid rgba(255,255,255,0.15);
    }

:where(body.page-contacto) .info-item:last-of-type { border-bottom: none; }

:where(body.page-contacto) .info-item i {
      font-size: 1.3rem;
      flex-shrink: 0;
      background: rgba(255,255,255,0.15);
      width: 38px;
      height: 38px;
      border-radius: 8px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

:where(body.page-contacto) .info-item .info-label {
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 1px;
      opacity: 0.85;
      margin-bottom: 2px;
    }

:where(body.page-contacto) .info-item .info-value {
      font-size: 0.95rem;
      font-weight: 600;
      line-height: 1.45;
    }

:where(body.page-contacto) .info-item .info-value a {
      color: #fff;
      text-decoration: none;
      transition: opacity 0.2s;
    }

:where(body.page-contacto) .info-item .info-value a:hover { opacity: 0.8; }

:where(body.page-contacto) .info-social {
      margin-top: 1rem;
      padding-top: 1.5rem;
    }

:where(body.page-contacto) .info-social-label {
      font-size: 0.9rem;
      text-transform: uppercase;
      letter-spacing: 1px;
      opacity: 0.85;
      margin-bottom: 1rem;
    }

:where(body.page-contacto) .info-social-icons {
      display: flex;
      gap: 0.7rem;
    }

:where(body.page-contacto) .info-social-icons a {
      width: 38px;
      height: 38px;
      background: rgba(255,255,255,0.15);
      border-radius: 8px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      text-decoration: none;
      transition: background 0.2s, transform 0.15s;
    }

:where(body.page-contacto) .info-social-icons a:hover {
      background: rgba(255,255,255,0.28);
      transform: translateY(-2px);
    }

:where(body.page-contacto) .info-social-icons a i { font-size: 1.15rem; }

/* BENEFITS BAND */
    :where(body.page-contacto) .benefits {
      background: var(--bg-light);
      padding: 50px 5%;
    }

:where(body.page-contacto) .feder-wrapper {
      width: 30%;
      display: flex;
      justify-content: center;
    }

/* RESPONSIVE */
    @media (max-width: 1024px) {
  :where(body.page-contacto) .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :where(body.page-contacto) .footer-top { flex-direction: column; align-items: center; text-align: center; }
  :where(body.page-contacto) .footer-brand, :where(body.page-contacto) .feder-wrapper, :where(body.page-contacto) .footer-links { width: 100%; }
  :where(body.page-contacto) .footer-links { text-align: center; }
  :where(body.page-contacto) .footer-links a { margin-left: auto; margin-right: auto; }
  :where(body.page-contacto) .footer-brand p { margin-left: auto; margin-right: auto; }
}

@media (max-width: 680px) {
  :where(body.page-contacto) nav { padding: 0 4%; }
  :where(body.page-contacto) .nav-links { gap: 1rem; }
  :where(body.page-contacto) .nav-links li:not(:last-child) { display: none; }
  :where(body.page-contacto) .contact-hero { padding: 60px 4% 40px; }
  :where(body.page-contacto) section { padding: 60px 4%; }
  :where(body.page-contacto) .contact-section { padding: 45px 4% 50px; }
  :where(body.page-contacto) .form-row { grid-template-columns: 1fr; }
  :where(body.page-contacto) .contact-form-card, :where(body.page-contacto) .contact-info-card { padding: 1.8rem 1.3rem; }
  :where(body.page-contacto) footer { padding: 40px 4% 20px; }
}

/* PANEL DE NOTIFICACIÓN — toast fijo arriba a la izquierda */
    :where(body.page-contacto) #form-notice {
      position: fixed;
      top: 90px;
      left: 10px;
      width: 340px;
      max-width: calc(100vw - 40px);
      padding: 1.2rem 2.4rem 1.2rem 1.3rem;
      border-radius: var(--radius);
      background: #fff;
      border: 1px solid var(--border);
      border-left: 4px solid var(--dark_blue);
      box-shadow: 0 8px 28px rgba(10, 72, 96, 0.18);
      font-family: 'Inter', sans-serif;
      color: var(--text);
      display: flex;
      align-items: center;
      opacity: 0;
      visibility: hidden;
      transform: translateX(-20px);
      transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
      pointer-events: none;
      z-index: 1000;
    }

:where(body.page-contacto) #form-notice.error {
      border-left-color: #E74C3C;
    }

:where(body.page-contacto) #form-notice .form-notice-close:hover {
      opacity: 0.7;
    }

:where(body.page-contacto) #form-notice.error .form-notice-icon {
      background: #E74C3C;
    }

:where(body.page-contacto) .form-notice-title {
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--dark_blue);
      margin-bottom: 0.2rem;
      line-height: 1.3;
    }

:where(body.page-contacto) .form-notice-msg {
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--text-light);
      line-height: 1.5;
    }

@media (max-width: 680px) {
  :where(body.page-contacto) #form-notice {
        top: 80px;
        right: 10px;
        left: 10px;
        width: auto;
      }
}

html:where(.page-404), body:where(.page-404) { height: 100%; }

body:where(.page-404) {
      font-family: 'Inter', sans-serif;
      color: var(--text);
      background: linear-gradient(160deg, #fff 0%, var(--bg-light) 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
      text-align: center;
    }

:where(body.page-404) .card { max-width: 520px; }

:where(body.page-404) .logo { height: 56px; width: auto; margin-bottom: 32px; }

:where(body.page-404) .code {
      font-size: clamp(72px, 18vw, 130px);
      font-weight: 800;
      line-height: 1;
      color: var(--dark_blue);
      letter-spacing: -2px;
    }

:where(body.page-404) h1 {
      font-size: clamp(20px, 5vw, 26px);
      font-weight: 700;
      margin: 12px 0 10px;
      color: var(--dark_blue);
    }

:where(body.page-404) p { color: var(--text-light); font-size: 16px; margin-bottom: 28px; }

:where(body.page-404) .btn {
      display: inline-block;
      background: var(--orange);
      color: #fff;
      text-decoration: none;
      font-weight: 600;
      padding: 14px 28px;
      border-radius: var(--radius);
      transition: transform .15s ease, box-shadow .15s ease;
      box-shadow: 0 6px 18px rgba(230, 126, 34, .35);
    }

:where(body.page-404) .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(230, 126, 34, .45); }

:where(body.page-404) .links { margin-top: 22px; font-size: 14px; }

:where(body.page-404) .links a { color: var(--light_blue); text-decoration: none; margin: 0 8px; }

:where(body.page-404) .links a:hover { text-decoration: underline; }

/* HERO */
    :where(body.page-legal) .legal-hero {
      background: var(--bg-light);
      padding: 40px 5% 30px;
      text-align: center;
    }

:where(body.page-legal) .legal-hero h1 {
      font-size: clamp(1.8rem, 4vw, 2.6rem);
      font-weight: 900;
      line-height: 1.2;
      margin: 0 auto 0.6rem;
      color: var(--text);
    }

:where(body.page-legal) .legal-hero h1 span { color: var(--dark_blue); }

:where(body.page-legal) .legal-hero .last-update {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      margin-top: 0.6rem;
      font-size: 0.85rem;
      color: var(--text-light);
      background: #fff;
      padding: 0.4rem 0.9rem;
      border-radius: 999px;
      border: 1px solid var(--border);
    }

:where(body.page-legal) .legal-hero .last-update i {
      color: var(--dark_blue);
      font-size: 1rem;
    }

/* LEGAL CONTENT */
    :where(body.page-legal) .legal-content {
      background: #fff;
      padding: 30px 0 50px;
    }

:where(body.page-legal) .legal-wrapper {
      width: 80%;
      margin: 0 auto;
    }

:where(body.page-legal) .legal-article {
      margin-bottom: 2rem;
    }

:where(body.page-legal) .legal-article:last-child { margin-bottom: 0; }

:where(body.page-legal) .legal-article h2 {
      font-size: 1rem;
      font-weight: 800;
      color: var(--dark_blue);
      margin-bottom: 0.9rem;
      line-height: 1.3;
    }

:where(body.page-legal) .legal-article p {
      color: var(--text);
      font-size: 0.9rem;
      line-height: 1.5rem;
      margin: 19px;
    }

:where(body.page-legal) .legal-article p1 {
      color: var(--text);
      font-size: 0.9rem;
      line-height: 1.5rem;
      margin-bottom: 19px;
      
    }

:where(body.page-legal) .legal-article p strong { font-weight: 700; }

:where(body.page-legal) .legal-article ul {
      list-style: disc;
      padding-left: 1.4rem;
      margin: 15px;
    }

:where(body.page-legal) .legal-article ul li {
      font-size: 0.9rem;
      color: var(--text);
      line-height: 1.75rem;
      
    }

@media (max-width: 680px) {
  :where(body.page-legal) nav { padding: 0 4%; }
  :where(body.page-legal) .nav-links { gap: 1rem; }
  :where(body.page-legal) .nav-links li:not(:last-child) { display: none; }
  :where(body.page-legal) .legal-hero { padding: 35px 4% 25px; }
  :where(body.page-legal) .legal-content { padding: 45px 0 55px; }
  :where(body.page-legal) footer { padding: 40px 4% 20px; }
}
