:root{--ink:#080e29;--blue:#0098e5;--yellow:#ffda00;--navy:#0a1d42;--line:#d6dce7}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.4}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #008bd4;outline-offset:4px}img{display:block;max-width:100%;height:auto}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.06;letter-spacing:-.035em}h1{font-size:clamp(36px,4.1vw,60px);font-weight:900}h1 span{display:block;color:var(--blue);font-size:.67em;margin-top:8px}h2{font-size:clamp(27px,3vw,39px);font-weight:900}h3{font-size:21px}p{margin-top:12px}.container{width:min(1200px,calc(100% - 64px));margin-inline:auto}.section{padding-block:80px}.header{background:white}.header-inner{display:flex;align-items:center;gap:22px;min-height:100px}.logo{width:218px;border-radius:9px}.header nav{display:flex;gap:25px;align-items:center;font-size:14px;font-weight:700;margin-left:auto}.header nav a{padding:10px 0}.header nav a:hover{box-shadow:0 3px var(--yellow)}.billing{font-size:11px;border-left:1px solid var(--line);padding-left:20px;max-width:190px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--yellow);border:1px solid var(--yellow);border-radius:7px;padding:12px 20px;font-weight:800;color:var(--ink);cursor:pointer;line-height:1.2;transition:transform .2s,box-shadow .2s}.button:hover{transform:translateY(-2px);box-shadow:0 5px 15px #08152b20}.header .button{font-size:13px;padding:11px 14px;white-space:nowrap}.hero{position:relative;padding-block:45px 30px;background:linear-gradient(110deg,#fff 40%,#f0f2f6)}.hero-grid{display:grid;grid-template-columns:1fr 1.15fr;align-items:center;gap:20px}.hero p{max-width:360px;font-size:19px}.hero img{width:100%;border-radius:10px}.actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:24px}.outline{background:white;border-color:var(--blue)}.benefits{display:grid;grid-template-columns:repeat(3,1fr);background:#f1f3f7;border-radius:10px;padding:15px 20px;margin-top:28px;text-align:center}.benefits span+span{border-left:1px solid #b9c5d9}.about{display:grid;grid-template-columns:1fr 1.04fr;gap:32px;align-items:center}.about-image{position:relative}.about-image img{border-radius:12px;width:100%}.years{position:absolute;top:-15px;left:30px;background:var(--yellow);border:3px solid white;border-radius:35% 25%;padding:12px 22px;transform:rotate(-7deg);line-height:1;text-align:center}.years b{font-size:33px}.values{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:30px}.values>div+div{border-left:1px solid #bdc9dd;padding-left:18px}.values h3{font-size:20px}.values h3:first-letter{color:#0061ff}.values p{font-size:14px;margin-top:8px}.services{padding-top:0}.lined{display:flex;justify-content:center;align-items:center;gap:25px;text-align:center}.lined:before,.lined:after{content:'';width:90px;height:3px;background:var(--yellow);flex-shrink:0}.subtitle{text-align:center;color:#3e4966;font-size:20px;margin:12px 0 45px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.card{border:1px solid #dde0e6;border-radius:13px;overflow:hidden;box-shadow:0 3px 3px #15264a1c;background:linear-gradient(white,#fbfcff);transition:transform .22s,box-shadow .22s;display:flex;flex-direction:column}.card:hover{transform:translateY(-4px);box-shadow:0 9px 20px #15264a19}.card>img{width:100%;height:auto;aspect-ratio:4 / 3;object-fit:cover;flex-shrink:0}.card-body{padding:17px;flex:1;display:flex;flex-direction:column;align-items:flex-start}.card p{font-size:15px;margin-top:6px;margin-bottom:10px}.text-link{color:#0049ef;font-weight:800;font-size:14px;margin-top:auto}.other-title{font-size:31px;margin:76px 0 42px}.other-cards{row-gap:28px}.other-cards h3{font-size:20px}.idea{border-color:var(--yellow);background:linear-gradient(120deg,#fff8cf,white);justify-content:center}.idea .card-body{padding:24px}.idea-icon{font-size:32px}.idea .button{margin-top:15px}.web{background:linear-gradient(110deg,#091a3a,#102d59);color:white;position:relative;overflow:hidden;padding-block:40px}.web:before,.web:after{content:'';position:absolute;right:0;top:0;width:140px;height:70px;background:var(--yellow);clip-path:polygon(0 0,100% 0,100% 100%)}.web:after{top:auto;bottom:0;background:#f8004b;transform:scaleY(-1)}.web-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}.web p{max-width:475px;margin-bottom:20px}.web img{width:100%;max-height:260px;object-fit:contain}.contact-grid{display:grid;grid-template-columns:.85fr 1.2fr;gap:38px;margin-top:30px}.contact-details{padding-right:30px;border-right:1px solid #bdc9dd}.contact-details p{line-height:1.7}.map-link{display:block;background:#f0f4fa;border:1px solid var(--line);padding:30px 20px;margin-top:25px;border-radius:10px;color:#0056a4;font-weight:700}.quote-form{border:1px solid #bdc9dd;border-radius:12px;padding:20px;display:grid;gap:15px;min-width:0}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}label{display:grid;gap:6px;font-weight:700;font-size:14px;min-width:0}label span{color:#c52020}label small{font-weight:400}input,select,textarea{width:100%;min-width:0;border:1px solid #b9c5d9;border-radius:5px;padding:10px;color:var(--ink);background:white}textarea{resize:vertical}.quote-form .button{justify-self:center;min-width:65%}.form-note{font-size:12px;color:#536077;text-align:center;margin:0}.footer{padding:55px 0 20px;background:linear-gradient(110deg,#0b1b3a,#102b50);color:white}.footer-grid{display:grid;grid-template-columns:1.2fr .8fr .9fr 1.2fr;gap:40px}.footer-grid>div+div{border-left:1px solid #8a9bb6;padding-left:35px}.footer-logo{width:240px}.footer h2{font-size:20px;margin-bottom:14px;letter-spacing:0}.footer a:not(:has(img)){display:block;font-size:14px;margin-top:5px}.footer p{font-size:14px}.footer strong{color:var(--yellow)}.copyright{text-align:center;border-top:2px solid var(--yellow);padding-top:20px;margin-top:32px;font-size:14px}.floating{position:fixed;right:22px;bottom:22px;background:#00b843;color:white;border:3px solid white;border-radius:50%;width:56px;height:56px;display:grid;place-items:center;box-shadow:0 3px 12px #0003;font-size:34px;z-index:10}.skip{position:fixed;left:10px;top:-80px;background:var(--yellow);padding:12px;z-index:30}.skip:focus{top:10px}dialog{width:min(440px,calc(100% - 32px));max-height:90dvh;border:0;border-radius:15px;padding:28px;color:var(--ink);box-shadow:0 20px 90px #0005}dialog::backdrop{background:#07142c99}dialog h2{font-size:28px;padding-right:15px}dialog>p{font-size:14px;margin-bottom:20px}dialog .quote-form{border:0;padding:0}.close{position:absolute;right:10px;top:7px;font-size:30px;background:transparent;border:0;cursor:pointer;padding:4px 10px}.menu-toggle{background:white;border:1px solid var(--line);border-radius:5px;padding:10px}.reveal{animation:arrive .55s ease-out both}@keyframes arrive{from{opacity:.3;transform:translateY(15px)}to{opacity:1;transform:none}}@media(min-width:1500px){.hero{padding-block:60px}}@media(max-width:1100px){.header-inner{flex-wrap:wrap;padding-block:16px;gap:15px}.logo{width:180px}.header nav{gap:18px}.billing{margin-left:auto}.header .button{margin-left:0}.hero-grid{grid-template-columns:1fr 1fr}.footer-grid{gap:20px}.footer-grid>div+div{padding-left:20px}}@media(max-width:760px){.container{width:calc(100% - 36px)}.section{padding-block:44px}.header-inner{gap:12px}.logo{width:165px}.menu-toggle:not([hidden]){display:block;margin-left:auto}.header nav{order:4;width:100%;justify-content:space-between;margin:0;gap:8px}.header nav[data-collapsed=true]{display:none}.billing{font-size:10px;max-width:none;border:0;padding:0;margin:0}.header .button{margin-left:auto;font-size:12px}.hero{padding-top:28px}.hero-grid{grid-template-columns:1fr;gap:26px}.hero h1{font-size:40px}.hero p{font-size:17px}.hero img{max-height:300px;object-fit:cover}.benefits{font-size:12px;gap:8px;padding:14px 8px;margin-top:20px}.benefits span{padding:0 5px}.about{grid-template-columns:1fr;gap:30px}.values{gap:12px}.values>div+div{padding-left:12px}.values h3{font-size:18px}.values p{font-size:13px}.lined{gap:12px}.lined:before,.lined:after{width:25px}.subtitle{font-size:17px;margin-bottom:28px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.card-body{padding:14px}.card h3{font-size:20px}.other-title{font-size:26px;margin:44px 0 28px}.web-grid{grid-template-columns:1fr;gap:25px}.web h2{max-width:90%}.web img{max-height:220px}.contact-grid{grid-template-columns:1fr;gap:28px}.contact-details{padding:0;border:0}.footer-grid{grid-template-columns:1fr 1fr;gap:30px}.footer-grid>div+div{border:0;padding:0}.footer{padding-block:44px 24px}.footer-logo{width:200px}.copyright{padding-bottom:35px}.services{padding-top:20px}}@media(max-width:440px){.cards{grid-template-columns:1fr}.form-row{grid-template-columns:1fr}.quote-form{padding:16px}.hero h1{font-size:35px}.actions{gap:10px}.actions .button{padding:12px 14px;font-size:14px}.footer-grid{gap:25px 18px}.footer a:not(:has(img)){overflow-wrap:anywhere}.lined:before,.lined:after{width:15px}.lined{gap:8px}.floating{right:14px;bottom:14px}.values{grid-template-columns:1fr}.values>div+div{border:0;padding:0}.values p{font-size:14px}.values h3{font-size:20px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
.menu-toggle{display:none}@media(max-width:760px){.menu-toggle:not([hidden]){display:block}}
/* Fotografías provisionales: se conserva la geometría de los espacios existentes. */
.hero-grid>img,.about-image>img{aspect-ratio:5/3;object-fit:cover}
.card>img{object-position:center}
.idea{position:relative;isolation:isolate}
.other-cards .idea>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.1;z-index:-1;pointer-events:none}
/* Hero: rostro y rodillos visibles dentro del espacio existente. */
.hero-grid>img{object-fit:cover;object-position:50% 20%}
@media(max-width:760px){.hero-grid>img{object-position:50% 0%}}

/* Encabezado completo y navegación: sin cambios fuera de esta barra. */
html{scroll-padding-top:calc(var(--header-height,100px) + 16px)}
.header-sentinel{position:absolute;top:0;left:0;width:1px;height:1px;pointer-events:none}
.header{position:sticky;top:0;z-index:20;background:#fff;transition:box-shadow .2s ease}
.header.is-scrolled{box-shadow:0 5px 22px #08152b16}
.header-inner{gap:20px}
.header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;gap:12px;width:452px;max-width:100%;flex-shrink:0}
.header .billing{display:inline-flex;align-items:center;justify-content:center;gap:8px;max-width:218px;margin:0;padding:11px 14px;border:0;border-radius:7px;background:var(--blue);color:#fff;font-size:12px;font-weight:700;line-height:1.25;transition:transform .2s ease,box-shadow .2s ease}
.header .header-actions>a{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;height:50px;min-width:0;max-width:none;flex:1 1 0;margin:0;padding:12px 14px;border:1px solid transparent;border-radius:7px;font-size:14px;font-weight:700;line-height:1.2;white-space:nowrap;text-align:center}
.billing svg{flex-shrink:0}
.header .billing:hover,.header .billing:focus-visible{transform:translateY(-2px);box-shadow:0 5px 14px #0098e533}
.header nav{position:relative;flex-shrink:0}
.header nav a:hover{box-shadow:none}
.header nav a[aria-current="location"]{color:var(--ink)}
.nav-indicator{display:none;position:absolute;left:0;bottom:2px;height:3px;border-radius:4px;background:var(--yellow);pointer-events:none}
.header nav[data-indicator-ready="true"] .nav-indicator{display:block}
@media(max-width:1100px) and (min-width:761px){
 .header-inner{gap:16px}
 .header-actions{margin-left:auto}
}
@media(max-width:760px){
 html{scroll-padding-top:calc(var(--header-height,150px) + 12px)}
 .header-inner{gap:12px}
 .header-actions{width:100%;gap:12px}
 .header .header-actions>a{height:50px;padding:10px 8px;gap:6px;font-size:12px;white-space:normal}
 .header nav{flex-wrap:wrap;gap:6px 12px;justify-content:space-between;max-width:100%}
 .header nav a{font-size:13px;padding:10px 0;white-space:nowrap}
 .header nav[data-indicator-ready="true"] .nav-indicator{display:none}
 .header nav a[aria-current="location"]{background:linear-gradient(var(--yellow),var(--yellow)) left bottom/100% 3px no-repeat}
}

@media(prefers-reduced-motion:reduce){.header,.header .billing{transition:none}.header .billing:hover,.header .billing:focus-visible{transform:none}}

/* Hero comercial: estilos limitados a la primera sección. */
.hero{padding-block:80px;isolation:isolate;overflow:hidden;background:linear-gradient(115deg,#fff 24%,#f4faff 70%,#eaf5ff)}
.hero::before,.hero::after{content:"";position:absolute;z-index:-1;pointer-events:none}
.hero::before{width:150px;height:150px;right:3%;top:26px;border:1px solid #0098e51a;border-radius:26px;transform:rotate(18deg)}
.hero::after{width:86px;height:86px;left:0;bottom:20px;background:linear-gradient(145deg,#0098e512 50%,#ffda0038 50%);clip-path:polygon(0 0,100% 100%,0 100%)}
.hero .hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:42px;align-items:center}
.hero-copy,.hero-media{min-width:0}
.hero .hero-eyebrow{display:inline-flex;align-items:center;gap:9px;max-width:100%;margin:0 0 20px;padding:7px 12px;border:1px solid #0098e529;border-radius:30px;background:#fff;color:#0877ab;font-size:12px;font-weight:700;letter-spacing:.045em}
.hero-eyebrow::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--yellow);flex-shrink:0}
.hero h1{font-size:clamp(34px,3.65vw,52px);line-height:1.06;overflow-wrap:normal}
.hero h1 .hero-subtitle{font-size:.65em;line-height:1.12;margin-top:14px}
.hero h1 .hero-highlight{position:relative;display:inline;color:inherit;font-size:inherit;margin:0;isolation:isolate;white-space:nowrap}
.hero-highlight::after{content:"";position:absolute;z-index:-1;left:-2%;bottom:.04em;width:104%;height:.23em;border-radius:45% 15% 35% 20%;background:var(--yellow);transform:rotate(-2deg);transform-origin:left center}
.hero .hero-description{font-size:clamp(16px,1.45vw,19px);line-height:1.5;max-width:380px;margin-top:22px}
.hero .actions{gap:12px;margin-top:28px;align-items:stretch}
.hero .actions .button{min-height:50px;gap:9px;padding:13px 17px;font-size:14px}
.hero .actions svg{flex-shrink:0}
.hero-arrow{transition:transform .2s ease}
.hero-services:hover .hero-arrow,.hero-services:focus-visible .hero-arrow{transform:translateX(4px)}
.hero-media{padding:0 12px 78px 0}
.hero-photo{position:relative;margin:0;isolation:isolate}
.hero-photo::before{content:"";position:absolute;z-index:-1;inset:13px -12px -13px 12px;border:2px solid #0098e544;border-radius:14px;background:#0098e50a}
.hero .hero-photo>img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:5/3;object-fit:cover;object-position:50% 20%;border-radius:10px;box-shadow:0 16px 36px #102b501f}
.hero-experience{position:absolute;top:calc(100% - 6px);left:22px;display:grid;gap:1px;padding:14px 24px 14px 20px;border-left:5px solid var(--yellow);border-radius:10px;background:#fff;box-shadow:0 9px 24px #102b501a;color:var(--ink);line-height:1.25}
.hero-experience strong{font-size:28px;letter-spacing:-.04em}
.hero-experience span{font-size:13px;color:#536077}
.hero.reveal{animation:none}
.hero.reveal .hero-entry{animation:hero-enter .58s cubic-bezier(.2,.7,.3,1) var(--hero-delay,0ms) both}
.hero.reveal .hero-highlight::after{animation:hero-mark .55s cubic-bezier(.2,.7,.3,1) .23s both}
@keyframes hero-enter{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@keyframes hero-mark{from{transform:rotate(-2deg) scaleX(0)}to{transform:rotate(-2deg) scaleX(1)}}
@media(max-width:1100px) and (min-width:761px){.hero .hero-grid{gap:28px}.hero .actions .button{padding:12px 13px;font-size:13px}}
@media(max-width:760px){
 .hero{padding-block:48px}
 .hero .hero-grid{grid-template-columns:minmax(0,1fr);gap:32px}
 .hero h1{font-size:clamp(34px,6.7vw,46px)}
 .hero .hero-description{max-width:430px}
 .hero-media{padding:0 10px 0 0}
 .hero-photo::before{inset:10px -10px auto 10px;aspect-ratio:5/3}
 .hero .hero-photo>img{object-position:50% 0%}
 .hero-experience{position:relative;top:auto;left:auto;justify-self:start;width:max-content;max-width:100%;margin:18px 0 0;padding:12px 20px;box-shadow:0 6px 18px #102b5012}
 .hero::before{right:0;width:100px;height:100px}
 .hero::after{width:50px;height:50px;bottom:8px}
}
@media(max-width:380px){.hero .actions{flex-direction:column;align-items:stretch}.hero .actions .button{width:100%}}
@media(prefers-reduced-motion:reduce){.hero.reveal .hero-entry,.hero.reveal .hero-highlight::after{animation:none}.hero-arrow{transition:none}.hero-services:hover .hero-arrow,.hero-services:focus-visible .hero-arrow{transform:none}}

/* Entrada e inclinación independientes de la fotografía del hero. */
.hero.reveal .hero-photo-entrance{animation:hero-photo-enter 900ms cubic-bezier(.16,1,.3,1) both}
@keyframes hero-photo-enter{from{opacity:0;transform:translateY(20px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
.hero-tilt{position:relative;min-width:0}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .hero-tilt.hero-tilt-enabled{perspective:1100px}
 .hero-tilt-enabled .hero-photo{transform:translate3d(var(--photo-x,0px),var(--photo-y,0px),0) rotateX(var(--photo-rx,0deg)) rotateY(var(--photo-ry,0deg)) scale(var(--photo-scale,1));transition:transform 160ms ease-out;transform-origin:center;transform-style:preserve-3d}
 .hero-tilt-enabled .hero-photo::before{transform:translate3d(var(--frame-x,0px),var(--frame-y,0px),-8px);transition:transform 160ms ease-out}
 .hero-tilt-enabled .hero-experience{transform:translate3d(var(--card-x,0px),var(--card-y,0px),12px);transition:transform 160ms ease-out}
 .hero-tilt-enabled.is-tilting .hero-photo{will-change:transform}
 .hero-tilt-enabled.is-resetting .hero-photo,.hero-tilt-enabled.is-resetting .hero-photo::before,.hero-tilt-enabled.is-resetting .hero-experience{transition:transform 650ms cubic-bezier(.2,.9,.3,1.16)}
}
@media(prefers-reduced-motion:reduce){.hero.reveal .hero-photo-entrance{animation:none}.hero-tilt .hero-photo,.hero-tilt .hero-photo::before,.hero-tilt .hero-experience{transform:none;transition:none}}

/* Distintivo de experiencia de Quiénes somos, independiente de la fotografía. */
.about-image{padding-bottom:78px}
.about-image>.years{top:auto;bottom:0;left:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:190px;height:110px;padding:12px 18px;border:2px solid #fff;border-radius:50%;background:var(--yellow);color:var(--navy);transform:none;box-shadow:0 7px 20px #102b501c;line-height:1.15;text-align:center;font-weight:700}
.about-image>.years span{display:block;font-size:13px;letter-spacing:0}
.about-image>.years b{display:block;font-size:36px;line-height:1.05;letter-spacing:-.04em;font-weight:900}
@media(max-width:760px){
 .about-image{padding-bottom:64px}
 .about-image>.years{left:12px;width:160px;height:94px;padding:10px 14px}
 .about-image>.years span{font-size:11px}
 .about-image>.years b{font-size:30px}
}

/* Fotografías de ambas cuadrículas: proporción uniforme y cuerpos flexibles. */
.services .cards{align-items:stretch}
.services .card{min-width:0}
.services .card-body{display:flex;flex-direction:column;flex:1;min-width:0}
.services .card-body>.text-link,.services .card-body>.button{margin-top:auto}
.services .card>img[src$="serigrafia-camiseta.jpg"]{object-position:35% center}
.services .card>img[src$="promocionales-regalo-corporativo.jpg"]{object-position:42% center}
.services .card>img[src$="sellos-caucho.jpg"],.services .card>img[src$="sublimacion-taza.jpg"],.services .card>img[src$="invitaciones-boda.jpg"]{object-position:center}
.services .other-cards .idea>img{display:none}
.services .card>img[src$="hero-imprenta-andygraf.webp"]{object-position:60% center}

/* El texto del label ocupa una sola fila del grid, con sus marcas inline. */
.quote-form .field-label{display:block;white-space:nowrap;color:var(--ink)}
.quote-form .field-label .required-mark{display:inline;margin-left:.2em;color:#c52020}
.quote-form .field-label small{display:inline}

/* Ubicación de contacto: mapa exacto y enlace compacto de indicaciones. */
.contact-location{margin-top:25px;min-width:0}
.contact-map{display:block;width:100%;max-width:100%;height:300px;border:1px solid var(--line);border-radius:10px}
.contact-details .directions-link{display:inline-flex;align-items:center;justify-content:center;width:fit-content;max-width:100%;margin-top:12px;padding:10px 16px;border-radius:7px;background:var(--blue);color:#fff;font-size:14px;font-weight:700;text-decoration:none}
.contact-details .directions-link:hover{background:#007ebf}

.footer .footer-emails{margin-top:16px;min-width:0}
.footer .footer-emails p{margin:0 0 8px;font-weight:700}
.footer .footer-emails a{margin-top:8px;line-height:1.5;overflow-wrap:anywhere}

.footer .copyright{white-space:nowrap}
.footer .copyright a{display:inline;margin:0;font:inherit}

@media(max-width:760px){.footer .copyright{white-space:normal;overflow-wrap:anywhere}}

/* Enlaces sin subrayado; botones e indicador del menú conservan sus efectos. */
a,a:visited,a:hover,a:focus,a:focus-visible,a:active{text-decoration:none}
.footer,.web{--text-link-hover:var(--yellow)}
a:not(.button):not(.billing):not(.billing-promo):not(.floating):not(.directions-link):not(.skip):not(:has(img)){transition:color 200ms ease}
a:not(.button):not(.billing):not(.billing-promo):not(.floating):not(.directions-link):not(.skip):not(:has(img)):hover{color:var(--text-link-hover,var(--blue))}
a:focus-visible{outline:3px solid var(--text-link-hover,var(--blue));outline-offset:4px}

/* Un enlace adicional: conservar separación de acciones sin solapamientos. */
.header nav{gap:18px}
@media(min-width:761px) and (max-width:1250px){.header-inner{flex-wrap:wrap}.header-actions{margin-left:auto}}

/* Pieza de sellos del cliente: completa, sin recortar su contenido. */
.services .card>img[src$="sellos-automaticos-andygraf.webp"]{object-fit:contain;object-position:center;background:#ffdc4e}

/* Contenido corporativo definitivo, debajo del resumen de Quiénes somos. */
.about .about-tagline{margin-top:22px;color:var(--navy);font-weight:700;line-height:1.5}
.about-history-link{margin-top:18px}
.corporate-content{margin-top:48px}
.corporate-content>h2{font-size:clamp(25px,2.5vw,34px);line-height:1.15}
.purpose-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:26px}
.purpose-card,.value-card{min-width:0;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:0 4px 16px #102b5008}
.purpose-card{padding:32px;border-top:4px solid var(--blue)}
.purpose-card h3{font-size:25px;color:var(--navy)}
.purpose-card p{font-size:17px;line-height:1.75;margin-top:16px}
.corporate-values-title{font-size:28px;margin:38px 0 22px}
.corporate-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.value-card{padding:28px;border-top:3px solid var(--yellow)}
.value-card h4{font-size:19px;color:var(--navy);line-height:1.25;margin:0}
.value-card p{font-size:17px;line-height:1.7;margin-top:10px}
/* Iconografía corporativa coherente, independiente de fuentes. */
.corporate-icon{display:inline-flex;align-items:center;justify-content:center;width:58px;height:58px;border-radius:50%;background:#eaf7ff;color:#007eaf;margin-bottom:22px}
.purpose-card:nth-child(2){border-top-color:var(--yellow)}
.purpose-card:nth-child(2) .corporate-icon{background:#fff8d8;color:var(--navy)}
.value-card .corporate-icon{width:48px;height:48px;margin-bottom:18px}
.value-card:nth-child(even) .corporate-icon{background:#fff8d8;color:var(--navy)}
/* Historia editorial: banner 40/60, fotografías completas y lectura controlada. */
.history-page{overflow-wrap:break-word;font-size:17px;line-height:1.7}
.history-banner{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);background:var(--navy);max-width:1440px;margin-inline:auto}
.history-banner-copy{min-width:0;padding:48px clamp(28px,4vw,64px);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;color:white;min-height:520px}
.history-page .history-brand{font-size:12px;font-weight:800;letter-spacing:.08em;line-height:1.6;margin:0;color:var(--navy)}
.history-banner-copy .history-brand{color:#fff}
.history-banner h1{font-size:clamp(36px,4vw,54px);line-height:1.08;margin:18px 0 0;color:white}
.history-tagline{font-size:clamp(20px,2vw,25px);line-height:1.4;font-weight:700;color:var(--yellow);margin-top:22px}
.history-intro{font-size:17px;line-height:1.7;margin-top:18px}
.history-date{display:inline-flex;align-items:center;padding:7px 15px;border:1px solid #ffda0070;border-radius:24px;background:#ffffff0c;color:var(--yellow);font-size:13px;font-weight:700;margin-top:26px}
.history-banner-photo{margin:0;min-width:0;height:520px;align-self:center;background:#eaf3fa}
.history-banner-photo img{display:block;width:100%;height:100%;object-fit:contain}
.history-editorial{padding-block:80px}
.history-editorial-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.85fr);gap:56px;align-items:start}
.history-prose{min-width:0;max-width:780px}
.history-page h2{font-size:clamp(28px,3vw,38px);line-height:1.15;color:var(--navy);margin:0 0 26px;letter-spacing:-.035em}
.history-prose p{font-size:17px;line-height:1.7;margin:0 0 22px}
.history-prose p:last-child{margin-bottom:0}
.history-foundation{padding:22px 24px;border-left:4px solid var(--yellow);background:#f3f8fe;border-radius:0 12px 12px 0;font-weight:700;color:var(--navy)}
.history-support{position:sticky;top:calc(var(--header-height,100px) + 28px);min-width:0;margin:0;padding-top:8px}
.history-support img{display:block;width:100%;height:auto;object-fit:contain;border-radius:14px;box-shadow:0 14px 34px #102b5015}
.history-soft{background:#eff6ff}
.history-soft .history-editorial-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,.85fr)}
.history-people{padding-block:80px}
.history-thanks-subtitle{font-size:23px;line-height:1.35;color:#007db9;margin:-10px 0 24px}
.history-thanks{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;margin-top:34px}
.history-thanks-block{display:grid;grid-template-columns:44px minmax(0,1fr);gap:20px;min-width:0;padding:30px 34px;border:1px solid var(--line);border-left:3px solid var(--blue);border-radius:14px;background:#fff;box-shadow:0 5px 20px #102b5008}
.history-gratitude-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#fff8d8;color:#007eaf}
.history-gratitude-icon svg{width:23px;height:23px}
.history-thanks-block p{max-width:780px;font-size:17px;line-height:1.7;margin:0}
.history-thanks-block strong{font-weight:800;color:var(--navy)}
.history-commitment{background:linear-gradient(110deg,#f6faff,#fff)}
.history-signoff{border-top:3px solid var(--yellow);padding-top:26px;margin-top:32px}
.history-signoff>p:last-child{font-size:21px;font-weight:700;color:var(--navy);line-height:1.5;margin-top:12px}
@media(max-width:1000px){.corporate-values{grid-template-columns:repeat(2,minmax(0,1fr))}.history-editorial-grid,.history-soft .history-editorial-grid{gap:32px}.history-banner-copy{padding:36px 28px}}
@media(max-width:760px){
 .corporate-content{margin-top:36px}
 .purpose-grid{grid-template-columns:minmax(0,1fr);gap:24px}
 .purpose-card{padding:28px}
 .history-banner{grid-template-columns:minmax(0,1fr)}
 .history-banner-copy{min-height:0;padding:48px 24px}
 .history-banner-photo{height:auto;aspect-ratio:1/1;width:100%}
 .history-editorial,.history-people{padding-block:48px}
 .history-editorial-grid,.history-soft .history-editorial-grid{grid-template-columns:minmax(0,1fr);gap:28px}
 .history-support{position:static;max-width:600px;width:100%;padding-top:0}
 .history-foundation{padding:20px}
 .history-thanks-block{padding:24px;gap:14px;grid-template-columns:36px minmax(0,1fr)}
 .history-gratitude-icon{width:36px;height:36px}
}
@media(max-width:600px){.corporate-values{grid-template-columns:minmax(0,1fr)}.history-thanks-block{display:block}.history-gratitude-icon{margin-bottom:14px}}

/* Banner de historia: composición de hero 40/60 y fachada completa. */
.history-banner{width:100%;max-width:none;grid-template-columns:minmax(0,2fr) minmax(0,3fr);align-items:center;gap:0;padding:72px max(32px,calc((100% - 1200px)/2));background:linear-gradient(115deg,#fff 24%,#eff6ff)}
.history-banner-copy{min-height:0;padding:0 32px 0 0;color:var(--ink)}
.history-banner-copy .history-brand,.history-banner h1{color:var(--navy)}
.history-banner .history-tagline{color:#007db9}
.history-banner .history-date{background:#fff8d8;border-color:#ffda0080;color:var(--navy)}
.history-banner-photo{position:relative;isolation:isolate;margin:0 12px 12px 0;height:auto;width:auto;aspect-ratio:5/3;background:transparent}
.history-banner-photo::before{content:"";position:absolute;z-index:-1;inset:12px -12px -12px 12px;border:2px solid #0098e544;border-radius:14px;background:#0098e50a;pointer-events:none}
.history-banner-photo img{width:100%;height:auto;aspect-ratio:5/3;object-fit:contain;border-radius:10px;box-shadow:0 16px 36px #102b501f}
@media(max-width:760px){
 .history-banner{grid-template-columns:minmax(0,1fr);padding:48px 18px}
 .history-banner-copy{padding:0}
 .history-banner-photo{width:auto;height:auto;aspect-ratio:5/3;margin:28px 12px 12px 0}
}

/* Banner principal aprobado: ancho de pantalla, proporción intrínseca y sin recortes. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
.home-banner{position:relative;display:block;width:100%;max-width:none;margin:0;padding:0;background:#fff}
.home-banner>img{display:block;width:100%;height:auto;max-width:100%;margin:0;border:0;border-radius:0;box-shadow:none;transform:none}
.home-banner-actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;width:100%;padding:16px 18px;background:#fff}
.home-banner-actions .button{min-height:50px;gap:9px;padding:12px 18px;font-size:14px}
.home-banner-actions svg{flex-shrink:0}
@media(max-width:440px){.home-banner-actions .button{width:100%;max-width:360px}}

/* Franja de facturación dentro del encabezado sticky compartido. */
.billing-promo{display:block;width:100%;margin:0;padding:13px 18px;background:var(--blue);color:#fff;text-align:center;font-size:15px;font-weight:600;line-height:1.5;white-space:normal;text-decoration:none;transition:background-color 200ms ease}
.billing-promo strong{color:var(--yellow);font-weight:800}
.billing-promo:hover,.billing-promo:focus-visible{background:#007fbf;color:#fff;text-decoration:none}
.billing-promo:focus-visible{outline:3px solid #fff;outline-offset:-5px}
html{scroll-padding-top:calc(var(--header-height,150px) + 16px)}
@media(max-width:760px){.billing-promo{padding:13px 18px;font-size:14px}html{scroll-padding-top:calc(var(--header-height,220px) + 12px)}}

/* Comienzos: fotografías iguales, con sticky único para toda la columna. */
.history-photo-stack{position:sticky;top:calc(var(--header-height,100px) + 28px);display:grid;gap:24px;min-width:0;padding-top:8px}
.history-photo-stack .history-support{position:static;top:auto;width:100%;max-width:none;margin:0;padding-top:0}
.history-photo-stack .history-support img{width:100%;height:auto;aspect-ratio:5/3;object-fit:contain}
@media(max-width:760px){.history-photo-stack{position:static;top:auto;width:100%;max-width:600px;padding-top:0}}
