/* AMSD 2026: se carga DESPUÉS de style.css y solo en páginas corporativas.
   No sustituye los estilos de formularios, seguridad ni chatbot existentes. */
body.amsd-corporativo{--bg:#f5faff;--bg-2:#071d3b;--text:#0b2345;--muted:#45617c;--primary:#08a6e8;--primary-2:#0876c4;--line:rgba(10,49,88,.13);--card:#fff;--card-strong:#eef7ff;--shadow:0 25px 65px rgba(3,34,70,.14);background:#fff;color:#102845;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
body.amsd-corporativo p{color:#425d78}body.amsd-corporativo em{font-style:normal;color:#08a6e8}body.amsd-corporativo h1,body.amsd-corporativo h2,body.amsd-corporativo h3{letter-spacing:-.035em;line-height:1.13}body.amsd-corporativo h2{font-size:clamp(2.1rem,4.4vw,4rem)}body.amsd-corporativo .container{width:min(100% - 44px,1200px)}body.amsd-corporativo .site-shell{overflow:clip}body.amsd-corporativo .site-header{background:rgba(255,255,255,.96);border-color:#e2ebf4;backdrop-filter:blur(20px)}body.amsd-corporativo .navbar{min-height:83px}body.amsd-corporativo .nav-links{gap:clamp(9px,1.25vw,19px)}body.amsd-corporativo .nav-links a{color:#173250;font-size:.87rem}body.amsd-corporativo .nav-links a:hover,body.amsd-corporativo .nav-links a.active{color:#008ed3}body.amsd-corporativo .brand-header,body.amsd-corporativo .brand-header .brand-logo{max-width:154px!important;max-height:57px!important}body.amsd-corporativo .btn{background:#079ee3;border-color:#079ee3;box-shadow:0 10px 26px rgba(0,139,214,.16);color:#fff!important;font-weight:750}body.amsd-corporativo .btn:hover{background:#007dbd;border-color:#007dbd}body.amsd-corporativo .btn-secondary{background:transparent;color:inherit!important;border-color:currentColor;box-shadow:none}body.amsd-corporativo .nav-links .btn{color:#fff!important}body.amsd-corporativo .nav-toggle span{background:#0b294a}body.amsd-corporativo .site-footer{background:#071c38;color:#fff;padding-top:64px}body.amsd-corporativo .site-footer h3{color:#fff}body.amsd-corporativo .site-footer p,body.amsd-corporativo .site-footer a,body.amsd-corporativo .footer-bottom{color:#b9d0e6}body.amsd-corporativo .footer-grid{grid-template-columns:1.4fr .8fr 1fr}body.amsd-corporativo .footer-logo{max-height:64px;max-width:195px}body.amsd-corporativo .footer-brand{max-width:195px}body.amsd-corporativo .site-footer a:hover{color:#fff}body.amsd-corporativo .footer-bottom{border-color:rgba(255,255,255,.17)}
.amsd-kicker{display:inline-block;font-size:.77rem;font-weight:850;letter-spacing:.19em;text-transform:uppercase;color:#048ed5;margin-bottom:18px}.amsd-hero{min-height:min(780px,calc(100svh - 83px));position:relative;background:#081e3c;color:#fff;isolation:isolate;display:flex;align-items:stretch}.amsd-hero-media,.amsd-hero-shade{position:absolute;inset:0;z-index:-1}.amsd-hero-media img{width:100%;height:100%;object-fit:cover;object-position:center 52%}.amsd-hero-shade{background:linear-gradient(90deg,rgba(5,24,50,.96) 0%,rgba(5,25,53,.90) 33%,rgba(5,27,52,.50) 66%,rgba(6,26,51,.27) 100%)}.amsd-hero-inner{display:flex;flex-direction:column;justify-content:space-between;min-height:650px;padding-top:74px;padding-bottom:35px}.amsd-hero-copy{max-width:740px}.amsd-hero-brand{width:min(300px,50%);height:auto;background:rgba(255,255,255,.97);padding:12px 16px;border-radius:12px;margin-bottom:29px}.amsd-hero .amsd-kicker{color:#87d8ff}.amsd-hero h1{font-size:clamp(2.8rem,5.8vw,5.9rem);color:#fff;line-height:1.05;letter-spacing:-.055em}.amsd-hero h1 em{color:#3ebcff}.amsd-lead{font-size:clamp(1.08rem,1.6vw,1.36rem)!important;color:#e4f1ff!important;max-width:640px;line-height:1.62;margin-top:24px}.amsd-actions{display:flex;gap:13px;flex-wrap:wrap;margin-top:32px}.amsd-hero .btn-secondary,.amsd-closing .btn-secondary{color:#fff!important;border-color:rgba(255,255,255,.65);background:rgba(255,255,255,.08)}.amsd-hero-bottom{display:flex;justify-content:space-between;gap:20px;color:#b2d6ed;font-size:.69rem;font-weight:700;letter-spacing:.19em;text-transform:uppercase;border-top:1px solid rgba(255,255,255,.24);padding-top:18px}
.amsd-section{padding:110px 0}.amsd-section-intro{max-width:720px;font-size:1.12rem}.amsd-split{display:grid;grid-template-columns:1.03fr .97fr;align-items:center;gap:clamp(35px,5vw,85px)}.amsd-copy p{font-size:1.09rem;line-height:1.8}.amsd-picture{overflow:hidden;border-radius:24px;box-shadow:var(--shadow);min-height:350px}.amsd-picture img{width:100%;height:100%;min-height:350px;object-fit:cover}.amsd-text-link{color:#038bd1;font-weight:800;display:inline-flex;align-items:center;gap:12px;border-bottom:2px solid #08a6e8;padding-bottom:7px;margin-top:14px}.amsd-values{margin-top:58px;display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #dfebf4;padding-top:35px;gap:30px}.amsd-values article{border-left:2px solid #c7eaff;padding-left:20px}.amsd-value-num{font-weight:900;color:#079ee3;font-size:1.35rem}.amsd-values h3{font-size:1.17rem;margin:9px 0}.amsd-values p{margin:0}.amsd-lines{background:linear-gradient(135deg,#edf7ff,#fff 63%)}.amsd-line-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:40px}.amsd-line-card{display:flex;flex-direction:column;min-height:308px;padding:30px;border:1px solid #dae8f4;border-radius:23px;background:#fff;box-shadow:0 12px 34px rgba(15,52,83,.05);transition:transform .2s ease,box-shadow .2s ease;color:#0d2847}.amsd-line-card:hover{transform:translateY(-5px);box-shadow:0 20px 42px rgba(15,52,83,.13)}.amsd-line-card>span{font-size:.76rem;text-transform:uppercase;letter-spacing:.15em;font-weight:800;color:#079ee3}.amsd-line-card h3{font-size:clamp(1.6rem,2.2vw,2.15rem);margin:25px 0 10px}.amsd-line-card img{width:auto;max-height:67px;max-width:210px;object-fit:contain;object-position:left center;margin:20px 0 17px}.amsd-line-card p{flex:1;line-height:1.65}.amsd-line-card b{font-size:.89rem;color:#058bd0}.amsd-feature{padding:100px 0;scroll-margin-top:85px}.amsd-feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(35px,5vw,80px);align-items:center}.amsd-feature-text p{font-size:1.12rem;line-height:1.75;margin:25px 0}.amsd-feature-photo{overflow:hidden;border-radius:25px;box-shadow:0 30px 75px rgba(0,26,58,.19);height:500px}.amsd-feature-photo img{width:100%;height:100%;object-fit:cover}.amsd-chip-list{display:flex;flex-wrap:wrap;gap:9px;margin:25px 0 32px}.amsd-chip-list span{border:1px solid #cde4f4;background:#f2f9fe;color:#164568;border-radius:99px;padding:9px 14px;font-size:.83rem;font-weight:700}.amsd-feature-sport{background:#061a34;color:#fff}.amsd-feature-sport .amsd-feature-text p{color:#d5e9f5}.amsd-feature-sport .amsd-kicker{color:#80d6fb}.amsd-feature-sport .amsd-chip-list span{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.18);color:#eaf6ff}.amsd-line-logo{max-width:250px;max-height:110px;object-fit:contain;object-position:left center;margin:0 0 22px}.amsd-tarna-logo{max-width:250px;max-height:70px}.amsd-feature-tarna{background:#f1f8ff}.amsd-feature-tarna .amsd-feature-photo{order:-1}.amsd-method{background:#fff}.amsd-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:15px;margin-top:45px}.amsd-steps>div{border-top:3px solid #0a9fe6;background:#f3f9ff;padding:23px 19px 17px;border-radius:0 0 14px 14px}.amsd-steps b{font-size:1.55rem;color:#079ee3}.amsd-steps h3{margin:15px 0 8px}.amsd-steps p{font-size:.92rem;line-height:1.55}.amsd-closing{position:relative;isolation:isolate;background:#061b38;color:#fff;overflow:hidden;min-height:510px;display:flex;align-items:center;padding:90px 0}.amsd-closing>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.amsd-closing:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,24,49,.96),rgba(5,31,57,.79));z-index:-1}.amsd-closing-content{max-width:1200px}.amsd-closing-content h2{max-width:870px;color:#fff}.amsd-closing-content p{color:#d6e8f6;font-size:1.12rem;max-width:720px}.amsd-closing .amsd-kicker{color:#8cd9fd}body.amsd-corporativo .reveal:not(.visible){opacity:1;transform:none}/* Content never disappears if an old reveal script fails. */
/* Preserve the existing chatbot visual treatments; only supply legibility where old global rules conflict. */
body.amsd-corporativo .amsd-chatbot-window{color:#111827}body.amsd-corporativo .amsd-message.bot{color:#111827!important}body.amsd-corporativo .amsd-message.user{color:#071827!important}body.amsd-corporativo .amsd-chatbot-form input{background:#fff!important;color:#111827!important}body.amsd-corporativo .amsd-chatbot-form input::placeholder{color:#64748b}body.amsd-corporativo .amsd-chatbot-form button{color:#071827!important}body.amsd-corporativo .amsd-chatbot-footer{color:#374151}body.amsd-corporativo .amsd-chatbot-footer a{color:#086aab}
/* Keep generic page layouts compatible when these overrides are loaded by servicios.php. */
.amsd-services-hero{padding:90px 0;background:linear-gradient(115deg,#08213f,#0b4980);color:white}.amsd-services-hero .amsd-kicker{color:#9ce0fc}.amsd-services-hero h1{color:white;max-width:950px}.amsd-services-hero p{color:#e0effc!important;max-width:760px;font-size:1.2rem}.amsd-service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.amsd-service-grid .card{border:1px solid #d6e8f6;background:#fff;box-shadow:0 12px 35px rgba(11,54,94,.06)}.amsd-service-grid .card h3{margin:9px 0 11px}.amsd-service-grid .card p{line-height:1.6}.amsd-service-grid .icon{background:#e7f7ff;color:#0a84bf}.amsd-services-method{background:#eff8ff}.amsd-services-method .band{background:#fff;border:1px solid #d6e8f6}.amsd-services-method .canvas-item{background:#f4faff;border-color:#d7eaf8}.amsd-services-method .canvas-item strong{color:#078bd0}
@media(max-width:1050px){body.amsd-corporativo .nav-links{gap:10px}body.amsd-corporativo .nav-links a{font-size:.8rem}body.amsd-corporativo .brand-header,body.amsd-corporativo .brand-header .brand-logo{max-width:125px!important}}
@media(max-width:860px){body.amsd-corporativo .nav-links{background:#fff;box-shadow:0 24px 45px rgba(4,34,66,.13);border-color:#dfecf6;top:78px}body.amsd-corporativo .nav-links a{font-size:.96rem}body.amsd-corporativo .footer-grid{grid-template-columns:1fr}.amsd-split,.amsd-feature-grid{grid-template-columns:1fr}.amsd-values{grid-template-columns:repeat(2,1fr)}.amsd-line-grid{grid-template-columns:1fr}.amsd-line-card{min-height:210px}.amsd-feature-tarna .amsd-feature-photo{order:initial}.amsd-steps{grid-template-columns:repeat(2,1fr)}.amsd-service-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){body.amsd-corporativo .container{width:min(100% - 34px,1200px)}body.amsd-corporativo .brand-header,body.amsd-corporativo .brand-header .brand-logo{max-width:133px!important;max-height:46px!important}.amsd-hero{min-height:730px}.amsd-hero-media img{object-position:center 59%}.amsd-hero-shade{background:linear-gradient(180deg,rgba(3,19,42,.95) 0%,rgba(4,22,45,.84) 53%,rgba(4,24,49,.31) 82%,rgba(4,23,47,.67))}.amsd-hero-inner{min-height:730px;padding-top:54px;padding-bottom:26px}.amsd-hero-brand{width:235px;max-width:68%;margin-bottom:22px}.amsd-hero h1{font-size:clamp(2.2rem,9.1vw,3.55rem)}.amsd-lead{font-size:1rem!important}.amsd-actions{gap:10px}.amsd-actions .btn{width:100%;text-align:center}.amsd-hero-bottom{font-size:.58rem;line-height:1.6}.amsd-hero-bottom span:last-child{display:none}.amsd-section{padding:68px 0}.amsd-section h2,.amsd-feature h2,.amsd-closing h2{font-size:clamp(2rem,9vw,3rem)}.amsd-values{gap:20px;margin-top:37px}.amsd-values article{padding-left:12px}.amsd-feature{padding:68px 0}.amsd-feature-photo{height:370px}.amsd-feature-text p{font-size:1rem}.amsd-steps{grid-template-columns:1fr}.amsd-service-grid{grid-template-columns:1fr}.amsd-services-hero{padding:70px 0}.amsd-closing{padding:68px 0;min-height:440px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
