  /****************************************************
     * 1) VARIABLES / BASE
     ****************************************************/
    :root{
      /* Palette */
      --navy:#0A2E57;
      --navy-2:#071F3C;
      --ink:#0B1220;
      --muted:#5C6B80;
      --cyan:#11B5D6;
      --bg:#FFFFFF;
      --bg-2:#F6F8FC;
      --line:#E7ECF4;
      --success:#0E9F6E;
      --danger:#E11D48;

      --shadow: 0 10px 30px rgba(10,46,87,.12);
      --shadow-2: 0 18px 45px rgba(10,46,87,.18);

      --radius-xl: 22px;
      --radius-lg: 16px;
      --radius-md: 12px;

      --container: 1180px;
      --gap: 22px;

      --h1: clamp(2rem, 2.6vw + 1.2rem, 3.3rem);
      --h2: clamp(1.5rem, 1.3vw + 1rem, 2.2rem);

      --body: 16px;
      --small: 14px;
      
    }

    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      font: 400 var(--body)/1.55 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
      color:var(--ink);
      background:var(--bg);
    }
    a{color:inherit; text-decoration:none}
    img{max-width:100%; display:block}

    .container{
      width: min(var(--container), calc(100% - 40px));
      margin-inline:auto;
    }

    /****************************************************
     *  HEADER
     ****************************************************/
    .topbar{
      position: sticky;
      top: 0;
      z-index: 100;
      background: linear-gradient(
      180deg,
    #0A3A5E 0%,
    #000000 100%
  );
  border-bottom: 1px solid rgba(255,255,255,.14);
    }
    .topbar-inner{
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding: 14px 0;
      gap: 16px;
    }
.topbar .brand{
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

    .brand{
      display:flex;
      align-items:center;
      gap: 12px;
      min-width: 240px;
    }
    .brand img{
       height: 56px;    
  width: auto;
  display: block;
  background: transparent;
    }

    nav{
      display:flex;
      align-items:center;
      gap: 18px;
    }
    nav a{
       font-size: 14px;
       color: rgba(255,255,255,.88);
       padding: 8px 10px;
       border-radius: 10px;
    }
    nav a:hover{
      color: #ffffff;
      background: rgba(255,255,255,.12);
    }

    .actions{
      display:flex;
      align-items:center;
      gap: 10px;
    }

    .btn{
      border: 1px solid transparent;
      background: var(--navy);
      color:#fff;
      padding: 10px 14px;
      border-radius: 12px;
      font-weight: 600;
      font-size: 14px;
      display:inline-flex;
      align-items:center;
      gap:10px;
      box-shadow: 0 10px 22px rgba(10,46,87,.18);
      cursor:pointer;
      transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
      white-space:nowrap;
    }
    .btn:hover{transform: translateY(-1px); box-shadow: var(--shadow-2)}
    .btn:active{transform: translateY(0px)}

    .btn.secondary{
      background: #fff;
      color: var(--navy);
      border-color: var(--line);
      box-shadow:none;
    }

    .topbar .btn.secondary{
  border-color: rgba(255,255,255,.35);
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
                    }

.topbar .btn.secondary:hover{
  background: #EAF6FB;
}




    .btn.secondary:hover{box-shadow: 0 10px 22px rgba(10,46,87,.10)}

    .btn.ghost{
      background: transparent;
      color: var(--navy);
      border-color: var(--line);
      box-shadow:none;
    }

    .btn.small{
      padding: 8px 10px;
      border-radius: 10px;
      font-size: 13px;
      box-shadow:none;
    }

    .lang{
  display:flex;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  overflow:hidden;
  background: rgba(255,255,255,.14);
}

.lang button{
  border:0;
  background: transparent;
  padding: 8px 10px;
  font-size: 13px;
  cursor:pointer;
  color: rgba(255,255,255,.90);
}

.lang button.active{
  background: #ffffff;
  color: #0A2E57;
  font-weight:700;
}


.tTrack{ gap: 14px; }
    /****************************************************
     * 3) HERO (FULLSCREEN 100vh) 
     ****************************************************/


.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 90px 0 70px; 
  color: #fff;
  background:
    linear-gradient(
      90deg,
      rgba(7,31,60,.92) 0%,
      rgba(7,31,60,.78) 45%,
      rgba(7,31,60,.35) 65%,
      rgba(7,31,60,.12) 100%
    ),
    url("../assets/img/hero.png") center/cover no-repeat;
}

.hero::before{ display:none !important; }

.hero-grid{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  max-width: 760px; 
  gap: 0;
}

.hero-brandline{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-bottom: 16px;
  opacity: .95;
}


.hero-mini-title{
  font-size: 14px;
  letter-spacing: .12em;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
}

.hero h1{
  margin: 0 0 14px;
  color: #fff;
  font-weight: 900;
  font-size: clamp(2.6rem, 3vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-sub{
  margin: 0 0 18px;
  color: rgba(255,255,255,.88);
  font-size: 18px;
  line-height: 1.55;
  max-width: 60ch;
}

.hero-ctas{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  align-items:center;
  margin-top: 10px;
}

.hero .btn{
  padding: 12px 18px;
  font-size: 15px;
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(0,0,0,.22);
}

.hero-primary{
  background: #0A2E57;
  border: 1px solid rgba(255,255,255,.10);
  color:#fff;
}

.hero-primary:hover{ transform: translateY(-1px); }

.hero-secondary{
  background: rgba(255,255,255,.92);
  color: #0A2E57;
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: 0 14px 28px rgba(0,0,0,.15);
}

.hero-secondary:hover{
  background:#fff;
  transform: translateY(-1px);
}

.hero-checks{
  margin-top: 22px;
  list-style:none;
  padding:0;
  display:grid;
  gap: 10px;
  color: rgba(255,255,255,.92);
  font-size: 16px;
}

.hero-checks li{
  display:flex;
  align-items:flex-start;
  gap: 10px;
}

.hero-checks li::before{
  content: "✓";
  color: var(--cyan);
  font-weight: 900;
  margin-top: 1px;
}

@media (max-width: 960px){
  .hero{ padding: 84px 0 56px; }
  .hero-grid{ max-width: 100%; }
}





    /****************************************************
     * 4) SECCIONES / LAYOUTS
     ****************************************************/
    section{ padding: 58px 0; }

    .section-head{
      display:flex;
      align-items:flex-end;
      justify-content:space-between;
      gap: 18px;
      margin-bottom: 22px;
    }
    .section-head h2{
      margin:0;
      font-size: var(--h2);
      letter-spacing:-0.01em;
      color: var(--ink);
      line-height:1.15;
    }
    .section-head p{
      margin:0;
      max-width: 62ch;
      color: var(--muted);
    }

    .grid-2{
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap: var(--gap);
      align-items: center;
    }

    .panel{
      border: 1px solid var(--line);
      background: #fff;
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow);
      overflow:hidden;
    }
    .panel.pad{padding: 18px}

    .panel-muted{
      background: var(--bg-2);
      border-radius: var(--radius-xl);
      border: 1px solid var(--line);
      padding: 18px;
    }

    .bullets{
      margin: 14px 0 0;
      padding:0;
      list-style:none;
      display:grid;
      gap: 10px;
    }
    .bullets li{
      display:flex;
      gap: 10px;
      padding: 10px 12px;
      border: 1px solid var(--line);
      background: #fff;
      border-radius: 16px;
      align-items:flex-start;
    }
    .dot{
      width: 10px; height: 10px; border-radius: 3px;
      background: linear-gradient(135deg, var(--navy), var(--cyan));
      margin-top: 5px;
      flex: 0 0 auto;
    }

    /* Program cards */
    .cards{
      display:grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--gap);
    }
    .card{
      border: 1px solid var(--line);
      background: #fff;
      border-radius: var(--radius-xl);
      overflow:hidden;
      box-shadow: var(--shadow);
      transition: transform .15s ease, box-shadow .15s ease;
    }
    .card:hover{transform: translateY(-2px); box-shadow: var(--shadow-2)}
    .card .media{
      height: 160px;
      background-size: cover;
      background-position:center;
      position:relative;
    }
    .card .media::after{
      content:"";
      position:absolute; inset:0;
      background: linear-gradient(180deg, transparent, rgba(7,31,60,.45));
    }
    .card .body{padding: 14px 14px 16px}
    .tag{
      display:inline-flex;
      align-items:center;
      gap: 8px;
      padding: 7px 10px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 700;
      background: rgba(17,181,214,.10);
      border: 1px solid rgba(17,181,214,.22);
      color: var(--navy);
    }
    .card h3{
      margin: 10px 0 6px;
      font-size: 16px;
      color: var(--ink);
      letter-spacing:-0.01em;
    }
    .card p{
      margin: 0 0 10px;
      color: var(--muted);
      font-size: 14px;
    }
    .meta{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: 10px;
      border-top: 1px solid var(--line);
      padding-top: 10px;
      margin-top: 10px;
      color: var(--muted);
      font-size: 13px;
    }
    .price{
      font-weight: 900;
      color: var(--navy);
    }

    /* Method steps */
    .steps{ display:grid; gap: 12px; }
    .step{
      display:flex; gap: 12px;
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: var(--radius-xl);
      background: #fff;
      box-shadow: var(--shadow);
    }
    .step .n{
      width: 42px; height: 42px;
      border-radius: 16px;
      background: linear-gradient(135deg, var(--navy), var(--cyan));
      color:#fff;
      display:grid; place-items:center;
      font-weight: 900;
      flex: 0 0 auto;
    }
    .step strong{display:block; margin-bottom: 2px}
    .step span{display:block; color: var(--muted); font-size: 14px}

    /****************************************************
     * 5) TESTIMONIOS — CARRUSEL PREMIUM (nuevo)
     *    - Autoplay + manual (flechas/dots) + swipe móvil
     ****************************************************/
    .tCarousel{
      border: 1px solid var(--line);
      background: linear-gradient(180deg, #fff, #FBFDFF);
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow);
      padding: 14px 14px 12px;
      overflow: hidden;
    }
    .tViewport{
      overflow: hidden;
      border-radius: 18px;
      touch-action: pan-y;
    }
    .tTrack{
      display: flex;
      gap: 14px;
      transition: transform 520ms cubic-bezier(.22,.9,.25,1);
      will-change: transform;
    }
    .tCard{
      flex: 0 0 33%;
      min-width: 320px;
      border-radius: 18px;
      border: 1px solid rgba(7,31,60,.12);
      background:#EDF7FA;
      box-shadow: 0 12px 26px rgba(10,46,87,.10);
      padding: 16px;
    }
    .tTop{
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 10px;
    }
    .tName{font-weight: 900; color: var(--navy); font-size: 13px; letter-spacing:.02em}
    .tRole{color: var(--muted); font-size: 12px; margin-top: 3px; line-height: 1.35}
    .tQuote{
      margin: 0;
      color: #0B1220;
      font-size: 14px;
      line-height: 1.65;
    }
    .tMark{
      width: 38px; height: 38px;
      border-radius: 14px;
      border: 1px solid rgba(7,31,60,.12);
      background: rgba(10,46,87,.06);
      display: grid;
      place-items: center;
      font-weight: 900;
      color: var(--navy);
      flex: 0 0 auto;
    }
    .tControls{
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-top: 12px;
    }
    .tArrows{display:flex; gap:10px}
    .tIconBtn{
      width: 42px; height: 42px;
      border-radius: 14px;
      border: 1px solid var(--line);
      background: #fff;
      box-shadow: 0 10px 20px rgba(10,46,87,.08);
      cursor: pointer;
      font-weight: 900;
      color: var(--navy);
      transition: transform .15s ease, box-shadow .15s ease;
    }
    .tIconBtn:hover{transform: translateY(-1px); box-shadow: 0 14px 26px rgba(10,46,87,.12)}
    .tDots{
      display:flex;
      align-items:center;
      justify-content:center;
      gap: 8px;
      flex: 1;
    }
    .tDot{
      width: 8px; height: 8px;
      border-radius: 999px;
      background: rgba(10,46,87,.18);
      border: 1px solid rgba(10,46,87,.18);
      cursor:pointer;
      transition: transform .12s ease, background .12s ease;
    }
    .tDot.active{
      background: rgba(17,181,214,.75);
      border-color: rgba(17,181,214,.80);
      transform: scale(1.25);
    }

    /****************************************************
     * 6) CTA + FORM
     ****************************************************/
    .cta{
      position:relative;
      color:#fff;
      background:
        linear-gradient(135deg, rgba(7,31,60,.92), rgba(10,46,87,.92));
      border-top: 1px solid rgba(255,255,255,.12);
      border-bottom: 1px solid rgba(255,255,255,.12);
      overflow:hidden;
    }
    .cta::before{
      content:"";
      position:absolute; inset:-40% -20% auto -20%;
      height: 520px;
      background: radial-gradient(closest-side, rgba(17,181,214,.28), transparent 70%);
      filter: blur(10px);
      z-index:0;
    }
    .cta .container{position:relative; z-index:1}
    .cta-grid{
      display:grid;
      grid-template-columns: 1.1fr .9fr;
      gap: 24px;
      align-items: start;
    }
    .cta h2{color:#fff}
    .cta p{color: rgba(255,255,255,.80)}

    .form{
      background: rgba(255,255,255,.98);
      border: 1px solid rgba(255,255,255,.35);
      border-radius: var(--radius-xl);
      padding: 16px;
      box-shadow: 0 18px 55px rgba(0,0,0,.28);
      color: var(--ink);
    }
    .row{
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }
    label{
      display:block;
      font-size: 12px;
      color: #3A4960;
      margin: 10px 0 6px;
      font-weight: 700;
      letter-spacing:.03em;
    }
    input, select{
      width:100%;
      padding: 11px 12px;
      border-radius: 12px;
      border: 1px solid #DDE6F3;
      outline:none;
      font-size: 14px;
      background: #fff;
    }
    input:focus, select:focus{
      border-color: rgba(17,181,214,.75);
      box-shadow: 0 0 0 4px rgba(17,181,214,.15);
    }
    .helper{
      margin-top: 10px;
      font-size: 13px;
      color: #4B5C74;
    }
    .status{
      margin-top: 10px;
      font-size: 13px;
      padding: 10px 12px;
      border-radius: 12px;
      border: 1px solid var(--line);
      background: #fff;
      display:none;
    }
    .status.ok{
      display:block;
      border-color: rgba(14,159,110,.30);
      background: rgba(14,159,110,.10);
      color: #0B5A41;
    }
    .status.err{
      display:block;
      border-color: rgba(225,29,72,.25);
      background: rgba(225,29,72,.08);
      color: #8A0F2E;
    }

    /****************************************************
     * 7) FOOTER —
     ****************************************************/
    footer.footer-advanced{
      padding: 0;
      background:
        radial-gradient(900px 320px at 15% 0%, rgba(17,181,214,.16), transparent 55%),
        radial-gradient(900px 320px at 85% 10%, rgba(10,46,87,.18), transparent 55%),
        linear-gradient(180deg, #060C17, #040814);
      color: rgba(255,255,255,.80);
      border-top: 1px solid rgba(255,255,255,.10);
    }
    .footer-inner{ padding: 28px 0 12px; }

    .footer-grid{
      display: grid;
      grid-template-columns: 1.3fr .9fr 1fr 1.1fr;
      gap: 18px;
      align-items: start;
    }
    .fBrand{ display:flex; gap: 12px; align-items:flex-start; }
    .fLogo{
      width: 46px; height: 46px;
      border-radius: 16px;
      background: linear-gradient(135deg, var(--navy), var(--cyan));
      box-shadow: 0 16px 40px rgba(0,0,0,.35);
      flex: 0 0 auto;
      display:grid; place-items:center;
    }
    .fLogo svg{width: 24px; height: 24px; fill: #fff}
    .fTitle{margin: 0; font-weight: 900; letter-spacing:.02em; color:#fff}
    .fDesc{margin: 8px 0 0; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.72)}

    .fCol h3{
      margin: 2px 0 10px;
      font-size: 12px;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: rgba(255,255,255,.90);
    }
    .fLinks{display:grid; gap: 8px}
    .fLinks a{
      color: rgba(255,255,255,.72);
      font-size: 13px;
      padding: 8px 10px;
      border-radius: 12px;
      border: 1px solid transparent;
    }
    .fLinks a:hover{
      background: rgba(255,255,255,.06);
      border-color: rgba(255,255,255,.10);
      color:#fff;
    }
    .fContact{
      border: 1px solid rgba(255,255,255,.10);
      background: rgba(255,255,255,.04);
      border-radius: 18px;
      padding: 12px;
      font-size: 13px;
      line-height: 1.7;
      color: rgba(255,255,255,.74);
    }
    .fContact b{color:#fff}

    .socialRow{display:flex; gap: 10px; flex-wrap:wrap; margin-top: 10px}
    .socialBtn{
      width: 42px; height: 42px;
      border-radius: 14px;
      border: 1px solid rgba(255,255,255,.12);
      background: rgba(255,255,255,.05);
      display:flex; align-items:center; justify-content:center;
      transition: transform .15s ease, background .15s ease;
    }
    .socialBtn:hover{transform: translateY(-1px); background: rgba(255,255,255,.08)}
    .socialBtn svg{width: 18px; height: 18px; fill: rgba(255,255,255,.86)}

    .footer-divider{
      margin: 18px 0 10px;
      height: 1px;
      background: rgba(255,255,255,.10);
    }
    .footer-bottom{
      display:flex;
      justify-content:space-between;
      gap: 10px;
      flex-wrap:wrap;
      padding-bottom: 14px;
      font-size: 12px;
      color: rgba(255,255,255,.62);
    }
    .footer-bottom a{
      color: rgba(255,255,255,.72);
      padding: 6px 10px;
      border-radius: 12px;
    }
    .footer-bottom a:hover{background: rgba(255,255,255,.06); color:#fff}

    /****************************************************
     * 8) FLOATING ACTIONS + CHATBOT
     ****************************************************/
    .float{
      position: fixed;
      right: 18px;
      bottom: 18px;
      display:flex;
      flex-direction:column;
      gap: 10px;
      z-index: 80;
    }
    .fab{
      width: 54px; height: 54px;
      border-radius: 18px;
      border: 1px solid rgba(255,255,255,.25);
      background: linear-gradient(135deg, var(--navy), var(--cyan));
      box-shadow: var(--shadow-2);
      display:grid; place-items:center;
      cursor:pointer;
      transition: transform .15s ease;
    }
    .fab:hover{transform: translateY(-2px)}
    .fab svg{width: 22px; height: 22px; fill:#fff}

    .chat{
      position: fixed;
      right: 18px;
      bottom: 92px;
      width: min(360px, calc(100% - 36px));
      border-radius: 20px;
      overflow:hidden;
      border: 1px solid var(--line);
      box-shadow: var(--shadow-2);
      background: #fff;
      z-index: 85;
      display:none;
      transform-origin: 90% 100%;
      animation: pop .16s ease-out;
    }
    @keyframes pop{
      from{transform: scale(.96); opacity:.0}
      to{transform: scale(1); opacity:1}
    }
    .chat-head{
      background: linear-gradient(135deg, var(--navy), var(--cyan));
      padding: 12px 12px;
      color:#fff;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: 10px;
    }
    .chat-title{display:flex; flex-direction:column; line-height:1.1}
    .chat-title strong{font-size: 13px}
    .chat-title span{font-size: 12px; opacity:.9}
    .chat-close{
      border:0; background: rgba(255,255,255,.15); color:#fff;
      width: 34px; height: 34px; border-radius: 12px;
      cursor:pointer;
    }
    .chat-body{
      padding: 12px;
      max-height: 320px;
      overflow:auto;
      background: #FBFDFF;
    }
    .msg{ margin: 8px 0; display:flex; }
    .msg.bot{justify-content:flex-start}
    .msg.user{justify-content:flex-end}
    .bubble{
      max-width: 86%;
      padding: 10px 12px;
      border-radius: 16px;
      font-size: 13px;
      line-height: 1.45;
      border: 1px solid var(--line);
      background:#fff;
      box-shadow: 0 8px 18px rgba(10,46,87,.08);
      white-space: pre-wrap;
    }
    .msg.user .bubble{
      background: rgba(17,181,214,.12);
      border-color: rgba(17,181,214,.24);
    }
    .chat-quick{
      padding: 10px 12px;
      display:flex;
      gap: 8px;
      flex-wrap:wrap;
      border-top: 1px solid var(--line);
      background:#fff;
    }
    .chip{
      border: 1px solid var(--line);
      background:#fff;
      padding: 8px 10px;
      border-radius: 999px;
      font-size: 12px;
      cursor:pointer;
      color: var(--navy);
      font-weight: 700;
    }
    .chip:hover{background: var(--bg-2)}
    .chat-input{
      display:flex;
      gap: 8px;
      padding: 10px 12px;
      border-top: 1px solid var(--line);
      background:#fff;
    }
    .chat-input input{ padding: 10px 12px; border-radius: 12px; }
    .send{
      padding: 10px 12px;
      border-radius: 12px;
      border: 0;
      background: var(--navy);
      color:#fff;
      font-weight:800;
      cursor:pointer;
      min-width: 84px;
    }

    /****************************************************
   
     ****************************************************/
    @media (max-width: 960px){
      .hero-grid, .grid-2, .cta-grid{grid-template-columns: 1fr}
      nav{display:none}
      .cards{grid-template-columns: 1fr}
      .row{grid-template-columns: 1fr}
      .tCard{flex: 0 0 88%; min-width: 88%;}
      .footer-grid{grid-template-columns: 1fr 1fr;}
    }
    @media (max-width: 560px){
      .footer-grid{grid-template-columns: 1fr;}
    }

    /****************************************************
     * 10) ANIMACIONES SUAVES 
     ****************************************************/
    @media (prefers-reduced-motion: no-preference){
      .fade-up{opacity:0; transform: translateY(10px); transition: all .5s ease}
      .fade-up.in{opacity:1; transform: translateY(0)}
    }

  /***/

  /* ===== ABOUT / INSTITUCIÓN ===== */
.about { padding: 64px 0; }

.about-sub { margin-top: 6px; color: var(--muted); }

.about-grid { align-items: stretch; }
.about-grid--spaced { margin-top: 22px; }

.about-p1 { margin: 0; color: var(--muted); }

.about-h3 { margin: 0 0 10px; }
.about-text { margin: 0; color: var(--muted); }

.about-badges {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.about-badge strong { display: block; }
.about-badge span { display: block; margin-top: 4px; color: var(--muted); }

.about-media { display: block; overflow: hidden; border-radius: 16px; }
.about-media img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
  display: block;
}

.about-values { margin-top: 22px; }
.about-values-grid { align-items: start; }

.about-commitment { margin-top: 14px; }
.about-commitment p { margin: 8px 0 0; color: var(--muted); }

  /*****/

/* =========================================================
   EXTRA: Estrellas en testimonios 
   ========================================================= */
.tStars{
  display:flex;
  gap:6px;
  margin-top:8px;
  align-items:center;
}
.tStar{
  width:16px;
  height:16px;
  display:inline-flex;
}
.tStar svg{
  width:16px;
  height:16px;
  display:block;
}

/* ======================================================
   RESPONSIVE GLOBAL (100% móvil) —
   ====================================================== */

html, body { overflow-x: hidden; }
img, video, iframe { max-width: 100%; height: auto; }

.container{
  width: min(var(--container), calc(100% - 32px));
}

.topbar-inner{
  flex-wrap: wrap;
}
.brand{
  min-width: 0;
}
.brand img{
  height: 46px;
}

.btn{
  max-width: 100%;
  white-space: normal;
}
.actions{
  flex-wrap: wrap;
  justify-content: flex-end;
}
.lang{
  flex: 0 0 auto;
}

.hero{
  padding: 82px 0 56px;
}
.hero h1{
  font-size: clamp(2rem, 7vw, 3.2rem);
}
.hero-sub{
  font-size: 16px;
}
.hero-ctas{
  width: 100%;
}
.hero-ctas .btn{
  width: auto;
}

.grid-2{
  gap: 18px;
}

.cards{
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.card .media{
  height: 160px;
}

.cta-grid{
  gap: 18px;
}
.form{
  width: 100%;
}
.row{
  gap: 10px;
}

.chat{
  right: 12px;
  bottom: 86px;
  width: min(380px, calc(100% - 24px));
}
.chat-body{
  max-height: 52vh;
}

.tViewport{
  overflow: hidden;
  border-radius: 18px;
  touch-action: pan-y;
}

.tCard{
  min-width: 0 !important;
  flex: 0 0 calc((100% - 28px) / 3); /* 3 tarjetas */
}

/* Tablet: 2 tarjetas */
@media (max-width: 960px){
  nav{ display:none; }

  .hero-grid, .grid-2, .cta-grid{
    grid-template-columns: 1fr;
  }

  .cards{
    grid-template-columns: 1fr;
  }

  .row{
    grid-template-columns: 1fr;
  }

  .footer-grid{
    grid-template-columns: 1fr 1fr;
  }

  .tCard{
    flex: 0 0 calc((100% - 14px) / 2); /* 2 tarjetas */
  }
}

/* Móvil: 1 tarjeta 100% */
@media (max-width: 560px){
  .container{
    width: calc(100% - 24px);
  }

  .topbar-inner{
    padding: 12px 0;
  }

  .hero{
    padding: 78px 0 46px;
  }

  .hero-checks{
    font-size: 15px;
  }

  .tTrack{
    gap: 12px;
  }

  .tCard{
    flex: 0 0 100% !important; /* 1 tarjeta */
    width: 100%;
  }

  .footer-grid{
    grid-template-columns: 1fr;
  }
}

/* Móvil muy pequeño */
@media (max-width: 360px){
  .btn{
    padding: 10px 12px;
    font-size: 13px;
  }
}
/* ======================================================
   RESPONSIVE GLOBAL (100% móvil) — 
   ====================================================== */

html, body { overflow-x: hidden; }
img, video, iframe { max-width: 100%; height: auto; }

.container{
  width: min(var(--container), calc(100% - 32px));
}

.topbar-inner{
  flex-wrap: wrap;
}
.brand{
  min-width: 0;
}
.brand img{
  height: 46px;
}

.btn{
  max-width: 100%;
  white-space: normal;
}
.actions{
  flex-wrap: wrap;
  justify-content: flex-end;
}
.lang{
  flex: 0 0 auto;
}

.hero{
  padding: 82px 0 56px;
}
.hero h1{
  font-size: clamp(2rem, 7vw, 3.2rem);
}
.hero-sub{
  font-size: 16px;
}
.hero-ctas{
  width: 100%;
}
.hero-ctas .btn{
  width: auto;
}

.grid-2{
  gap: 18px;
}

.cards{
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.card .media{
  height: 160px;
}

.cta-grid{
  gap: 18px;
}
.form{
  width: 100%;
}
.row{
  gap: 10px;
}

.chat{
  right: 12px;
  bottom: 86px;
  width: min(380px, calc(100% - 24px));
}
.chat-body{
  max-height: 52vh;
}

/* ======================================================

   ====================================================== */

.tViewport{
  overflow: hidden;
  border-radius: 18px;
  touch-action: pan-y;
}

.tCard{
  min-width: 0 !important;
  flex: 0 0 calc((100% - 28px) / 3); /* 3 tarjetas */
}

/* Tablet: 2 tarjetas */
@media (max-width: 960px){
  nav{ display:none; } 

  .hero-grid, .grid-2, .cta-grid{
    grid-template-columns: 1fr;
  }

  .cards{
    grid-template-columns: 1fr;
  }

  .row{
    grid-template-columns: 1fr;
  }

  .footer-grid{
    grid-template-columns: 1fr 1fr;
  }

  .tCard{
    flex: 0 0 calc((100% - 14px) / 2); /* 2 tarjetas */
  }
}

/* Móvil: 1 tarjeta 100% */
@media (max-width: 560px){
  .container{
    width: calc(100% - 24px);
  }

  .topbar-inner{
    padding: 12px 0;
  }

  .hero{
    padding: 78px 0 46px;
  }

  .hero-checks{
    font-size: 15px;
  }

  .tTrack{
    gap: 12px;
  }

  .tCard{
    flex: 0 0 100% !important; /* 1 tarjeta */
    width: 100%;
  }

  .footer-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px){
  .btn{
    padding: 10px 12px;
    font-size: 13px;
  }
}
