/* ==========================================================
   MASTERGLASS — HOJA DE ESTILOS
   Código organizado por secciones para facilitar su edición.
   ========================================================== */

/* 01. Tipografías y fuentes locales */
@font-face {
    font-family: "Frutiger Brand";
    src: local("Frutiger Light"), local("Frutiger LT Std 45 Light");
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: "Frutiger Brand";
    src: local("Frutiger"), local("Frutiger Roman"), local("Frutiger LT Std 55 Roman"), local("Frutiger Linotype");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Frutiger Brand";
    src: local("Frutiger Bold"), local("Frutiger LT Std 65 Bold");
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: "MG Fallback";
    src: url("../fonts/roboto-light.woff2") format("woff2");
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: "MG Fallback";
    src: url("../fonts/roboto-regular.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "MG Fallback";
    src: url("../fonts/roboto-bold.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}

/* 02. Colores y variables de la marca */
:root {
    --blue: #004497;
    --blue-deep: #00316c;
    --red: #de0209;
    --red-dark: #bd0006;
    --ink: #153252;
    --muted: #61758c;
    --line: #dce5ef;
    --paper: #f3f7fc;
    --font: "Frutiger Brand", "Frutiger", "Frutiger Linotype", "MG Fallback", "Segoe UI", sans-serif;
}

/* 03. Estilos generales, títulos y botones */
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 125px;
}
body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: var(--font);
    font-size: 18px;
    line-height: 1.55;
}
h1,
h2,
h3,
p,
figure {
    margin: 0;
}
h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.08;
}
h1 {
    font-size: clamp(46px, 6.6vw, 88px);
}
h2 {
    font-size: clamp(39px, 4.9vw, 66px);
}
h3 {
    font-size: 28px;
}
em {
    font-style: normal;
    color: var(--red);
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
textarea,
select {
    font: inherit;
}
button {
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
}
svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible {
    outline: 3px solid #328bf1;
    outline-offset: 5px;
}
img {
    display: block;
    max-width: 100%;
}
[hidden] {
    display: none !important;
}
.wrap {
    width: min(1280px, 90%);
    margin-inline: auto;
}
.section {
    padding-block: 105px;
}
.section-heading {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 44px;
}
.section-heading h2 {
    margin: 17px 0 23px;
    color: var(--blue-deep);
}
.section-heading > p:last-child:not(.eyebrow) {
    max-width: 660px;
    margin: auto;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.55;
}
.eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    font-size: 12px;
    letter-spacing: 2.1px;
    font-weight: 700;
    color: var(--blue);
}
.eyebrow > span {
    height: 7px;
    width: 7px;
    border-radius: 50%;
    background: var(--red);
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    min-height: 59px;
    padding: 16px 25px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 10px;
    transition:
        transform 0.2s,
        background 0.2s,
        box-shadow 0.2s;
}
.button > span[aria-hidden] {
    font-size: 24px;
    font-family: sans-serif;
}
.primary {
    background: var(--red);
    color: #fff;
    box-shadow: 0 9px 22px #de020922;
}
.primary:hover {
    background: var(--red-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px #de020930;
}
.white {
    background: #fff;
    color: var(--blue);
}
.white:hover {
    background: #eaf3ff;
    transform: translateY(-2px);
}
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 17px;
    color: var(--blue);
    font-weight: 700;
}
.text-link:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}
.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    transform: translateY(-200%);
    z-index: 100;
    background: #fff;
    padding: 12px;
    border: 2px solid var(--blue);
}
.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;
}
/* 04. Encabezado y navegación */
.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #ffffffed;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}
.header:before {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(100deg, var(--blue) 70%, var(--red) 70%);
}
.header-inner {
    height: 104px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.brand {
    width: 166px;
    flex-shrink: 0;
}
.brand img {
    width: 100%;
    height: auto;
}
.header nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 16px;
    font-weight: 400;
}
.header nav a {
    padding: 18px 0;
    transition: color 0.2s;
}
.header nav a:hover {
    color: var(--red);
}
.header-cta {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 13px 20px;
    background: var(--red);
    color: #fff;
    border-radius: 9px;
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
    transition: background 0.2s;
}
.header-cta:hover {
    background: var(--red-dark);
}
.back-link {
    color: var(--blue);
    background: #edf4fd;
}
.back-link:hover {
    background: #dae9fd;
}
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
}
.menu-toggle span {
    display: block;
    height: 2px;
    background: var(--blue);
    margin: 6px 0;
    width: 100%;
}
/* 05. Página informativa: portada y franja de servicios */
.home-hero {
    padding: 64px 0 0;
}
.hero-copy {
    text-align: center;
    position: relative;
    max-width: 1050px;
    margin: auto;
}
.home-hero h1 {
    color: var(--blue-deep);
    margin: 18px 0 25px;
}
.hero-description {
    max-width: 670px;
    margin-inline: auto;
    color: var(--muted);
    font-size: 21px;
    line-height: 1.6;
}
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 27px;
}
.hero-micro {
    font-size: 14px;
    color: var(--muted);
    margin-top: 17px;
}
.hero-photo {
    position: relative;
    overflow: hidden;
    margin-top: 42px;
    height: 380px;
    border-radius: 38px 38px 12px 12px;
    background: var(--blue);
}
.hero-photo > img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center 55%;
}
.photo-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #001b4080, transparent 75%), linear-gradient(0deg, #001b40a6, transparent 70%);
}
.photo-tag {
    position: absolute;
    top: 30px;
    left: 35px;
    font-size: 11px;
    letter-spacing: 2px;
    color: #fff;
    font-weight: 700;
}
.photo-copy {
    position: absolute;
    left: 35px;
    bottom: 45px;
    color: #fff;
    font-size: clamp(30px, 4vw, 50px);
    letter-spacing: -0.04em;
    line-height: 1.1;
}
.photo-copy > span,
.photo-copy > strong {
    display: block;
}
.photo-copy > span {
    font-weight: 300;
}
.photo-cta {
    position: absolute;
    right: 32px;
    bottom: 45px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: #ffffffef;
    padding: 18px 23px;
    border-radius: 15px;
    color: var(--blue);
    backdrop-filter: blur(12px);
}
.photo-orbit {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border: 1px solid #bad0ed;
    border-radius: 50%;
    font-size: 21px;
    font-weight: 700;
}
.photo-cta > div {
    font-size: 13px;
    color: var(--muted);
}
.photo-cta strong {
    display: block;
    font-size: 17px;
    color: var(--blue);
    margin-top: 4px;
}
.photo-cta:hover {
    background: #fff;
}
.photo-credit {
    position: absolute;
    right: 32px;
    bottom: 12px;
    color: #e3e9f0;
    font-size: 11px;
}
.brand-strip {
    background: var(--blue);
    color: #fff;
    margin-top: 35px;
}
.brand-strip > .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-block: 26px;
    font-size: 16px;
}
.brand-strip i {
    width: 4px;
    height: 4px;
    background: #ff7074;
    border-radius: 50%;
    flex-shrink: 0;
}
/* 06. Tarjetas de vidrios automotrices */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.service {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 25px 25px 0;
    background: #f2f7fe;
    transition:
        transform 0.25s,
        box-shadow 0.25s;
}
.service:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 40px #00316c15;
}
.service-front {
    background: linear-gradient(140deg, #0759b6, #004497 65%, #003574);
    border-color: var(--blue);
    color: #fff;
}
.service-rear {
    background: linear-gradient(140deg, #fff9f9, #fff0f0);
    border-color: #f2dce0;
}
.service-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.service-number {
    height: 35px;
    width: 35px;
    border: 1px solid #bdcee2;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 700;
}
.service-front .service-number {
    border-color: #ffffff50;
}
.service-tag {
    font-size: 10px;
    letter-spacing: 1.6px;
    font-weight: 700;
    color: var(--blue);
    background: #deebfd;
    padding: 6px 10px;
    border-radius: 6px;
}
.service-front .service-tag {
    background: #ffffff18;
    color: #fff;
}
.service-rear .service-tag {
    color: var(--red);
    background: #ffdfe1;
}
.service-image {
    height: 200px;
    margin: 12px -7px 10px;
}
.service-visual {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 12px 8px #12304c12);
    transition: transform 0.3s;
}
.service:hover .service-visual {
    transform: translateY(-4px) rotate(-2deg);
}
.service h3 {
    font-size: 27px;
    text-align: center;
    letter-spacing: -0.03em;
}
.service > p {
    text-align: center;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.5;
    margin: 15px 0 25px;
    min-height: 77px;
}
.service-front > p {
    color: #d9e9fe;
}
.service-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-inline: -25px;
    padding: 20px 25px;
    border-top: 1px solid #cbdced;
    color: var(--blue);
    font-size: 16px;
    font-weight: 700;
    background: #ffffff50;
}
.service-link > span {
    height: 31px;
    width: 31px;
    display: grid;
    place-items: center;
    background: #dfebfb;
    border-radius: 50%;
    font-size: 21px;
}
.service-front .service-link {
    border-color: #ffffff25;
    color: #fff;
    background: #ffffff06;
}
.service-front .service-link > span {
    background: #ffffff18;
}
.service-rear .service-link {
    border-color: #f2dce0;
    color: var(--red);
}
.service-rear .service-link > span {
    background: #ffe0e2;
}
.service-link:hover {
    background: #fff8;
}
.service-front .service-link:hover {
    background: #ffffff16;
}
/* 07. Asesoría y respaldo de MasterGlass */
.why-section {
    background: var(--paper);
    border-block: 1px solid var(--line);
    padding: 85px 0;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px;
}
.why-grid article {
    text-align: center;
    padding: 0 18px;
}
.why-grid article > span {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    border-radius: 14px;
    background: #e1ecfb;
    color: var(--blue);
    font-size: 16px;
    font-weight: 700;
}
.why-grid article:nth-child(2) > span {
    color: var(--red);
    background: #ffe4e5;
}
.why-grid h3 {
    font-size: 25px;
    margin-bottom: 12px;
}
.why-grid p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}
/* 08. Galería y carrusel de imágenes */
.work-carousel {
    border-radius: 26px;
    overflow: hidden;
    background: var(--paper);
    touch-action: pan-y;
    position: relative;
}
.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.work-slide {
    position: relative;
    flex: 0 0 100%;
    min-width: 0;
    height: 510px;
    margin: 0;
    background: var(--blue-deep);
}
.work-slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.work-slide:nth-child(2) > img {
    object-position: center 63%;
}
.work-slide:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #001c43e0, transparent 55%);
    pointer-events: none;
}
.work-slide figcaption {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    position: absolute;
    bottom: 35px;
    left: 35px;
    right: 35px;
    color: #fff;
    z-index: 1;
}
.work-slide figcaption div > span {
    font-size: 11px;
    letter-spacing: 2px;
    color: #d8e8fd;
}
.work-slide h3 {
    font-size: 34px;
    margin-top: 8px;
}
.slide-label {
    white-space: nowrap;
    display: block;
    font-size: 12px;
    padding: 6px 12px;
    border: 1px solid #ffffff60;
    border-radius: 30px;
    background: #ffffff0c;
}
.work-slide-model {
    background: #edf4fc;
}
.work-slide-model > img {
    object-fit: contain;
    padding: 15px 50px 65px;
}
.carousel-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 20px;
}
.carousel-bar > p {
    font-size: 14px;
    max-width: 700px;
    color: var(--muted);
}
.carousel-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}
.carousel-controls button {
    height: 44px;
    width: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: 22px;
    color: var(--blue);
}
.carousel-controls button:hover {
    color: #fff;
    background: var(--blue);
    border-color: var(--blue);
}
#work-counter {
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
}
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}
.carousel-dots button {
    width: 32px;
    height: 26px;
    position: relative;
}
.carousel-dots button:after {
    content: "";
    display: block;
    width: 22px;
    height: 4px;
    background: #cdd8e7;
    border-radius: 9px;
    margin: auto;
}
.carousel-dots button[aria-current="true"]:after {
    background: var(--red);
}
/* 09. Ubicaciones y contactos */
.contact-section {
    padding: 90px 0;
    background: #f3f7fc;
}
.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}
.location-panel {
    padding: 35px 35px 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
}
.location-top {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    padding-bottom: 10px;
}
.location-top svg {
    width: 26px;
    height: 26px;
}
.location-item {
    display: flex;
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}
.location-index {
    font-size: 13px;
    color: var(--red);
    font-weight: 700;
    margin-top: 5px;
}
.location-item h3 {
    font-size: 25px;
    margin-bottom: 12px;
}
.location-item p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}
.location-item a {
    color: var(--blue);
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    margin-top: 15px;
    text-decoration: underline;
    text-underline-offset: 5px;
}
.location-source {
    font-size: 12px;
    color: var(--muted);
    display: block;
    margin-top: 22px;
}
.contact-card {
    border-radius: 24px;
    background: linear-gradient(145deg, #0957b0, var(--blue), #003572);
    padding: 35px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.contact-card:after {
    content: "";
    position: absolute;
    height: 180px;
    width: 180px;
    right: -100px;
    top: 60px;
    border: 1px solid #ffffff25;
    border-radius: 50%;
    box-shadow:
        0 0 0 32px #ffffff05,
        0 0 0 64px #ffffff05;
    pointer-events: none;
}
.contact-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: #ffffff15;
    margin-bottom: 25px;
}
.contact-icon svg {
    width: 28px;
    height: 28px;
}
.contact-card .eyebrow {
    color: #c7e0ff;
    justify-content: flex-start;
    font-size: 10px;
    letter-spacing: 1.6px;
}
.contact-card h3 {
    font-size: 43px;
    margin: 12px 0 17px;
}
.contact-card > p:not(.eyebrow) {
    font-size: 17px;
    color: #d4e6fb;
    max-width: 320px;
}
.contact-phone {
    font-size: 29px;
    letter-spacing: -0.02em;
    display: block;
    margin: 16px 0 20px;
}
.contact-card > .button {
    font-size: 16px;
    width: 100%;
    padding: 14px 17px;
    gap: 14px;
}
.contact-email {
    display: block;
    color: #d3e6ff;
    font-size: 14px;
    margin-top: 17px;
}
.final-cta {
    text-align: center;
    padding-block: 90px;
}
.final-cta h2 {
    margin: 17px 0 28px;
    color: var(--blue-deep);
}
/* 10. Cotizador: visor 3D y controles del vehículo */
.quote-page {
    background: linear-gradient(#f7faff, #fff 900px);
}
.quote-hero {
    text-align: center;
    padding-top: 47px;
}
.quote-hero h1 {
    font-size: clamp(42px, 5.4vw, 70px);
    color: var(--blue-deep);
    margin: 17px 0 22px;
}
.quote-hero .hero-description {
    font-size: 19px;
}
.quote-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 29px 0 31px;
    font-size: 14px;
    color: var(--muted);
}
.quote-steps li {
    display: flex;
    gap: 9px;
    align-items: center;
    position: relative;
}
.quote-steps li + li:before {
    content: "";
    width: 23px;
    height: 1px;
    background: #bdcfe5;
    margin-right: 5px;
}
.quote-steps li > span {
    display: grid;
    place-items: center;
    border: 1px solid #c9d8eb;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 11px;
    font-weight: 700;
    color: var(--blue);
}
.quote-steps .current {
    color: var(--blue);
    font-weight: 700;
}
.quote-steps .current > span {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}
.showroom {
    max-width: 1200px;
    margin-bottom: 65px;
}
.vehicle-experience {
    background: #fff;
    border: 1px solid #d9e5f3;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 22px 70px #0044970b;
    position: relative;
}
.vehicle-experience:before {
    content: "";
    position: absolute;
    height: 4px;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(100deg, var(--blue) 77%, var(--red) 77%);
    z-index: 4;
}
.viewer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px 10px;
    gap: 20px;
    background: #fbfdff;
}
.viewer-identity {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.viewer-identity > strong {
    font-size: 21px;
    letter-spacing: -0.03em;
}
.live-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 1.7px;
}
.live-pill i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 4px #de020910;
}
.viewer-subtitle {
    color: var(--muted);
    font-size: 13px;
}
.viewer {
    height: 450px;
    position: relative;
    background: radial-gradient(ellipse at 50% 48%, #e7f1ff, #fbfdff 65%);
    overflow: hidden;
}
.viewer canvas {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    z-index: 1;
    touch-action: pan-y;
    cursor: grab;
}
.viewer canvas:active {
    cursor: grabbing;
}
.stage-watermark {
    font-size: 180px;
    line-height: 1;
    letter-spacing: -0.08em;
    font-weight: 700;
    color: #00449704;
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 0;
}
.viewer-tools {
    position: absolute;
    z-index: 4;
    right: 23px;
    top: 75px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.viewer-tools button {
    width: 41px;
    height: 41px;
    background: #fffffff0;
    border: 1px solid #d3e0f1;
    border-radius: 11px;
    color: var(--blue);
    font-family: sans-serif;
    font-size: 23px;
    box-shadow: 0 5px 15px #00357408;
}
.viewer-tools button:hover {
    border-color: var(--blue);
}
.rotate-control {
    position: absolute;
    left: 24px;
    top: 20px;
    z-index: 4;
    border: 1px solid #ccddf2;
    background: #fff9;
    color: var(--blue);
    border-radius: 40px;
    padding: 9px 14px;
    font-size: 13px;
}
.rotate-control[aria-pressed="true"] {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}
.rotate-control:disabled {
    opacity: 0.5;
    cursor: default;
}
.gesture {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 12px;
    color: var(--muted);
    pointer-events: none;
    z-index: 3;
}
.gesture svg {
    width: 20px;
    height: 20px;
}
.model-note {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: #7b8ba0;
    white-space: nowrap;
    z-index: 3;
}
.model-label {
    position: absolute;
    z-index: 3;
    pointer-events: none;
    display: flex;
    max-width: 200px;
}
.label-content {
    background: #fffffff2;
    padding: 10px 13px;
    border: 1px solid #c6d9f1;
    border-radius: 11px;
    box-shadow: 0 8px 22px #0035740c;
    backdrop-filter: blur(10px);
}
.label-content small {
    display: block;
    font-size: 9px;
    color: var(--blue);
    font-weight: 700;
    letter-spacing: 1px;
}
.label-content strong {
    display: block;
    font-size: 13px;
    line-height: 1.3;
    margin-top: 4px;
}
.label-line {
    position: absolute;
    left: 20px;
    top: 51px;
    width: 1px;
    height: 37px;
    background: #6f9ad1;
}
.label-line:after {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--blue);
    border: 1px solid #fff;
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    left: -2px;
}
.model-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #fbfdffed;
    z-index: 7;
}
.model-loading strong {
    font-size: 18px;
    color: var(--blue);
}
.model-loading small {
    font-size: 13px;
    color: var(--muted);
}
.model-spinner {
    height: 33px;
    width: 33px;
    border: 3px solid #dce9fa;
    border-top-color: var(--red);
    border-radius: 50%;
    animation: spin 0.85s linear infinite;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.view-fallback {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8fbff;
    padding: 15px 70px 45px;
    text-align: center;
    gap: 8px;
}
.view-fallback img {
    max-height: 290px;
    max-width: 100%;
    object-fit: contain;
}
.view-fallback p {
    font-size: 13px;
    color: var(--muted);
    max-width: 550px;
}
.view-fallback button {
    padding: 8px 15px;
    border: 1px solid #bfd1e9;
    border-radius: 8px;
    font-size: 13px;
    color: var(--blue);
}
/* 11. Selector de piezas y animación del reemplazo */
.part-picker {
    border-top: 1px solid var(--line);
    padding: 23px 30px 26px;
    background: #fff;
}
.picker-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.picker-heading > div {
    display: flex;
    align-items: center;
    gap: 10px;
}
.picker-step {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--red);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}
.picker-heading h2 {
    font-size: 23px;
    letter-spacing: -0.025em;
}
.selection-count {
    font-size: 12px;
    color: var(--muted);
}
.picker-description {
    font-size: 14px;
    color: var(--muted);
    margin: 8px 0 17px;
}
.glass-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 13px;
}
.glass-option {
    display: grid;
    grid-template-columns: 45px 1fr;
    align-items: center;
    column-gap: 12px;
    position: relative;
    border: 1px solid #d6e1f0;
    background: #f8fafd;
    text-align: left;
    border-radius: 13px;
    padding: 17px 16px;
    min-height: 90px;
    transition:
        transform 0.2s,
        box-shadow 0.2s,
        border-color 0.2s;
}
.glass-option svg {
    grid-column: 1;
    grid-row: 1/3;
    width: 40px;
    height: 33px;
    color: var(--blue);
}
.glass-name {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    display: block;
    grid-column: 2;
    padding-right: 15px;
}
.glass-option > small {
    grid-column: 2;
    font-size: 11px;
    color: var(--muted);
    margin-top: 5px;
}
.glass-option > i {
    position: absolute;
    right: 10px;
    top: 10px;
    display: grid;
    place-items: center;
    height: 18px;
    width: 18px;
    background: #e1eaf6;
    color: transparent;
    border-radius: 50%;
    font-style: normal;
    font-size: 11px;
}
.glass-option:hover {
    transform: translateY(-3px);
    border-color: #93b7e6;
    box-shadow: 0 7px 16px #0044970b;
}
.glass-option.selected {
    background: linear-gradient(135deg, #075ab7, var(--blue));
    border-color: var(--blue);
    color: #fff;
    box-shadow: 0 6px 15px #00449720;
}
.glass-option.selected svg {
    color: #fff;
}
.glass-option.selected > small {
    color: #cee4ff;
}
.glass-option.selected > i {
    color: var(--blue);
    background: #fff;
}
.replacement-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid var(--line);
}
.replacement-summary {
    display: flex;
    gap: 10px;
    align-items: center;
}
.replacement-summary > i {
    width: 7px;
    height: 7px;
    background: var(--red);
    border-radius: 50%;
    flex-shrink: 0;
}
.replacement-summary small {
    display: block;
    font-size: 11px;
    color: var(--muted);
}
.replacement-summary strong {
    display: block;
    font-size: 15px;
    margin-top: 1px;
}
.replacement-bar > button {
    padding: 11px 17px;
    background: #fff;
    border: 1px solid #a8c1e1;
    border-radius: 9px;
    color: var(--blue);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}
.replacement-bar > button > span {
    margin-left: 20px;
}
.replacement-bar > button:hover {
    background: #eaf3ff;
}
.compatibility-note {
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    max-width: 820px;
    margin: 18px auto 20px;
}
.next-step {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    color: var(--blue);
    font-size: 15px;
    font-weight: 700;
    width: fit-content;
    margin: auto;
    padding: 10px 17px;
    border-radius: 8px;
}
.next-step:hover {
    background: #edf4ff;
}
/* 12. Formulario de cotización */
.quote-section {
    padding: 83px 0 95px;
    background: var(--paper);
    border-top: 1px solid var(--line);
}
.quote-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.55fr);
    max-width: 1080px;
    margin: auto;
    border: 1px solid #d9e3ef;
    border-radius: 26px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 60px #00357409;
    align-items: stretch;
}
.quote-copy {
    padding: 36px 28px;
    background: linear-gradient(155deg, #0056b4, #004497 50%, #003574);
    color: #fff;
    position: relative;
}
.quote-card-label {
    font-size: 10px;
    letter-spacing: 2px;
    color: #d1e5ff;
}
.quote-piece-art {
    height: 195px;
    margin: 27px -12px 18px;
}
.quote-piece-art svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 15px 7px #001b3d50);
}
.quote-copy > small {
    font-size: 10px;
    letter-spacing: 1.3px;
    color: #bad8ff;
}
.quote-copy h3 {
    font-size: 35px;
    line-height: 1.12;
    margin: 12px 0 17px;
    letter-spacing: -0.035em;
    overflow-wrap: break-word;
}
.change-piece {
    display: inline-block;
    border-bottom: 1px solid #c3dbfa70;
    padding-bottom: 6px;
    color: #e2efff;
    font-size: 13px;
}
.quote-aside-bottom {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 55px 0 17px;
    padding-top: 25px;
    border-top: 1px solid #ffffff30;
}
.quote-aside-bottom svg {
    height: 27px;
    width: 27px;
    flex-shrink: 0;
}
.quote-aside-bottom strong {
    display: block;
    font-size: 14px;
}
.quote-aside-bottom span {
    font-size: 13px;
    color: #bfdbff;
}
.quote-copy > p {
    font-size: 13px;
    color: #c3ddfc;
    line-height: 1.6;
}
#quote-form {
    padding: 36px 36px 30px;
    min-width: 0;
}
.form-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 27px;
}
.form-kicker {
    font-size: 10px;
    letter-spacing: 1.6px;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 9px;
}
.form-heading h3 {
    font-size: 28px;
    line-height: 1.18;
    letter-spacing: -0.035em;
}
.form-badge {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #d5e2f2;
    background: #f0f6ff;
    color: var(--blue);
    border-radius: 13px;
    flex-shrink: 0;
}
.form-badge svg {
    width: 23px;
    height: 23px;
}
fieldset {
    padding: 22px 0 0;
    margin: 0 0 24px;
    border: 0;
    border-top: 1px solid var(--line);
    min-width: 0;
}
legend {
    padding: 0 13px 0 0;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 16px;
    font-weight: 700;
    color: var(--blue);
    width: auto;
}
legend > span {
    height: 24px;
    width: 24px;
    background: #e8f1fe;
    color: var(--blue);
    display: inline-grid;
    place-items: center;
    border-radius: 7px;
    font-size: 10px;
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 16px;
}
.form-grid .wide {
    grid-column: 1/-1;
}
.vehicle-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.vehicle-fields > label:last-child {
    max-width: 100%;
}
label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #304b69;
    line-height: 1.35;
}
label > input,
label > select,
label > textarea {
    display: block;
    width: 100%;
    margin-top: 8px;
    min-height: 47px;
    border: 1px solid #d4dfec;
    border-radius: 8px;
    color: var(--ink);
    background: #fbfdff;
    padding: 12px 13px;
    font-size: 15px;
    font-weight: 400;
    outline: none;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}
input::placeholder,
textarea::placeholder {
    color: #8697aa;
    opacity: 1;
}
input:focus,
textarea:focus,
select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px #0044970c;
    background: #fff;
}
select {
    padding-right: 28px !important;
}
textarea {
    resize: vertical;
    min-height: 95px;
}
.optional {
    color: #7f8fa2;
    font-size: 11px;
    font-weight: 400;
}
fieldset > label + label {
    margin-top: 17px;
}
.submit-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 13px 15px;
    background: #eff5fc;
    border-radius: 8px;
    margin: 9px 0 15px;
    font-size: 12px;
    color: var(--muted);
}
.submit-summary strong {
    font-size: 13px;
    color: var(--blue);
    text-align: right;
}
.whatsapp-submit {
    width: 100%;
    background: var(--red);
    color: #fff;
    gap: 12px;
    border-radius: 9px;
    padding: 16px 18px;
    font-size: 16px;
}
.whatsapp-submit:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
}
.whatsapp-submit svg {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
}
.whatsapp-submit > .submit-label {
    font-size: 16px;
    font-family: var(--font);
    flex: 1;
    text-align: left;
}
.form-caption {
    font-size: 11px;
    line-height: 1.6;
    color: var(--muted);
    text-align: center;
    margin-top: 12px;
}
.form-status {
    font-size: 13px;
    line-height: 1.5;
    color: var(--blue);
    margin-top: 13px;
}
.form-status:empty {
    display: none;
}
.form-status a {
    text-decoration: underline;
    font-weight: 700;
    text-underline-offset: 4px;
}
/* 13. Pie de página */
.footer {
    background: #002d66;
    color: #fff;
    padding: 35px 0 0;
}
.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 30px;
}
.footer-brand {
    width: 171px;
    padding: 12px;
    background: #fff;
    border-radius: 9px;
    flex-shrink: 0;
}
.footer-top > p {
    font-size: 23px;
    letter-spacing: -0.03em;
    font-weight: 300;
    color: #e7f0ff;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: #c5daf4;
}
.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #ffffff20;
    padding: 20px 0;
    font-size: 11px;
    color: #9dbce2;
}
/* 14. Diseño adaptable a pantallas y dispositivos */
@media (min-width: 1600px) {
    .home-hero {
        padding-top: 75px;
    }
    .hero-photo {
        height: 420px;
    }
    .viewer {
        height: 490px;
    }
}
@media (max-width: 1050px) {
    .header nav {
        gap: 18px;
        font-size: 14px;
    }
    .header-inner {
        gap: 20px;
    }
    .brand {
        width: 145px;
    }
    .header-cta {
        font-size: 14px;
        padding: 12px 16px;
    }
    .hero-photo {
        height: 350px;
    }
    .photo-copy {
        font-size: 38px;
    }
    .photo-cta {
        padding: 14px 17px;
        right: 25px;
    }
    .photo-orbit {
        width: 50px;
        height: 50px;
    }
    .photo-cta strong {
        font-size: 15px;
    }
    .service {
        padding-inline: 20px;
    }
    .service-link {
        margin-inline: -20px;
        padding-inline: 20px;
    }
    .service h3 {
        font-size: 24px;
    }
    .service-image {
        height: 175px;
    }
    .service > p {
        font-size: 16px;
        min-height: 90px;
    }
    .brand-strip > .wrap {
        gap: 13px;
        font-size: 14px;
    }
    .glass-option {
        grid-template-columns: 1fr;
        padding: 16px 13px;
        min-height: 120px;
    }
    .glass-option svg {
        grid-row: 1;
        grid-column: 1;
        width: 32px;
        height: 27px;
        margin-bottom: 9px;
    }
    .glass-name,
    .glass-option > small {
        grid-column: 1;
    }
    .quote-layout {
        grid-template-columns: 0.75fr 1.45fr;
    }
    #quote-form {
        padding: 30px 26px;
    }
    .quote-copy {
        padding: 30px 25px;
    }
    .quote-copy h3 {
        font-size: 29px;
    }
    .why-grid {
        gap: 20px;
    }
    .contact-card {
        padding: 30px;
    }
    .location-panel {
        padding: 30px;
    }
    .contact-card .button {
        font-size: 14px;
    }
}
@media (max-width: 760px) {
    html {
        scroll-padding-top: 102px;
    }
    .wrap {
        width: 91%;
    }
    .header-inner {
        height: 87px;
        gap: 12px;
    }
    .brand {
        width: 125px;
    }
    .header nav {
        display: none;
        position: absolute;
        top: 91px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 15px 5%;
        box-shadow: 0 15px 25px #00316c10;
        font-size: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    .header nav.open {
        display: flex;
    }
    .header nav a {
        padding: 13px 0;
        width: 100%;
    }
    .menu-toggle {
        display: block;
        flex-shrink: 0;
    }
    .header-cta {
        margin-left: auto;
        font-size: 13px;
        gap: 15px;
        padding: 12px;
    }
    .home-hero {
        padding-top: 42px;
    }
    .eyebrow {
        font-size: 10px;
        letter-spacing: 1.7px;
    }
    .home-hero h1 {
        font-size: clamp(42px, 8vw, 64px);
        margin: 19px 0 22px;
    }
    .hero-description {
        font-size: 18px;
        max-width: 530px;
    }
    .hero-actions {
        gap: 20px;
    }
    .hero-micro {
        font-size: 12px;
        margin-top: 15px;
    }
    .hero-photo {
        margin-top: 32px;
        height: 380px;
        border-radius: 23px 23px 10px 10px;
    }
    .hero-photo > img {
        object-position: 60% center;
    }
    .photo-copy {
        font-size: 36px;
        left: 24px;
        bottom: 130px;
    }
    .photo-tag {
        left: 24px;
        top: 24px;
        font-size: 9px;
    }
    .photo-cta {
        left: 24px;
        right: auto;
        bottom: 38px;
        gap: 12px;
        padding: 11px 17px;
    }
    .photo-cta > div {
        font-size: 11px;
    }
    .photo-cta strong {
        font-size: 15px;
    }
    .photo-orbit {
        width: 43px;
        height: 43px;
        font-size: 16px;
    }
    .photo-credit {
        right: 20px;
        bottom: 10px;
        font-size: 9px;
    }
    .brand-strip {
        margin-top: 25px;
    }
    .brand-strip > .wrap {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        text-align: center;
        gap: 14px;
        padding: 23px 0;
        font-size: 13px;
    }
    .brand-strip i {
        display: none;
    }
    .section {
        padding-block: 70px;
    }
    .section-heading {
        margin-bottom: 32px;
    }
    .section-heading h2 {
        font-size: clamp(36px, 7vw, 49px);
        margin: 15px 0 18px;
    }
    .section-heading > p:last-child:not(.eyebrow) {
        font-size: 17px;
    }
    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 470px;
        margin: auto;
    }
    .service {
        padding: 23px 25px 0;
    }
    .service-image {
        height: 195px;
        margin: 8px 0 12px;
    }
    .service h3 {
        font-size: 28px;
    }
    .service > p {
        font-size: 17px;
        min-height: 0;
        margin: 13px 0 23px;
    }
    .service-link {
        margin-inline: -25px;
        padding-inline: 25px;
    }
    .why-section {
        padding: 65px 0;
    }
    .why-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 460px;
        margin: auto;
    }
    .why-grid article {
        padding: 0 20px;
    }
    .why-grid article > span {
        margin-bottom: 14px;
    }
    .why-grid h3 {
        font-size: 25px;
    }
    .work-slide {
        height: 390px;
    }
    .work-slide figcaption {
        left: 23px;
        right: 23px;
        bottom: 26px;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .work-slide h3 {
        font-size: 27px;
        max-width: 360px;
    }
    .work-slide figcaption div > span {
        font-size: 9px;
    }
    .slide-label {
        font-size: 10px;
    }
    .work-slide-model > img {
        padding: 0 10px 90px;
    }
    .carousel-bar {
        gap: 12px;
        align-items: flex-start;
    }
    .carousel-bar > p {
        font-size: 11px;
        max-width: 240px;
    }
    .carousel-controls {
        gap: 12px;
    }
    .carousel-controls button {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
    #work-counter {
        font-size: 11px;
    }
    .contact-section {
        padding: 65px 0;
    }
    .contact-layout {
        grid-template-columns: 1fr;
        max-width: 530px;
        gap: 20px;
    }
    .location-panel {
        padding: 27px;
    }
    .location-item h3 {
        font-size: 24px;
    }
    .contact-card {
        padding: 30px;
    }
    .contact-card h3 {
        font-size: 43px;
    }
    .contact-card .button {
        font-size: 16px;
    }
    .final-cta {
        padding-block: 65px;
    }
    .quote-hero {
        padding-top: 33px;
    }
    .quote-hero h1 {
        font-size: clamp(38px, 7.4vw, 57px);
    }
    .quote-hero .hero-description {
        font-size: 17px;
    }
    .quote-steps {
        gap: 17px;
        margin: 25px 0;
        font-size: 11px;
    }
    .quote-steps li {
        gap: 6px;
    }
    .quote-steps li + li:before {
        display: none;
    }
    .quote-steps li > span {
        height: 23px;
        width: 23px;
        font-size: 9px;
    }
    .showroom {
        margin-bottom: 45px;
    }
    .vehicle-experience {
        border-radius: 19px;
    }
    .viewer-top {
        padding: 20px 20px 4px;
    }
    .viewer-identity > strong {
        font-size: 18px;
    }
    .viewer-subtitle {
        display: none;
    }
    .live-pill {
        font-size: 9px;
    }
    .viewer {
        height: 360px;
    }
    .stage-watermark {
        font-size: 130px;
        top: 25px;
    }
    .viewer-tools {
        right: 13px;
        top: 73px;
        gap: 7px;
    }
    .viewer-tools button {
        width: 34px;
        height: 34px;
        font-size: 21px;
        border-radius: 9px;
    }
    .rotate-control {
        font-size: 11px;
        left: 18px;
        top: 14px;
        padding: 7px 11px;
    }
    .gesture {
        font-size: 10px;
        bottom: 24px;
        gap: 5px;
    }
    .model-note {
        font-size: 9px;
    }
    .label-content {
        padding: 8px 10px;
    }
    .label-content small {
        font-size: 8px;
    }
    .label-content strong {
        font-size: 11px;
    }
    .label-line {
        top: 42px;
        height: 30px;
    }
    .part-picker {
        padding: 20px;
    }
    .picker-heading h2 {
        font-size: 20px;
    }
    .selection-count {
        font-size: 10px;
    }
    .picker-description {
        font-size: 12px;
    }
    .glass-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 9px;
    }
    .glass-option {
        min-height: 104px;
        padding: 13px;
        grid-template-columns: 38px 1fr;
        gap: 6px;
    }
    .glass-option svg {
        grid-column: 1;
        grid-row: 1/3;
        margin-bottom: 0;
        width: 32px;
        height: 28px;
    }
    .glass-name,
    .glass-option > small {
        grid-column: 2;
    }
    .glass-name {
        font-size: 13px;
        padding-right: 10px;
    }
    .glass-option > small {
        font-size: 10px;
        margin-top: 2px;
    }
    .glass-option > i {
        height: 15px;
        width: 15px;
        font-size: 9px;
        right: 7px;
        top: 8px;
    }
    .replacement-bar {
        gap: 13px;
        padding-top: 16px;
        margin-top: 16px;
    }
    .replacement-summary strong {
        font-size: 12px;
        line-height: 1.3;
    }
    .replacement-summary small {
        font-size: 10px;
    }
    .replacement-summary > i {
        width: 5px;
        height: 5px;
    }
    .replacement-bar > button {
        font-size: 11px;
        padding: 10px;
    }
    .replacement-bar > button > span {
        margin-left: 8px;
    }
    .compatibility-note {
        font-size: 10px;
        margin: 14px 10px 12px;
    }
    .next-step {
        font-size: 13px;
    }
    .view-fallback {
        padding: 15px 45px 45px;
    }
    .view-fallback img {
        max-height: 220px;
    }
    .view-fallback p {
        font-size: 10px;
    }
    .quote-section {
        padding: 65px 0;
    }
    .quote-layout {
        grid-template-columns: 1fr;
        max-width: 550px;
        border-radius: 20px;
    }
    .quote-copy {
        padding: 24px;
        display: grid;
        grid-template-columns: 90px 1fr;
        column-gap: 20px;
        align-items: center;
    }
    .quote-card-label {
        grid-column: 2;
        font-size: 9px;
    }
    .quote-piece-art {
        grid-column: 1;
        grid-row: 1/5;
        height: 100px;
        margin: 0 -10px;
    }
    .quote-copy > small {
        grid-column: 2;
        font-size: 8px;
        margin-top: 7px;
    }
    .quote-copy h3 {
        grid-column: 2;
        font-size: 24px;
        margin: 5px 0 8px;
    }
    .change-piece {
        grid-column: 2;
        width: fit-content;
        font-size: 11px;
    }
    .quote-aside-bottom {
        grid-column: 1/-1;
        margin: 20px 0 10px;
        padding-top: 17px;
    }
    .quote-aside-bottom strong {
        font-size: 12px;
    }
    .quote-aside-bottom span {
        font-size: 11px;
    }
    .quote-copy > p {
        grid-column: 1/-1;
        font-size: 11px;
    }
    .quote-aside-bottom svg {
        height: 22px;
        width: 22px;
    }
    #quote-form {
        padding: 27px 24px;
    }
    .form-heading h3 {
        font-size: 26px;
    }
    .form-kicker {
        font-size: 9px;
        letter-spacing: 1.1px;
    }
    .form-grid {
        gap: 16px 12px;
    }
    .form-heading {
        margin-bottom: 22px;
        gap: 12px;
    }
    .form-badge {
        width: 38px;
        height: 38px;
    }
    label {
        font-size: 12px;
    }
    label > input,
    label > select,
    label > textarea {
        font-size: 14px;
    }
    legend {
        font-size: 14px;
    }
    .submit-summary {
        font-size: 10px;
        padding: 12px;
    }
    .submit-summary strong {
        font-size: 11px;
    }
    .whatsapp-submit > .submit-label {
        font-size: 14px;
    }
    .whatsapp-submit {
        gap: 10px;
        padding: 14px;
    }
    .footer-top {
        gap: 25px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .footer-brand {
        width: 135px;
    }
    .footer-top > p {
        font-size: 19px;
    }
    .footer-links {
        flex-basis: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 17px;
        font-size: 12px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 5px;
        font-size: 10px;
    }
}
@media (max-width: 400px) {
    .header-cta {
        font-size: 12px;
        gap: 9px;
        padding: 10px;
    }
    .brand {
        width: 112px;
    }
    .menu-toggle {
        height: 38px;
        width: 38px;
        padding: 8px;
    }
    .hero-actions {
        flex-direction: column;
        gap: 16px;
    }
    .home-hero h1 {
        font-size: 39px;
    }
    .hero-description {
        font-size: 17px;
    }
    .quote-hero h1 {
        font-size: 36px;
    }
    .quote-steps {
        gap: 10px;
        font-size: 10px;
    }
    .viewer {
        height: 320px;
    }
    .part-picker {
        padding: 17px;
    }
    .glass-option {
        grid-template-columns: 1fr;
        min-height: 118px;
    }
    .glass-option svg {
        grid-column: 1;
        grid-row: 1;
    }
    .glass-name,
    .glass-option > small {
        grid-column: 1;
    }
    .picker-heading h2 {
        font-size: 18px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-grid .wide {
        grid-column: 1;
    }
    .form-heading h3 {
        font-size: 24px;
    }
    .submit-summary {
        gap: 9px;
    }
    .whatsapp-submit > .submit-label {
        font-size: 12px;
    }
    .carousel-bar {
        flex-direction: column;
        align-items: center;
    }
    .carousel-bar > p {
        text-align: center;
        max-width: 100%;
    }
}

/* 15. Accesibilidad: preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *:before,
    *:after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .service:hover,
    .primary:hover,
    .glass-option:hover,
    .whatsapp-submit:hover {
        transform: none;
    }
}
