:root {
  --navy: #1b235c;
  --navy-dark: #111943;
  --text: #17234c;
  --silver: #a3a9b1;
  --joint-angle: 15.642246deg;
  --half-joint: 42px;
  --hero-joint: calc(50% - var(--half-joint));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; color: var(--text); background: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 16px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.photo-frame { position: relative; display: block; width: 100%; min-width: 0; }
.inner-hero-media.photo-marked, .split-feature-media.photo-marked { position: relative; }
.photo-mark {
  position: absolute;
  right: 1.953125%;
  bottom: 1.953125%;
  z-index: 2;
  display: block;
  width: 9.765625%;
  aspect-ratio: 1;
  pointer-events: none;
  background-image: url("./cristal-blindado-automotriz-preparado-envio.webp");
  background-size: 1024% auto;
  background-position: 97.835498% 96.338673%;
  background-repeat: no-repeat;
  clip-path: circle(50%);
}
.cover-page .photo-mark, .automotive-hero .photo-mark, .architectural-hero .photo-mark, .architectural-specification .photo-mark { max-width: 24px; }
.application-auto.photo-marked { --photo-mark-shift: 20px; }
.security-band .application-auto.photo-marked { --photo-mark-shift: 84px; }
a:focus-visible, button:focus-visible { outline: 3px solid #477ddb; outline-offset: 5px; }
.skip-link { position: fixed; top: 12px; left: 12px; padding: 12px 18px; background: #fff; z-index: 20; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-header { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 90px; padding: 18px clamp(20px,3vw,48px); border-bottom: 1px solid #dce0e8; background: #fff; }
.brand { flex: 0 0 auto; width: clamp(230px,24vw,320px); max-width: 320px; }
.brand img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(16px,1.6vw,26px); font-size: 14px; font-weight: 600; white-space: nowrap; }
.site-nav a { padding: 14px 0; }
.site-nav .nav-product { line-height: 1.25; }
.site-nav .nav-product span { display: block; }
.site-nav a:hover { color: #5265a4; }
.site-nav .nav-prices { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; font-size: 22px; font-weight: 700; line-height: 1; color: var(--navy); }
.site-nav .nav-contact { background: var(--navy); color: #fff; padding: 17px 24px; }
.site-nav .nav-contact:hover, .button:hover { background: #303d7a; color: #fff; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: #fff; padding: 10px; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; background: var(--navy); margin: 5px 0; }
.cover-hero { position: relative; min-height: clamp(520px,35vw,650px); overflow: hidden; isolation: isolate; background: #e3e9ed; }
.hero-photo { position: absolute; inset: 0 0 0 var(--hero-joint); z-index: -1; background: #e3e9ed; }
.hero-photo img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.hero-copy { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; width: var(--hero-joint); min-height: inherit; padding: 120px clamp(24px,3.1vw,58px) 48px; padding-right: clamp(65px,6.3vw,110px); background: transparent; }
.hero-copy::before { content: ""; position: absolute; inset: 0 0 0 -50vw; background: #fff; transform: skewX(var(--joint-angle)); transform-origin: bottom right; z-index: -1; }
.hero-copy::after { content: ""; position: absolute; right: -2px; top: 0; width: 4px; height: 100%; background: var(--navy); transform: skewX(var(--joint-angle)); transform-origin: bottom right; z-index: -1; }
.eyebrow { display: flex; align-items: center; gap: 18px; margin: 0 0 30px; color: var(--navy); font-size: 14px; font-weight: 700; letter-spacing: .23em; text-transform: uppercase; }
.eyebrow span { flex: 0 1 46px; height: 2px; background: #b7bbc4; }
h1 { margin: 0; font-family: "Arial Black", Arial, Helvetica, sans-serif; font-size: clamp(3rem,5vw,5.25rem); font-weight: 900; line-height: 1.03; letter-spacing: -.035em; overflow-wrap: break-word; }
.hero-lead { margin: 26px 0 0; font-size: clamp(18px,1.9vw,28px); line-height: 1.35; color: #596071; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px 28px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 16px 28px; background: var(--navy); color: #fff; font-weight: 700; }
.application-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 700; border-bottom: 1px solid #b1b7c7; }
.application-link:hover { color: #5265a4; }
.application-band { position: relative; display: flex; min-height: 300px; overflow: hidden; background: var(--silver); }
.application-band::after { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 2px); width: 4px; background: var(--navy); transform: skewX(var(--joint-angle)); transform-origin: center; pointer-events: none; }
.application { position: relative; display: flex; align-items: center; flex: 0 0 calc(50% + var(--half-joint)); min-width: 0; min-height: 300px; overflow: hidden; isolation: isolate; }
.application img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .35s ease; }
.application:hover img { transform: scale(1.025); }
.application:focus-visible { outline-offset: -6px; }
.application::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.application-auto { color: #fff; clip-path: polygon(0 0,calc(100% - var(--half-joint) * 2) 0,100% 100%,0 100%); }
.application-auto img { object-position: 50% 60%; }
.application-auto::before { background: linear-gradient(90deg,rgba(13,24,67,.72),rgba(21,37,82,.28)); }
.application-arch { margin-left: calc(var(--half-joint) * -2); color: var(--navy); clip-path: polygon(0 0,100% 0,100% 100%,calc(var(--half-joint) * 2) 100%); }
.application-arch img { object-position: 35% 50%; }
.application-arch::before { background: linear-gradient(90deg,rgba(230,239,247,.66) 0%,rgba(230,239,247,.60) 58%,rgba(213,227,238,.22) 100%); }
.application-copy { width: 100%; padding: 42px clamp(24px,3.3vw,60px); transform: translateY(-28px); }
.application-auto .application-copy { padding-right: calc(clamp(24px,3.3vw,60px) + var(--half-joint) * 2); }
.application-arch .application-copy { padding-left: calc(clamp(24px,3.3vw,60px) + var(--half-joint) * 2); }
.application h2 { margin: 0 0 13px; font-size: clamp(26px,2.65vw,45px); line-height: 1.1; letter-spacing: -.035em; }
.application p { margin: 0 0 27px; font-size: clamp(16px,1.45vw,22px); line-height: 1.4; }
.application-copy > span { display: inline-block; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 700; }
.security-band { border-top: 4px solid var(--silver); }
.security-band::after { transform: skewX(calc(var(--joint-angle) * -1)); }
.security-band .application-auto { clip-path: polygon(0 0,100% 0,calc(100% - var(--half-joint) * 2) 100%,0 100%); }
.security-band .application-arch { clip-path: polygon(calc(var(--half-joint) * 2) 0,100% 0,100% 100%,0 100%); }
.security-band .application-auto img { object-position: 35% 50%; }
.cover-page .security-band .application-auto img { filter: brightness(1.18); }
.cover-page .security-band .application-auto::before { background: linear-gradient(90deg,rgba(13,24,67,.55),rgba(21,37,82,.14)); }
.security-band .application-arch img { object-position: 50% 18%; }
.security-band .application-arch::before { background: linear-gradient(90deg,rgba(230,239,247,.78) 0%,rgba(230,239,247,.74) 58%,rgba(213,227,238,.40) 100%); }
.security-band .application p { min-height: 2.8em; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 30px clamp(24px,3.3vw,60px); background: #f4f5f8; border-top: 1px solid #dce0e8; }
.site-footer p { margin: 0; font-size: 14px; line-height: 1.65; font-weight: 700; }
.site-footer p span { color: #697181; font-weight: 400; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-contact a:hover { text-decoration: underline; }
.site-footer small { color: #697181; font-size: 12px; }
@media (max-width: 1100px) {
  .brand { width:230px; }
  .site-nav { gap: 16px; font-size: 12px; }
  .site-nav .nav-contact { padding: 13px 16px; }
  .hero-copy { padding-top: 95px; padding-right: 70px; padding-bottom: 48px; }
  h1 { font-size: clamp(2.7rem,5.1vw,3.65rem); }
  .hero-actions { gap: 18px; }
  .button { padding-inline: 23px; }
}
@media (max-width: 850px) {
  .site-header { min-height: 92px; padding: 14px 28px; }
  .brand { flex: 0 1 390px; }
  .menu-toggle { display: block; flex: 0 0 44px; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 16px 28px 24px; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid #dce0e8; background: #fff; font-size: 16px; box-shadow: 0 12px 20px #11194318; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 15px 0; }
  .site-nav { white-space: normal; }
  .site-nav .nav-product span { display: inline; }
  .site-nav .nav-contact { text-align: center; margin-top: 8px; }
}
@media (max-width: 900px) {
  .application-auto.photo-marked, .security-band .application-auto.photo-marked { --photo-mark-shift: 0px; }
  .cover-hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-copy { width: 100%; min-height: 0; padding: 42px 28px 35px; background: #fff; }
  .hero-copy::before, .hero-copy::after { display: none; }
  .hero-photo { position: relative; inset: auto; z-index: auto; order: 2; height: auto; aspect-ratio: 1672 / 941; border-top: 3px solid var(--silver); }
  .eyebrow { font-size: 12px; letter-spacing: .15em; gap: 12px; }
  .eyebrow span { max-width: 30px; }
  .hero-lead { font-size: 20px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .application h2 { font-size: 27px; }
  .application { flex-basis: 50%; clip-path: none; }
  .application-arch { margin-left: 0; }
  .application-band::after { transform: none; background: var(--silver); }
  .security-band::after { transform: none; }
  .security-band .application { clip-path: none; }
  .security-band .application h2 { min-height: 2.2em; }
  .application-auto .application-copy, .application-arch .application-copy { padding: 42px 28px; }
  .site-footer { flex-wrap: wrap; }
}
@media (max-width: 650px) {
  .site-header { min-height: 80px; padding: 10px 16px; gap: 12px; border-bottom-width: 1px; }
  .brand { width: calc(100% - 56px); flex-basis: 320px; }
  .cover-hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-copy { width: 100%; min-height: 0; padding: 42px 24px 35px; clip-path: none; background: #fff; }
  .hero-copy::before, .hero-copy::after { display: none; }
  .eyebrow { margin-bottom: 24px; }
  h1 { font-size: clamp(2.3rem,9vw,3.5rem); line-height: 1.02; }
  .hero-lead { margin-top: 23px; font-size: 18px; }
  .desktop-break { display: none; }
  .hero-actions { flex-direction: row; align-items: center; margin-top: 28px; gap: 16px 24px; }
  .button { min-height: 52px; padding: 15px 23px; }
  .application-link { font-size: 14px; }
  .application-band { flex-direction: column; }
  .application-auto img { object-position: 50% 55%; }
  .application-band::after { display: none; }
  .application { flex-basis: auto; min-height: 250px; }
  .application-copy { transform: translateY(-20px); }
  .application-arch { border-top: 4px solid var(--silver); }
  .application-auto .application-copy, .application-arch .application-copy { padding: 36px 24px; }
  .application h2 { font-size: clamp(26px,6.5vw,36px); }
  .application p { font-size: 18px; }
  .security-band .application h2, .security-band .application p { min-height: 0; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 22px; padding: 28px 24px; }
}
/* Rectangular home layout; shared product-page geometry remains independent. */
.cover-page .category-ribbon { position: relative; display: flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 25px; background: #a7a9ad; color: var(--navy); padding: 3px 24px; text-align: center; font-family: "Arial Black", Arial, Helvetica, sans-serif; font-size: 13px; font-weight: 900; letter-spacing: .04em; line-height: 1.4; }
.category-ribbon .ribbon-label { position: relative; }
.category-ribbon .ribbon-arrow { position: absolute; left: calc(100% + 10px); top: 50%; width: 9px; height: 11px; background: currentColor; clip-path: polygon(35% 0,65% 0,65% 55%,100% 55%,50% 100%,0 55%,35% 55%); transform: translateY(-50%); }
.cover-page .category-ribbon + .application-band .application { border-top: 0; }
.cover-page #aplicaciones .application { border-bottom: 0; }
.home-overview { padding: 44px clamp(24px,3.3vw,60px); max-width: 1120px; margin: 0 auto; }
.home-overview h2 { color: var(--navy); font-size: clamp(24px,2.2vw,32px); margin: 0 0 20px; }
.home-overview p { font-size: 17px; line-height: 1.7; margin: 0 0 16px; }
.home-overview a { color: var(--navy); text-underline-offset: 3px; }
.whatsapp-contact { position: fixed; right: 22px; bottom: 24px; z-index: 999; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 14px; border-radius: 0; background: var(--navy); color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; box-shadow: 0 2px 8px #0002; }
.whatsapp-contact svg { width: 19px; height: 19px; }
.whatsapp-contact:hover { background: #30365b; }
.whatsapp-contact:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
@media (max-width: 650px) { .whatsapp-contact { right: 16px; bottom: 18px; } }
.cover-page .cover-hero { display: grid; grid-template-columns: minmax(0,38fr) minmax(0,62fr); align-items: center; min-height: 0; background: #fff; }
.cover-page .hero-copy { width: 100%; min-height: 0; padding: clamp(28px,3vw,48px) clamp(24px,3.1vw,58px); background: #fff; }
.cover-page .hero-copy::before, .cover-page .hero-copy::after { content: none; display: none; }
.cover-page .hero-copy h1 { font-size: clamp(1.75rem,3.1vw,3.5rem); line-height: 1.12; }
.cover-page .hero-photo { position: relative; inset: auto; z-index: auto; order: initial; width: 100%; height: auto; aspect-ratio: auto; border: 0; background: #fff; }
.cover-page .hero-photo img { width: 100%; height: auto; object-fit: contain; border: 4px solid #a7a9ad; border-bottom: 0; box-sizing: border-box; }
.cover-page .application-band { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); min-height: 0; gap: 0; }
.cover-page .application-band::after { content: none; display: none; }
.cover-page .application { margin: 0; min-height: 300px; clip-path: none; border: 4px solid #a7a9ad; box-sizing: border-box; }
.cover-page .application-band .application:first-child { border-right: 0; }
.cover-page .security-band .application { border-top: 0; }
.cover-page .security-band { border-top: 0; }
.cover-page .application.photo-marked { --photo-mark-shift: 0px; }
.cover-page .application .application-copy { padding: 42px clamp(24px,3.3vw,60px); }
@media (max-width: 650px) {
  .cover-page .cover-hero { grid-template-columns: minmax(0,1fr); }
  .cover-page .hero-photo { max-height: 300px; overflow: hidden; }
  .cover-page .hero-photo img { max-height: 300px; }
}
@media (max-width: 650px) {
  .cover-page .hero-copy { padding: 28px 24px; }
  .cover-page .application-band { grid-template-columns: minmax(0,1fr); }
  .cover-page .application { min-height: 250px; }
  .cover-page .application-band .application:first-child { border-right: 4px solid #a7a9ad; }
  .cover-page .application-band .application + .application { border-top: 0; }
  .cover-page .application .application-copy { padding: 36px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .application img { transition: none; }
}
@media (min-width:851px) {
 .cover-page .site-header { display:grid; grid-template-columns:minmax(0,38fr) minmax(0,62fr); gap:0; padding-left:0; padding-right:0; }
 .cover-page .site-header .brand { margin-left:clamp(20px,3vw,48px); }
 .cover-page .site-header .site-nav { justify-content:space-between; padding-right:clamp(20px,3vw,48px); }
}
