:root{
      --teal:#74B4C4;
      --blue:#345C94;
      --navy:#1C2C54;

      --bg:#F4F4F4;
      --surface:#FFFFFF;
      --surface2:rgba(255,255,255,.86);

      --text:#121826;
      --muted:#5A6475;
      --border:rgba(18,24,38,.10);

      --shadow: 0 10px 30px rgba(0,0,0,.08);
      --shadow2: 0 18px 45px rgba(0,0,0,.12);
      --radius:18px;
      --max:1160px;

      --navH:90px;

      --wa:#25D366;

      --ease: cubic-bezier(.2,.8,.2,1);
    }

    *{box-sizing:border-box}
    html{scroll-behavior:smooth; scroll-padding-top: calc(var(--navH) + 16px);}
    body{
      margin:0;
      font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
      color:var(--text);
      background:
        radial-gradient(1100px 600px at 12% -10%, rgba(116,180,196,.28), transparent 60%),
        radial-gradient(900px 520px at 92% 8%, rgba(52,92,148,.22), transparent 55%),
        var(--bg);
    }

    img{max-width:100%; height:auto;}
    a{color:inherit; text-decoration:none}
    .wrap{max-width:var(--max); margin:0 auto; padding:0 18px}

    /* NAV */
    .nav{
      position:sticky; top:0; z-index:50;
      backdrop-filter: blur(12px);
      background: rgba(244,244,244,.78);
      border-bottom: 1px solid rgba(0,0,0,.06);
    }
    .nav-inner{
      display:flex; align-items:center; justify-content:space-between;
      height:var(--navH);
      gap:12px;
    }

    .brand{
      display:flex; align-items:center; gap:12px;
      padding:10px 14px;
      border-radius:18px;
      transition: background .2s ease;
      min-width: 0;
    }
    .brand:hover{background: rgba(52,92,148,.08)}
    .brand img{
      height:86px;
      width:auto;
      max-width: 190px;
      object-fit: contain;
      filter: drop-shadow(0 10px 20px rgba(0,0,0,.14));
      flex: 0 0 auto;
    }
    .brand .wordmark{
      display:flex; flex-direction:column; line-height:1;
      min-width:0;
    }
    .brand .wordmark b{
      font-size:14px;
      color:var(--navy);
      letter-spacing:.2px;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
      max-width: 230px;
    }
    .brand .wordmark span{
      font-size:11.5px;
      color:var(--muted);
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
      max-width: 230px;
    }

    .menu{display:flex; gap:6px; font-size:14px; color:var(--muted)}
    .menu a{
      padding:10px 12px; border-radius:12px;
      transition: background .2s, color .2s, transform .15s var(--ease);
      border:1px solid transparent;
    }
    .menu a:hover{background:rgba(52,92,148,.08); color:var(--navy); transform: translateY(-1px)}
    .menu a.active{
      background:rgba(116,180,196,.18);
      color:var(--navy);
      border-color: rgba(116,180,196,.30);
      font-weight:650;
    }

    /* HERO */
    .hero{padding:56px 0 18px}
    .hero-grid{
      display:grid;
      grid-template-columns: 1.35fr .65fr;
      gap:18px;
      align-items:stretch;
    }
    .panel{
      background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.82));
      border:1px solid var(--border);
      border-radius:var(--radius);
      box-shadow:var(--shadow);
      padding:28px;
      transition: transform .18s var(--ease), box-shadow .18s var(--ease);
    }
    .panel:hover{transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,.11)}
    .kicker{
      display:inline-flex; align-items:center; gap:10px;
      font-weight:750; letter-spacing:.3px; font-size:12px;
      color:var(--blue);
      background: rgba(52,92,148,.08);
      border: 1px solid rgba(52,92,148,.14);
      padding:8px 10px;
      border-radius:999px;
    }
    h1{margin:14px 0 10px; font-size:44px; line-height:1.04; color:var(--navy)}
    .lead{margin:0; color:var(--muted); font-size:16px; line-height:1.6; max-width:62ch}
    .cta{display:flex; gap:12px; margin-top:18px; flex-wrap:wrap}

    .btn{
      display:inline-flex; align-items:center; justify-content:center; gap:10px;
      height:46px; padding:0 16px; border-radius:14px;
      border:1px solid rgba(18,24,38,.14);
      background:rgba(255,255,255,.92);
      cursor:pointer; font-weight:700;
      transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease), border-color .15s var(--ease);
      box-shadow: 0 10px 26px rgba(0,0,0,.06);
      user-select:none;
      font-size:16px;
    }
    .btn:hover{transform: translateY(-1px); box-shadow: 0 16px 34px rgba(0,0,0,.10)}
    .btn.primary{
      background: linear-gradient(135deg, var(--blue), #2b4a7d);
      color:#fff;
      border-color: transparent;
    }
    .btn.primary:hover{box-shadow: 0 18px 40px rgba(52,92,148,.28)}
    .btn.ghost{
      background: transparent;
      border-color: rgba(18,24,38,.14);
    }

    .mini{display:grid; gap:12px}
    .stat{
      border-radius:16px; padding:16px;
      background:rgba(255,255,255,.88);
      border:1px solid var(--border);
      box-shadow: var(--shadow);
      transition: transform .18s var(--ease), box-shadow .18s var(--ease);
    }
    .stat:hover{transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,.11)}
    .stat b{display:block; color:var(--navy); font-size:15px}
    .stat span{display:block; margin-top:6px; color:var(--muted); font-size:13px; line-height:1.45}

    /* SECTIONS */
    section{padding:34px 0}
    .section-title{
      display:flex; align-items:flex-end; justify-content:space-between;
      gap:12px;
      margin:0 0 16px;
      flex-wrap:wrap;
    }
    .section-title h2{
      margin:0;
      color:var(--navy);
      font-size:28px;
      letter-spacing:.2px;
      white-space:nowrap;
    }
    .section-title p{
      margin:0;
      color:var(--muted);
      line-height:1.55;
      font-size:14.5px;
      max-width: 62ch;
      flex: 1 1 520px;
    }

    /* Reveal */
    .reveal, .reveal-step{
      transform: translateY(10px);
      opacity:0;
      transition: transform .75s var(--ease), opacity .75s var(--ease);
      will-change: transform, opacity;
    }
    .show{transform: translateY(0); opacity:1}

    /* INDUSTRIES + INSIGHTS CARDS */
    .grid-3{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
    .card{
      background: var(--surface2);
      border:1px solid var(--border);
      border-radius:var(--radius);
      box-shadow:var(--shadow);
      padding:18px;
      transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
    }
    .card:hover{
      transform: translateY(-2px);
      box-shadow: 0 16px 40px rgba(0,0,0,.11);
      border-color: rgba(52,92,148,.16);
    }
    .card h3{margin:10px 0 8px; font-size:16px; color:var(--navy)}
    .card p{margin:0; color:var(--muted); font-size:13.6px; line-height:1.55}
    .svc-icon{
      width:38px; height:38px; border-radius:14px;
      display:grid; place-items:center;
      background: rgba(116,180,196,.18);
      border:1px solid rgba(116,180,196,.30);
      transition: transform .18s var(--ease);
    }
    .card:hover .svc-icon{transform: translateY(-1px) scale(1.02)}

    /* SERVICES (Desktop Tabs + Mobile Accordion Inline) */
    .services-shell{
      background: rgba(255,255,255,.88);
      border:1px solid var(--border);
      border-radius: 22px;
      box-shadow: var(--shadow);
      overflow:hidden;
      display:grid;
      grid-template-columns: 1fr 1.6fr;
      min-height: 420px;
      transition: transform .18s var(--ease), box-shadow .18s var(--ease);
    }
    .services-shell:hover{transform: translateY(-1px); box-shadow: 0 16px 40px rgba(0,0,0,.11)}
    .services-nav{
      padding:14px;
      border-right: 1px solid rgba(18,24,38,.08);
      background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.80));
      display:flex;
      flex-direction:column;
      gap:10px;
    }
    .svc-item{
      appearance:none;
      border:1px solid rgba(18,24,38,.10);
      background: rgba(255,255,255,.86);
      border-radius:16px;
      padding:12px 12px;
      text-align:left;
      font: inherit;
      cursor:pointer;
      color: var(--navy);
      font-weight: 740;
      transition: transform .12s var(--ease), box-shadow .12s var(--ease), border-color .12s var(--ease), background .12s var(--ease);
      box-shadow: 0 10px 26px rgba(0,0,0,.04);
      font-size:16px;
      position:relative;
    }
    .svc-item:hover{
      transform: translateY(-1px);
      border-color: rgba(52,92,148,.22);
      box-shadow: 0 16px 34px rgba(0,0,0,.07);
    }
    .svc-item.active{
      background: rgba(116,180,196,.16);
      border-color: rgba(116,180,196,.36);
    }

    .services-panel{
      padding:22px 22px 18px;
      display:flex;
      flex-direction:column;
      gap:14px;
      background:
        radial-gradient(520px 320px at 20% 20%, rgba(116,180,196,.20), transparent 60%),
        radial-gradient(520px 320px at 90% 10%, rgba(52,92,148,.14), transparent 55%),
        rgba(255,255,255,.82);
    }
    .svc-title{
      margin:0;
      font-size:20px;
      color: var(--navy);
      letter-spacing:.2px;
    }
    .svc-desc{
      margin:8px 0 0;
      color: var(--muted);
      line-height:1.6;
      font-size:14.2px;
      max-width: 70ch;
    }
    .svc-meta{
      display:flex; gap:8px; flex-wrap:wrap; margin-top:10px;
    }
    .tag{
      display:inline-flex;
      align-items:center;
      padding:8px 10px;
      border-radius:999px;
      background: rgba(52,92,148,.08);
      border: 1px solid rgba(52,92,148,.14);
      color: var(--blue);
      font-weight: 760;
      font-size:12px;
      transition: transform .18s var(--ease);
    }
    .tag:hover{transform: translateY(-1px)}
    .svc-list{
      margin:0;
      padding-left:18px;
      color: var(--muted);
      line-height:1.8;
      font-size:14px;
    }
    .svc-actions{
      display:flex;
      gap:12px;
      flex-wrap:wrap;
      margin-top:4px;
    }

    /* Inline accordion panel (mobile) */
    .svc-inline{
      margin-top:10px;
      border-radius:18px;
      border:1px solid rgba(18,24,38,.10);
      background: rgba(255,255,255,.88);
      box-shadow: 0 12px 28px rgba(0,0,0,.08);
      overflow:hidden;
      transform-origin: top;
      animation: popIn .22s var(--ease);
    }
    @keyframes popIn{
      from{opacity:0; transform: translateY(-4px) scale(.99);}
      to{opacity:1; transform: translateY(0) scale(1);}
    }
    .svc-inline .inner{
      padding:14px 14px 12px;
      background:
        radial-gradient(420px 260px at 20% 10%, rgba(116,180,196,.18), transparent 60%),
        radial-gradient(420px 260px at 90% 0%, rgba(52,92,148,.12), transparent 55%),
        rgba(255,255,255,.86);
    }
    .svc-inline h4{
      margin:0;
      color:var(--navy);
      font-size:16px;
      letter-spacing:.2px;
    }
    .svc-inline p{
      margin:8px 0 0;
      color:var(--muted);
      line-height:1.55;
      font-size:13.8px;
    }
    .svc-inline .tags{
      margin-top:10px;
      display:flex; gap:8px; flex-wrap:wrap;
    }
    .svc-inline ul{
      margin:10px 0 0;
      padding-left:18px;
      color:var(--muted);
      line-height:1.75;
      font-size:13.8px;
    }
    .svc-inline .actions{
      margin-top:12px;
      display:flex;
      gap:10px;
      flex-wrap:wrap;
    }
    .svc-inline .actions .btn{height:44px}

    /* Steps */
    .steps{display:grid; grid-template-columns: repeat(5, 1fr); gap:12px}
    .step{
      padding:16px;
      border-radius:18px;
      background: rgba(255,255,255,.88);
      border:1px solid var(--border);
      box-shadow: var(--shadow);
      transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
    }
    .step:hover{
      transform: translateY(-2px);
      box-shadow: 0 16px 40px rgba(0,0,0,.11);
      border-color: rgba(52,92,148,.14);
    }
    .step b{display:block; color:var(--navy)}
    .step span{display:block; margin-top:8px; color:var(--muted); font-size:13.2px; line-height:1.5}

    /* TEAM */
    .team{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
    .person{padding:0; overflow:hidden}
    .portrait{
      position:relative;
      height:280px;
      background:
        radial-gradient(420px 240px at 60% 30%, rgba(116,180,196,.35), transparent 60%),
        radial-gradient(420px 260px at 30% 10%, rgba(52,92,148,.25), transparent 60%),
        linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.70));
      border-bottom: 1px solid rgba(18,24,38,.08);
      display:flex; align-items:flex-end; justify-content:center;
      padding-bottom:6px;
    }
    .halo{
      position:absolute; inset:auto;
      width:210px; height:210px;
      border-radius:999px;
      background: radial-gradient(circle at 30% 30%, rgba(116,180,196,.55), rgba(52,92,148,.35) 55%, transparent 72%);
      opacity:.75;
      transform: translateY(-14px);
    }
    .portrait img{
      position:relative;
      height:260px;
      width:auto;
      object-fit:contain;
      filter: drop-shadow(0 22px 34px rgba(0,0,0,.22));
      transform: translateY(10px);
      transition: transform .35s ease;
    }
    .person:hover .portrait img{transform: translateY(4px)}
    .person .body{padding:16px 18px 18px}
    .role{color:var(--blue); font-weight:800; font-size:12px; letter-spacing:.2px}
    .person h3{margin:6px 0 8px; color:var(--navy)}
    .person p{margin:0; color:var(--muted); font-size:13.6px; line-height:1.55}

    /* Contact */
    .contact{display:grid; grid-template-columns: 1fr 1fr; gap:14px}
    .field{display:grid; gap:8px; margin-bottom:12px}
    label{font-weight:750; color:var(--navy); font-size:13px}
    input, textarea{
      width:100%; padding:12px 12px; border-radius:14px;
      border:1px solid rgba(18,24,38,.14);
      background:rgba(255,255,255,.95);
      outline:none;
      font:inherit;
      transition: border-color .15s var(--ease), box-shadow .15s var(--ease), transform .15s var(--ease);
      font-size:16px;
    }
    input:focus, textarea:focus{
      border-color: rgba(52,92,148,.35);
      box-shadow: 0 0 0 4px rgba(52,92,148,.10);
      transform: translateY(-1px);
    }
    textarea{min-height:120px; resize:vertical}

    /* Toast */
    .toast{
      position:fixed; left:50%; bottom:18px; transform:translateX(-50%);
      background:rgba(28,44,84,.96); color:#fff;
      padding:10px 12px; border-radius:14px;
      box-shadow: var(--shadow);
      display:none;
      z-index:100;
    }

    /* WhatsApp floating */
    .wa{
      position:fixed; right:18px; bottom:18px; z-index:110;
      width:58px; height:58px; border-radius:18px;
      background: var(--wa);
      border:1px solid rgba(0,0,0,.10);
      box-shadow: 0 18px 40px rgba(37,211,102,.28), 0 14px 30px rgba(0,0,0,.18);
      display:flex; align-items:center; justify-content:center;
      cursor:pointer;
      transition: transform .15s var(--ease), box-shadow .15s var(--ease), filter .15s var(--ease);
    }
    .wa:hover{
      transform: translateY(-1px);
      filter: saturate(1.05);
      box-shadow: 0 22px 50px rgba(37,211,102,.34), 0 16px 36px rgba(0,0,0,.20);
    }
    .wa img{width:30px; height:30px; filter: drop-shadow(0 8px 14px rgba(0,0,0,.18))}

    footer{padding:30px 0 46px; color:var(--muted); font-size:13px}

    @media (max-width: 980px){
      .hero-grid{grid-template-columns:1fr}
      h1{font-size:36px}
      .menu{display:none}

      .brand img{
        height:76px;
        max-width: 170px;
      }

      .section-title{
        align-items:flex-start;
        gap:8px;
      }
      .section-title h2{white-space:normal}
      .section-title p{flex-basis:100%; max-width: 72ch}

      .services-shell{grid-template-columns: 1fr}
      .services-nav{
        border-right:none;
        gap:10px;
        padding:12px;
      }
      .services-panel{display:none}

      .steps{grid-template-columns:1fr}
      .team{grid-template-columns:1fr}
      .contact{grid-template-columns:1fr}
      .grid-3{grid-template-columns:1fr}
    }

    @media (max-width: 520px){
      :root{ --navH: 86px; }

      .wrap{padding:0 14px;}

      .brand{
        padding:8px 10px;
        gap:10px;
      }
      .brand img{
        height:68px;
        max-width: 150px;
      }
      .brand .wordmark b{font-size:13px;}
      .brand .wordmark span{font-size:11px;}

      h1{font-size:32px;}
      .panel{padding:22px;}
    }

    @media (prefers-reduced-motion: reduce){
      *{animation:none !important; transition:none !important; scroll-behavior:auto !important;}
    }
    /* Smooth reveal animation */
.reveal{
  opacity:0;
  transform: translateY(14px);
  filter: blur(8px);
  transition: opacity .7s ease, transform .7s ease, filter .7s ease;
  will-change: transform, opacity, filter;
}
.reveal.show{
  opacity:1;
  transform: translateY(0);
  filter: blur(0);
}

/* Area 1 (big image left) */
.hero-left-imgwrap{
  margin-top: 22px;
  padding: 12px;
  border-radius: 18px;
  background: linear-gradient(135deg,#f4f8fb,#eef3f8);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  overflow:hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.hero-left-imgwrap:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}
.hero-left-imgwrap img{
  width:100%;
  height:auto;
  display:block;
  border-radius: 12px;
}

/* Area 2 (top right image) */
.hero-right-img{
  width:100%;
  height:auto;
  display:block;
  border-radius: 14px;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,.10));
}
/* Brand centered and bigger */
.brand-center{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
}

.brand-logo-big{
  height:48px;
  width:auto;
  object-fit:contain;
  transition: transform .25s ease;
}

.brand-logo-big:hover{
  transform: scale(1.05);
}

/* Make navbar cleaner */
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
/* LOGO PRINCIPAL TOP LEFT */
.logo-main{
    height:150px;
    width:auto;
    object-fit:contain;
    display:block;
}
.nav-inner{
    align-items:center;
}

/* NAV BRAND limpio */
.brand{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
}

/* elimina cualquier fondo */
.brand img{
    background:none;
    border:none;
    box-shadow:none;
}

/* efecto profesional */
.brand img{
    transition:transform .25s ease, opacity .25s ease;
}

.brand:hover img{
    transform:scale(1.05);
    opacity:.9;
}

/* responsive */
@media (max-width: 768px){
  .brand.brand-pro img.logo-main{
    height: 86px !important;
  }
  .nav-inner{
    min-height: 86px !important;
  }
}
/* FORCE logo size (overrides .brand img) */
.brand img.logo-main{
  height: 150px !important;
  width: auto !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.14)) !important;
}

/* Let navbar grow so logo doesn't get clipped */
.nav-inner{
  height: auto !important;
  min-height: 150px !important;
}
/* Brand badge premium */
.brand{
  padding: 10px 14px !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.55) !important;
  border: 1px solid rgba(18,24,38,.08) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.06) !important;
}

.brand:hover{
  background: rgba(255,255,255,.70) !important;
  border-color: rgba(52,92,148,.18) !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.09) !important;
}
/* ===== Brand Pro (Top-left logo) ===== */
.brand.brand-pro{
  padding: 14px 18px !important;
  border-radius: 22px !important;
  background: rgba(255,255,255,.62) !important;
  border: 1px solid rgba(18,24,38,.08) !important;
  box-shadow: 0 18px 46px rgba(0,0,0,.09) !important;
  position: relative !important;
  overflow: hidden !important;
}

/* soft accent glow */
.brand.brand-pro::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(circle at 20% 30%, rgba(116,180,196,.35), transparent 55%),
    radial-gradient(circle at 70% 25%, rgba(52,92,148,.22), transparent 58%);
  opacity:.65;
  pointer-events:none;
}

/* thin brand line */
.brand.brand-pro::after{
  content:"";
  position:absolute;
  left:16px;
  right:16px;
  bottom:10px;
  height:3px;
  border-radius:999px;
  background: linear-gradient(90deg, rgba(116,180,196,.9), rgba(52,92,148,.85));
  opacity:.32;
  pointer-events:none;
}

/* actual logo */
.brand.brand-pro img.logo-main{
  height: 135px !important; /* <-- sube/baja aquí (recomendado 120-150) */
  width: auto !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  filter: drop-shadow(0 14px 26px rgba(0,0,0,.16)) !important;
  position: relative !important;
  z-index: 1 !important;
}

/* nav height to avoid clipping */
.nav-inner{
  height: auto !important;
  min-height: 135px !important;
}

/* hover feels premium */
.brand.brand-pro:hover{
  transform: translateY(-1px);
  box-shadow: 0 24px 60px rgba(0,0,0,.12) !important;
}
/* Subtitle lockup (Consultoría Estratégica de Datos) */
.brand.brand-pro{
  gap: 14px !important;
}

.brand-sub{
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(18,24,38,.08);
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
  font-weight: 850;
  letter-spacing: .2px;
  color: var(--navy);
  font-size: 13.5px;
  line-height: 1;
  white-space: nowrap;
}

/* tiny accent dot to connect with brand colors */
.brand-sub::before{
  content:"";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-right: 10px;
  background: linear-gradient(135deg, rgba(116,180,196,1), rgba(52,92,148,1));
  box-shadow: 0 6px 14px rgba(52,92,148,.20);
  flex: 0 0 auto;
}

/* On small screens keep it clean */
@media (max-width: 980px){
  .brand-sub{ display:none; }
}
/* HERO title ordered in clean lines */
.hero-title{
  margin:14px 0 10px;
  font-size:44px;
  line-height:1.04;
  color:var(--navy);
}
.hero-title span{
  display:block;
}

/* Responsive */
@media (max-width: 980px){
  .hero-title{ font-size:36px; }
}
@media (max-width: 520px){
  .hero-title{ font-size:32px; }
}
/* Brand (logo + subtítulo) */
.brand-pro{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 14px;
  border-radius:18px;
}

.logo-main{
  height:92px;
  width:auto;
  object-fit:contain;
  display:block;
  background:transparent;
  border:none;
  box-shadow:none;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.12));
}

.brand-sub{
  display:inline-block;
  font-weight:750;
  color:var(--blue);
  font-size:13px;
  letter-spacing:.2px;
  white-space:nowrap;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(52,92,148,.08);
  border: 1px solid rgba(52,92,148,.14);
}

/* Hero title lines */
.hero-title span{
  display:block;
}

/* Área 1: imagen grande izquierda */
.hero-left-imgwrap{
  margin-top: 18px;
  padding: 12px;
  border-radius: 18px;
  background: linear-gradient(135deg,#f4f8fb,#eef3f8);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  overflow:hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.hero-left-imgwrap:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}
.hero-left-imgwrap img{
  width:100%;
  height:auto;
  display:block;
  border-radius: 12px;
}

/* Panel derecho */
.hero-right-panel{
  position:relative;
  overflow:hidden;
}
.hero-right-top{
  padding: 6px 6px 12px;
  display:flex;
  justify-content:center;
}
.hero-right-img{
  width: 100%;
  height: auto;
  display:block;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0,0,0,.12);
}

/* Responsive */
@media (max-width: 980px){
  .logo-main{ height:78px; }
  .brand-sub{ font-size:12.5px; padding:7px 10px; }
}

@media (max-width: 520px){
  .logo-main{ height:70px; }
  .brand-sub{ font-size:12px; padding:6px 10px; }
}
/* Mini "Quiénes somos" dentro del panel derecho */
.about-mini{
  margin-top:22px;
  padding:22px 26px;

  border-radius:18px;

  background: linear-gradient(
    135deg,
    rgba(116,180,196,.12),
    rgba(52,92,148,.10)
  );

  border:1px solid rgba(52,92,148,.18);

  font-size:16.5px;
  line-height:1.7;

  color:var(--navy);

  max-width:640px;
}
.about-mini b{
  display:block;
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 6px;
}

.about-mini p{
  margin:0;
  color: var(--muted);
  font-size: 13.6px;
  line-height: 1.55;
}
/* ============================
   INDEX — Impact Card (box rojo)
   ============================ */

.impact-card{
  border-radius: 18px;
  border: 1px solid rgba(18,24,38,.10);
  background: rgba(255,255,255,.88);
  box-shadow: 0 14px 34px rgba(0,0,0,.08);
  padding: 18px 18px 16px;
}

.impact-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 12px;
}

.impact-head h3{
  margin:0;
  color: var(--navy);
  font-size: 16px;
  letter-spacing:.2px;
}

.impact-badge{
  display:inline-flex;
  align-items:center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(116,180,196,.18);
  border: 1px solid rgba(116,180,196,.32);
  color: var(--navy);
  font-weight: 800;
  font-size: 12px;
}

.impact-metrics{
  list-style:none;
  margin: 0;
  padding: 0;
  display:grid;
  gap:10px;
}

.impact-metrics li{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(52,92,148,.06);
  border: 1px solid rgba(52,92,148,.12);
}

.impact-metrics b{
  color: var(--navy);
  font-size: 14px;
  letter-spacing:.2px;
  white-space:nowrap;
}

.impact-metrics span{
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.3;
  text-align:right;
}

.impact-divider{
  height: 1px;
  background: rgba(18,24,38,.08);
  margin: 14px 0 12px;
}

.impact-card h4{
  margin:0 0 8px;
  color: var(--navy);
  font-size: 14px;
  letter-spacing:.2px;
}

.impact-flow{
  margin:0;
  color: var(--muted);
  font-size: 13.6px;
  line-height: 1.55;
}

.impact-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top: 12px;
}

/* pill ya existe en tu CSS; si no existiera, descomenta esto:
.pill{
  display:inline-flex;
  align-items:center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(18,24,38,.12);
  color: var(--blue);
  font-weight: 740;
  font-size: 12px;
}
*/

@media (max-width: 980px){
  .impact-card{ padding: 16px; }
  .impact-metrics li{ padding: 10px 10px; }
}
/* =========================================================
   SERVICES — FINAL FIX (ONLY 1 IMAGE, FULL IMAGE, NO CROP)
   Paste at VERY BOTTOM of style.css
   ========================================================= */

/* Layout: left menu + right panel */
.services-shell{
  display:grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 0;
}

@media (max-width: 980px){
  .services-shell{ grid-template-columns: 1fr; }
}

/* Right panel stays clean */
.services-panel{
  display:flex;
  flex-direction:column;
  gap:14px;
  padding:22px;
}

/* Image box (premium) */
.svc-media-container{
  --svc-bg: none; /* JS sets it */
  position: relative;
  width: 100%;
  height: 240px;            /* desktop height */
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(18,24,38,.10);
  box-shadow: 0 14px 34px rgba(0,0,0,.08);
  background: rgba(255,255,255,.86);
}

/* Blurred background using the same image */
.svc-media-container::before{
  content:"";
  position:absolute;
  inset:-12px;
  background-image: var(--svc-bg);
  background-size: cover;
  background-position: center;
  filter: blur(18px) saturate(1.05);
  opacity: .35;
  transform: scale(1.12);
}

/* Soft overlay glow */
.svc-media-container::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(700px 240px at 25% 20%, rgba(116,180,196,.18), transparent 60%),
    radial-gradient(600px 220px at 90% 10%, rgba(52,92,148,.14), transparent 55%);
  opacity: .9;
}

/* FORCE: all service images hidden by default */
.svc-media-container .svc-img{
  display:none !important;     /* <-- this kills the “stack collage” */
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  padding:14px;               /* makes it feel “smaller” without cropping */
  object-fit: contain;        /* ✅ FULL image always */
  object-position:center;
  z-index: 2;
}

/* Only the active one shows */
.svc-media-container .svc-img.active{
  display:block !important;
}

/* Mobile: slightly shorter */
@media (max-width: 980px){
  .svc-media-container{ height: 200px; }
  .svc-media-container .svc-img{ padding:12px; }
}
/* =========================
   INSIGHTS — ENTERPRISE STYLE
   ========================= */

.insight-card{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(18,24,38,.10);
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 34px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.insight-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(0,0,0,.16);
}

/* image container */
.insight-media{
  position: relative;
  height: 180px;
  overflow: hidden;
}

.insight-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.insight-card:hover .insight-media img{
  transform: scale(1.06);
}

/* subtle overlay */
.insight-media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0) 40%,
    rgba(0,0,0,.18) 100%
  );
}

/* content */
.insight-body{
  padding: 18px 18px 20px;
}

.insight-body h3{
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 17px;
  letter-spacing:.2px;
}

.insight-body p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* enterprise accent line */
.insight-card::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:4px;
  height:100%;
  background: linear-gradient(
    180deg,
    rgba(116,180,196,1),
    rgba(52,92,148,1)
  );
  opacity:.85;
}
/* ===========================
   SERVICIOS — PREMIUM LAYOUT
   (Insights-like cleanliness)
   =========================== */

/* Right panel becomes a clean grid */
.services-panel{
  display:grid !important;
  grid-template-columns: 360px minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  gap: 18px 24px;
  align-items:start;
}

/* Image block stays left and spans full height */
.svc-media-container{
  grid-column: 1;
  grid-row: 1 / 4;
  height: 100%;
  min-height: 420px;
  border-radius: 18px;
  overflow:hidden;
  border:1px solid rgba(18,24,38,.10);
  box-shadow: 0 14px 34px rgba(0,0,0,.08);

  /* premium background so contain never looks “empty” */
  background:
    radial-gradient(700px 320px at 25% 20%, rgba(116,180,196,.18), transparent 60%),
    radial-gradient(640px 300px at 90% 10%, rgba(52,92,148,.14), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.72));
}

/* ONLY 1 image visible at a time */
.svc-media-container .svc-img{
  display:none !important;
  width:100%;
  height:100%;
  object-fit: contain !important;   /* ✅ FULL IMAGE, NO CROP */
  object-position:center !important;
  padding: 14px;                    /* makes it “smaller” without cutting */
}
.svc-media-container .svc-img.active{
  display:block !important;
}

/* Text block */
.services-panel > div:nth-of-type(1){
  grid-column: 2;
  grid-row: 1;
}

/* Tighten typography to look “consulting” */
#svcTitle{
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: .1px;
  color: var(--navy);
}
#svcDesc{
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14.5px;
}
#svcTags{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom: 10px;
}
#svcTags .tag{
  background: rgba(52,92,148,.07);
  border: 1px solid rgba(52,92,148,.14);
  color: var(--blue);
  font-weight: 750;
  font-size: 12px;
}

/* Bullet list gets its own scroll so buttons don’t drop */
#svcBullets{
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;

  max-height: 220px;
  overflow:auto;
}

/* Buttons always visible at the bottom of the right column */
.svc-actions{
  grid-column: 2;
  grid-row: 3;
  display:flex;
  gap:12px;
  flex-wrap:wrap;

  position: sticky;
  bottom: 12px;

  padding-top: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.92) 35%, rgba(255,255,255,.98));
}

/* ===========================
   MOBILE — stack like Insights
   =========================== */
@media (max-width: 980px){
  .services-panel{
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto 1fr auto !important;
    gap: 14px !important;
  }

  .svc-media-container{
    grid-column: 1;
    grid-row: 1;
    min-height: 210px;
    height: 210px;
    border-radius: 16px;
  }
  .svc-media-container .svc-img{ padding: 12px; }

  .services-panel > div:nth-of-type(1){
    grid-column: 1;
    grid-row: 2;
  }

  #svcBullets{
    grid-column: 1;
    grid-row: 3;
    max-height: 210px;
  }

  .svc-actions{
    grid-column: 1;
    grid-row: 4;
    bottom: 10px;
  }
}