:root{
    --brand:#1b11a3;
    --brand-dark:#130b75;
    --bg:#f5f7fa;
    --card:#ffffff;
    --chip-bg:#e7efff;
    --chip-tx:#0b46a3;
    --shadow:0 8px 24px rgba(0,0,0,.08);
  }

  *{box-sizing:border-box}
  body{
   /*margin:0; padding:32px;*/
    /*font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;*/
    background:var(--bg); color:#0f172a;
  }

  .wrap{
    max-width:1100px; margin:0 auto; position:relative;
    display:flex; align-items:center; gap:10px;
  }

  /* Carrusel */
  .carousel{
    margin: 20px 0px 0px 0px;
    display:flex; 
    overflow:hidden; 
    scroll-behavior:smooth;
    padding:6px; flex:1;

  }

  .card{
    flex:0 0 460px;
    background:var(--card); border-radius:0px;
    margin:0px 12px; padding:18px;
    box-shadow:var(--shadow);
    transition:transform .25s ease, box-shadow .25s ease;
  }
  .card:hover{ transform:translateY(-3px); box-shadow:0 12px 28px rgba(0,0,0,.12); }

  .avatar{
    width:120px; height:120px; border-radius:0%; object-fit:contain;
    display:block; margin:6px auto 10px auto;
  }

  h3{ margin:6px 0 2px; font-size:30px; line-height:1.2; text-align:center; font-family: sans-serif;}
  .meta{ margin:0; color:#475569; font-size:13px; text-align:center; font-family: Arial, Helvetica, sans-serif;}

  /* Rating (relleno parcial) */
  .rating{ display:flex; align-items:center; gap:8px; justify-content:center; margin-top:6px; }
  .stars{ position:relative; display:inline-block; font-size:18px; line-height:1; }
  .stars-bg, .stars-fill{ letter-spacing:3px; }
  .stars-bg{ color:#e5e7eb; }
  .stars-fill{
    color:#1b11a3; position:absolute; inset:0 auto 0 0; white-space:nowrap;
    overflow:hidden; width:0; pointer-events:none;
  }
  .rating .num{ font-size:13px; color:#475569; font-family: Arial, Helvetica, sans-serif;}

  /* Chips */
  .tags{ display:flex; flex-wrap:wrap; gap:6px; justify-content:center; margin:10px 0; }
  .tag{ background:var(--chip-bg); color:var(--chip-tx); font-size:12px; padding:4px 10px; border-radius:999px; }

  .info{ font-size:14px; line-height:1.5; margin-top:8px; color:#333333; font-family: Arial, Helvetica, sans-serif;}
  .info p{ margin:.25rem 0; color: #333333;}

  .btn{
    margin-top:12px; width:100%; padding:10px 12px;
    border: 2px solid var(--brand); border-radius:0px; cursor:pointer; font-weight:600;
    background:white; color:var(--brand); transition:background .2s ease, transform .2s ease;
    transition: 0.5s;
  }
  .btn:hover{ background:var(--brand-dark); color: #ffffffec; transform: scale(1.03); transition: 0.5s;}
  .btn:active{ transform:translateY(1px); }

  /* Botones de navegación fuera del carrusel */
  .nav-btn{
    flex-shrink:0;
    width:48px; height:48px; border-radius:999px; border:1px solid #e2e8f0;
    background:#fff; display:grid; place-items:center; cursor:pointer;
    box-shadow:0 6px 18px rgba(0,0,0,.12); z-index:5;
    transition:background .2s ease, transform .1s ease, opacity .2s ease;
    font-size: 150%;
    text-align: center;
  }
  .nav-btn:hover{ background:#1b11a3; color: #fff;}
  .nav-btn:active{ transform:scale(.96); }
  .nav-btn[disabled]{ opacity:.35; cursor:default; box-shadow:none; background: none; color: rgba(0, 0, 0, 0.377);}

  .card1{ width: 100%; height: 43%; text-align: center;}
  .card1 h2{ line-height: 1;}
  .card2{ width: 100%; height: 11%;}
  .card3{ width: 100%; height: 7%;}
  .card4{ width: 100%; height: 26%;}
  .card4 p{ line-height: 1.7;}

  .subtitulo{ font-size: 2.5rem; color: #878f9b; font-weight: 100;}
  .titulo{ font-size:32px; margin-bottom:16px;}
  /* Responsive */
  @media (max-width: 640px){
    body{ padding:0px; }
    .card{ flex-basis: 100vw; margin:0 5px 0px;}
    .card1 h4{ margin-top: 0px;}
    .avatar{ width:105px; height:105px;}
    .card4{ width: 100%; height: 27%;}
    .btn{ margin: 5px 0px 20px 0px;}
    .nav-btn{ width:42px; height:42px; }
    .wrap{ gap:4px; }
    .titulo{ font-size: 2.5rem;}
    .subtitulo{ font-size: 1.8rem; color: #878f9b; font-weight: 100; line-height: 1;}
    .carousel{
      display: inline-block;
      overflow-x:auto;   /* permite scroll con el dedo */
      -webkit-overflow-scrolling: touch;
      scroll-snap-type:x mandatory; /* efecto de snap */
    }
    .nav-btn{ display:none; } /* oculta botones */
  }

  /*agregado*/
  :root {
    --primary: #130b75 ;
    --secondary: #10B981;
    --accent: #F59E0B;
    --light: #F3F4F6;
    --dark: #1F2937;
  }
  body {
    margin: 0;
    /*font-family: 'Inter', sans-serif;*/
    background: #f9fafb;
    color: var(--dark);
    scroll-behavior: smooth;
  }
  h1,h2,h3,h4,h5,h6 { margin: 0; }
  section { padding: 80px 20px; }
  .mc-container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .text-center-h2 { font-size:32px; margin-bottom:16px;}
  .text-center-p { font-size: 18px; max-width:600px;margin:0 auto 40px; color: #8997a7;}

  .mc-text-center { text-align: center; }
  .mc-text-center-dates { font-size:32px;font-weight:700;color:var(--primary);}
  .mc-gradient-bg {
    background: linear-gradient(135deg, #40a0e0 0%, #1500ff 100%);
    color: white;
  }
  .mc-btn {
    display: inline-block;
    padding: 14px 32px;

    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
  }
  .mc-btn-primary {
    background: #130b75 ;
    color: white;
    border: none;
  }
  .mc-btn-primary:hover { transform: scale(1.05); }
  .mc-btn-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
  }
  .mc-btn-outline:hover {
    background: white;
    color: #130b75 ;
  }
  .mc-grid {
    display: grid;
    gap: 32px;
  }
  .mc-grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .mc-grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
  .mc-grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

  /* Tarjetas */
  .mc-card-hover {
    transition: all 0.3s ease;
    border-radius: 0px;
    background: white;
    padding: 32px;
    height: 450px;
  }
  .mc-card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 
    0 20px 20px rgba(0, 0, 0, 0.1),   /* sombra general */
    0 20px 0 #180f91;                /* “borde inferior” con color */


  }

  .mc-card-hover-superior { height: 35%; margin-bottom: 20px; transform: translateY(-8px);}
  .mc-card-hover-intermedio { height: 20%;}
  .mc-card-hover p { text-align: justify; margin-top: 10px;}

  .list1 li { text-align: justify; line-height: 2;}
  .list1 i { color:var(--primary);}
  .mc-testimonial-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e5e7eb;
    border-radius: 0px;
    padding: 32px;
  }
  .mc-pricing-card {
    background: white;
    border: 2px solid transparent;
    border-radius: 0px;
    padding: 32px;
    text-align: center;
    transition: 0.3s ease;
    color: #333333;
  }
  .mc-pricing-card:hover {
    border-color: #130b75 ;
    transform: scale(1.03);
  }
  .mc-feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0px;
    margin-bottom: 16px;
    margin-left: 40%;
    font-size: 24px;
  }
  /* Hero */
  .mc-hero {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
  }
  .mc-hero img {
    max-width: 100%;
    border-radius: 0px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  }
  .mc-hero h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
  }
  .mc-hero p { font-size: 20px; margin-bottom: 32px; }

  /* CTA */
  .mc-cta {
    background: #130b75 ;
    color: white;
    text-align: center;
    padding: 80px 20px;
  }
  .mc-cta h2 { font-size: 32px; margin-bottom: 20px; }
  .mc-cta p { font-size: 18px; margin-bottom: 32px; }

  /* FAQ */
  .mc-faq {
    max-width: 800px;
    margin: 0 auto;
  }
  .mc-faq-item {
    background: white;
    padding: 20px;
    border-radius: 0px;
    margin-bottom: 16px;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    transition: 1s ease;
  }
  .mc-faq-item:hover { border-color: #130b75 ;  transition: 1s;}
  .mc-faq-question {
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .mc-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin-top: 15px;
    display: flex;
  }
  .mc-faq-item.mc-active .mc-faq-answer {
    max-height: 200px;
  }

  .btn-principal-home { display:flex; justify-content:center; gap:16px; flex-wrap:wrap;}
  .btn-principal-home a { color: white;}
  .btn-principal-home a:hover { color: #130b75;}
  .btn-secundario-home { display:flex; gap:16px; justify-content:center;}

  /* Responsive */
  @media(max-width:768px){
    .mc-hero h1 { font-size: 32px; }
    .mc-grid-4 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  }

  /* Mejor responsividad 640px */
  @media(max-width:640px){
    section { padding: 60px 16px; }
    .mc-hero { flex-direction: column; text-align: center; }
    .mc-hero h1 { font-size: 28px; }
    .mc-hero p { font-size: 16px; }
    .mc-btn { padding: 12px 24px; font-size: 14px; }
    .mc-grid-2, .mc-grid-3, .mc-grid-4 { grid-template-columns: 1fr; }
    .mc-testimonial-card, .mc-pricing-card, .mc-card-hover { padding: 20px; }
    .mc-cta h2 { font-size: 24px; }
    .mc-cta p { font-size: 16px; }
    .mc-footer .mc-grid { grid-template-columns: 1fr; text-align: center; }
    .btn-principal-home { display:flex;gap:16px;justify-content:center;flex-wrap:wrap;}
    .btn-secundario-home .mc-btn { font-size: 11px;}
  }