:root {
  color-scheme: light;
  --ink: #10233c;
  --navy: #152e4d;
  --ice: #d4e6f2;
  --paper: #f7f8fb;
  --line: #ccd6e0;
  font-family: "Instrument Sans", Avenir Next, system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
img { display: block; max-width: 100%; }
figure, p { margin: 0; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.06; letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4.4vw, 4.1rem); text-wrap: balance; }
h3 { font-size: 1.62rem; }
p { line-height: 1.55; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #306bac; outline-offset: 4px; }
.wrap { width: min(100% - 2.5rem, 1240px); margin-inline: auto; }
.section { padding-block: clamp(3rem, 8vw, 7rem); scroll-margin-top: 5rem; }
.skip, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { width: auto; height: auto; clip-path: none; z-index: 5; background: white; padding: 1rem; }
.header { position: sticky; top: 0; z-index: 2; background: #fff; border-bottom: 1px solid var(--line); }
.topbar { min-height: 70px; display: flex; gap: 1.25rem; align-items: center; justify-content: space-between; }
.brand img { width: 125px; height: auto; }
.nav-links { display: flex; gap: clamp(1rem, 4vw, 3rem); }
.nav-links a, .button { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.button { padding: .65rem 1rem; gap: .65rem; background: var(--navy); color: #fff; font-weight: 650; }
.button:hover, .button:focus-visible { background: #274a72; }
.ice { background: var(--ice); color: var(--ink); }
.ice:hover, .ice:focus-visible { background: white; }
.hero { display: grid; grid-template-columns: 43fr 57fr; background: var(--navy); color: white; }
.hero-copy { padding: clamp(2rem, 6vw, 6.5rem) clamp(1.25rem, 5vw, 5rem); align-self: center; }
.eyebrow { color: var(--ice); font-size: .88rem; font-weight: 650; }
.hero h1 { font-size: clamp(3rem, 6.5vw, 7rem); margin: .75rem 0 1rem; }
.hero-copy > p:last-of-type { max-width: 32ch; font-size: clamp(1.08rem, 1.5vw, 1.35rem); color: #edf4f9; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.2rem; margin-top: 1.6rem; }
.light-link { padding-block: .7rem; text-underline-offset: .3em; }
.hero-photo { position: relative; min-width: 0; min-height: 475px; }
.hero-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.hero-photo figcaption { position: absolute; bottom: 1rem; right: 1rem; padding: .45rem .7rem; background: var(--navy); font-size: .84rem; }
.section-heading { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1rem 2rem; align-items: end; margin-bottom: 2rem; }
.section-heading p, .solution p, .providers p { color: #40536a; }
.solutions { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.solution { padding: clamp(1.15rem, 3vw, 2.2rem); background: #fff; display: grid; gap: .65rem; align-content: start; }
.solution a { display: inline-flex; gap: .4rem; align-items: center; min-height: 44px; text-underline-offset: .2em; }
.gallery { background: #e7eef5; }
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.25rem; }
.filters button { padding: .55rem .8rem; min-height: 44px; border: 1px solid #8297ad; color: var(--ink); background: transparent; }
.filters button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.photo-grid figure { background: white; }
.photo-grid a { display: block; }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.photo-grid figcaption { padding: .75rem 1rem; font-weight: 650; }
.providers { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; }
.providers p, .contact p { margin-top: .8rem; }
.providers ul { display: flex; flex-wrap: wrap; gap: .65rem; list-style: none; padding: 0; margin: 0; align-content: start; }
.providers li { padding: .65rem .85rem; border: 1px solid var(--line); background: #fff; }
.contact { background: var(--navy); color: #fff; }
.contact-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.5rem; align-items: end; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.footer { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.4rem; }
.lightbox { background: var(--navy); color: white; padding: 1rem; border: 0; max-width: min(92vw, 1040px); }
.lightbox::backdrop { background: #09182bda; }
.lightbox img { max-height: 72dvh; object-fit: contain; margin: .6rem auto; }
.close { min-height: 44px; padding: .4rem .75rem; }
@media (max-width: 760px) {
  .hero, .section-heading, .providers, .contact-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-photo { min-height: clamp(260px, 72vw, 460px); }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
  .topbar { flex-wrap: wrap; gap: .1rem .65rem; padding-top: .5rem; }
  .nav-links { order: 3; justify-content: space-between; width: 100%; gap: .5rem; font-size: .93rem; }
  .section { scroll-margin-top: 7rem; }
}
@media (max-width: 430px) {
  .solutions, .photo-grid { grid-template-columns: minmax(0, 1fr); }
  .footer { flex-direction: column; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
.hero h1 { font-size: clamp(2.65rem, 5vw, 5.65rem); overflow-wrap: anywhere; }

/* Galerías por categoría y visor táctil */
.album-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}
.album-card{background:#fff;text-decoration:none;display:block;border:1px solid var(--line);min-width:0}
.album-card>img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.album-card>div{padding:1.25rem;display:grid;grid-template-columns:1fr auto;gap:.65rem 1rem;align-items:start}
.album-card h3{font-size:clamp(1.35rem,2.5vw,2rem)}
.album-card p{white-space:nowrap;color:#40536a}
.album-card span{min-height:44px;display:flex;align-items:center;text-decoration:underline;text-underline-offset:.2em}
.album-card:hover{border-color:var(--navy)}
.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.category-grid img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.album-is-open{overflow:hidden}
.album-viewer{color:#fff;background:#102136;border:1px solid #52657a;padding:1rem 1.25rem;width:min(1120px,96vw);max-width:96vw;height:min(920px,94dvh);max-height:94dvh;overflow:hidden}
.album-viewer[open]{display:flex;flex-direction:column;gap:.7rem}
.album-viewer::backdrop{background:#06101bed}
.album-bar{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-shrink:0}
.album-bar h2{font-size:clamp(1.25rem,3vw,2rem);letter-spacing:-.025em;margin-top:.2rem}
.album-viewer button{min-height:44px;padding:.55rem 1rem;border:1px solid #6f849b;color:white;background:#203950}
.album-viewer button:disabled{opacity:.45;cursor:default}
.album-switch{display:flex;gap:.7rem;align-items:center;flex-shrink:0}
.album-switch label{font-size:.9rem}
.album-switch select{appearance:none;font:inherit;background:#203950;color:#fff;border:1px solid #6f849b;min-height:44px;padding:.5rem 2rem .5rem .65rem;min-width:0;max-width:75%;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .55rem center}
#album-counter{margin-left:auto;white-space:nowrap;font-variant-numeric:tabular-nums}
.album-stage{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;background:#091521;overflow:hidden;touch-action:pan-y pinch-zoom}
.album-image{width:100%;height:100%;object-fit:contain;min-height:0;opacity:1}
.album-image.is-loading{opacity:.3}
.album-loading{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#102136e8;padding:.6rem .9rem;text-align:center;max-width:90%}
.album-controls{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-shrink:0}
.album-hint{color:#c3d3e3;font-size:.9rem;text-align:center}
.album-thumbnails{display:flex;gap:.45rem;overflow-x:auto;flex-shrink:0;padding:.25rem;scrollbar-width:thin}
.album-thumbnails button{flex:0 0 80px;padding:2px;border:2px solid transparent;background:transparent}
.album-thumbnails button[aria-pressed="true"]{border-color:#fff}
.album-thumbnails img{width:76px;height:54px;object-fit:cover}
@media(max-width:600px){
 .album-grid{grid-template-columns:minmax(0,1fr);gap:1rem}
 .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
 .album-viewer{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;padding:max(.7rem,env(safe-area-inset-top)) max(.65rem,env(safe-area-inset-right)) max(.7rem,env(safe-area-inset-bottom)) max(.65rem,env(safe-area-inset-left));border:0}
 .album-bar h2{max-width:23ch}
 .album-switch{flex-wrap:wrap}
 .album-switch label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .album-switch select{flex:1;max-width:calc(100% - 5rem);font-size:1rem}
 .album-hint{max-width:13ch;font-size:.875rem;line-height:1.25}
 .album-viewer button{padding:.55rem .75rem}
}
@media(prefers-reduced-motion:no-preference){.album-image{transition:opacity .16s ease}}
