
:root{font-family:Inter,Arial,sans-serif;color:#173f60;scroll-behavior:smooth}*{box-sizing:border-box}body{margin:0;background:white}a{color:inherit}.wrap,.navwrap{max-width:1120px;margin:auto;padding-left:40px;padding-right:40px}.header{background:#fff;position:sticky;top:0;z-index:5}.navwrap{min-height:100px;display:flex;align-items:center;gap:28px}.brand{margin-right:auto}.brand img{display:block;width:240px;max-width:100%}nav{display:flex;align-items:center;gap:22px}nav a{text-decoration:none;font-size:14px}nav a:hover{text-decoration:underline;text-underline-offset:5px}.languages{display:flex;gap:5px;align-items:center;font-size:13px}.languages button,.menu-toggle{border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;padding:8px 3px}.languages button[aria-pressed=true]{font-weight:700;text-decoration:underline;text-underline-offset:4px}.menu-toggle{display:none}.hero{min-height:500px;border-radius:10px;overflow:hidden;display:flex;align-items:center;justify-content:flex-end;background:linear-gradient(90deg,rgba(19,52,77,.20),rgba(31,84,136,.9) 65%),url('assets/portada.jpg') left 43% center/cover no-repeat;color:white}.hero-text{width:52%;padding:55px 48px;text-align:center}.hero h1{font-size:clamp(2rem,3.4vw,2.7rem);font-weight:500;line-height:1.2;margin:0 0 36px}.hero p{font-size:18px;line-height:1.65;margin:0}.section{padding-top:76px;scroll-margin-top:110px}.section-intro{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin-bottom:90px}.section h2{font-size:clamp(2rem,3vw,2.5rem);font-weight:500;line-height:1.18;letter-spacing:-.025em;margin:0}.section p{font-weight:300;font-size:18px;line-height:1.6;margin:0 0 20px}.identity-grid,.gallery{display:grid;grid-template-columns:1fr 1fr;gap:40px}.identity-card{height:340px;border-radius:10px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.identity-card span{position:absolute;bottom:24px;left:28px;color:white;font-size:14px}.aqua{background:#29abe2}.blue{background:#1f5488}.mark{font-size:190px;line-height:1;color:white}.identity-card img{width:65%;filter:brightness(0) invert(1)}.logo-display{background:#f2f6f8;min-height:360px;border-radius:10px;display:grid;place-items:center}.logo-display img{width:min(60%,400px)}.palette{display:grid;grid-template-columns:repeat(5,1fr);gap:15px}.swatch{background:var(--c);height:230px;border-radius:10px;display:flex;align-items:flex-end;padding:20px;color:#173f60;font-size:14px;font-weight:600}.swatch.dark{color:white}.type-card{background:#f2f6f8;border-radius:10px;padding:50px;display:grid;grid-template-columns:1fr 1fr;gap:40px}.type-big{font-size:clamp(6rem,14vw,12rem);line-height:1;letter-spacing:-.08em}.type-big span{display:block;color:#29abe2}.alphabet{font-size:clamp(1.4rem,3vw,2.2rem);line-height:1.65;overflow-wrap:anywhere}.alphabet span{font-size:1.2rem}.section ul{padding-left:20px;font-size:15px;line-height:1.7}.section li{margin-bottom:8px}.gallery img{width:100%;height:450px;object-fit:cover;border-radius:10px;background:#eef4f7}.gallery .wide{grid-column:1/-1;height:500px}footer{margin-top:100px;border-top:1px solid #dbe6ed}.footer{min-height:140px;display:flex;align-items:center;gap:32px;font-size:14px}.footer img{width:145px;margin-right:auto}.footer a{text-decoration:none}.skip{position:absolute;top:-100px;left:10px;background:white;padding:10px;z-index:10}.skip:focus{top:10px}:focus-visible{outline:3px solid #29abe2;outline-offset:3px}@media(max-width:900px){.navwrap{flex-wrap:wrap;min-height:80px;padding-top:15px;padding-bottom:15px}.brand img{width:190px}.menu-toggle{display:block;font-weight:600}nav{display:none;order:3;width:100%;padding:15px 0;align-items:flex-start;flex-direction:column}nav.open{display:flex}.hero-text{width:60%;padding:35px}.hero{min-height:440px}.palette{grid-template-columns:repeat(3,1fr)}.swatch{height:180px}}@media(max-width:600px){.wrap,.navwrap{padding-left:20px;padding-right:20px}.brand img{width:160px}.hero{min-height:520px;align-items:flex-end;background:linear-gradient(0deg,rgba(23,63,96,.96),rgba(23,63,96,.2)),url('assets/portada.jpg') center/cover}.hero-text{width:100%;padding:40px 25px;text-align:left}.hero h1{margin-bottom:20px}.section{padding-top:60px;scroll-margin-top:90px}.section-intro{grid-template-columns:1fr;gap:20px;margin-bottom:35px}.section p{font-size:16px}.identity-grid,.gallery{grid-template-columns:1fr;gap:16px}.identity-card{height:260px}.gallery .wide{grid-column:auto}.gallery img,.gallery .wide{height:300px}.palette{grid-template-columns:repeat(2,1fr)}.swatch{height:150px}.type-card{grid-template-columns:1fr;padding:30px;gap:30px}.type-big{font-size:7rem}.type-big span{display:inline;margin-left:25px}.footer{flex-wrap:wrap;padding-top:35px;padding-bottom:35px;gap:16px}.footer img{width:120px}.footer a{width:100%}}@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}}

.identity-card img{width:100%;height:100%;object-fit:cover;filter:none}.logo-variants{display:grid;grid-template-columns:repeat(4,1fr);gap:40px}.logo-variants div{aspect-ratio:1;display:grid;place-items:center;background-size:cover;background-position:center;border-radius:10px}.logo-variants img{width:65%;filter:brightness(0) invert(1)}.logo-variants .light{border:2px solid #1f5488}.logo-variants .light img{filter:none}@media(max-width:700px){.logo-variants{grid-template-columns:repeat(2,1fr);gap:16px}}
.hero{position:relative;isolation:isolate}.hero-triangle{position:absolute;z-index:-1;right:-3%;bottom:-55%;width:68%;height:auto;opacity:.55}.hero-text{position:relative;z-index:1}.identity-card.aqua img{width:70%;height:70%;object-fit:contain}.identity-card.blue img{width:100%;height:100%;object-fit:contain}.logo-variants div{background-repeat:no-repeat;background-size:cover;overflow:hidden}.logo-variants img{width:65%;height:auto;max-height:45%;object-fit:contain}.gradient-bar{display:block;width:100%;height:40px;object-fit:fill;border-radius:10px;margin-top:32px}.footer .footer-logo{margin-right:auto}.footer .footer-logo img{display:block;margin:0}.instagram{display:inline-flex;align-items:center}.dynamic-brand{position:relative;isolation:isolate;height:450px;overflow:hidden;border-radius:10px;background:#1f5488}.dynamic-brand .base-cyan,.dynamic-brand .base-green{position:absolute;inset:0;opacity:0}.dynamic-brand .base-cyan{background:#29abe2;animation:dissolve-cyan 18s linear infinite}.dynamic-brand .base-green{background:#74cf82;animation:dissolve-green 18s linear infinite}.brand-art{position:absolute;inset:0;width:100%;height:100%}@keyframes dissolve-cyan{0%{opacity:0}33.333%,66.666%{opacity:1}100%{opacity:0}}@keyframes dissolve-green{0%,33.333%{opacity:0}66.666%{opacity:1}100%{opacity:0}}.left-stop-1{animation:a1 10s ease-in-out infinite alternate}.left-stop-2{animation:a2 10s ease-in-out infinite alternate}.left-stop-3{animation:a3 10s ease-in-out infinite alternate}.left-stop-4{animation:a4 10s ease-in-out infinite alternate}.right-stop-1{animation:b1 12s ease-in-out infinite alternate}.right-stop-2{animation:b2 12s ease-in-out infinite alternate}.right-stop-3{animation:b3 12s ease-in-out infinite alternate}.right-stop-4{animation:b4 12s ease-in-out infinite alternate}@keyframes a1{0%{stop-color:#173f60}50%{stop-color:#1f5488}100%{stop-color:#29abe2}}@keyframes a2{0%{stop-color:#1f5488}50%{stop-color:#29abe2}100%{stop-color:#74cf82}}@keyframes a3{0%{stop-color:#29abe2}50%{stop-color:#74cf82}100%{stop-color:#00a9d8}}@keyframes a4{0%{stop-color:#74cf82}50%{stop-color:#29abe2}100%{stop-color:#fcee21}}@keyframes b1{0%{stop-color:#1f5488}50%{stop-color:#29abe2}100%{stop-color:#74cf82}}@keyframes b2{0%{stop-color:#29abe2}50%{stop-color:#74cf82}100%{stop-color:#1f5488}}@keyframes b3{0%{stop-color:#74cf82}50%{stop-color:#1f5488}100%{stop-color:#29abe2}}@keyframes b4{0%{stop-color:#1f5488}50%{stop-color:#29abe2}100%{stop-color:#fcee21}}@media(max-width:600px){.dynamic-brand{height:300px}.hero-triangle{width:100%;right:-30%;bottom:-15%}.footer .footer-logo{width:auto;margin-right:auto}}@media(prefers-reduced-motion:reduce){.dynamic-brand stop,.dynamic-brand .base-cyan,.dynamic-brand .base-green{animation:none}}
.logo-variants div:nth-child(1),.logo-variants div:nth-child(2){background-color:#1f5488}.logo-variants div:nth-child(5){background-color:#29abe2}.logo-variants div:nth-child(6){background-color:#74cf82}.logo-variants div{background-size:100% 100%;background-repeat:no-repeat}

/* Cada variante es una ventana independiente del arte original de Penpot. */
.logo-variants>img{display:block;width:100%;height:auto;aspect-ratio:230/227;object-fit:contain;border-radius:10px}.identity-card.blue img{width:100%;height:100%;object-fit:cover}.gallery img:last-child{object-position:center 60%}
.logo-variants>img{filter:none;max-height:none}
/* Ajustes de encuadre y escala para la revisión de marca. */
.gallery img:last-child{height:auto;aspect-ratio:1448 / 1086;object-fit:contain;object-position:center;background:#eef4f7}
.hero-triangle{bottom:-31%}
@media(max-width:600px){.gradient-bar{height:72px}.hero-triangle{bottom:4%}.gallery img.wide:last-child{height:auto;aspect-ratio:1448 / 1086;object-fit:contain}}
/* Ajustes de revisión para móvil. */
@media (max-width:600px){
 .hero-triangle{width:155%;max-width:none;right:-53%;bottom:-10%}
 .gradient-bar{height:72px;object-fit:fill;content:url('assets/gradiente-movil.svg')}
 .footer .instagram{width:100%;justify-content:flex-end}
 .footer a[href^="mailto:"]{text-align:right}
}

.gradient-bar{background:linear-gradient(90deg,#173f60 0%,#1f5488 27%,#29abe2 48%,#74cf82 70%,#fcee21 100%)}
@media(max-width:600px){.gradient-bar{content:normal;height:72px}}
@media(max-width:900px){
 .languages{order:1}.menu-toggle{order:2;width:44px;height:44px;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:9px;align-items:center}
 .menu-toggle span{display:block;width:24px;height:2px;background:#173f60;border-radius:2px;transition:transform .25s,opacity .2s}
 .menu-toggle[aria-expanded=true] span:first-child{transform:translateY(7px) rotate(45deg)}
 .menu-toggle[aria-expanded=true] span:nth-child(2){opacity:0}
 .menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-7px) rotate(-45deg)}
 #nav{order:3;display:flex;flex-direction:column;align-items:stretch;gap:0;width:100%;padding:0;max-height:0;overflow:hidden;visibility:hidden;opacity:0;transition:max-height .32s ease,opacity .22s ease,visibility 0s linear .32s}
 #nav.open{display:flex;max-height:320px;visibility:visible;opacity:1;padding:8px 0 14px;transition:max-height .32s ease,opacity .22s ease,visibility 0s}
 #nav a{font-size:18px;line-height:1.4;padding:11px 0}
}
@media(max-width:600px){.footer{display:grid;grid-template-columns:1fr auto;align-items:center}.footer .footer-logo{grid-column:1;grid-row:1}.footer span{grid-column:2;grid-row:1}.footer .instagram{grid-column:1;grid-row:2;width:auto;justify-content:flex-start}.footer a[href^="mailto:"]{grid-column:2;grid-row:2;width:auto;text-align:right}}
@media(prefers-reduced-motion:reduce){#nav,.menu-toggle span{transition:none!important}}
/* Borde completo para la variante blanca en cualquier tamaño. */
.logo-variants>img:last-child{border-radius:10px;outline:2px solid #1f5488;outline-offset:-2px}
