/* =========================
   ALKAR - CSS (HostGator safe)
   ========================= */

   html{
    scroll-behavior: smooth;
  }
  
   :root{
    --bg: #F8FAFC;
    --text: #0F172A;
  
    --primary: #2563EB;   /* Royal Blue */
    --secondary: #1E3A8A; /* Navy */
    --amber: #F59E0B;     /* Gold */
  
    --slate-50: #F8FAFC;
    --slate-100: #F1F5F9;
    --slate-200: #E2E8F0;
    --slate-300: #CBD5E1;
    --slate-400: #94A3B8;
    --slate-500: #64748B;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1F2937;
    --slate-900: #0F172A;
  
    --blue-800: #1E40AF;
    --blue-900: #1E3A8A;
    --blue-950: #0B1B3A;
  
    --radius: 14px;
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, .08);
    --shadow-md: 0 14px 38px rgba(15, 23, 42, .14);
    --shadow-lg: 0 18px 60px rgba(15, 23, 42, .20);





      /* Desktop (>= 769px) */
  --logo-h-desktop: 200px;   /* altura del logo */
  --logo-pad-top-desktop: 1px;
  --logo-pad-bot-desktop: 1px;

  /* Mobile (<= 768px) */
  --logo-h-mobile: 200px;    /* altura del logo */
  --logo-pad-top-mobile: 18px;
  --logo-pad-bot-mobile: 10px;
  }
  
  *{ box-sizing: border-box; }
  html, body{ height: 100%; }
  body{
    margin:0;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  a{ color: inherit; text-decoration: none; }
  img, video{ max-width: 100%; display: block; }
  button, input, select{ font: inherit; }
  
  .container{
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
  }
  
  .section{
    padding: 84px 0;
  }
  
  .section--tight{
    padding: 64px 0;
  }
  
  .center{
    text-align:center;
  }
  
  .h2{
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.1;
    margin: 0 0 14px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--blue-950);
  }
  
  .p-lead{
    margin: 0 auto;
    max-width: 820px;
    color: var(--slate-600);
    font-size: 18px;
    line-height: 1.6;
  }
  
  .divider{
    border-top: 1px solid var(--slate-200);
  }
  
  /* =========================
     HERO
     ========================= */
  .hero{
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 90px 0 86px;
    background:
      radial-gradient(1200px 700px at 80% 10%, rgba(37,99,235,.25), transparent 60%),
      radial-gradient(900px 600px at 10% 90%, rgba(245,158,11,.18), transparent 55%),
      linear-gradient(135deg, #06122A 0%, #0D2A66 45%, #1E40AF 100%);
    box-shadow: var(--shadow-lg);
  }
  
  .hero__orb1, .hero__orb2{
    position:absolute;
    border-radius:999px;
    opacity:.12;
    pointer-events:none;
  }
  .hero__orb1{
    width: 300px; height: 300px;
    top: -120px; right: -80px;
    background:#fff;
  }
  .hero__orb2{
    width: 520px; height: 520px;
    bottom: -220px; left: -180px;
    background: #60A5FA;
  }
  
/* Contenedor del nav (genera espacio arriba/abajo del logo) */
.nav{
  position: relative;
  z-index: 3;
  padding-top: var(--logo-pad-top-desktop);
  padding-bottom: var(--logo-pad-bot-desktop);
}
/* NAV centrado sin absolute */
.nav__inner{
  display:flex;
  align-items:center;
  justify-content:center;  /* centra el logo */
  position: relative;
}

/* quita absolute */
.nav__inner--center .brand--center{
  position: static;
  left: auto;
  transform: none;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* OJO: elimina cualquier min-height que tengas en nav__inner--center */
.nav__inner--center{
  min-height: 0 !important;
}

/* Logo */
.brand__logo{
  display:block;
  height: var(--logo-h-desktop);
  width:auto;
  max-width: 92vw;
  object-fit: contain;
  margin: 0 auto;
}

/* Mobile */
@media (max-width: 768px){
  .brand__logo{ height: var(--logo-h-mobile); }
  .nav__link{ display:none; }
}
  
  .nav__link{
    display:none;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(219,234,254,.9);
    transition: color .2s ease;
  }
  .nav__link:hover{ color:#fff; }
  
  @media (min-width: 768px){
    .nav__link{ display:inline-block; }
  }
  
  .hero__content{
    padding-top: 40px;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    position: relative;
    z-index: 2;
  }
  
  .hero__badge{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding: 10px 14px;
    background: rgba(255,255,255,.10);
    border-left: 4px solid rgba(245,158,11,.95);
    backdrop-filter: blur(10px);
    margin-bottom: 22px;
  }
  .hero__badge span{
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(219,234,254,.92);
  }
  
  .hero__h1{
    margin: 0 0 18px;
    font-size: clamp(32px, 4.5vw, 64px);
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -0.03em;
  }
  .hero__h1 strong{
    color: var(--amber);
    font-weight: 950;
  }
  
  .hero__videoWrap{
    width: 100%;
    max-width: none;              /* quita el límite de 340px */
    margin: 18px 0 26px;
  }

  /* Tamaño responsive: en móvil ocupa casi todo; en desktop crece bien */
  @media (max-width: 768px){
    .hero__videoWrap{ width: min(86vw, 380px); }
  }
  @media (min-width: 768px){
    .hero__videoWrap{ width: min(560px, 75vw); }
  }

.videoCard{
  position: relative;
  aspect-ratio: 9 / 16;         /* cámbialo a 9/16 si tu video es vertical */
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  background: #0B1220;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

/* IMPORTANTE: iframe cover (Vimeo) */
.videoCard iframe{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  border: 0;
}

  .videoCard video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .92;
    transition: opacity .3s ease;
  }
  .videoCard:hover video{ opacity: 1; }
  
  .videoCard__caption{
    position:absolute;
    inset: auto 0 0 0;
    padding: 18px;
    background: linear-gradient(to top, rgba(0,0,0,.88), transparent);
    text-align:left;
  }
  .videoCard__caption .kicker{
    margin:0 0 6px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .14em;
  }
  .videoCard__caption .sub{
    margin:0;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(226,232,240,.82);
  }
  
  .hero__sub{
    margin: 0 0 22px;
    max-width: 820px;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(226,232,240,.9);
    font-weight: 300;
  }
  .hero__sub strong{ color: #fff; font-weight: 800; }
  
  .hero__ctaRow{
    display:flex;
    flex-direction:column;
    gap: 12px;
    width: 100%;
    align-items:center;
  }
  .btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 13px;
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
    width: min(520px, 100%);
  }
  .btn--primary{
    background: var(--amber);
    color: var(--blue-950);
    border: none;
    box-shadow: 0 14px 30px rgba(245,158,11,.25);
    border-bottom: 4px solid rgba(180,83,9,.55);
  }
  .btn--primary:hover{ transform: translateY(-2px); background: #ffb224; }
  .btn--ghost{
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
  }
  .btn--ghost:hover{ background: rgba(255,255,255,.06); }
  
  @media (min-width: 768px){
    .hero__ctaRow{ flex-direction: row; justify-content:center; }
    .btn{ width: auto; padding: 14px 22px; }
  }
  
  /* =========================
     Section 1 grid boxes
     ========================= */
  .grid-2{
    display:grid;
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 32px;
  }
  @media(min-width: 900px){
    .grid-2{ grid-template-columns: 1fr 1fr; gap: 32px; }
  }
  
  .box{
    background:#fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
  }
  .box--muted{
    background: var(--slate-50);
  }
  .box--danger{
    border-left: 6px solid #DC2626;
  }
  .box__title{
    margin:0 0 18px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--blue-900);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--slate-200);
  }
  .list{
    margin:0;
    padding:0;
    list-style:none;
    display:flex;
    flex-direction:column;
    gap: 16px;
  }
  .list li{
    display:flex;
    gap: 12px;
    color: var(--slate-600);
    line-height: 1.55;
  }
  .badge-warn{
    color:#DC2626;
    font-weight: 900;
    margin-top: 2px;
  }
  .list strong{
    color: var(--blue-900);
  }
  .bigLabel{
    font-size: 28px;
    font-weight: 950;
    margin: 0 0 6px;
    color: var(--slate-800);
  }
  .box p{ margin:0; color: var(--slate-600); line-height: 1.6; }
  
  /* =========================
     Services cards
     ========================= */
  .cards{
    display:grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 34px;
  }
  @media(min-width: 720px){
    .cards{ grid-template-columns: repeat(2, 1fr); }
  }
  @media(min-width: 1100px){
    .cards{ grid-template-columns: repeat(4, 1fr); }
  }
  
  .card{
    background:#fff;
    border: 1px solid var(--slate-200);
    border-top: 5px solid var(--blue-900);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .2s ease, transform .2s ease;
  }
  .card:hover{
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }
  .card__icon{
    font-size: 34px;
    margin-bottom: 12px;
  }
  .card__h{
    margin:0 0 10px;
    font-size: 18px;
    font-weight: 900;
    color: var(--slate-900);
  }
  .card__p{
    margin:0;
    font-size: 14px;
    color: var(--slate-600);
    line-height: 1.6;
  }
  .card--b2{ border-top-color: #2563EB; }
  .card--b3{ border-top-color: #3B82F6; }
  .card--amber{ border-top-color: var(--amber); }
  
  /* =========================
     Complimentary section
     ========================= */
  .darkBand{
    background: var(--blue-950);
    color:#fff;
    border-top: 1px solid rgba(59,130,246,.18);
  }
  .darkBand .h2{ color:#fff; font-size: clamp(22px, 2.6vw, 34px); }
  .kickerAmber{
    margin: 0;
    color: var(--amber);
    font-weight: 900;
    font-size: 18px;
    letter-spacing: .04em;
  }
  
  .compGrid{
    display:grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 22px;
  }
  @media(min-width: 900px){
    .compGrid{ grid-template-columns: 1fr 1fr; }
  }
  .comp{
    background: rgba(30,58,138,.35);
    border-left: 6px solid var(--amber);
    border-radius: 12px;
    padding: 18px;
    border-top: 1px solid rgba(255,255,255,.06);
    transition: background .2s ease;
  }
  .comp:hover{ background: rgba(30,58,138,.45); }
  .comp__icon{ font-size: 22px; margin-bottom: 8px; }
  .comp__h{ margin:0 0 6px; font-weight: 900; }
  .comp__p{ margin:0; color: rgba(226,232,240,.85); font-size: 13px; line-height: 1.45; }
  
  /* =========================
     Results section blocks
     ========================= */
  .twoBlocks{
    display:grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 34px;
  }
  @media(min-width: 1000px){
    .twoBlocks{ grid-template-columns: 1fr 1fr; gap: 26px; }
  }
  .block{
    background:#fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-md);
  }
  .block__h{
    margin:0 0 14px;
    font-size: 18px;
    font-weight: 950;
    color: var(--blue-900);
    display:flex;
    gap: 10px;
    align-items:center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--slate-200);
  }
  .block__p{ margin: 0 0 18px; color: var(--slate-600); line-height: 1.6; }
  .block__result{
    background: var(--slate-50);
    border-left: 6px solid #3B82F6;
    padding: 14px;
    border-radius: 12px;
  }
  .block__result b{ color: var(--blue-900); }
  .block__result p{ margin: 6px 0 0; font-size: 13px; color: var(--slate-600); }
  
  .guarantee{
    margin-top: 34px;
    background:#fff;
    border: 1px solid var(--slate-200);
    border-left: 10px solid var(--amber);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-lg);
  }
  .guarantee h3{
    margin:0 0 10px;
    font-size: 22px;
    font-weight: 950;
    color: var(--blue-950);
  }
  .guarantee p{ margin:0; color: var(--slate-600); font-size: 16px; line-height: 1.65; }
  
  /* =========================
     Testimonials
     ========================= */
  .testGrid{
    display:grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 28px;
  }
  @media(min-width: 900px){
    .testGrid{ grid-template-columns: 1fr 1fr; gap: 26px; }
  }
  .test{
    background:#fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow-sm);
    position: relative;
  }
  .test::after{
    content:"”";
    position:absolute;
    top: 10px;
    right: 18px;
    font-size: 58px;
    color: rgba(37,99,235,.12);
    font-family: Georgia, serif;
  }
  .test p{
    margin: 0 0 18px;
    color: var(--slate-600);
    font-style: italic;
    font-size: 18px;
    line-height: 1.65;
    font-weight: 300;
  }
  .person{
    display:flex;
    align-items:center;
    gap: 12px;
  }
  .avatar{
    width: 46px; height: 46px;
    border-radius: 999px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight: 950;
  }
  .avatar--blue{ background: rgba(37,99,235,.18); color: #1D4ED8; }
  .avatar--amber{ background: rgba(245,158,11,.20); color: #B45309; }
  .person b{ display:block; font-size: 13px; color: var(--slate-900); }
  .person span{ display:block; font-size: 11px; color: var(--slate-500); text-transform: uppercase; letter-spacing: .16em; margin-top: 2px; }
  
  /* =========================
     Contact section
     ========================= */
  .contactBand{
    background: #0B1220;
    border-top: 1px solid rgba(148,163,184,.12);
  }
  .contactShell{
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display:grid;
    grid-template-columns: 1fr;
  }
  @media(min-width: 1024px){
    .contactShell{ grid-template-columns: 5fr 7fr; }
  }
  
  .contactLeft{
    background: var(--slate-50);
    padding: 34px;
    border-right: 1px solid var(--slate-200);
    position: relative;
  }
  .contactLeft::before{
    content:"";
    position:absolute;
    top:0; left:0; right:0;
    height: 8px;
    background: linear-gradient(90deg, #2563EB, #F59E0B);
  }
  .contactLeft h3{
    margin: 10px 0 12px;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 950;
    color: var(--blue-950);
  }
  .contactLeft p{
    margin: 0 0 22px;
    color: var(--slate-600);
    font-size: 18px;
    line-height: 1.6;
  }
  
  .info{
    display:flex;
    flex-direction:column;
    gap: 16px;
  }
  .infoRow{
    display:flex;
    gap: 12px;
    align-items:flex-start;
  }
  .infoIcon{
    width: 42px; height: 42px;
    border-radius: 999px;
    background: rgba(37,99,235,.12);
    color: #1D4ED8;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size: 18px;
    flex: 0 0 auto;
  }
  .infoRow b{
    display:block;
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--slate-900);
  }
  .infoRow span{
    display:block;
    margin-top: 4px;
    color: var(--slate-600);
    font-weight: 600;
  }
  
  .contactRight{
    padding: 34px;
    position: relative;
  }
  .formTitle{
    display:flex;
    align-items:center;
    gap: 12px;
    margin-bottom: 18px;
  }
  .formBar{
    width: 8px;
    height: 34px;
    border-radius: 6px;
    background: var(--amber);
  }
  .formTitle h4{
    margin:0;
    font-size: 20px;
    font-weight: 950;
    color: var(--slate-800);
  }
  .form{
    display:flex;
    flex-direction:column;
    gap: 14px;
  }
  
  .row2{
    display:grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  @media(min-width: 820px){
    .row2{ grid-template-columns: 1fr 1fr; }
  }
  
  .label{
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--slate-500);
    margin-bottom: 6px;
    display:block;
  }
  .field{
    width:100%;
    padding: 13px 14px;
    border: 1px solid var(--slate-200);
    background: var(--slate-50);
    border-radius: 12px;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
    color: var(--slate-900);
  }
  .field:focus{
    border-color: rgba(37,99,235,.65);
    box-shadow: 0 0 0 3px rgba(37,99,235,.18);
    background: #fff;
  }
  
  .submit{
    margin-top: 10px;
    border: none;
    border-radius: 12px;
    background: var(--blue-900);
    color: #fff;
    padding: 15px 18px;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor:pointer;
    box-shadow: 0 16px 34px rgba(30,58,138,.25);
    transition: transform .15s ease, background .15s ease;
  }
  .submit:hover{ transform: translateY(-2px); background: #1D4ED8; }
  .submit:disabled{ opacity: .7; cursor:not-allowed; transform:none; }
  
  .smallNote{
    margin: 12px 0 0;
    font-size: 12px;
    color: var(--slate-400);
    text-align:center;
  }
  
  /* Success overlay */
  .success{
    position:absolute;
    inset: 0;
    background:#fff;
    display:none;
    align-items:center;
    justify-content:center;
    padding: 28px;
    text-align:center;
  }
  .success.is-visible{ display:flex; }
  .successCard{
    width: min(520px, 100%);
  }
  .check{
    width: 78px;
    height: 78px;
    border-radius: 999px;
    background: rgba(16,185,129,.14);
    color: #059669;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size: 38px;
    margin: 0 auto 14px;
  }
  .success h5{
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 950;
    color: var(--slate-900);
  }
  .success p{
    margin: 0 auto 16px;
    color: var(--slate-600);
    line-height: 1.6;
  }
  .linkBtn{
    background:none;
    border:none;
    color: #2563EB;
    font-weight: 900;
    cursor:pointer;
    text-decoration: underline;
  }
  
  /* Footer */
  .footer{
    background: #050A14;
    color: rgba(148,163,184,.85);
    text-align:center;
    padding: 22px 0;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: none;
    border-top: 1px solid rgba(148,163,184,.10);
  }
  


  .contactLogoBottom{
    margin-top: 5px;     /* separación desde Av. Reforma */
    display: flex;
    justify-content: flex-start; /* izquierda como el texto */
    align-items: center;
  }
  
  .contactLogoBottom img{
    height: 200px;         /* ajusta 24–36 */
    width: auto;
    object-fit: contain;
    opacity: .95;
  }
  
  /* si en mobile quieres que se vea centrado */
  @media (max-width: 768px){
    .contactLogoBottom{
      justify-content: center;
    }
  }
  