:root{
  --navy:#06113a;
  --blue:#0b63d9;
  --blue-2:#008bff;
  --blue-soft:#eef7ff;
  --gold:#b96b13;
  --gold-2:#d6973e;
  --gold-soft:#fff8ee;
  --text:#0a1435;
  --muted:#52627d;
  --line:#dbe5f0;
  --bg:#f8fbff;
  --white:#fff;
  --shadow:0 18px 45px rgba(19,47,82,.10);
  --radius:28px;
  --max:1460px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color:var(--text);
  background:linear-gradient(180deg,#fff 0%,#fbfdff 58%,#fff 100%);
  line-height:1.5;
}
body.menu-open{overflow:hidden}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,input,textarea,select{font:inherit}

.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(219,229,240,.75);
}
.header-inner{
  max-width:var(--max);margin:0 auto;min-height:70px;padding:7px 30px;
  display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;
}
.nav-left,.nav-right{display:flex;align-items:center;gap:50px;font-weight:600;color:#09246d}
.nav-right{justify-content:flex-end}
.nav-link{position:relative;padding:10px 0}
.nav-link::after{content:"";position:absolute;left:0;right:100%;bottom:3px;height:2px;background:var(--blue);transition:.22s ease}
.nav-link:hover::after,.nav-link[aria-current="page"]::after{right:0}
.brand{display:block;width:255px;max-width:30vw}
.brand img{width:100%;height:auto}
.mobile-toggle{display:none;border:0;background:transparent;width:44px;height:44px;align-items:center;justify-content:center;cursor:pointer;color:var(--navy)}
.mobile-toggle svg{width:28px;height:28px}
.mobile-menu{display:none}

.home-main{position:relative;overflow:hidden}
.home-main::before,.home-main::after{content:"";position:absolute;pointer-events:none;border-radius:50%;filter:blur(.1px);z-index:-1}
.home-main::before{width:680px;height:680px;left:-340px;top:30px;background:radial-gradient(circle at center,rgba(0,139,255,.13),rgba(0,139,255,.025) 58%,transparent 72%)}
.home-main::after{width:650px;height:650px;right:-320px;top:38px;background:radial-gradient(circle at center,rgba(214,151,62,.13),rgba(214,151,62,.025) 58%,transparent 72%)}
.hero{
  max-width:var(--max);margin:0 auto;padding:30px 30px 10px;position:relative;
}
.hero-copy{text-align:center;max-width:860px;margin:0 auto 20px}
.hero h1{font-size:clamp(38px,4vw,62px);line-height:1.02;margin:0 0 8px;letter-spacing:-.045em;color:#050d31}
.hero-sub{font-size:clamp(18px,1.65vw,26px);margin:0;color:#2b56a2;font-weight:500}
.decor-note{position:absolute;top:52px;font-size:15px;line-height:1.55;letter-spacing:.24em;text-transform:uppercase;font-weight:500}
.decor-note.left{left:34px;color:#2e62b5}
.decor-note.right{right:34px;color:#b16b27;text-align:right}
.decor-note.right::after{content:"✈";display:block;font-size:28px;letter-spacing:0;margin-top:2px}

.cards-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:12px}
.service-card{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);border:1px solid rgba(219,229,240,.86);background:#fff;transition:transform .25s ease,box-shadow .25s ease}
.service-card:hover{transform:translateY(-3px);box-shadow:0 23px 60px rgba(19,47,82,.14)}
.card-media{height:clamp(220px,27vh,255px);overflow:hidden;position:relative;background:#eef5fb}
.card-media img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.service-card:hover .card-media img{transform:scale(1.018)}
.card-body{position:relative;display:grid;grid-template-columns:78px 1fr;gap:16px;align-items:start;padding:20px 26px 16px;min-height:180px;overflow:hidden}
.card-tech .card-body{background:linear-gradient(135deg,#fff 0%,#f8fcff 57%,#eaf6ff 100%)}
.card-foreign .card-body{background:linear-gradient(135deg,#fff 0%,#fffaf3 57%,#fff3df 100%)}
.card-body::after{content:"";position:absolute;width:430px;height:180px;border-radius:50%;right:-115px;bottom:-105px;opacity:.7;pointer-events:none}
.card-tech .card-body::after{background:#dff2ff}
.card-foreign .card-body::after{background:#ffe9c9}
.icon-circle{width:70px;height:70px;border-radius:50%;background:rgba(255,255,255,.93);display:flex;align-items:center;justify-content:center;box-shadow:0 9px 30px rgba(28,59,92,.09);position:relative;z-index:1}
.icon-circle svg{width:39px;height:39px;fill:none;stroke-width:2.1}
.card-tech .icon-circle svg{stroke:#087be4}
.card-foreign .icon-circle svg{stroke:#ce8b34}
.card-content{position:relative;z-index:1;min-width:0}
.card-content h2{font-size:34px;line-height:1.05;margin:1px 0 6px;letter-spacing:-.025em}
.card-content p{font-size:18px;line-height:1.2;color:#315ca1;margin:0;max-width:490px}
.card-bottom{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;margin-top:12px;position:relative;z-index:2}
.entry-button{min-height:42px;border-radius:999px;padding:8px 22px;display:flex;align-items:center;justify-content:center;gap:12px;color:#fff;font-size:16px;font-weight:500;white-space:nowrap;transition:filter .2s ease,transform .2s ease}
.entry-button:hover{filter:brightness(1.05);transform:translateY(-1px)}
.entry-button .arrow{font-size:23px;line-height:0;margin-left:auto}
.card-tech .entry-button{background:linear-gradient(90deg,#0b58d5,#078ae8)}
.card-foreign .entry-button{background:linear-gradient(90deg,#b7640a,#ce8d31)}
.card-tagline{padding-left:18px;border-left:1px solid currentColor;font-size:11px;line-height:1.5;letter-spacing:.22em;text-transform:uppercase;max-width:270px}
.card-tech .card-tagline{color:#5c86bd}
.card-foreign .card-tagline{color:#b87836}

.trust-footer{max-width:var(--max);margin:10px auto 0;padding:0 30px 14px;display:grid;grid-template-columns:1.75fr 1fr;gap:32px;align-items:center}
.trust-items{display:grid;grid-template-columns:repeat(4,1fr)}
.trust-item{display:flex;align-items:center;gap:9px;color:#153f86;padding:4px 15px;border-right:1px solid #cbd9e9;min-height:44px}
.trust-item:first-child{padding-left:0}.trust-item:last-child{border-right:0}
.trust-item svg{width:27px;height:27px;fill:none;stroke:#0b3f98;stroke-width:1.8;flex:0 0 auto}
.trust-item span{font-size:13px;white-space:nowrap}
.legal-links{display:flex;align-items:center;justify-content:flex-end;gap:13px;color:#5270a4;font-size:12px;white-space:nowrap}
.legal-links a:hover{color:#0b63d9}
.legal-links .sep{color:#bac9db}
.social-icon{display:inline-flex;width:30px;height:30px;align-items:center;justify-content:center;margin-left:8px;color:#083d92}
.social-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8}

/* Interior pages */
.page-hero{max-width:1180px;margin:0 auto;padding:72px 28px 38px;text-align:center}
.page-kicker{font-size:14px;letter-spacing:.18em;text-transform:uppercase;color:var(--blue);font-weight:700;margin-bottom:14px}
.page-hero h1{font-size:clamp(40px,5vw,68px);line-height:1.06;margin:0 0 18px;letter-spacing:-.04em}
.page-hero p{font-size:20px;color:var(--muted);margin:0 auto;max-width:820px}
.page-wrap{max-width:1180px;margin:0 auto;padding:0 28px 76px}
.content-card{background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 12px 36px rgba(18,48,82,.07);padding:34px;margin:22px 0}
.content-card h2{font-size:30px;margin:0 0 10px}
.content-card h3{font-size:21px;margin:28px 0 8px}
.content-card p{color:var(--muted);font-size:17px}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.placeholder-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:22px}
.placeholder-box{border:1px dashed #b7c8dc;border-radius:18px;padding:24px;background:#fbfdff;min-height:160px}
.placeholder-box strong{display:block;margin-bottom:8px;color:#143b7d}
.placeholder-box p{margin:0;font-size:15px}
.section-topbar{max-width:1180px;margin:22px auto 0;padding:0 28px;display:flex;justify-content:flex-end;align-items:center;gap:10px}
.lang-label{color:#6a7890;font-size:14px}
.lang-switch{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.lang-btn{border:1px solid #bfd0e3;background:#fff;color:#214a89;padding:8px 12px;border-radius:999px;cursor:pointer;font-size:14px;transition:.2s ease}
.lang-btn:hover,.lang-btn.active{background:#0b63d9;color:#fff;border-color:#0b63d9}
.lang-btn.gold:hover,.lang-btn.gold.active{background:#b96b13;border-color:#b96b13;color:#fff}
.notice{border-left:4px solid #0b63d9;background:#eef6ff;padding:16px 18px;border-radius:0 14px 14px 0;color:#39506e}
.notice.gold{border-left-color:#b96b13;background:#fff7eb}
.page-footer{border-top:1px solid var(--line);background:#fff}
.page-footer-inner{max-width:1180px;margin:0 auto;padding:26px 28px;display:flex;align-items:center;justify-content:space-between;gap:24px;color:#60718a;font-size:14px}
.page-footer-links{display:flex;gap:20px;flex-wrap:wrap}
.back-home{display:inline-flex;align-items:center;gap:8px;color:#0b63d9;font-weight:600}

.contact-form{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.contact-form .full{grid-column:1/-1}
.form-field label{display:block;font-size:14px;font-weight:700;margin:0 0 6px;color:#273b5d}
.form-field input,.form-field textarea,.form-field select{width:100%;border:1px solid #c8d6e6;border-radius:12px;padding:12px 14px;background:#fff;color:#182640;outline:none;transition:border-color .2s,box-shadow .2s}
.form-field input:focus,.form-field textarea:focus,.form-field select:focus{border-color:#0b63d9;box-shadow:0 0 0 3px rgba(11,99,217,.10)}
.form-field textarea{min-height:150px;resize:vertical}
.primary-btn{border:0;border-radius:999px;background:#0b63d9;color:#fff;padding:12px 24px;font-weight:700;cursor:pointer}
.status-message{margin-top:12px;font-size:14px;color:#5d6f88}

@media (min-width:1181px) and (max-height:820px){
  .header-inner{min-height:64px}
  .brand{width:235px}
  .hero{padding-top:20px}
  .hero-copy{margin-bottom:14px}
  .hero h1{font-size:50px}
  .hero-sub{font-size:21px}
  .decor-note{top:38px;font-size:13px}
  .cards-grid{margin-top:8px}
  .card-media{height:210px}
  .card-body{padding:16px 22px 13px;min-height:164px}
  .icon-circle{width:62px;height:62px}
  .icon-circle svg{width:35px;height:35px}
  .card-content h2{font-size:30px}
  .card-content p{font-size:16px}
  .card-bottom{margin-top:9px}
  .entry-button{min-height:38px;padding:6px 18px;font-size:14px}
  .card-tagline{font-size:10px}
  .trust-footer{margin-top:6px;padding-bottom:8px}
  .trust-item{min-height:38px}
}

@media (max-width:1180px){
  .header-inner{grid-template-columns:auto 1fr auto}.brand{width:250px;max-width:34vw}.nav-left,.nav-right{gap:24px}
  .decor-note{display:none}
  .hero{padding-top:44px}
  .card-media{height:265px}.card-body{grid-template-columns:78px 1fr;padding:24px}.icon-circle{width:72px;height:72px}.icon-circle svg{width:40px;height:40px}
  .card-content h2{font-size:34px}.card-content p{font-size:19px}
  .card-bottom{grid-template-columns:1fr}.card-tagline{display:none}
  .trust-footer{grid-template-columns:1fr}.legal-links{justify-content:center}.trust-items{grid-template-columns:repeat(2,1fr)}.trust-item:nth-child(2){border-right:0}.trust-item:nth-child(-n+2){border-bottom:1px solid #e2e9f2}
}

@media (max-width:820px){
  .header-inner{display:flex;justify-content:space-between;min-height:70px;padding:8px 18px}.brand{width:220px;max-width:58vw}.nav-left,.nav-right{display:none}.mobile-toggle{display:flex}
  .mobile-menu{position:fixed;top:70px;left:0;right:0;bottom:0;background:rgba(255,255,255,.98);padding:24px;z-index:45}.mobile-menu.open{display:block}.mobile-menu a{display:block;padding:16px 4px;border-bottom:1px solid #e5edf5;color:#0b2d72;font-weight:700;font-size:19px}
  .hero{padding:38px 18px 12px}.hero-copy{margin-bottom:22px}.hero h1{font-size:clamp(40px,10vw,58px)}.hero-sub{font-size:20px}
  .cards-grid{grid-template-columns:1fr;gap:20px}.card-media{height:260px}.card-body{min-height:0}
  .entry-button{font-size:16px;padding:11px 19px;white-space:normal;text-align:center}.entry-button .arrow{font-size:24px}
  .trust-footer{padding:0 18px 24px}.trust-items{grid-template-columns:1fr}.trust-item,.trust-item:nth-child(2){border-right:0;border-bottom:1px solid #e2e9f2;padding-left:0}.trust-item:last-child{border-bottom:0}.trust-item span{white-space:normal}
  .legal-links{flex-wrap:wrap;gap:10px 13px}
  .two-col,.placeholder-grid{grid-template-columns:1fr}.contact-form{grid-template-columns:1fr}.contact-form .full{grid-column:auto}
  .page-footer-inner{flex-direction:column;align-items:flex-start}
}

@media (max-width:520px){
  .brand{width:185px}.hero h1{font-size:42px}.card-media{height:210px}.card-body{grid-template-columns:62px 1fr;gap:14px;padding:20px 18px 18px}.icon-circle{width:60px;height:60px}.icon-circle svg{width:33px;height:33px}.card-content h2{font-size:30px}.card-content p{font-size:17px}.card-bottom{margin-top:14px}.entry-button{font-size:15px}
}

/* Ajuste dinámico de escritorio: aprovecha mejor monitores grandes sin tocar móvil/tablet */
@media (min-width:1181px){
  .header-inner,
  .hero,
  .trust-footer{
    width:94vw;
    max-width:1680px;
  }

  .header-inner{
    min-height:clamp(70px,7.2vh,88px);
    padding:7px 0;
  }
  .brand{
    width:clamp(255px,18vw,330px);
    max-width:none;
  }
  .nav-left,.nav-right{gap:clamp(42px,3vw,64px)}

  .hero{
    padding:clamp(24px,3.2vh,40px) 0 clamp(10px,1.4vh,16px);
  }
  .hero-copy{
    max-width:980px;
    margin-bottom:clamp(18px,2.2vh,26px);
  }
  .hero h1{
    font-size:clamp(52px,4vw,72px);
  }
  .hero-sub{
    font-size:clamp(21px,1.55vw,28px);
  }
  .decor-note{
    top:clamp(46px,5.8vh,68px);
    font-size:clamp(14px,.95vw,17px);
  }
  .decor-note.left{left:4px}
  .decor-note.right{right:4px}

  .cards-grid{
    gap:clamp(22px,1.6vw,30px);
    margin-top:clamp(10px,1.3vh,16px);
  }
  .card-media{
    height:clamp(235px,29vh,320px);
  }
  .card-body{
    grid-template-columns:clamp(68px,4.8vw,82px) 1fr;
    gap:clamp(14px,1.1vw,18px);
    padding:clamp(18px,2.1vh,24px) clamp(22px,1.8vw,30px) clamp(14px,1.7vh,18px);
    min-height:clamp(176px,20vh,215px);
  }
  .icon-circle{
    width:clamp(64px,4.6vw,78px);
    height:clamp(64px,4.6vw,78px);
  }
  .icon-circle svg{
    width:clamp(35px,2.5vw,42px);
    height:clamp(35px,2.5vw,42px);
  }
  .card-content h2{
    font-size:clamp(32px,2.2vw,39px);
  }
  .card-content p{
    font-size:clamp(16px,1.15vw,20px);
  }
  .card-bottom{
    margin-top:clamp(10px,1.4vh,15px);
  }
  .entry-button{
    min-height:clamp(40px,4.5vh,46px);
    padding:7px clamp(18px,1.5vw,24px);
    font-size:clamp(14px,.95vw,16px);
  }
  .card-tagline{
    font-size:clamp(10px,.72vw,12px);
  }

  .trust-footer{
    margin:clamp(10px,1.5vh,16px) auto 0;
    padding:0 0 clamp(10px,1.5vh,18px);
  }
  .trust-item{
    min-height:clamp(40px,4.8vh,48px);
  }
  .trust-item span{
    font-size:clamp(12px,.82vw,14px);
  }
  .legal-links{
    font-size:clamp(11px,.75vw,13px);
  }
}
