
  /* Focus visible accessibility rules */
  button:focus-visible,
  a:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible {
    outline: 2.5px solid #009FE3 !important;
    outline-offset: 2px !important;
  }
  button:focus:not(:focus-visible),
  a:focus:not(:focus-visible),
  input:focus:not(:focus-visible),
  select:focus:not(:focus-visible),
  textarea:focus:not(:focus-visible) {
    outline: none !important;
  }

  /* Visually hidden label class for screen reader accessibility */
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  /* Support for users with prefers-reduced-motion active */
  @media (prefers-reduced-motion: reduce) {
    * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }

  :root{
    --blue:#009FE3; /* Official Brand Blue */
    --blue-deep:#005A87; /* Corporate blue for text and highlights */
    --blue-mid:#007CB3;
    --blue-tint:#EAF6FD; /* Soft brand blue tint */
    --amber:#F8AF41; /* Official Brand Amber */
    --amber-deep:#D4861C;
    --amber-tint:#FFF7EB; /* Soft brand amber tint for investment sections */
    --ink:#1C2D42; /* Clean dark slate for readability */
    --slate:#5C6F84;
    --slate-light:#9CB1C9;
    --paper:#FFFFFF; /* Clean white primary background */
    --line:#E2EDF6;
    --line-dark:rgba(0,159,227,0.12);
    --display:'Space Grotesk', sans-serif;
    --sans:'IBM Plex Sans', -apple-system, sans-serif;
    --mono:'IBM Plex Mono', monospace;
    --serif:var(--sans);
  }

  *{margin:0;padding:0;box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  @media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}
    *{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important;}
  }
  
  body{
    font-family:var(--sans); background:var(--paper); color:var(--ink); line-height:1.6;
    -webkit-font-smoothing:antialiased; overflow-x:hidden;
  }
  
  /* Noise grain texture overlay */
  body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.012'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
  }

  a{color:inherit; text-decoration:none;}
  img,svg{display:block; max-width:100%;}
  button{font-family:inherit; cursor:pointer;}
  
  /* Use all screen width: 100% container layout with side padding */
  .wrap{
    width: 100%;
    max-width: 100%;
    padding: 0 6%;
  }
  
  h1,h2,h3,h4{font-family:var(--display); font-weight:700; letter-spacing:-0.02em;}
  ::selection{background:var(--amber); color:var(--ink);}

  .eyebrow{
    font-family:var(--mono); font-size:13px; letter-spacing:0.14em; text-transform:uppercase;
    color: var(--ink); display:flex; align-items:center; gap:10px; margin-bottom:24px; font-weight:600;
  }
  .eyebrow .dot{width:8px; height:8px; background:var(--amber); border-radius:50%; display:inline-block;}

  /* Progressive enhancement: visible by default if JS fails */
  .reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .animations-ready .reveal:not(.in) {
    opacity: 0;
    transform: translateY(30px);
  }
  .animations-ready .animations-ready .reveal:not(.in) {
    opacity: 0;
    transform: translateY(30px);
  }
  .animations-ready .animations-ready .reveal:not(.in) {
    opacity: 0;
    transform: translateY(30px);
  }
  .animations-ready .animations-ready .reveal:not(.in) {
    opacity: 0;
    transform: translateY(30px);
  }
  .animations-ready .reveal.in {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal.d1{transition-delay:0.08s;} 
  .reveal.d2{transition-delay:0.16s;} 
  .reveal.d3{transition-delay:0.24s;} 
  .reveal.d4{transition-delay:0.32s;}

  /* ============ UNIFIED SECTION TITLES ============ */
  .section-title,
  .intro-split h2,
  .honest h2,
  .services-structure-inner h3,
  .stack-block h3,
  .matrix-grid h2,
  .section-head h2,
  .destinos-split h2,
  .diff-split h2,
  .scenario-split h2,
  .process-split h2,
  .investor-block h2,
  .contact-section h2 {
    font-family: var(--display) !important;
    font-size: clamp(34px, 4.8vw, 54px) !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
  }
  
  /* Text colors for specific headers */
  .intro-split h2,
  .honest h2,
  .stack-block h3,
  .matrix-grid h2,
  .section-head h2,
  .destinos-split h2,
  .diff-split h2,
  .scenario-split h2,
  .process-split h2,
  .investor-block h2,
  .contact-section h2 {
    color: var(--ink);
  }
  .services-structure-inner h3 {
    color: #ffffff;
  }

  /* ============ TOP BAR ============ */
  .topbar{position:fixed; top:0; left:0; right:0; z-index:900; display:flex; justify-content:flex-end; align-items:center; padding:26px 6%; transition:all 0.3s ease;}
  
  /* Default topbar text colors on transparent state (Celeste Hero background) */
  .topbar #limaClock {
    color: rgba(255, 255, 255, 0.9) !important;
  }
  .topbar #usdPenRate {
    color: rgba(255, 255, 255, 0.75) !important;
  }
  .topbar .sep-line {
    color: rgba(255, 255, 255, 0.35) !important;
    margin: 0 10px;
  }

  .topbar .cta { font-family:var(--mono); font-size:12px; letter-spacing:0.06em; text-transform:uppercase; color:#fff;
    border:1px solid rgba(255,255,255,0.3); padding:10px 20px; border-radius:30px; transition:all 0.25s ease;
    background:rgba(255,255,255,0.15); backdrop-filter:blur(8px); white-space: nowrap; }

  /* Scrolled state on white page background - High Contrast Fix */
  .topbar.on-light {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(10, 27, 46, 0.1) !important;
    box-shadow: 0 4px 20px rgba(10, 27, 46, 0.06) !important;
    padding: 14px 6% !important;
  }
  .topbar.on-light #limaClock, .topbar.on-light #limaClock *, .topbar.on-light #limaClock span, .topbar.on-light #usdPenRate,
  .topbar.on-light #limaClock span,
  .topbar.on-light #limaClock .time-string {
    color: var(--ink) !important;
    font-weight: 600 !important;
  }
  .topbar.on-light #usdPenRate {
    color: var(--ink) !important;
    font-weight: 600 !important;
    opacity: 0.9 !important;
  }
  .topbar.on-light .sep-line {
    color: rgba(10, 27, 46, 0.25) !important;
    font-weight: bold !important;
  }
  .topbar.on-light #marketStatusText {
    color: #D68A1B !important; /* Rich readable amber */
    font-weight: 700 !important;
  }
  .topbar.on-light .cta {
    background: var(--ink) !important;
    border-color: var(--ink) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
  }
  .topbar.on-light .cta:hover {
    background: var(--amber) !important;
    border-color: var(--amber) !important;
    color: var(--ink) !important;
  }
  .topbar .cta:hover{background:var(--amber); border-color:var(--amber); color:var(--ink);}

  /* Ticking market clock indicator inside Navbar */
  @keyframes pulseGlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
  }

  /* ============ FLOATING PILL NAV ============ */
  .pillnav{
    position:fixed; bottom:26px; left:50%; transform:translateX(-50%) translateY(140%); z-index:950;
    background:rgba(255,255,255,0.95); border:1px solid var(--line); border-radius:40px; padding:8px; display:flex; align-items:center; gap:2px;
    box-shadow:0 20px 50px -12px rgba(0,159,227,0.15); transition:transform 0.5s cubic-bezier(.2,.9,.25,1);
    backdrop-filter:blur(12px);
  }
  .pillnav.show{transform:translateX(-50%) translateY(0);}
  .pillnav a{
    font-family:var(--mono); font-size:12px; letter-spacing:0.03em; color:var(--ink);
    padding:12px 16px; border-radius:30px; transition:all 0.25s ease; white-space:nowrap;
  }
  .pillnav a:hover{color: var(--ink);}
  .pillnav a.active{color:var(--ink); background:var(--amber); font-weight:600;}
  .pillnav .cta{
    font-family:var(--mono); font-size:12px; background:var(--blue); color:#fff; padding:12px 20px;
    border-radius:30px; margin-left:6px; transition:all 0.25s ease;
  }
  .pillnav .cta:hover{background:var(--blue-deep);}
  @media (max-width:760px){
    .pillnav{display:none;}
    #limaClock{display:none !important;}
  }

  /* ============ VIBRANT CELESTE/BLUE BRAND HERO ============ */
  .hero{
    position:relative; height:100vh;
    background: linear-gradient(135deg, #009FE3 0%, #006093 100%); /* Brand Celeste to Corporate Deep Blue */
    overflow:hidden; display:flex; align-items:center; justify-content:center; padding:0;
  }
  /* Glowing bottom transition mask overlay to merge Hero smoothly with the next light section */
  .hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 220px;
    background: linear-gradient(to top, var(--paper), transparent);
    z-index: 5;
    pointer-events: none;
  }

  .topbar-logo-link {
    display: inline-flex;
    align-items: center;
    margin-right: 18px;
    text-decoration: none;
    flex-shrink: 0;
  }
  .topbar-logo-img {
    height: 64px !important;
    max-height: 70px !important;
    min-height: 55px !important;
    width: auto !important;
    object-fit: contain;
    transition: all 0.25s ease;
  }
  .topbar-logo-img.logo-color {
    display: none;
  }
  .topbar.on-light .topbar-logo-img {
    content: url('assets/logo-color.png') !important;
    display: block !important;
    height: 64px !important;
    width: auto !important;
    max-height: 68px !important;
    object-fit: contain !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Center the official white Prestea logo image - GIGANTIC SIZE REMOVED */
  .hero-logo, .hero-small-text {
    display: none !important;
  }
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    z-index: 4;
    white-space: nowrap;
    text-align: center;
    pointer-events: none;
    will-change: opacity;
  }

  /* Extra content below the small text as requested */
  .hero-extra-text {
    position: absolute;
    top: 57%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--sans);
    font-size: clamp(14px, 2.2vw, 19px);
    font-style: italic;
    color: #ffffff;
    z-index: 4;
    white-space: nowrap;
    text-align: center;
    pointer-events: none;
    will-change: opacity;
  }

  /* Clean conversion button in hero */
  .hero-btn-container {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    will-change: opacity;
  }
  .btn-hero-amber {
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: var(--amber);
    color: var(--ink);
    padding: 14px 28px;
    border-radius: 40px;
    border: 1px solid var(--amber);
    transition: all 0.25s ease;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(248,175,65,0.3);
  }
  .btn-hero-amber:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255,255,255,0.4);
  }

  /* Scroll indicator scroll down mouse (UX Improvement) */
  .scroll-indicator {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 46px;
    border: 2px solid rgba(255,255,255,0.45);
    border-radius: 20px;
    z-index: 6;
    display: flex;
    justify-content: center;
    padding-top: 6px;
    pointer-events: none;
  }
  .scroll-dot {
    width: 6px;
    height: 6px;
    background: var(--amber);
    border-radius: 50%;
    animation: scrollDown 2s ease infinite;
  }
  @keyframes scrollDown {
    0% { transform: translateY(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(18px); opacity: 0; }
  }

  /* Skyscrapers skyline image representing San Isidro - Blended with parallax transform support */
  .mountains-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55vh;
    object-fit: cover;
    object-position: bottom center;
    z-index: 3;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.92;
    filter: brightness(0.28) contrast(1.1) saturate(0.85);
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
    will-change: transform;
    transition: transform 0.1s ease-out;
  }

  /* ============ PLUS GRID BAND (+Anton style) ============ */
  .plus-grid-band {
    background: #F4F8FB;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 24px 0;
    overflow: hidden;
  }
  .plus-grid-inner {
    display: grid;
    grid-template-columns: repeat(24, 1fr);
    gap: 10px;
    justify-items: center;
    font-family: var(--mono);
    font-size: 15px;
    color: rgba(0,159,227,0.12);
    width: 100%;
    user-select: none;
  }

  /* ============ TICKER ============ */
  .ticker-band{background:#EAF6FD; overflow:hidden; padding:18px 0; border-bottom:1px solid var(--line);}
  .ticker-track{display:flex; width:max-content; animation:ticker 35s linear infinite;}
  @media (prefers-reduced-motion: reduce){ .ticker-track{animation:none; overflow-x:auto;} }
  @keyframes ticker{from{transform:translateX(0);} to{transform:translateX(-50%);}}
  .ticker-item{font-family:var(--mono); font-size:12.5px; text-transform:uppercase; letter-spacing:0.08em; color: var(--ink); white-space:nowrap; padding:0 30px; display:flex; align-items:center; gap:30px;}
  .ticker-item::after{content:'+'; color:var(--amber);}

  /* Standardized vertical breathing padding for premium spacing (Generous 160px) */
  section{padding:160px 0; border-bottom:1px solid var(--line);}
  @media (max-width:760px){ section{padding:100px 0;} }

  /* ============ INTEGRATED INTRO SECTION (+Anton / Vuna style split) ============ */
  .intro-split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 50px;
  }
  .intro-split h2 .hl {
    color: var(--amber);
  }
  .intro-split .right-desc {
    padding-top: 10px;
  }
  .intro-split .right-desc p {
    font-family: var(--sans);
    font-size: clamp(17px, 2.2vw, 21px);
    line-height: 1.7;
    color: var(--slate);
    margin-bottom: 30px;
  }
  .read-more-link {
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid var(--blue);
    padding-bottom: 4px;
    transition: all 0.25s ease;
  }
  .read-more-link:hover {
    color: var(--amber);
    border-color: var(--amber);
    gap: 12px;
  }

  /* ============ HONEST VOICE SECTION ============ */
  .honest{
    display:grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 40px;
    align-items:center;
  }
  .honest-graphic {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    position: relative;
    min-height: 240px;
    padding: 20px 20px 20px 0;
  }
  .honest p{font-family:var(--sans); color:var(--slate); font-size:18px; margin-top:22px; max-width:640px; line-height:1.75;}

  /* ============ SERVICE STRUCTURE BAND (+Anton 360 style) ============ */
  .services-structure-band {
    background: var(--blue);
    color: #fff;
    padding: 80px 8%;
    border-radius: 32px;
    margin-bottom: 0;
  }
  .services-structure-inner {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 80px;
    align-items: center;
  }
  .services-structure-inner .desc {
    font-family: var(--sans);
    font-size: clamp(16px, 2vw, 19px);
    color: rgba(255,255,255,0.92);
    margin-top: 24px;
    line-height: 1.7;
  }
  
  .services-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 40px;
    list-style: none;
  }
  .services-list-grid li {
    font-family: var(--display);
    font-size: clamp(18px, 2.4vw, 22px);
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: none;
  }
  .services-list-grid li::before {
    content: '■';
    color: var(--amber);
    font-size: 11px;
    margin-right: 6px;
  }

  /* ============ VUNA STYLE ASYMMETRIC BENTO GRID ============ */
  #atendemos {
    padding: 110px 6%;
  }
  .vuna-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
    margin-top: 60px;
  }
  
  .vuna-card {
    border-radius: 28px;
    padding: 44px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    border: 1px solid rgba(0,159,227,0.12);
    color: #fff;
  }
  .vuna-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 28px;
    background: radial-gradient(400px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(255, 255, 255, 0.15), transparent 80%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
  }
  .vuna-card:hover::before {
    opacity: 1;
  }
  .vuna-card.solid-amber::before {
    background: radial-gradient(400px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(0, 90, 135, 0.1), transparent 80%);
  }
  .vuna-card > * {
    position: relative;
    z-index: 2;
  }

  .vuna-card.span-8 { grid-column: span 8; }
  .vuna-card.span-4 { grid-column: span 4; }
  
  .vuna-card.gradient-blue {
    background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 100%);
  }
  .vuna-card.solid-amber {
    background: var(--amber);
    color: var(--ink);
  }
  .vuna-card.solid-deep {
    background: var(--blue-deep);
  }
  .vuna-card.gradient-gold {
    background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 100%);
  }

  .vuna-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,159,227,0.15);
  }
  
  .vuna-card .vuna-tag {
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255,255,255,0.15);
    width: fit-content;
    font-weight: 700;
  }
  .vuna-card.solid-amber .vuna-tag {
    background: rgba(10,27,46,0.08);
  }

  .vuna-card h3 {
    font-size: clamp(24px, 3.2vw, 32px);
    line-height: 1.15;
    margin-top: 30px;
    font-weight: 700;
    color: #ffffff;
  }
  .vuna-card.solid-amber h3 {
    color: var(--ink);
  }
  .vuna-card p {
    font-family: var(--sans);
    font-size: 16px;
    opacity: 0.9;
    margin-top: 14px;
    line-height: 1.6;
  }
  .vuna-card.solid-amber p {
    color: var(--ink);
    opacity: 0.85;
  }

  /* Vector art container inside cards */
  .vuna-card .wireframe-svg {
    position: absolute;
    right: 30px;
    top: 30px;
    width: 110px;
    height: 110px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
  }

  /* INFINITE AMBIENT ANIMATIONS FOR BENTO CARDS WHEN VISIBLE */
  @keyframes barGrowthLoop {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.3); }
  }
  .vuna-card.active-anim .wireframe-svg.bars-chart rect:nth-child(1) {
    animation: barGrowthLoop 2.4s ease-in-out infinite;
    transform-origin: bottom center;
  }
  .vuna-card.active-anim .wireframe-svg.bars-chart rect:nth-child(2) {
    animation: barGrowthLoop 2.4s ease-in-out infinite 0.4s;
    transform-origin: bottom center;
  }
  .vuna-card.active-anim .wireframe-svg.bars-chart rect:nth-child(3) {
    animation: barGrowthLoop 2.4s ease-in-out infinite 0.8s;
    transform-origin: bottom center;
  }

  /* Licitaciones dynamic signature-writing loop */
  @keyframes signContract {
    0%, 100% { stroke-dashoffset: 50; }
    40%, 65% { stroke-dashoffset: 0; }
  }
  .vuna-card.active-anim .wireframe-svg.check-docs path.signature-line {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: signContract 3.5s ease-in-out infinite;
  }
  @keyframes lineGlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
  }
  .vuna-card.active-anim .wireframe-svg.check-docs .doc-text-line {
    animation: lineGlow 2s ease-in-out infinite;
  }

  /* Consolidación arrow flows loop */
  @keyframes arrowFlowLoop {
    0% { stroke-dashoffset: 48; }
    100% { stroke-dashoffset: 0; }
  }
  .vuna-card.active-anim .wireframe-svg.flow-nodes .flow-arrow {
    stroke-dasharray: 8 6;
    animation: arrowFlowLoop 2s linear infinite;
  }

  /* Skyscraper dynamic windows sequential light-up loop */
  @keyframes windowTurnOnWhite {
    0%, 100% { fill: rgba(255,255,255,0.15); }
    30%, 80% { fill: #ffffff; }
  }
  @keyframes windowTurnOnAmber {
    0%, 100% { fill: rgba(248,175,65,0.15); }
    30%, 80% { fill: var(--amber); }
  }
  .vuna-card.active-anim .wireframe-svg.skyscraper-build .fl-1 {
    animation: windowTurnOnWhite 3.5s infinite;
  }
  .vuna-card.active-anim .wireframe-svg.skyscraper-build .fl-2 {
    animation: windowTurnOnWhite 3.5s infinite 0.4s;
  }
  .vuna-card.active-anim .wireframe-svg.skyscraper-build .fl-3 {
    animation: windowTurnOnWhite 3.5s infinite 0.8s;
  }
  .vuna-card.active-anim .wireframe-svg.skyscraper-build .fl-4 {
    animation: windowTurnOnWhite 3.5s infinite 1.2s;
  }
  .vuna-card.active-anim .wireframe-svg.skyscraper-build .win-light-amber {
    animation: windowTurnOnAmber 3.5s infinite 1.6s;
  }

  .vuna-link {
    font-family: var(--mono);
    font-size: 13.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding: 10px 20px;
    border-radius: 30px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    width: fit-content;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .vuna-card:hover .vuna-link {
    background: var(--amber);
    border-color: var(--amber);
    color: var(--ink);
    padding-right: 24px;
  }
  .vuna-card.solid-amber .vuna-link {
    background: rgba(10,27,46,0.05);
    border: 1px solid rgba(10,27,46,0.1);
    color: var(--ink);
  }
  .vuna-card.solid-amber:hover .vuna-link {
    background: var(--blue-deep);
    border-color: var(--ink);
    color: #fff;
  }

  @media (max-width:980px){ 
    .vuna-card.span-8, .vuna-card.span-4 { grid-column: span 12; } 
    .services-structure-inner { grid-template-columns: 1fr; gap: 40px; }
  }

  /* ============ PROBLEMA / SOLUCION BLOCKS ============ */
  .stack-block{padding:0; border-bottom:1px solid var(--line);}
  .stack-block .wrap{display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; padding:120px 6%;}
  .stack-block .left-col{
    padding:0; border-right:none;
    display:flex; flex-direction:column; justify-content:center;
  }
  .stack-block .right-col{
    padding:0;
    display:flex; flex-direction:column; justify-content:center;
  }
  .stack-block.problema {
    background: linear-gradient(135deg, rgba(248,175,65,0.06) 0%, transparent 100%);
  }
  .stack-block.solucion {
    background: linear-gradient(135deg, rgba(0,159,227,0.06) 0%, transparent 100%);
  }
  .stack-block p{font-family:var(--sans); color:var(--slate); font-size:17.5px; margin-top:20px; max-width:540px; line-height:1.7;}
  
  .stack-tag {
    font-family: var(--display);
    font-size: clamp(24px, 3.2vw, 36px);
    font-weight: 700;
    text-transform: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .stack-block.problema .stack-tag{color:var(--amber-deep);}
  .stack-block.solucion .stack-tag{color: var(--ink);}
  .stack-block .stack-tag .dot{width:12px; height:12px; border-radius:50%; background:currentColor;}

  /* ============ MATRIZ ============ */
  .matrix-section{background:#F4F8FB; border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:140px 0;}
  .matrix-grid{display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center;}
  .dotcircle{width:100%; max-width:440px; aspect-ratio:1/1; margin:0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center;}
  
  .radar-legend {
    display: flex;
    gap: 24px;
    margin-top: 15px;
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-weight: 600;
  }
  .legend-item .pill {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    display: inline-block;
  }
  .legend-item .pill.prestea { background: var(--blue); }
  .legend-item .pill.bank { background: rgba(0,90,135,0.15); border: 1px solid var(--slate); }

  .matrix-criteria{display:flex; flex-direction:column; gap:0; margin-top:30px;}
  .criteria-row{display:flex; justify-content:space-between; padding:22px 0; border-top:1px solid var(--line); align-items:center; cursor: pointer; transition: background-color 0.25s;}
  .criteria-row:hover{background-color: rgba(0,159,227,0.06); padding-left: 10px; padding-right: 10px;}
  .criteria-row:last-child{border-bottom:1px solid var(--line);}
  .criteria-row .name{font-size:18px; color: var(--ink); font-weight:600;}
  .criteria-row .tag{font-family:var(--mono); font-size:13px; color:var(--amber-deep); letter-spacing:0.05em; text-transform:uppercase; font-weight:600;}

  /* ============ PROCESO (Timeline stack layout to fix space - Less space) ============ */
  #proceso {
    padding: 130px 6%;
  }
  .process-split {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 80px;
    align-items: start;
  }
  .process-split .left-col p.desc {
    font-family: var(--sans);
    font-size: 18px;
    color: var(--slate);
    margin-top: 20px;
    line-height: 1.7;
  }
  .process-stack {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .process-step {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 30px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding-bottom: 24px;
  }
  .process-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .process-step .step-num {
    font-family: var(--display);
    font-size: 64px;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--blue);
    line-height: 1;
  }
  .process-step:nth-child(even) .step-num {
    -webkit-text-stroke-color: var(--amber-deep);
  }
  .process-step h4 {
    font-size: 22px;
    color: var(--ink);
    margin-bottom: 8px;
    font-weight: 700;
  }
  .process-step p {
    font-family: var(--sans);
    color: var(--slate);
    font-size: 16px;
    line-height: 1.6;
  }

  /* ============ AUDIENCIAS ============ */
  .section-head p {
    font-family: var(--sans);
    font-size: 18px;
    color: var(--slate);
    margin-top: 18px;
    margin-bottom: 40px;
  }
  .aud-tabs{display:flex; gap:12px; margin-top: 36px; margin-bottom:48px; flex-wrap:wrap;}
  .aud-tab{
    font-family:var(--mono); font-size:13px; letter-spacing:0.04em; text-transform:uppercase; padding:14px 24px;
    color:var(--slate); border:1px solid var(--line); border-radius:30px; background:none; transition:all 0.25s ease;
  }
  .aud-tab.active{color:#fff; border-color: var(--amber); background:var(--blue); font-weight:600;}
  
  .aud-panel{
    display:none;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
  }
  .aud-panel.active{
    display:grid;
  }
  .aud-item{
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    
    padding:32px 28px; background:#F4F8FB; border:1px solid var(--line); border-radius:18px; font-family:var(--sans); font-size:16.5px; color: var(--ink);
    display:flex; align-items:flex-start; gap:16px; line-height:1.65;
  }
  .aud-panel.fade-in .aud-item {
    opacity: 1;
    transform: translateY(0);
  }
  .aud-panel.fade-in .aud-item:nth-child(1) { transition-delay: 0s; }
  .aud-panel.fade-in .aud-item:nth-child(2) { transition-delay: 0.1s; }
  .aud-panel.fade-in .aud-item:nth-child(3) { transition-delay: 0.2s; }

  .aud-item .bullet{width:7px; height:7px; background:var(--blue); border-radius:50%; margin-top:8px; flex-shrink:0;}
  @media (max-width:860px){ 
    .aud-panel.active{grid-template-columns:1fr 1fr;} 
    .aud-panel { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width:560px){ 
    .aud-panel.active{grid-template-columns:1fr;} 
    .aud-panel { grid-template-columns: 1fr; }
  }

  /* ============ INVESTOR CALCULATOR SECTION (Brand Amber Tint Background) ============ */
  .investor-block {
    background: var(--amber-tint);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 0;
  }
  .investor-block .wrap {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: center;
    padding: 120px 6%;
  }
  .investor-block .text-col {
    padding: 0;
    border-right: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .investor-block .calc-col {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .investor-block p {
    font-family: var(--sans);
    color: var(--slate);
    font-size: 17.5px;
    margin-top: 22px;
    line-height: 1.75;
  }
  
  .investor-calc-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 36px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 30px 60px rgba(0,159,227,0.06);
  }
  
  .calc-tabs {
    display: flex;
    background: rgba(0,159,227,0.05);
    padding: 4px;
    border-radius: 14px;
    margin-bottom: 24px;
  }
  .calc-tab-btn {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    font-family: var(--mono);
    font-size: 11.5px;
    font-weight: 600;
    border: none;
    background: none;
    color: var(--slate);
    transition: all 0.25s ease;
  }
  .calc-tab-btn.active {
    background: #ffffff;
    color: var(--ink);
    box-shadow: 0 4px 12px rgba(0,159,227,0.06);
  }
  
  .calc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
  }
  .calc-label-row label {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    color: var(--slate);
    font-weight: 600;
  }
  
  .calc-slider-wrapper {
    margin-top: 10px;
    margin-bottom: 20px;
  }
  .calc-slider-wrapper input[type="range"] {
    width: 100%;
    accent-color: var(--amber);
    cursor: pointer;
  }
  .calc-value {
    font-family: var(--display);
    font-size: 32px;
    font-weight: 700;
    color: var(--ink);
    margin-top: 12px;
  }
  .calc-metrics {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
    margin-bottom: 20px;
  }
  .calc-metrics .metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .calc-metrics .m-label {
    font-size: 14.5px;
    color: var(--slate);
  }
  .calc-metrics .m-val {
    font-weight: 600;
    color: var(--ink);
    font-size: 15px;
  }
  .calc-metrics .m-val.highlight {
    color: var(--amber);
  }
  .calc-metrics .m-val.text-amber {
    color: var(--amber-deep);
    font-size: 18px;
    font-weight: 700;
  }
  .calc-cta-btn {
    display: block;
    text-align: center;
    background: var(--blue);
    color: #ffffff;
    padding: 16px;
    border-radius: 30px;
    font-family: var(--mono);
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    transition: all 0.25s ease;
    box-shadow: 0 10px 20px rgba(0,159,227,0.1);
  }
  .calc-cta-btn:hover {
    background: var(--blue-deep);
    box-shadow: 0 10px 20px rgba(0,90,135,0.2);
  }
  .calc-protection-note {
    font-size: 12.5px;
    color: var(--slate);
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F4F8FB;
    padding: 12px 16px;
    border-radius: 12px;
  }

  .tooltip-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: help;
  }
  .tooltip-icon {
    font-size: 11px;
    background: rgba(0,159,227,0.08);
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--slate);
    font-weight: 700;
  }
  .tooltip-text {
    visibility: hidden;
    width: 210px;
    background-color: var(--ink);
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 8px 12px;
    position: absolute;
    z-index: 10;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 11px;
    font-family: var(--sans);
    line-height: 1.4;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    pointer-events: none;
    font-weight: normal;
  }
  .tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
  }
  
  @media (max-width: 980px) {
    .investor-block .wrap { grid-template-columns: 1fr; gap: 40px; padding: 90px 6%; }
  }

  /* ============ DESTINOS (Creative bento cards layout) ============ */
  .destinos-split {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 80px;
    align-items: center;
  }
  .destinos-split .left-col p.desc {
    font-family: var(--sans);
    font-size: 18px;
    color: var(--slate);
    margin-top: 20px;
    line-height: 1.7;
  }
  .destinos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 45%, 450px), 1fr));
    gap: 20px;
  }
  .destino-card {
    background: #F4F8FB;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  .destino-card:hover {
    background: #ffffff;
    transform: translateY(-4px);
    border-color: var(--amber);
    box-shadow: 0 15px 30px rgba(0,159,227,0.08);
  }
  .destino-card .num {
    font-family: var(--mono);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--amber);
    display: block;
    margin-bottom: 12px;
  }
  .destino-card h4 {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--ink);
    margin-bottom: 8px;
    font-weight: 700;
  }
  .destino-card p {
    font-family: var(--sans);
    font-size: 14.5px;
    color: var(--slate);
    line-height: 1.6;
  }
  .destino-card .wire-label {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--slate-light);
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    transition: color 0.3s ease;
    font-weight: 500;
  }
  .destino-card:hover .wire-label {
    color: var(--ink);
  }
  
  .destino-card .card-wire-line {
    height: 3px;
    background: rgba(0,159,227,0.08);
    margin-top: 8px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
  }
  .destino-card .card-wire-line .fill {
    height: 100%;
    width: 0%;
    position: absolute;
    top: 0; left: 0;
    background: var(--blue);
    border-radius: 2px;
  }

  /* Infinite loading flow loop for Destinos when visible */
  @keyframes fillFlow {
    0% { width: 0%; left: 0; }
    50% { width: 100%; left: 0; }
    100% { width: 0%; left: 100%; }
  }
  .destino-card.active-anim .card-wire-line .fill {
    animation: fillFlow 2.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    background: var(--blue);
  }
  .destino-card.active-anim:hover .card-wire-line .fill {
    background: var(--amber);
  }

  @media (max-width: 600px) {
    .destinos-grid {
      grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 45%, 450px), 1fr));
    }
  }

  /* ============ DIFERENCIADORES ============ */
  .diff-split {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 80px;
    align-items: center;
  }
  .diff-split .left-col p.desc {
    font-family: var(--sans);
    font-size: 18px;
    color: var(--slate);
    margin-top: 20px;
    line-height: 1.7;
  }
  .diff-grid{display:grid; grid-template-columns:repeat(auto-fit, minmax(clamp(260px, 30vw, 360px), 1fr)); gap:20px;}
  .diff-item{background:#F4F8FB; padding:38px; border:1px solid var(--line); border-radius:24px; display:flex; gap:20px; align-items:flex-start;}
  .diff-mark{font-family:var(--display); font-size:24px; font-weight:700; color: var(--amber); flex-shrink:0; line-height:1;}
  .diff-item p{font-family:var(--sans); font-size:17px; color:var(--slate); line-height:1.7;}
  .diff-item p b { color: var(--ink); font-family: var(--sans); }
  @media (max-width:760px) {
    .diff-split { grid-template-columns: 1fr; gap: 40px; }
    .diff-grid { grid-template-columns: repeat(auto-fit, minmax(clamp(260px, 30vw, 360px), 1fr)); }
  }

  /* ============ ESCENARIOS ============ */
  .scenario-section{background:#F4F8FB; border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:140px 0;}
  .scenario-split {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 80px;
    align-items: start;
  }
  .scenario-split .left-col p.desc {
    font-family: var(--sans);
    font-size: 18px;
    color: var(--slate);
    margin-top: 20px;
    line-height: 1.7;
    margin-bottom: 30px;
  }
  .scenario-grid{display:grid; grid-template-columns:repeat(auto-fit, minmax(clamp(280px, 30vw, 360px), 1fr)); gap:20px;}
  .scenario-card{
    background:var(--paper); padding:34px 24px; border:1px solid var(--line); border-radius:24px;
    min-height:280px; display:flex; flex-direction:column; justify-content:space-between; transition:all 0.3s ease;
  }
  .scenario-card:hover{transform: translateY(-4px); box-shadow: 0 15px 30px rgba(0,159,227,0.06);}
  .scenario-tag{font-family:var(--mono); font-size:13px; letter-spacing:0.08em; text-transform:uppercase; color: var(--ink); font-weight:600;}
  .scenario-card p{font-family:var(--sans); color: var(--ink); font-size:15px; line-height:1.65; margin-top:20px;}
  .scenario-sector{font-family:var(--mono); font-size:13px; color:var(--slate-light); margin-top:auto; padding-top:20px; border-top:1px solid var(--line);}
  .scenario-note{font-family:var(--mono); font-size:11.5px; color:var(--slate-light); margin-top:30px;}
  @media (max-width:1100px){ 
    .scenario-split { grid-template-columns: 1fr; gap: 40px; }
    .scenario-grid{grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 30vw, 360px), 1fr));} 
  }
  @media (max-width:600px){ .scenario-grid{grid-template-columns:repeat(auto-fit, minmax(clamp(280px, 30vw, 360px), 1fr));} }

  /* ============ CONFIANZA ============ */
  .trust-grid{display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center;}
  .trust-list{list-style:none;}
  .trust-list li{padding:22px 0; border-bottom:1px solid var(--line); color:var(--slate); font-size:17px; display:flex; gap:16px; line-height:1.7;}
  .trust-list li b{color: var(--ink); font-weight:600;}
  .trust-list li .dot{width:7px; height:7px; border-radius:50%; background:var(--blue); margin-top:9px; flex-shrink:0;}
  .disclosure-box{background:#EAF6FD; color: var(--ink); padding:40px; font-size:15px; line-height:1.75; border-radius:24px;}
  .disclosure-box .h{font-family:var(--mono); font-size:11px; letter-spacing:0.1em; text-transform:uppercase; color:var(--blue-mid); margin-bottom:16px; font-weight:600;}
  @media (max-width:860px){ .trust-grid{grid-template-columns:1fr; gap:40px;} }

  /* ============ CONTACTO ============ */
  .contact-section{background: radial-gradient(circle at 10% 90%, rgba(0, 159, 227, 0.1) 0%, rgba(248, 175, 65, 0.04) 50%, var(--paper) 100%); border-top:1px solid var(--line); padding:140px 0;}
  .contact-wrap{display:grid; grid-template-columns:0.85fr 1.15fr; gap:80px; align-items:center;}
  .contact-section .lede{font-family:var(--sans); color:var(--slate); margin-top:20px; font-size:18px; line-height:1.7; max-width:440px;}
  .contact-meta{margin-top:48px; display:flex; flex-direction:column; gap:22px;}
  .contact-meta .k{font-family:var(--mono); font-size:11px; color:var(--slate-light); text-transform:uppercase; letter-spacing:0.08em; display:block; margin-bottom:6px;}
  .contact-meta .v{font-size:17px; color: var(--ink); font-weight:500;}
  form.eval-form{background:#F4F8FB; border:1px solid var(--line); border-radius:28px; padding:44px;}
  .form-row{display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:20px;}
  .form-field{display:flex; flex-direction:column; gap:10px;}
  .form-field.full{grid-column:1/-1;}
  .form-field label{font-family:var(--mono); font-size:11.5px; letter-spacing:0.05em; text-transform:uppercase; color:var(--slate); font-weight:500;}
  .form-field input, .form-field select, .form-field textarea{
    background:#ffffff; border:1px solid var(--line); color:var(--ink); padding:15px 18px; border-radius:12px;
    font-family:var(--sans); font-size:15px; transition:border-color 0.25s ease, background-color 0.25s ease;
  }
  .form-field input:focus, .form-field select:focus, .form-field textarea:focus{outline:none; border-color: var(--amber); background:#ffffff;}
  .form-field textarea{resize:vertical; min-height:100px;}
  .form-field select{appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238FA0B3'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 18px center; padding-right:40px;}
  .form-note{font-family:var(--mono); font-size:11px; color:var(--slate); margin-top:12px; line-height:1.6;}
  .form-submit{
    margin-top:10px; width:100%; background:var(--amber); color:var(--ink); border:none; border-radius:30px;
    padding:18px; font-family:var(--mono); font-size:13px; letter-spacing:0.06em; text-transform:uppercase; transition:all 0.25s ease;
    font-weight:600;
  }
  .form-submit:hover{background:var(--blue-deep); color:#fff; transform:translateY(-1px);}
  
  .form-success{display:none; margin-top:20px; font-family:var(--mono); font-size:13px; color:#2F855A; padding:20px; border:1px solid rgba(47,133,90,0.3); background:rgba(47,133,90,0.04); border-radius:12px; line-height:1.5;}
  .form-success.show{display:block;}
  @media (max-width:860px){ .contact-wrap{grid-template-columns:1fr; gap:48px;} .form-row{grid-template-columns:1fr;} form.eval-form{padding:30px;} }

  /* ============ FOOTER (Light gray styled footer) ============ */
  footer{background:#F4F8FB; color:var(--slate); padding:80px 6%; border-top:1px solid var(--line);}
  .footer-top{display:grid; grid-template-columns:1.3fr 0.7fr 0.7fr 0.7fr; gap:60px; padding-bottom:60px; border-bottom:1px solid var(--line);}
  .footer-logo img{height:90px; margin-bottom:24px; width: auto; object-fit: contain;}
  .footer-top p{font-family:var(--sans); font-size:14.5px; line-height:1.7; max-width:300px; color:var(--slate);}
  .footer-col h5{font-family:var(--mono); font-size:11px; letter-spacing:0.08em; text-transform:uppercase; color: var(--ink); margin-bottom:20px; font-weight:600;}
  .footer-col a{display:block; font-size:14.5px; padding:6px 0; color:var(--slate); transition:color 0.2s ease;}
  .footer-col a:hover{color: var(--amber);}
  .footer-bottom{padding-top:36px; display:flex; justify-content:space-between; align-items:flex-start; gap:30px; flex-wrap:wrap;}
  .footer-legal{font-family:var(--mono); font-size:11px; line-height:1.8; max-width:760px; color:var(--slate-light);}
  .footer-copy{font-family:var(--mono); font-size:11px; color:var(--slate-light); white-space:nowrap;}
  @media (max-width:860px){ .footer-top{grid-template-columns:1fr 1fr; gap:40px;} }
  @media (max-width:560px){ .footer-top{grid-template-columns:1fr;} }

  /* ============ VISUAL ANIMATIONS & VECTOR STYLING ============ */
  .building-construction-svg {
    display: block;
    margin: 0;
  }
  .const-ground { animation: groundAnim 6s ease infinite; }
  .const-frame { transform-origin: bottom center; animation: frameAnim 6s ease infinite; }
  .floor-1 { animation: floor1Anim 6s ease infinite; }
  .floor-2 { animation: floor2Anim 6s ease infinite; }
  .floor-3 { animation: floor3Anim 6s ease infinite; }
  .floor-4 { animation: floor4Anim 6s ease infinite; }
  .const-crane { animation: craneAnim 6s ease infinite; }

  @keyframes groundAnim {
    0%, 100% { opacity: 0; }
    5%, 75% { opacity: 1; }
    85% { opacity: 0; }
  }
  @keyframes frameAnim {
    0%, 5% { stroke-dashoffset: 420; }
    25%, 75% { stroke-dashoffset: 0; }
    85%, 100% { stroke-dashoffset: 420; }
  }
  @keyframes floor1Anim {
    0%, 25% { opacity: 0; }
    35%, 75% { opacity: 1; }
    85%, 100% { opacity: 0; }
  }
  @keyframes floor2Anim {
    0%, 35% { opacity: 0; }
    45%, 75% { opacity: 1; }
    85%, 100% { opacity: 0; }
  }
  @keyframes floor3Anim {
    0%, 45% { opacity: 0; }
    55%, 75% { opacity: 1; }
    85%, 100% { opacity: 0; }
  }
  @keyframes floor4Anim {
    0%, 55% { opacity: 0; }
    65%, 75% { opacity: 1; }
    85%, 100% { opacity: 0; }
  }
  @keyframes craneAnim {
    0% { stroke-dashoffset: 120; opacity: 0; }
    10% { opacity: 1; }
    30%, 75% { stroke-dashoffset: 0; opacity: 1; }
    85%, 100% { opacity: 0; }
  }

  @keyframes laserScan {
    0%, 100% { transform: translateY(0); opacity: 0; }
    5%, 95% { opacity: 1; }
    50% { transform: translateY(125px); opacity: 1; }
  }
  .const-laser-scan {
    animation: laserScan 6s ease-in-out infinite;
  }

  /* Matrix radar expanding/collapsing diamond animation */
  @keyframes pulsePresteaMatrix {
    0%, 100% {
      transform: scale(0.96);
      opacity: 0.8;
    }
    50% {
      transform: scale(1.04);
      opacity: 1;
    }
  }
  @keyframes pulseNode {
    0%, 100% {
      r: 4px;
      opacity: 0.7;
    }
    50% {
      r: 7.5px;
      opacity: 1;
    }
  }
  .radar-polygon-prestea, .radar-node {
    animation: pulsePresteaMatrix 4s ease-in-out infinite;
    transform-origin: 250px 250px;
  }

  /* ============ GUIDED IA CHATBOT WIDGET CSS ============ */
  .ai-chat-toggle-btn {
    position: fixed;
    bottom: 26px;
    right: 26px;
    z-index: 1000;
    background: var(--blue-deep);
    border: 1.5px solid var(--blue);
    color: #ffffff;
    padding: 14px 26px;
    border-radius: 30px;
    font-family: var(--sans);
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,159,227,0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(12px);
  }
  .ai-chat-toggle-btn:hover {
    transform: translateY(-2px);
    background: var(--blue);
    border-color: var(--amber);
  }
  .whatsapp-float-btn {
    position: fixed;
    bottom: 96px;
    right: 26px;
    z-index: 1000;
    background: #25D366;
    border: none;
    color: #ffffff;
    padding: 14px 26px;
    border-radius: 30px;
    font-family: var(--sans);
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(37,211,102,0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
  }
  .whatsapp-float-btn:hover {
    transform: translateY(-2px);
    background: #20ba5a;
    box-shadow: 0 10px 30px rgba(37,211,102,0.4);
    color: #ffffff !important;
  }
  .ai-chat-window {
    display: none;
    position: fixed;
    bottom: 164px;
    right: 26px;
    width: 360px;
    height: 480px;
    background: rgba(0,90,135,0.98);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 24px;
    z-index: 1001;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    backdrop-filter: blur(16px);
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  .ai-chat-window.open {
    display: flex;
  }
  .chat-header {
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
  }
  .ai-avatar {
    width: 32px;
    height: 32px;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
  }
  .chat-close-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s;
  }
  .chat-close-btn:hover {
    color: #fff;
  }
  .chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .chat-msg {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 13.5px;
    line-height: 1.45;
  }
  .chat-msg.bot {
    background: rgba(255,255,255,0.06);
    color: #fff;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
  }
  .chat-msg.user {
    background: var(--blue);
    color: #fff;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
  }
  .chat-options-area {
    padding: 16px 20px 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .chat-opt-btn {
    width: 100%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 12.5px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .chat-opt-btn:hover {
    background: var(--amber);
    border-color: var(--amber);
    color: var(--ink);
    font-weight: 600;
  }

  /* ============ VISUAL FEEDBACK INTERACTIVE TOOL CSS ============ */
  .feedback-toggle-btn {
    position: fixed;
    bottom: 30px;
    left: 40px;
    z-index: 2000;
    background: rgba(255,255,255,0.92);
    border: 1px solid var(--blue);
    color: var(--ink);
    padding: 14px 24px;
    border-radius: 40px;
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,159,227,0.15);
    backdrop-filter: blur(12px);
    transition: all 0.25s ease;
    display: none;
    align-items: center;
    gap: 8px;
  }
  .feedback-toggle-btn:hover {
    transform: translateY(-2px);
    border-color: var(--amber);
  }
  .feedback-drawer {
    position: fixed;
    right: -360px;
    top: 0;
    width: 360px;
    height: 100vh;
    background: rgba(255,255,255,0.98);
    border-left: 1px solid var(--line);
    z-index: 1999;
    padding: 100px 30px 40px;
    box-shadow: -10px 0 40px rgba(0,159,227,0.08);
    backdrop-filter: blur(16px);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
  }
  .feedback-drawer.open {
    right: 0;
  }
  .drawer-header {
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  .drawer-header h3 {
    font-size: 20px;
    color: var(--ink);
    margin-bottom: 15px;
  }
  .btn-copy-comments {
    width: 100%;
    background: var(--amber);
    color: var(--ink);
    border: none;
    border-radius: 30px;
    padding: 12px;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
  }
  .btn-copy-comments:hover {
    background: var(--blue);
    color: #fff;
  }
  .drawer-content {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-right: 5px;
  }
  .comment-item {
    background: var(--blue-tint);
    border: 1px solid var(--line);
    padding: 16px;
    border-radius: 12px;
    font-size: 13.5px;
    position: relative;
  }
  .comment-item .num {
    font-family: var(--mono);
    font-weight: 700;
    color: var(--ink);
    margin-right: 6px;
  }
  .comment-item .tag {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink);
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
  }
  .comment-item .preview {
    font-style: italic;
    color: var(--slate);
    margin-bottom: 8px;
    font-size: 12.5px;
    display: block;
    border-left: 2px solid var(--blue);
    padding-left: 8px;
  }
  .comment-item .text {
    color: var(--ink);
    font-weight: 500;
  }
  .comment-item .btn-del {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    color: #e53e3e;
    cursor: pointer;
    font-size: 14.5px;
  }
  
  /* Modal Overlay */
  .feedback-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(10,27,46,0.4);
    backdrop-filter: blur(6px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
  }
  .feedback-modal-overlay.open {
    display: flex;
  }
  .feedback-modal {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 24px;
    width: 95%;
    max-width: 580px;
    padding: 36px;
    box-shadow: 0 25px 50px rgba(0,159,227,0.1);
  }
  .feedback-modal h4 {
    font-size: 20px;
    color: var(--ink);
    margin-bottom: 12px;
  }
  .element-preview {
    background: var(--blue-tint);
    border-left: 3px solid var(--blue);
    padding: 12px;
    font-family: var(--sans);
    font-size: 14.5px;
    color: var(--ink);
    margin-bottom: 20px;
    border-radius: 4px;
    max-height: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /* Breadcrumbs Navigation for Parent Elements */
  .modal-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-family: var(--mono);
    font-size: 11px;
    background: #F4F8FB;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 20px;
    color: var(--slate);
    line-height: 1.5;
  }
  .breadcrumb-item {
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.2s ease;
  }
  .breadcrumb-item:hover {
    background: var(--line);
    color: var(--ink);
  }
  .breadcrumb-item.active {
    background: var(--blue);
    color: #ffffff;
    font-weight: 600;
  }

  .feedback-modal textarea {
    width: 100%;
    min-height: 120px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 14.5px;
    resize: vertical;
    margin-bottom: 24px;
  }
  .feedback-modal textarea:focus {
    outline: none;
    border-color: var(--amber);
  }
  .modal-buttons {
    display: flex;
    gap: 12px;
  }
  .modal-buttons button {
    flex: 1;
    padding: 12px;
    border-radius: 30px;
    border: none;
    font-family: var(--mono);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
  }
  .modal-buttons .btn-save {
    background: var(--amber);
    color: var(--ink);
  }
  .modal-buttons .btn-save:hover {
    background: var(--blue);
    color: #fff;
  }
  .modal-buttons .btn-cancel {
    background: rgba(10,27,46,0.05);
    color: var(--slate);
  }
  .modal-buttons .btn-cancel:hover {
    background: rgba(10,27,46,0.1);
  }

  /* Badge indicator placed inside commented elements */
  .feedback-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--amber) !important;
    color: var(--ink) !important;
    font-size: 11px !important;
    font-family: var(--mono) !important;
    font-weight: 700 !important;
    border-radius: 50% !important;
    margin-left: 10px !important;
    vertical-align: middle !important;
    box-shadow: 0 4px 10px rgba(248,175,65,0.4) !important;
    pointer-events: none !important;
  }

  /* Toast notification */
  .feedback-toast {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: #2F855A;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
    z-index: 4000;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .feedback-toast.show {
    transform: translateX(-50%) translateY(0);
  }

  
  /* Bento Background Images */
  .vuna-card.gradient-blue {
    background-image: linear-gradient(135deg, rgba(10, 27, 46, 0.85) 0%, rgba(10, 27, 46, 0.7) 100%), url('assets/bento-mortgage.jpg') !important;
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
  }
  .vuna-card.solid-amber {
    background-image: linear-gradient(135deg, rgba(248, 175, 65, 0.92) 0%, rgba(248, 175, 65, 0.8) 100%), url('assets/bento-bidding.jpg') !important;
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
  }
  .vuna-card.solid-deep {
    background-image: linear-gradient(135deg, rgba(10, 27, 46, 0.95) 0%, rgba(10, 27, 46, 0.75) 100%), url('assets/bento-development.jpg') !important;
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
  }

/* Old BG */
  .vuna-card.gradient-blue {
    background-image: linear-gradient(135deg, rgba(10, 27, 46, 0.9) 0%, rgba(10, 27, 46, 0.7) 100%), url('assets/bento-mortgage.jpg') !important;
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
  }
  .vuna-card.solid-amber {
    background-image: linear-gradient(135deg, rgba(248, 175, 65, 0.95) 0%, rgba(248, 175, 65, 0.8) 100%), url('assets/bento-bidding.jpg') !important;
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
  }
  .vuna-card.solid-deep {
    background-image: linear-gradient(135deg, rgba(10, 27, 46, 0.95) 0%, rgba(10, 27, 46, 0.7) 100%), url('assets/bento-development.jpg') !important;
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
  }



  /* ============ HERO MINI SIMULATOR ============ */
  .hero-mini-sim {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 32px;
    width: 100%;
    max-width: 450px;
    margin-top: 15px;
    margin-bottom: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  }
  .hero-mini-sim h4 {
    font-family: var(--display);
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 4px;
    font-weight: 600;
  }
  .hero-mini-sim .sim-sub {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14.5px;
    margin-bottom: 24px;
  }
  .hero-mini-sim label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14.5px;
    font-weight: 500;
    margin-bottom: 12px;
  }
  .hero-mini-sim input[type=range] {
    width: 100%;
    accent-color: var(--amber);
    margin-bottom: 16px;
  }
  .hero-sim-value {
    font-size: 32px;
    font-family: var(--mono);
    color: var(--amber);
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
  }
  .hero-sim-result {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
  }
  .hero-sim-result .res-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14.5px;
  }
  .hero-sim-result .res-val {
    color: #ffffff;
    font-family: var(--mono);
    font-weight: 600;
    font-size: 18px;
  }
  .hero-sim-phone-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
  }
  .hero-sim-phone-row input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 0 16px;
    color: #ffffff;
    font-family: var(--mono);
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
  }
  .hero-sim-phone-row input::placeholder {
    color: rgba(255, 255, 255, 0.4);
  }
  .hero-sim-phone-row input:focus {
    border-color: var(--amber);
  }
  .btn-hero-sim-submit {
    background: var(--amber);
    color: var(--ink);
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
  }
  .btn-hero-sim-submit:hover {
    background: #FFBD59;
    transform: translateY(-2px);
  }
  .hero-sim-trust {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
  }
  .hero-sim-success {
    display: none;
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.4);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 14.5px;
    margin-top: 16px;
  }
  .hero-sim-success.show {
    display: block;
    animation: fadeIn 0.3s forwards;
  }


  /* ============ TEAM SECTION ============ */
  .team-section {
    padding: 100px 0;
    text-align: center;
  }
  .team-section .eyebrow {
    justify-content: center;
  }
  .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(220px, 22vw, 300px), 1fr));
    gap: 40px;
    margin-top: 50px;
  }
  .team-member {
    text-align: center;
  }
  .member-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: var(--line);
    border: 3px solid var(--amber);
  }
  .team-member h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--ink);
  }
  .member-role {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--slate);
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }


  /* ============ DYNAMIC HERO INMERSIVO ============ */
  .hero {
    transition: background 1.5s ease-in-out !important;
  }
  body.light-mode .hero {
    background: linear-gradient(135deg, #009FE3 0%, #006093 100%) !important;
  }
  body.light-mode .hero h1 {
    color: #ffffff !important;
  }
  body.light-mode .hero p {
    color: #ffffff !important;
  }
  .hero-logo-container {
    position: relative;
    width: 420px;
    max-width: 100%;
    aspect-ratio: 1024 / 481;
    margin-bottom: 24px;
  }
  .hero-logo-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: contain;
    transition: opacity 1.5s ease-in-out;
  }
  .hero-logo-img.logo-white { opacity: 1; }
  .hero-logo-img.logo-color { opacity: 0; }
  body.light-mode .hero-logo-img.logo-white { opacity: 0; }
  body.light-mode .hero-logo-img.logo-color { opacity: 1; }
  
  /* Transition timings for headers inside Hero */
  .hero h1, .hero p {
    transition: color 1.5s ease-in-out !important;
  }


  /* Topbar Light Mode Overrides */
  body.light-mode #topbar.on-light {
    color: var(--ink) !important;
  }
  body.light-mode #topbar.on-light #limaClock {
    color: var(--ink) !important;
  }
  body.light-mode #topbar.on-light a.cta {
    color: #ffffff !important;
    border-color: var(--ink) !important;
  }
  body.light-mode #topbar.on-light a.cta:hover {
    background: var(--ink) !important;
    color: #fff !important;
  }
  body.light-mode #topbar.on-light #limaClock .pulse-dot {
    background: #2F855A !important;
  }
  body.light-mode #topbar.on-light #marketStatusText {
    color: var(--ink) !important;
  }

  /* Simulator Panel Light Mode Overrides */
  body.light-mode .hero-mini-sim {
    background: rgba(10, 27, 46, 0.04) !important;
    border: 1px solid rgba(10, 27, 46, 0.08) !important;
    box-shadow: 0 20px 40px rgba(10, 27, 46, 0.05) !important;
  }
  body.light-mode .hero-mini-sim h4 {
    color: var(--ink) !important;
  }
  body.light-mode .hero-mini-sim .sim-sub {
    color: var(--slate) !important;
  }
  body.light-mode .hero-mini-sim label {
    color: var(--ink) !important;
  }
  body.light-mode .hero-mini-sim .hero-sim-value {
    color: var(--ink) !important; /* Stand out dark */
  }
  body.light-mode .hero-mini-sim .hero-sim-result {
    background: rgba(10, 27, 46, 0.05) !important;
  }
  body.light-mode .hero-mini-sim .hero-sim-result .res-label {
    color: var(--slate) !important;
  }
  body.light-mode .hero-mini-sim .hero-sim-result .res-val {
    color: var(--ink) !important;
  }
  body.light-mode .hero-mini-sim .hero-sim-phone-row input {
    background: rgba(10, 27, 46, 0.03) !important;
    border: 1px solid rgba(10, 27, 46, 0.12) !important;
    color: var(--ink) !important;
  }
  body.light-mode .hero-mini-sim .hero-sim-phone-row input::placeholder {
    color: rgba(10, 27, 46, 0.4) !important;
  }
  body.light-mode .hero-mini-sim .hero-sim-phone-row input:focus {
    border-color: var(--ink) !important;
  }
  body.light-mode .hero-mini-sim .hero-sim-trust {
    color: var(--slate) !important;
  }
  body.light-mode .btn-hero-sim-submit {
    background: var(--ink) !important;
    color: #ffffff !important;
  }
  body.light-mode .btn-hero-sim-submit:hover {
    background: #000000 !important;
  }


  /* ============ LIGHT MODE SKYLINE BLEND FIX ============ */
  body.light-mode .mountains-image {
    mix-blend-mode: multiply !important;
    filter: brightness(0.95) contrast(1.1) opacity(0.3) !important;
    transition: filter 1.5s ease-in-out, opacity 1.5s ease-in-out !important;
  }

  /* ============ COMPREHENSIVE RESPONSIVE MOBILE SUITE ============ */
  @media (max-width: 960px) {
    .hero {
      padding: 120px 20px 60px 20px !important;
      min-height: auto !important;
    }
    .hero-content-wrapper {
      flex-direction: column !important;
      gap: 32px !important;
      text-align: center !important;
      margin-top: 0 !important;
      align-items: center !important;
      justify-content: center !important;
    }
    .hero-left-content {
      align-items: center !important;
      text-align: center !important;
      max-width: 100% !important;
    }
    .hero-left-content h1 {
      font-size: clamp(26px, 6vw, 36px) !important;
      text-align: center !important;
    }
    .hero-left-content p {
      font-size: 15px !important;
      text-align: center !important;
    }
    .hero-logo-container {
      width: 280px !important;
      margin: 0 auto 16px auto !important;
    }
    .hero-mini-sim {
      width: 100% !important;
      max-width: 100% !important;
      margin: 0 !important;
      padding: 24px 18px !important;
      border-radius: 16px !important;
    }
    .hero-sim-value {
      font-size: 26px !important;
    }
    .hero-sim-phone-row {
      flex-direction: column !important;
    }
    .btn-hero-sim-submit {
      width: 100% !important;
    }
    .vuna-bento-grid {
      grid-template-columns: 1fr !important;
      gap: 20px !important;
    }
    .vuna-card {
      grid-column: span 1 !important;
      padding: 30px 24px !important;
    }
    .team-grid {
      grid-template-columns: repeat(auto-fit, minmax(clamp(220px, 22vw, 300px), 1fr));
      gap: 24px !important;
    }
  }

  @media (max-width: 600px) {
    #usdPenRate, .sep-line {
      display: none !important;
    }
    #limaClock {
      font-size: 9.5px !important;
      padding-left: 10px !important;
    }
    .topbar {
      padding: 10px 16px !important;
    }
    .team-grid {
      grid-template-columns: repeat(auto-fit, minmax(clamp(220px, 22vw, 300px), 1fr));
    }
    .pillnav {
      max-width: 95vw !important;
      font-size: 11px !important;
      padding: 6px 12px !important;
    }
    .honest-graphic {
      display: none !important;
    }
  }


  /* ============ CLEAN HERO WRAPPER & MOBILE SUITE ============ */
  .hero-content-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
    margin-top: -40px;
  }
  .hero-left-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 550px;
  }
  .hero-left-content h1 {
    color: #ffffff;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    margin-bottom: 16px;
    font-weight: 700;
  }
  .hero-left-content p {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    font-family: var(--sans);
    line-height: 1.6;
    margin-bottom: 0;
  }
  .hero-mini-sim {
    position: relative;
    z-index: 10;
    margin: 0;
    text-align: left;
  }


  /* ============ MASTER MOBILE RESPONSIVE OVERRIDES (ALL SECTIONS) ============ */
  @media (max-width: 960px) {
    /* Container Wrappers */
    .wrap {
      padding: 0 24px !important;
    }
    section {
      padding: 80px 0 !important;
    }

    /* Topbar & Clock */
    .topbar {
      padding: 10px 16px !important;
    }
    #limaClock {
      font-size: 10px !important;
      padding-left: 0 !important;
    }
    #usdPenRate, .sep-line {
      display: none !important;
    }
    .topbar .cta { padding: 8px 14px !important;
      font-size: 11px !important; white-space: nowrap; }

    /* Floating Pill Nav */
    .pillnav {
      max-width: 92vw !important;
      bottom: 16px !important;
      padding: 6px 12px !important;
      font-size: 11px !important;
      gap: 6px !important;
      overflow-x: auto !important;
      white-space: nowrap !important;
    }
    .pillnav a {
      padding: 6px 10px !important;
      font-size: 11.5px !important;
    }

    /* Hero Section */
    .hero {
      padding: 100px 20px 60px 20px !important;
      min-height: auto !important;
    }
    .hero-content-wrapper {
      flex-direction: column !important;
      gap: 32px !important;
      text-align: center !important;
      margin-top: 0 !important;
      align-items: center !important;
      justify-content: center !important;
    }
    .hero-left-content {
      align-items: center !important;
      text-align: center !important;
      max-width: 100% !important;
    }
    .hero-left-content h1 {
      font-size: clamp(26px, 5.5vw, 36px) !important;
      text-align: center !important;
    }
    .hero-left-content p {
      font-size: 15px !important;
      text-align: center !important;
    }
    .hero-logo-container {
      width: 260px !important;
      margin: 0 auto 16px auto !important;
    }
    .hero-mini-sim {
      width: 100% !important;
      max-width: 100% !important;
      margin: 0 !important;
      padding: 24px 18px !important;
      border-radius: 16px !important;
      box-sizing: border-box !important;
    }
    .hero-sim-value {
      font-size: 26px !important;
    }
    .hero-sim-phone-row {
      flex-direction: column !important;
      gap: 10px !important;
    }
    .hero-sim-phone-row input {
      width: 100% !important;
      height: 44px !important;
    }
    .btn-hero-sim-submit {
      width: 100% !important;
      height: 44px !important;
    }
    .scroll-indicator {
      display: none !important;
    }

    /* Intro & Honest Sections */
    .intro-split {
      grid-template-columns: 1fr !important;
      gap: 24px !important;
      text-align: center !important;
    }
    .honest {
      grid-template-columns: 1fr !important;
      gap: 24px !important;
      padding: 36px 20px !important;
      text-align: center !important;
    }
    .honest-graphic {
      display: none !important;
    }
    .honest .eyebrow {
      justify-content: center !important;
    }

    /* Services & Bento Grid */
    .vuna-bento-grid {
      grid-template-columns: 1fr !important;
      gap: 20px !important;
    }
    .vuna-card {
      grid-column: span 1 !important;
      padding: 28px 20px !important;
    }
    .vuna-card .wireframe-svg {
      width: 60px !important;
      height: 60px !important;
      right: 15px !important;
      top: 15px !important;
      opacity: 0.3 !important;
    }

    /* Problema & Solución Blocks */
    .stack-block {
      padding: 60px 0 !important;
    }
    .stack-block .wrap {
      grid-template-columns: 1fr !important;
      gap: 16px !important;
      text-align: center !important;
    }
    .stack-tag {
      justify-content: center !important;
    }

    /* Matrix / Radar Section */
    .matrix-section {
      padding: 80px 0 !important;
    }
    .matrix-grid {
      grid-template-columns: 1fr !important;
      gap: 40px !important;
      text-align: center !important;
    }
    .matrix-grid .eyebrow {
      justify-content: center !important;
    }
    .dotcircle {
      max-width: 320px !important;
      height: 320px !important;
      margin: 20px auto 0 auto !important;
    }
    .criteria-row {
      flex-direction: column !important;
      align-items: flex-start !important;
      gap: 4px !important;
      padding: 12px 16px !important;
    }

    /* Destinos Section */
    #destinos {
      padding: 80px 6% !important;
    }
    .destinos-split {
      grid-template-columns: 1fr !important;
      gap: 32px !important;
      text-align: center !important;
    }
    .destinos-split .left-col .eyebrow {
      justify-content: center !important;
    }
    .destinos-grid {
      grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 45%, 450px), 1fr));
      gap: 16px !important;
    }

    /* Team Section */
    .team-section {
      padding: 80px 0 !important;
    }
    .team-grid {
      grid-template-columns: repeat(auto-fit, minmax(clamp(220px, 22vw, 300px), 1fr));
      gap: 24px !important;
    }

    /* Confianza Section */
    .trust-grid {
      grid-template-columns: 1fr !important;
      gap: 32px !important;
      text-align: center !important;
    }
    .trust-list li {
      justify-content: center !important;
      text-align: left !important;
    }
    .disclosure-box {
      padding: 28px 20px !important;
      text-align: left !important;
    }

    /* Contacto Section */
    .contact-section {
      padding: 80px 0 !important;
    }
    .contact-wrap {
      grid-template-columns: 1fr !important;
      gap: 40px !important;
      text-align: center !important;
    }
    .contact-section .eyebrow {
      justify-content: center !important;
    }
    .contact-meta {
      align-items: center !important;
      text-align: center !important;
    }
    form.eval-form {
      padding: 24px 18px !important;
      border-radius: 20px !important;
    }
    .form-row {
      grid-template-columns: 1fr !important;
      gap: 16px !important;
    }
    form.eval-form input, form.eval-form select, form.eval-form textarea {
      font-size: 16px !important; /* Prevents iOS auto-zoom */
    }

    /* Footer */
    footer {
      padding: 60px 6% !important;
    }
    .footer-top {
      grid-template-columns: 1fr !important;
      gap: 32px !important;
      text-align: center !important;
    }
    .footer-bottom {
      flex-direction: column !important;
      align-items: center !important;
      text-align: center !important;
      gap: 16px !important;
    }
  }

  @media (max-width: 480px) {
    .wrap {
      padding: 0 16px !important;
    }
    .team-grid {
      grid-template-columns: repeat(auto-fit, minmax(clamp(220px, 22vw, 300px), 1fr));
    }
    .member-avatar {
      width: 100px !important;
      height: 100px !important;
    }
    h1 {
      font-size: 26px !important;
    }
    h2 {
      font-size: 24px !important;
    }
  }


  
  
  
  
  /* ============ COMPLETE RESPONSIVE MOBILE & TABLET FIXES SUITE ============ */
  /* 1. Global topbar layer & visibility fixes (Desktop, Tablet & Mobile) */
  #topbar, .topbar {
    z-index: 9995 !important;
  }
  #topbar.on-light a.cta, 
  body.light-mode #topbar.on-light a.cta,
  #topbar.on-light .cta,
  .topbar.on-light .cta {
    background: #1C2D42 !important;
    border-color: #1C2D42 !important;
    color: #ffffff !important;
    opacity: 1 !important;
    display: inline-block !important;
    visibility: visible !important;
  }
  #topbar.on-light a.cta:hover,
  body.light-mode #topbar.on-light a.cta:hover,
  .topbar.on-light .cta:hover {
    background: #F8AF41 !important;
    border-color: #F8AF41 !important;
    color: #1C2D42 !important;
  }

  @media (max-width: 1024px) {
    /* 2. General page structure & overflow prevention */
    html, body {
      overflow-x: hidden !important;
      width: 100% !important;
      max-width: 100% !important;
      position: relative !important;
    }
    body {
      padding-bottom: 80px !important;
    }
    section, .matrix-section {
      padding: 48px 0 !important;
    }
    .wrap {
      padding: 0 24px !important;
    }
    
    /* 3. Grid columns collapse to 1-column */
    .intro-split, 
    .stack-block .wrap, 
    .matrix-grid, 
    .destinos-split, 
    .diff-split, 
    .scenario-split, 
    .process-split, 
    .investor-block, 
    .contact-section,
    .diff-grid,
    .process-steps,
    .services-structure-inner {
      grid-template-columns: 1fr !important;
      gap: 32px !important;
      padding-top: 24px !important;
      padding-bottom: 24px !important;
    }
    .vuna-card.span-8, .vuna-card.span-4 {
      grid-column: span 12 !important;
    }
    
    /* 4. Text and Headings scaling */
    .section-title, 
    .intro-split h2, 
    .honest h2, 
    .services-structure-inner h3, 
    .stack-block h3, 
    .matrix-grid h2, 
    .section-head h2, 
    .destinos-split h2, 
    .diff-split h2, 
    .scenario-split h2, 
    .process-split h2, 
    .investor-block h2, 
    .contact-section h2,
    h1, h2, h3 {
      font-size: 26px !important;
      line-height: 1.25 !important;
      letter-spacing: -0.01em !important;
    }
    
    .stack-tag {
      font-size: 20px !important;
    }
    
    /* 5. Topbar overlap fix on mobile/tablet */
    .topbar {
      padding: 10px 24px !important;
      background: rgba(255, 255, 255, 0.98) !important;
      border-bottom: 1px solid rgba(10, 27, 46, 0.05) !important;
      box-shadow: 0 4px 15px rgba(10, 27, 46, 0.04) !important;
    }
    .topbar .cta { padding: 8px 16px !important;
      font-size: 11px !important;
      background: #1C2D42 !important;
      color: #ffffff !important;
      border-color: #1C2D42 !important; white-space: nowrap; }
    #limaClock {
      display: none !important;
    }

    /* 6. Floating AI chatbot widget positioning */
    .ai-chat-toggle-btn {
      bottom: 80px !important;
      right: 16px !important;
      padding: 10px 18px !important;
      font-size: 11px !important;
      box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
      z-index: 9998 !important;
    }
    .ai-chat-window {
      bottom: 136px !important;
      right: 16px !important;
      width: calc(100vw - 32px) !important;
      max-width: 360px !important;
      z-index: 9998 !important;
    }
    
    /* 7. Hero adjustments */
    .hero {
      padding: 100px 24px 48px 24px !important;
      min-height: auto !important;
      height: auto !important;
    }
    .hero-content-wrapper {
      flex-direction: column !important;
      gap: 24px !important;
      align-items: center !important;
      margin-top: 0 !important;
    }
    .hero-logo {
      width: 90vw !important;
      max-width: 100% !important;
      position: static !important;
      transform: none !important;
      margin: 0 auto !important;
    }
    .hero-small-text, .hero-extra-text, .hero-btn-container {
      position: static !important;
      transform: none !important;
      margin: 16px auto !important;
      white-space: normal !important;
      text-align: center !important;
    }
    
    /* 8. Card & Bento scaling */
    .vuna-card, .destino-card, .destinos-card, .diff-card, .scenario-card, .step-card, .honest-card {
      padding: 24px !important;
      min-height: auto !important;
    }
    
    /* 9. Process steps & criteria row stacking */
    .process-step {
      grid-template-columns: 60px 1fr !important;
      gap: 16px !important;
    }
    .process-step .step-num {
      font-size: 40px !important;
    }
    .criteria-row {
      flex-direction: column !important;
      align-items: flex-start !important;
      gap: 8px !important;
      padding: 16px 0 !important;
    }
    .dotcircle {
      max-width: 280px !important;
    }
  }

  /* ============ MOBILE BOTTOM NAVIGATION BAR CSS ============ */
  .mobile-bottom-nav {
    display: none;
  }
  @media (max-width: 767px) { .mobile-bottom-nav {
      display: flex !important;
      position: fixed !important;
      bottom: 0 !important;
      left: 0 !important;
      right: 0 !important;
      height: 64px !important;
      background: rgba(255, 255, 255, 0.98) !important;
      backdrop-filter: blur(20px) !important;
      border-top: 1px solid rgba(15, 29, 46, 0.08) !important;
      box-shadow: 0 -4px 20px rgba(10, 27, 46, 0.06) !important;
      z-index: 9999 !important;
      justify-content: space-around !important;
      align-items: center !important;
      padding-bottom: env(safe-area-inset-bottom, 0) !important;
    }
    .mobile-nav-item {
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      justify-content: center !important;
      color: #5C6F84 !important;
      font-size: 10px !important;
      font-family: 'Space Grotesk', sans-serif !important;
      font-weight: 500 !important;
      text-decoration: none !important;
      flex: 1 !important;
      height: 100% !important;
      transition: all 0.2s ease !important;
      opacity: 0.8 !important;
    }
    .mobile-nav-item:hover, .mobile-nav-item:active {
      color: #007CB3 !important;
      opacity: 1 !important;
    }
    .mobile-nav-item.active {
      color: #009FE3 !important;
      font-weight: 700 !important;
      opacity: 1 !important;
    }
    .mobile-nav-icon {
      font-size: 18px !important;
      margin-bottom: 2px !important;
    }
    .mobile-nav-label {
      letter-spacing: 0.02em !important;
    }
  }

  /* Hide development feedback widget and toasts globally for official presentation */
  .feedback-toggle-btn, .feedback-drawer, .feedback-modal-overlay, .feedback-toast {
    display: none !important;
  }







/* ============================================================
   RESPONSIVE SYSTEM v4 — COMPREHENSIVE & ROBUST
   Applied dynamically to all pages. Mobile-first.
   ============================================================ */

/* 1. Prevent horizontal scroll at root level */
html { overflow-x: hidden; }
*, *::before, *::after { box-sizing: border-box; }

/* 2. Global container fluid padding */
.wrap { width: 100%; padding-inline: clamp(16px, 5vw, 6%); }

/* 3. Section vertical spacing — fluid */
section { padding-block: clamp(60px, 10vw, 160px); }

/* 4. Topbar Header Structural Architecture */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9995;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 72px !important;
  padding: 0 clamp(16px, 4vw, 40px) !important;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box !important;
}
.topbar-left {
  display: flex !important;
  align-items: center !important;
  gap: clamp(16px, 2.5vw, 32px) !important;
  height: 100% !important;
  min-width: 0 !important;
}
.topbar-right {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  height: 100% !important;
  flex-shrink: 0 !important;
}
.topbar-logo-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
  line-height: 0 !important;
  text-decoration: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}
.topbar-logo-img {
  display: block !important;
  height: 64px !important;
  width: auto !important;
  max-height: 68px !important;
  object-fit: contain !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
  transform: none !important;
}
.topbar-logo-img.logo-color { display: none; }
.topbar-clock {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  height: 100% !important;
  font-family: var(--mono) !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
.topbar .cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 40px !important;
  line-height: 1 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* 5. Hero */
.hero { min-height: 100svh; min-height: 100vh; height: auto; }
.hero-logo-container { width: clamp(200px, 55vw, 420px); max-width: 100%; }
.hero-content-wrapper { flex-wrap: wrap; gap: clamp(24px, 4vw, 60px); padding: 0; margin-top: 0; }

/* 6. Cards: no hard min-height on small screens */
.vuna-card, .destino-card, .scenario-card { min-height: auto; }

/* Accordion Mobile styles (used for operations pipeline stepper) */
.pipeline-accordion-mobile {
  display: none;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 24px;
}

.pipeline-accordion-item {
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.pipeline-accordion-item.active {
  border-color: var(--blue);
  box-shadow: 0 4px 20px rgba(0, 159, 227, 0.08);
}

.pipeline-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  outline: none;
}

.pipeline-accordion-trigger .step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-tint);
  color: var(--blue-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.pipeline-accordion-item:nth-child(even) .step-num {
  background: rgba(248, 175, 65, 0.1);
  color: var(--amber-deep);
}

.pipeline-accordion-trigger .step-title {
  flex-grow: 1;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.pipeline-accordion-trigger .step-arrow {
  font-size: 12px;
  color: var(--slate);
  transition: transform 0.3s ease;
}

.pipeline-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.pipeline-accordion-inner {
  padding: 0 20px 20px 68px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--slate);
}

/* ─── MOBILE PEQUEÑO < 480px ─────────────────────────────────────────── */
@media (max-width: 479px) {
  /* Topbar */
  .topbar { padding: 8px 14px; gap: 6px; }
  #usdPenRate, .sep-line { display: none; }
  #limaClock { font-size: 9.5px; }
  .topbar .cta { padding: 7px 13px; font-size: 10px; white-space: nowrap; }

  /* Hero index: stacked */
  .hero {
    padding-top: 70px !important;
    padding-bottom: 32px !important;
    padding-inline: 14px !important;
    min-height: 0 !important;
    height: auto !important;
  }
  .hero-content-wrapper { gap: 18px !important; }
  .hero-left-content { align-items: center !important; text-align: center !important; width: 100% !important; }
  .hero-left-content h1 { font-size: clamp(22px, 7vw, 28px) !important; }
  .hero-left-content p { font-size: 14px !important; }
  .hero-logo-container { width: clamp(160px, 72vw, 240px) !important; margin-inline: auto !important; }
  .hero-mini-sim { width: 100% !important; padding: 18px 12px !important; }
  .hero-sim-phone-row { flex-direction: column !important; gap: 8px !important; }
  .hero-sim-phone-row input, .btn-hero-sim-submit { width: 100% !important; height: 44px !important; }
  .scroll-indicator { display: none !important; }

  /* Sub-page hero: no fixed height */
  .hero { height: auto !important; }

  /* Typography scale */
  h1 { font-size: clamp(22px, 7vw, 28px) !important; line-height: 1.15 !important; }
  h2 { font-size: clamp(20px, 6vw, 26px) !important; line-height: 1.2 !important; }
  h3 { font-size: clamp(18px, 5vw, 22px) !important; }

  /* Estructuramos soluciones de valor box padding */
  .services-structure-band {
    padding: 40px 16px !important;
    border-radius: 20px !important;
  }

  /* ── ALL 2-col layouts → 1 col ── */
  .intro-split,
  .honest,
  .services-structure-inner,
  .stack-block .wrap,
  .matrix-grid,
  .process-split,
  .investor-block .wrap,
  .destinos-split,
  .diff-split,
  .scenario-split,
  .trust-grid,
  .contact-wrap,
  .page-split,
  .case-panel.active,
  .investors-split,
  .team-content-grid,
  .actor-panel {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Pipeline (4 cols → Accordion) */
  .pipeline-grid { display: none !important; }
  .pipeline-track { display: none !important; }
  .pipeline-accordion-mobile { display: flex !important; }

  /* Ecosystem flow (5-col complex → 1 col) */
  .ecosystem-flow-container {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .flow-connector { display: none !important; }

  /* Aud panel (3 cols → 1 col) */
  .aud-panel, .aud-panel.active { grid-template-columns: 1fr !important; gap: 12px !important; }

  /* Bento grid (12 col system → 1 col) */
  .vuna-bento-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .vuna-card { grid-column: span 1 !important; padding: 22px 16px !important; }
  .vuna-card .wireframe-svg { width: 44px !important; height: 44px !important; right: 10px !important; top: 10px !important; opacity: 0.25; }

  /* Destinos / diff / scenario grids */
  .destinos-grid, .diff-grid, .scenario-grid { grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 30vw, 360px), 1fr)); gap: 12px !important; }

  /* Catálogo inversionistas (minmax 340px → 1 col) */
  [style*="minmax(340px"] { grid-template-columns: 1fr !important; }

  /* Formularios */
  .form-row { grid-template-columns: 1fr !important; gap: 12px !important; }
  form.eval-form { padding: 20px 14px !important; border-radius: 20px !important; }

  /* Calculadora (inline grid) — fuerza 1 col */
  .calc-layout { grid-template-columns: 1fr !important; gap: 24px !important; }

  /* Process steps */
  .process-step { grid-template-columns: 52px 1fr !important; gap: 10px !important; }
  .process-step .step-num { font-size: 34px !important; }

  /* Dotcircle radar */
  .dotcircle { max-width: 240px !important; }
  .criteria-row { flex-direction: column !important; gap: 4px !important; padding: 10px 0 !important; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr !important; gap: 24px !important; }
  .footer-bottom { flex-direction: column !important; align-items: center !important; text-align: center !important; gap: 10px !important; }

  /* Decorative elements: hide on small mobile */
  .plus-grid-inner { display: none !important; }
  .honest-graphic { display: none !important; }

  /* Tables: horizontal scroll allowed on tables only */
  .data-table, table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; }

  /* Case tabs */
  .case-tabs, .aud-tabs, .calc-tabs { flex-wrap: wrap !important; gap: 6px !important; }
  .case-tab, .aud-tab, .calc-segment-btn { font-size: 10px !important; padding: 7px 10px !important; }

  /* Disclosure box */
  .disclosure-box { padding: 18px 12px !important; }

  /* Team */
  .team-grid { grid-template-columns: repeat(auto-fit, minmax(clamp(220px, 22vw, 300px), 1fr)); gap: 18px !important; }
  .member-avatar { width: 90px !important; height: 90px !important; }
}

/* ─── MOBILE NORMAL 480–767px ────────────────────────────────────────── */
@media (min-width: 480px) and (max-width: 767px) {
  .topbar { padding: 10px 18px; }
  #usdPenRate, .sep-line { display: none; }
  #limaClock { font-size: 10px; }
  .topbar .cta { padding: 8px 14px; font-size: 11px; white-space: nowrap; }

  .hero {
    padding-top: 80px !important;
    padding-bottom: 36px !important;
    padding-inline: 18px !important;
    min-height: 0 !important;
    height: auto !important;
  }
  .hero-content-wrapper { gap: 22px !important; }
  .hero-left-content { align-items: center !important; text-align: center !important; width: 100% !important; }
  .hero-left-content h1 { font-size: clamp(24px, 6vw, 32px) !important; }
  .hero-logo-container { width: clamp(190px, 65vw, 280px) !important; margin-inline: auto !important; }
  .hero-mini-sim { width: 100% !important; padding: 20px 16px !important; }
  .hero-sim-phone-row { flex-direction: column !important; gap: 8px !important; }
  .hero-sim-phone-row input, .btn-hero-sim-submit { width: 100% !important; height: 44px !important; }
  .scroll-indicator { display: none !important; }

  h1 { font-size: clamp(24px, 6vw, 32px) !important; }
  h2 { font-size: clamp(22px, 5.5vw, 28px) !important; }

  /* Estructuramos soluciones de valor box padding */
  .services-structure-band {
    padding: 60px 24px !important;
    border-radius: 24px !important;
  }

  /* All 2-col → 1 col */
  .intro-split, .honest, .services-structure-inner,
  .stack-block .wrap, .matrix-grid, .process-split,
  .investor-block .wrap, .destinos-split, .diff-split,
  .scenario-split, .trust-grid, .contact-wrap,
  .page-split, .case-panel.active, .actor-panel {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .pipeline-grid { display: none !important; }
  .pipeline-track { display: none !important; }
  .pipeline-accordion-mobile { display: flex !important; }

  .ecosystem-flow-container { grid-template-columns: 1fr !important; }
  .flow-connector { display: none !important; }
  .aud-panel, .aud-panel.active { grid-template-columns: 1fr 1fr !important; gap: 14px !important; }

  .vuna-bento-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .vuna-card { grid-column: span 1 !important; padding: 24px 18px !important; }

  .destinos-grid, .diff-grid { grid-template-columns: repeat(auto-fit, minmax(clamp(260px, 30vw, 360px), 1fr)); gap: 14px !important; }
  .scenario-grid { grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 30vw, 360px), 1fr)); }
  [style*="minmax(340px"] { grid-template-columns: 1fr !important; }

  .form-row { grid-template-columns: 1fr !important; gap: 14px !important; }
  form.eval-form { padding: 24px 18px !important; }
  .calc-layout { grid-template-columns: 1fr !important; gap: 28px !important; }

  .process-step { grid-template-columns: 60px 1fr !important; gap: 14px !important; }
  .dotcircle { max-width: 280px !important; }
  .criteria-row { flex-direction: column !important; gap: 4px !important; padding: 12px 0 !important; }

  .footer-top { grid-template-columns: 1fr 1fr !important; gap: 28px !important; }
  .footer-bottom { flex-direction: column !important; align-items: center !important; text-align: center !important; gap: 12px !important; }

  .plus-grid-inner { grid-template-columns: repeat(8, 1fr) !important; }
  .honest-graphic { display: none !important; }

  .team-grid { grid-template-columns: repeat(auto-fit, minmax(clamp(220px, 22vw, 300px), 1fr)); gap: 20px !important; }
  .data-table, table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .case-tabs, .aud-tabs { flex-wrap: wrap !important; gap: 8px !important; }
}

/* ─── TABLET 768–1023px ──────────────────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1023px) {
  .topbar { padding: 12px 24px; }
  #usdPenRate { display: none; }
  #limaClock { font-size: 10.5px; }
  .topbar .cta { padding: 9px 18px; font-size: 11px; white-space: nowrap; }

  .hero {
    padding-top: 90px !important;
    padding-bottom: 48px !important;
    padding-inline: 28px !important;
    min-height: 0 !important;
    height: auto !important;
  }
  .hero-content-wrapper { gap: 28px !important; }
  .hero-left-content { align-items: center !important; text-align: center !important; width: 100% !important; }
  .hero-left-content h1 { font-size: clamp(26px, 4.5vw, 36px) !important; }
  .hero-logo-container { width: clamp(230px, 45vw, 320px) !important; margin-inline: auto !important; }
  .hero-mini-sim { width: min(100%, 500px) !important; margin-inline: auto !important; padding: 28px 22px !important; }
  .hero-sim-phone-row { flex-direction: column !important; gap: 10px !important; }
  .hero-sim-phone-row input, .btn-hero-sim-submit { width: 100% !important; height: 44px !important; }
  .scroll-indicator { display: none !important; }

  /* 2-col grids → 1 col on tablet */
  .intro-split, .honest, .services-structure-inner,
  .stack-block .wrap, .matrix-grid, .process-split,
  .investor-block .wrap, .destinos-split, .diff-split,
  .scenario-split, .trust-grid, .contact-wrap,
  .page-split, .case-panel.active, .actor-panel {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .pipeline-grid { display: none !important; }
  .pipeline-track { display: none !important; }
  .pipeline-accordion-mobile { display: flex !important; }

  .ecosystem-flow-container { grid-template-columns: 1fr !important; }
  .flow-connector { display: none !important; }
  .aud-panel, .aud-panel.active { grid-template-columns: 1fr 1fr !important; gap: 16px !important; }

  .vuna-bento-grid { grid-template-columns: 1fr 1fr !important; gap: 20px !important; }
  .vuna-card { grid-column: span 1 !important; padding: 28px 22px !important; }

  .destinos-grid, .diff-grid, .scenario-grid { grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 30vw, 360px), 1fr)); gap: 16px !important; }
  [style*="minmax(340px"] { grid-template-columns: 1fr 1fr !important; }

  .form-row { grid-template-columns: 1fr 1fr !important; gap: 16px !important; }
  form.eval-form { padding: 30px 24px !important; }
  .calc-layout { grid-template-columns: 1fr !important; gap: 32px !important; }

  .process-step { grid-template-columns: 70px 1fr !important; gap: 18px !important; }
  .dotcircle { max-width: 300px !important; }
  .criteria-row { flex-direction: column !important; gap: 6px !important; padding: 14px 0 !important; }

  .footer-top { grid-template-columns: 1fr 1fr !important; gap: 36px !important; }
  .footer-bottom { flex-direction: column !important; align-items: center !important; text-align: center !important; gap: 14px !important; }

  .plus-grid-inner { grid-template-columns: repeat(12, 1fr) !important; }
  .honest-graphic { display: flex !important; }

  .team-grid { grid-template-columns: repeat(auto-fit, minmax(clamp(220px, 22vw, 300px), 1fr)); gap: 24px !important; }
  .data-table, table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ─── LAPTOP 1024–1279px ─────────────────────────────────────────────── */
@media (min-width: 1024px) and (max-width: 1279px) {
  #limaClock { display: flex !important; }
  .hero-content-wrapper { flex-wrap: nowrap !important; padding: 0 !important; }
  .hero-left-content { align-items: flex-start !important; text-align: left !important; }
  .scroll-indicator { display: flex !important; }
  .plus-grid-inner { grid-template-columns: repeat(18, 1fr) !important; }
  .pipeline-grid { grid-template-columns: repeat(4, 1fr) !important; }
  .pipeline-accordion-mobile { display: none !important; }
  .ecosystem-flow-container { grid-template-columns: 1fr 60px 1.2fr 60px 1fr !important; }
}

/* ─── DESKTOP 1280px+ ────────────────────────────────────────────────── */
@media (min-width: 1280px) {
  #limaClock { display: flex !important; }
  .hero-content-wrapper { flex-wrap: nowrap !important; }
  .hero-left-content { align-items: flex-start !important; text-align: left !important; }
  .scroll-indicator { display: flex !important; }
  .plus-grid-inner { grid-template-columns: repeat(24, 1fr) !important; }
  .pipeline-grid { grid-template-columns: repeat(4, 1fr) !important; }
  .pipeline-accordion-mobile { display: none !important; }
}

/* ─── MOBILE NAV BAR (siempre visible ≤ 1023px) ──────────────────────── */
.mobile-bottom-nav { display: none; }
@media (max-width: 767px) { .mobile-bottom-nav {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important; left: 0 !important; right: 0 !important;
    height: 60px !important;
    background: rgba(255,255,255,0.98) !important;
    backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(15,29,46,0.08) !important;
    box-shadow: 0 -4px 20px rgba(10,27,46,0.06) !important;
    z-index: 9999 !important;
    justify-content: space-around !important;
    align-items: center !important;
    padding-bottom: env(safe-area-inset-bottom, 0) !important;
  }
  .mobile-nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    color: #5C6F84 !important;
    font-size: 9.5px !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    flex: 1 !important;
    height: 100% !important;
    transition: color 0.2s !important;
    opacity: 0.8 !important;
  }
  .mobile-nav-item:hover, .mobile-nav-item:active { color: #007CB3 !important; opacity: 1 !important; }
  .mobile-nav-item.active { color: #009FE3 !important; font-weight: 700 !important; opacity: 1 !important; }
  .mobile-nav-icon { font-size: 18px !important; margin-bottom: 2px !important; }

  body { padding-bottom: 68px !important; }
  .pillnav { display: none !important; }

  .ai-chat-toggle-btn {
    bottom: 76px !important;
    right: 14px !important;
    padding: 9px 16px !important;
    font-size: 11px !important;
    z-index: 9998 !important;
  }
  .ai-chat-window {
    bottom: 140px !important;
    right: 14px !important;
    width: calc(100vw - 28px) !important;
    max-width: 360px !important;
    height: min(420px, 60vh) !important;
    z-index: 9998 !important;
  }
}

/* ─── PORTAL ESPECÍFICO ──────────────────────────────────────────────── */
@media (max-width: 767px) { .sidebar { display: none !important; }
  .main-content { margin-left: 0 !important; padding: 16px !important; }
  .charts-grid, .portal-grid, .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .chart-container { height: 200px !important; }
}

/* ─── INLINE STYLE OVERRIDES (calculadoras y formularios) ─────────────── */
@media (max-width: 767px) {
  /* Calculadora prestamos y inversionistas wrapper */
  #calculadora .wrap,
  section .wrap[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  /* Internal calc control rows */
  .wrap [style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  /* Contacto inversionistas wrap */
  #contacto-inversion .wrap,
  #contacto-prestamo .wrap {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  /* Catálogo oportunidades (minmax 340px) */
  div[style*="minmax(340px"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .destino-card { min-height: auto !important; }
}

/* ─── ADDED OVERRIDES v3 (SPECIFIC CUT-OFF PROBLEMS) ─────────────────── */

/* 1. Estructuramos soluciones de valor grid list items list */
@media (max-width: 767px) {
  .services-list-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

/* 2. Hide horizontal connection line for pipeline stepper */
@media (max-width: 1023px) {
  .pipeline-track {
    display: none !important;
  }
}

/* 3. Colocación Anual Histórica chart grid wrapper in nosotros.html */
@media (max-width: 767px) {
  div[style*="minmax(400px"] {
    grid-template-columns: 1fr !important;
    padding: 24px 16px !important;
    gap: 24px !important;
  }
  /* Chart bars adjustments for smaller screens */
  .chart-bar-container {
    width: 45% !important;
  }
}

/* ─── HIDE FEEDBACK WIDGET globally ──────────────────────────────────── */
.feedback-toggle-btn, .feedback-drawer, .feedback-modal-overlay, .feedback-toast {
  display: none !important;
}

