/* Fuentes corporativas Peugeot disponibles en los proyectos internos de Vencor. */
@font-face {
    font-family: "Peugeot New";
    src: url("../fonts/PeugeotNew-Light.otf") format("opentype");
    font-style: normal;
    font-weight: 300;
}

@font-face {
    font-family: "Peugeot New";
    src: url("../fonts/PeugeotNew-Regular.otf") format("opentype");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "Peugeot New";
    src: url("../fonts/PeugeotNew-Bold.otf") format("opentype");
    font-style: normal;
    font-weight: 700;
}

@font-face {
    font-family: "Peugeot New";
    src: url("../fonts/PeugeotNew-Black.otf") format("opentype");
    font-style: normal;
    font-weight: 900;
}

/* Variables centrales: permiten cambiar la identidad visual desde un único lugar. */
:root {
    --navy: #071a32;
    --navy-soft: #102b4d;
    --blue: #1558d6;
    --blue-dark: #0f45ad;
    --sky: #eaf2ff;
    --white: #ffffff;
    --surface: #f4f7fb;
    --text: #142033;
    --muted: #627083;
    --line: #dce4ee;
    --success: #36c88a;
    --shadow: 0 24px 60px rgba(7, 26, 50, 0.14);
    --radius: 22px;
}

/* Reinicio básico para conseguir medidas predecibles en todos los navegadores. */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: var(--site-font-family, "Peugeot New"), Arial, Helvetica, sans-serif;
    font-size: var(--base-font-size, 18px);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    /* Ampliamos el área central para aprovechar mejor las pantallas de escritorio. */
    width: min(var(--content-max-width, 1320px), calc(100% - 56px));
    margin-inline: auto;
}

/* Botones y enlaces reutilizados en toda la web. */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 26px;
    border: 1px solid var(--blue);
    border-radius: 999px;
    color: var(--white);
    background: var(--blue);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
}

.button-small {
    min-height: 42px;
    padding-inline: 20px;
}

.button-light {
    border-color: var(--white);
    color: var(--navy);
    background: var(--white);
}

.button-outline {
    color: var(--blue);
    background: transparent;
}

.button-glass {
    border-color: rgba(255, 255, 255, 0.65);
    color: var(--white);
    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px);
}

.text-link {
    color: var(--blue);
    font-weight: 800;
}

.text-link span,
.service-card a span {
    display: inline-block;
    transition: transform 180ms ease;
}

.text-link:hover span,
.service-card a:hover span {
    transform: translateX(5px);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow-light {
    color: #9dbfff;
}

/* Cabecera superior y navegación principal. */
.site-header {
    position: relative;
    z-index: 20;
}

.topbar {
    color: #ced9e8;
    background: var(--navy);
    font-size: 0.8rem;
}

.topbar-content,
.topbar-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.topbar-content {
    min-height: 38px;
}

.topbar-links a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links:empty {
    display: none;
}

.social-links a,
.social-icon {
    display: grid;
    place-items: center;
}

.social-links a {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: currentColor;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.social-links a:hover {
    color: var(--navy);
    background: var(--white);
    transform: translateY(-2px);
}

.social-links svg,
.social-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.social-links-footer {
    margin-top: 10px;
}

.social-links-footer a {
    width: 38px;
    height: 38px;
    color: var(--white);
}

.main-nav {
    position: sticky;
    top: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 104px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 0;
    color: var(--white);
    background: var(--navy);
    font-size: 1.8rem;
    font-weight: 900;
}

.brand strong,
.brand small {
    display: block;
    line-height: 1.25;
}

.brand strong {
    /* La web anterior de Vencor mostraba el nombre corporativo a 37px. */
    font-size: var(--brand-font-size, 37px);
    letter-spacing: -0.025em;
}

.brand small {
    color: var(--muted);
    font-size: var(--subtitle-font-size, 18px);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: var(--navigation-font-size, 16px);
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.nav-links > a:not(.button):hover {
    color: var(--blue);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    background: transparent;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--navy);
    transition: transform 180ms ease, opacity 180ms ease;
}

/* Portada principal con fondo abstracto y tarjeta de contacto. */
.hero {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    color: var(--white);
    /* Imagen oficial del nuevo Peugeot 408, con un tratamiento oscuro que mejora la lectura. */
    background: url("../images/peugeot-408-hero.jpg") center center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 17, 34, 0.94) 0%, rgba(4, 17, 34, 0.73) 46%, rgba(4, 17, 34, 0.08) 100%);
}

.hero-grid {
    position: relative;
    display: grid;
    min-height: 650px;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 80px;
    align-items: center;
}

.hero-copy {
    padding-block: 80px;
}

.hero h1 {
    max-width: 720px;
    margin: 0;
    font-size: calc(clamp(3rem, 6.5vw, 5.4rem) * var(--heading-scale, 1));
    line-height: 0.95;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.hero-intro {
    max-width: 620px;
    margin: 28px 0 34px;
    color: #c5d5e8;
    font-size: 1.25rem;
}

.hero-actions,
.appointment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    align-items: center;
}

.hero .text-link {
    color: var(--white);
}

.hero-facts {
    display: flex;
    gap: 42px;
    margin-top: 54px;
}

.hero-facts div {
    display: flex;
    flex-direction: column;
    padding-left: 14px;
    border-left: 2px solid var(--blue);
}

.hero-facts strong {
    font-size: 1.2rem;
}

.hero-facts span {
    color: #9eb1c7;
    font-size: 0.85rem;
}

.hero-card {
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
}

.hero-card h2 {
    margin: 24px 0 12px;
    font-size: 2rem;
    line-height: 1.15;
}

.hero-card p {
    margin-bottom: 25px;
    color: #c6d4e5;
}

.status {
    display: flex;
    gap: 8px;
    align-items: center;
    color: #d4e3f5;
    font-size: 0.82rem;
    font-weight: 700;
}

.status i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 6px rgba(54, 200, 138, 0.13);
}

.status.closed {
    color: #ffd8d8;
}

.status.closed i {
    background: #ef5350;
    box-shadow: 0 0 0 6px rgba(239, 83, 80, 0.15);
}

.status-detail {
    display: block;
    margin-top: 14px;
    color: #c6d4e5;
    font-size: 0.76rem;
    line-height: 1.5;
}

.hero-card-address {
    display: flex;
    flex-direction: column;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-card-address span {
    color: #9eb1c7;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Accesos rápidos situados bajo la portada. */
.quick-actions {
    position: relative;
    z-index: 2;
    /* Separamos el menú de la fotografía principal para evitar cualquier solapamiento. */
    margin-top: 38px;
}

.quick-grid {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
    grid-template-columns: repeat(4, 1fr);
}

.quick-grid a {
    display: grid;
    padding: 24px;
    border-right: 1px solid var(--line);
    grid-template-columns: 42px 1fr;
    column-gap: 10px;
}

.quick-grid a:last-child {
    border-right: 0;
}

.quick-grid a:hover {
    background: var(--sky);
}

.quick-icon {
    grid-row: span 2;
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 900;
}

.quick-grid strong {
    font-size: 1.05rem;
}

.quick-grid small {
    color: var(--muted);
    font-size: 0.9rem;
}

/* Secciones de contenido, tarjetas de servicio y bloque corporativo. */
.section {
    padding: 110px 0;
}

.section-heading {
    display: grid;
    margin-bottom: 48px;
    grid-template-columns: 1fr 0.65fr;
    gap: 80px;
    align-items: end;
}

.section h2,
.company-copy h2,
.site-footer h2 {
    margin: 0;
    letter-spacing: -0.045em;
}

.section h2,
.company-copy h2 {
    max-width: 720px;
    font-size: calc(clamp(2.2rem, 4vw, 3.7rem) * var(--heading-scale, 1));
    line-height: 1.04;
}

.section-heading p,
.company-copy p,
.appointment-section p {
    color: var(--muted);
    font-size: 1.1rem;
}

.service-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    gap: 20px;
}

.service-card {
    position: relative;
    display: flex;
    min-height: 310px;
    overflow: hidden;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    flex-direction: column;
    justify-content: space-between;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.service-card.featured {
    color: var(--white);
    background: var(--navy);
}

.service-card.featured::after,
.service-card-visual::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(4, 17, 34, 0.96) 0%, rgba(4, 17, 34, 0.18) 100%);
    content: "";
}

.service-card.featured img,
.service-card-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.service-card.featured > *:not(img),
.service-card-visual > *:not(img) {
    position: relative;
    z-index: 1;
}

.service-card-visual {
    color: var(--white);
    background: var(--navy);
}

.service-symbol {
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 900;
}

.card-number {
    font-size: 0.82rem;
    font-weight: 900;
}

.service-card h3 {
    margin: 0 0 12px;
    font-size: 1.75rem;
    line-height: 1.15;
}

.service-card p {
    color: var(--muted);
    font-size: 1.05rem;
}

.service-card.featured p,
.service-card-visual p {
    color: #d4e2ff;
}

.service-card a {
    color: var(--blue);
    font-size: 0.9rem;
    font-weight: 900;
}

.service-card.featured a,
.service-card-visual a {
    color: var(--white);
}

.company-section {
    padding: 110px 0;
    background: var(--surface);
}

.company-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 100px;
    align-items: center;
}

.company-visual {
    position: relative;
    display: grid;
    min-height: 480px;
    overflow: hidden;
    place-items: center;
    border-radius: var(--radius);
    background: var(--navy);
}

.company-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    right: 24px;
    bottom: 24px;
    display: flex;
    width: 150px;
    height: 150px;
    padding: 20px;
    border-radius: 50%;
    color: var(--navy);
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.experience-badge strong {
    font-size: 2.2rem;
}

.experience-badge small {
    color: var(--muted);
    font-size: 0.78rem;
}

.check-list {
    display: grid;
    margin: 30px 0;
    padding: 0;
    gap: 14px;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    font-weight: 700;
}

.check-list li::before {
    position: absolute;
    left: 0;
    color: var(--blue);
    content: "✓";
}

.trust-section {
    padding-top: 105px;
}

.trust-heading {
    align-items: end;
}

.trust-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-card {
    min-height: 170px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    color: var(--public-text);
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
}

.trust-card strong {
    display: block;
    margin-bottom: 10px;
    color: var(--white);
    font-size: 1.05rem;
}

.trust-card p {
    margin: 0;
    color: #c4c8d0;
    line-height: 1.65;
}

.home-faq-block {
    display: grid;
    margin-top: 48px;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.24);
    gap: 32px;
    grid-template-columns: 0.8fr 1.2fr;
}

.home-faq-block h2 {
    margin: 8px 0 0;
    color: var(--white);
    font-size: calc(2rem * var(--heading-scale, 1));
}

.home-faq-list {
    display: grid;
    gap: 12px;
}

.home-faq-list details {
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
}

.home-faq-list summary {
    color: var(--white);
    cursor: pointer;
    font-weight: 800;
}

.home-faq-list p {
    margin: 12px 0 0;
    color: #c4c8d0;
    line-height: 1.65;
}

.home-faq-more {
    justify-self: start;
    margin-top: 8px;
}

.faq-page-grid {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    gap: 70px;
    align-items: start;
}

.faq-page-intro {
    position: sticky;
    top: 150px;
}

.faq-page-intro h2 {
    margin: 8px 0 18px;
    color: var(--public-text);
    font-size: calc(clamp(2rem, 4vw, 3.7rem) * var(--heading-scale, 1));
    line-height: 1;
}

.faq-page-intro p {
    color: var(--public-muted);
    line-height: 1.75;
}

.faq-page-list {
    display: grid;
    gap: 16px;
}

.faq-page-list details {
    padding: 24px 26px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    background: var(--public-panel);
}

.faq-page-list summary {
    color: var(--public-text);
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 900;
}

.faq-page-list p {
    margin: 14px 0 0;
    color: var(--public-muted);
    line-height: 1.75;
}

/* Bloques finales de ocasión, cita y pie de página. */
.occasion-section {
    padding-bottom: 0;
}

.occasion-box {
    position: relative;
    display: flex;
    min-height: 340px;
    overflow: hidden;
    padding: 55px;
    border-radius: var(--radius);
    color: var(--white);
    background: url("../images/peugeot-408-ocasion.jpg") center / cover no-repeat;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.occasion-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 17, 34, 0.96), rgba(4, 17, 34, 0.55) 60%, rgba(4, 17, 34, 0.12));
}

.occasion-box > *:not(.occasion-overlay) {
    position: relative;
    z-index: 1;
}

.occasion-box p {
    max-width: 600px;
    color: #c5d5e8;
}

.appointment-section {
    background: var(--white);
}

.appointment-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.site-footer {
    padding: 70px 0 24px;
    color: #c3d0df;
    background: var(--navy);
}

.footer-grid {
    display: grid;
    padding-bottom: 50px;
    grid-template-columns: 1.2fr 1fr 0.6fr;
    gap: 80px;
}

.brand-footer strong {
    color: var(--white);
}

.brand-footer small {
    color: #8ea2ba;
}

.footer-grid p {
    max-width: 370px;
}

.footer-grid > div {
    display: flex;
    gap: 9px;
    flex-direction: column;
}

.footer-hours-row {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 8px;
}

.footer-hours-row strong {
    color: var(--white);
}

.footer-hours-row.is-closed span {
    color: #8195ae;
}

.site-footer h2 {
    margin-bottom: 10px;
    color: var(--white);
    font-size: 0.9rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.site-footer a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    justify-content: space-between;
    color: #8195ae;
    font-size: 0.82rem;
}

.legal-links { display: flex; flex-wrap: wrap; gap: 18px; }
.legal-links button { padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; }

.contact-section-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; }
.contact-page-hero { padding: 90px 0; color: var(--white); background: linear-gradient(120deg, var(--navy), var(--navy-soft)); }
.contact-page-hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr); gap: 60px; align-items: center; }
.contact-page-hero-copy { position: relative; z-index: 1; }
.contact-page-hero h1 { max-width: 800px; margin: 0; font-size: calc(clamp(3rem, 6vw, 5rem) * var(--heading-scale, 1)); line-height: .95; }
.contact-page-hero p { max-width: 680px; color: #c3d0df; font-size: 1.1rem; }
/* La fotografía conserva el protagonismo de la recepción y admite recortes adaptables. */
.contact-page-hero-image { min-height: 430px; margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: 0 28px 65px rgba(0, 0, 0, .3); }
.contact-page-hero-image img { display: block; width: 100%; height: 430px; object-fit: cover; object-position: center; }
.contact-page-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 70px; align-items: start; }
.contact-information { display: grid; padding: 28px; border-left: 5px solid var(--blue); background: var(--surface); gap: 10px; }
.contact-information h2, .contact-information p { margin: 0; }
.contact-information a { color: var(--blue); font-size: 1.25rem; font-weight: 800; }

.where-hero { padding: 95px 0; color: var(--white); background: radial-gradient(circle at 80% 20%, rgba(88, 119, 160, .38), transparent 32%), linear-gradient(135deg, #05080d, #16202c); }
.where-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .45fr); gap: 60px; align-items: end; }
.where-hero h1 { max-width: 880px; margin: 0; font-size: calc(clamp(3.1rem, 6.8vw, 6rem) * var(--heading-scale, 1)); line-height: .95; }
.where-hero p { max-width: 720px; color: #c3d0df; font-size: 1.1rem; }
.where-hero-actions, .where-detail-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.where-status-card { padding: 26px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); background: rgba(255, 255, 255, .08); backdrop-filter: blur(16px); }
.where-status-card p { margin: 14px 0 0; }
.where-location-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 55px; align-items: stretch; }
.where-map-card { min-height: 460px; overflow: hidden; border-radius: var(--radius); box-shadow: 0 28px 65px rgba(0, 0, 0, .16); background: var(--surface); }
.where-map-card iframe { display: block; width: 100%; height: 100%; min-height: 460px; border: 0; }
.where-details { display: grid; align-content: start; gap: 16px; overflow: hidden; padding: 0 0 34px; border: 1px solid var(--public-line); border-radius: var(--radius); color: var(--public-text); background: linear-gradient(155deg, rgba(24, 27, 33, .98), rgba(8, 9, 12, .98)); box-shadow: 0 28px 65px rgba(0, 0, 0, .28); }
.where-details > :not(.where-details-image) { margin-inline: 34px; }
.where-details-image { min-height: 225px; margin: 0 0 8px; overflow: hidden; }
.where-details-image img { display: block; width: 100%; height: 255px; object-fit: cover; object-position: center; }
.where-details h2 { margin-block: 0; color: var(--white); font-size: calc(2rem * var(--heading-scale, 1)); }
.where-details address { margin-block: 0; font-style: normal; font-weight: 800; line-height: 1.55; }
.where-details p { margin-block: 0; color: #c0c3c8; line-height: 1.7; }
.where-phone { color: #8fb2ff; font-size: 1.35rem; font-weight: 900; }
.where-hours-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
.where-hour-card { display: grid; gap: 8px; min-height: 115px; padding: 18px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-soft); }
.where-hour-card strong { color: var(--navy); }
.where-hour-card span { color: var(--muted); }
.where-hour-card.is-open { border-top: 4px solid #14b85a; }
.where-hour-card.is-closed { border-top: 4px solid #dc2626; opacity: .78; }
.public-contact-form { display: grid; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); gap: 17px; }
.public-contact-form label { display: grid; gap: 6px; font-size: 0.85rem; font-weight: 800; }
.public-contact-form input, .public-contact-form select, .public-contact-form textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 7px; color: var(--text); background: var(--white); font: inherit; }
.public-contact-form textarea { resize: vertical; }
.public-contact-form .privacy-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 0.75rem; font-weight: 400; }
.privacy-consent input { width: 18px; min-height: 18px; flex: none; }
.privacy-consent a, .legal-content a { color: var(--blue); text-decoration: underline; }
.contact-message { padding: 12px 14px; border-radius: 7px; font-size: 0.82rem; font-weight: 700; }
.contact-message.success { color: #126b46; background: #ddf7eb; }
.contact-message.error { color: #9e2929; background: #fde7e7; }
.contact-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
.captcha-field { padding: 16px; border: 1px dashed var(--blue); border-radius: 8px; background: var(--sky); }
.captcha-field input[type="hidden"] { display: none; }

.legal-content { max-width: 1000px; }
.legal-content h1 { margin: 0; font-size: calc(clamp(3rem, 6vw, 5rem) * var(--heading-scale, 1)); line-height: 0.95; }
.legal-content h2 { margin: 48px 0 12px; font-size: 1.7rem; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-updated { margin-bottom: 45px; }
.legal-note { margin-top: 50px; padding: 22px; border-left: 5px solid var(--blue); background: var(--surface); }
.cookie-provider-grid { display: grid; margin: 28px 0; grid-template-columns: 1fr 1fr; gap: 16px; }
.cookie-provider-grid article { display: grid; padding: 22px; border: 1px solid var(--line); border-radius: 10px; gap: 6px; }
.cookie-provider-grid span { color: var(--muted); }

.cookie-banner { position: fixed; right: 20px; bottom: 20px; left: 20px; z-index: 100; display: flex; max-width: 1080px; margin-inline: auto; padding: 24px; border: 1px solid rgba(255,255,255,.15); border-radius: 16px; color: var(--white); background: var(--navy); box-shadow: 0 24px 70px rgba(4,17,34,.38); align-items: center; justify-content: space-between; gap: 28px; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { max-width: 700px; margin: 4px 0; color: #c3d0df; font-size: .85rem; }
.cookie-banner a { color: var(--white); font-size: .78rem; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex: none; }
.cookie-banner .button-outline { border-color: var(--white); color: var(--white); }

/* Página interior de servicio postventa y mantenimiento. */
.aftersales-hero {
    position: relative;
    min-height: 590px;
    overflow: hidden;
    color: var(--white);
    background: url("../images/postventa/mantenimiento-hero.jpg") center 58% / cover no-repeat;
}

.aftersales-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 17, 34, 0.96), rgba(4, 17, 34, 0.62) 58%, rgba(4, 17, 34, 0.12));
}

.aftersales-hero-content {
    position: relative;
    display: flex;
    min-height: 590px;
    padding-block: 90px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.aftersales-hero h1 {
    max-width: 780px;
    margin: 0;
    font-size: calc(clamp(3.3rem, 7vw, 6.2rem) * var(--heading-scale, 1));
    line-height: 0.92;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

.aftersales-hero p {
    max-width: 640px;
    margin: 28px 0 34px;
    color: #c5d5e8;
    font-size: 1.2rem;
}

.aftersales-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.aftersales-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 12px 36px rgba(7, 26, 50, 0.08);
}

.aftersales-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    padding: 0;
    background: #111316;
    object-fit: cover;
    object-position: center;
}

.aftersales-card > div {
    display: flex;
    min-height: 300px;
    padding: 26px;
    flex-direction: column;
    align-items: flex-start;
}

.aftersales-card > div > span {
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.aftersales-card h3,
.aftersales-detail h3 {
    margin: 10px 0 12px;
    font-size: 1.65rem;
    line-height: 1.08;
}

.aftersales-card p {
    margin: 0 0 24px;
    color: var(--muted);
}

.aftersales-card .button {
    margin-top: auto;
}

.aftersales-details {
    padding: 110px 0;
    background: var(--surface);
}

.aftersales-details-heading {
    max-width: 780px;
    margin-bottom: 55px;
}

.aftersales-details-heading h2 {
    margin: 0;
    font-size: calc(clamp(2.4rem, 4vw, 4rem) * var(--heading-scale, 1));
    line-height: 1;
}

.aftersales-detail-list {
    display: grid;
    gap: 32px;
}

.aftersales-detail {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    grid-template-columns: minmax(300px, 0.72fr) 1.28fr;
    scroll-margin-top: 125px;
}

.aftersales-detail:nth-child(even) {
    grid-template-columns: 1.28fr minmax(300px, 0.72fr);
}

.aftersales-detail:nth-child(even) img {
    grid-column: 2;
    grid-row: 1;
}

.aftersales-detail img {
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
}

.aftersales-detail > div {
    padding: 42px;
}

.aftersales-detail > div > p {
    color: var(--muted);
    font-size: 1.05rem;
}

.aftersales-detail-actions {
    display: flex;
    margin-top: 28px;
    align-items: center;
    gap: 22px;
}

.aftersales-official-grid {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    gap: 70px;
    align-items: center;
}

.aftersales-official-grid img {
    width: 100%;
    max-height: 520px;
    border-radius: var(--radius);
    object-fit: cover;
}

.aftersales-official-grid h2 {
    margin: 0;
    font-size: calc(clamp(2.3rem, 4vw, 4rem) * var(--heading-scale, 1));
    line-height: 1;
}

.aftersales-official-grid p {
    margin: 25px 0 30px;
    color: var(--muted);
    font-size: 1.1rem;
}

.aftersales-detail-hero {
    padding: 80px 0;
    background: var(--surface);
}

.aftersales-detail-hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 70px;
    align-items: center;
}

.aftersales-detail-hero .text-link {
    display: inline-block;
    margin-bottom: 36px;
}

.aftersales-detail-hero .eyebrow {
    display: block;
}

.aftersales-detail-hero h1,
.service-not-found h1 {
    margin: 0;
    font-size: calc(clamp(3rem, 6vw, 5.5rem) * var(--heading-scale, 1));
    line-height: 0.95;
    letter-spacing: -0.045em;
}

.aftersales-detail-hero p {
    max-width: 650px;
    margin: 25px 0 32px;
    color: var(--muted);
    font-size: 1.2rem;
}

.aftersales-detail-image {
    display: grid;
    min-height: 470px;
    padding: 30px;
    place-items: center;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.aftersales-detail-image img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: contain;
    object-position: center;
}

.aftersales-service-content {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 80px;
    align-items: start;
}

.aftersales-service-content h2 {
    margin: 0;
    font-size: calc(clamp(2.4rem, 4vw, 4rem) * var(--heading-scale, 1));
    line-height: 1;
}

.service-detail-block {
    margin-bottom: 46px;
}

.service-detail-block + .service-detail-block {
    padding-top: 8px;
}

.service-detail-block h2 {
    margin-top: 8px;
}

.service-detail-block p {
    color: var(--muted);
    font-size: 1.1rem;
}

.service-detail-block .check-list {
    margin-bottom: 0;
}

.aftersales-service-content aside {
    padding: 30px;
    border-left: 5px solid var(--blue);
    background: var(--surface);
}

.aftersales-service-content aside p {
    color: var(--muted);
}

.service-conditions {
    margin: 50px 0 42px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 18px 45px rgba(7, 26, 50, 0.08);
}

.service-conditions h2 {
    margin: 8px 0 12px;
    font-size: calc(clamp(1.7rem, 3vw, 2.5rem) * var(--heading-scale, 1));
}

.service-conditions p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.service-not-found {
    min-height: 55vh;
}

/* Página corporativa Quiénes somos. */
.about-hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    color: var(--white);
    background: url("../images/contacto-recepcion-peugeot.jpg") center 48% / cover no-repeat;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 17, 34, .98) 0%, rgba(4, 17, 34, .88) 42%, rgba(4, 17, 34, .2) 78%);
}

.about-hero-content {
    position: relative;
    display: flex;
    min-height: 620px;
    padding-block: 90px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.about-hero h1 {
    max-width: 780px;
    margin: 0;
    font-size: calc(clamp(3.5rem, 7vw, 6.5rem) * var(--heading-scale, 1));
    line-height: .9;
    letter-spacing: -.055em;
    text-transform: uppercase;
}

.about-hero p {
    max-width: 650px;
    margin: 28px 0 34px;
    color: #c5d5e8;
    font-size: 1.16rem;
}

.about-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.about-stats {
    position: relative;
    z-index: 2;
    margin-top: -42px;
}

.about-stats-grid {
    display: grid;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    grid-template-columns: repeat(4, 1fr);
}

.about-stats article {
    display: grid;
    min-height: 160px;
    padding: 30px;
    border-right: 1px solid var(--line);
    align-content: center;
    gap: 5px;
}

.about-stats article:last-child {
    border-right: 0;
}

.about-stats strong {
    color: var(--blue);
    font-size: 2rem;
    line-height: 1;
}

.about-stats span {
    color: var(--muted);
    font-size: .85rem;
}

.about-story {
    padding-top: 140px;
}

.about-story-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 95px;
    align-items: center;
}

.about-story-image {
    position: relative;
    min-height: 560px;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--navy);
}

.about-story-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    object-position: center;
}

.about-story-image figcaption {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: 22px;
    padding: 16px 20px;
    border-radius: 12px;
    color: var(--white);
    background: rgba(4, 17, 34, .85);
    font-size: .82rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.about-story-copy h2,
.about-commitment h2 {
    margin: 0;
    font-size: calc(clamp(2.5rem, 5vw, 4.6rem) * var(--heading-scale, 1));
    line-height: .98;
    letter-spacing: -.05em;
}

.about-story-copy p {
    color: var(--muted);
}

.about-story-copy .about-story-lead {
    color: var(--text);
    font-size: 1.18rem;
    font-weight: 700;
}

.about-values {
    background: var(--surface);
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.about-values-grid article {
    min-height: 265px;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.about-values-grid article:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.about-values-grid span {
    color: var(--blue);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .14em;
}

.about-values-grid h3 {
    margin: 42px 0 10px;
    font-size: 1.65rem;
    line-height: 1.05;
}

.about-values-grid p {
    margin: 0;
    color: var(--muted);
}

.about-commitment {
    color: var(--white);
    background: var(--navy);
}

.about-commitment-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 90px;
    align-items: center;
}

.about-commitment p {
    margin: 0 0 28px;
    color: #c5d5e8;
    font-size: 1.08rem;
}

/* En portátiles y tabletas horizontales el menú se convierte antes en desplegable. */
@media (max-width: 1180px) {
    .menu-toggle {
        display: block;
    }

    .menu-toggle.is-open span:first-child {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-open span:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-links {
        position: absolute;
        top: 104px;
        right: 0;
        left: 0;
        display: none;
        padding: 24px 28px 30px;
        border-top: 1px solid var(--line);
        background: var(--white);
        box-shadow: 0 20px 30px rgba(7, 26, 50, 0.1);
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .nav-links > a {
        width: 100%;
        text-align: left;
    }

    .nav-links.is-open {
        display: flex;
    }
}

/* Adaptación para tabletas. */
@media (max-width: 1100px) {
    .nav-links {
        gap: 15px;
    }

    /* En tablet horizontal damos todo el ancho a cada parte de la cabecera de contacto. */
    .contact-page-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-page-hero-image,
    .contact-page-hero-image img {
        min-height: 380px;
        height: 380px;
    }

    .where-hero-grid,
    .where-location-grid {
        grid-template-columns: 1fr;
    }

    .where-hours-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero-card {
        display: none;
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-grid a:nth-child(2) {
        border-right: 0;
    }

    .quick-grid a:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .service-grid {
        grid-template-columns: 1fr 1fr;
    }

    .service-card.featured {
        grid-column: span 2;
    }

    .company-grid {
        gap: 50px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-faq-block,
    .faq-page-grid {
        grid-template-columns: 1fr;
    }

    .faq-page-intro {
        position: static;
    }

    .aftersales-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aftersales-detail-hero-grid,
    .aftersales-service-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* La página corporativa se simplifica progresivamente en tabletas. */
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stats article:nth-child(2) {
        border-right: 0;
    }

    .about-stats article:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .about-story-grid {
        gap: 50px;
    }

    .about-values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

/* Adaptación para móviles y menú desplegable. */
@media (max-width: 760px) {
    .container {
        width: min(100% - 28px, 1320px);
    }

    .topbar-content > span {
        display: none;
    }

    .topbar-content,
    .topbar-links {
        justify-content: center;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle.is-open span:first-child {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-open span:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-links {
        position: absolute;
        top: 104px;
        right: 0;
        left: 0;
        display: none;
        padding: 24px 20px 30px;
        border-top: 1px solid var(--line);
        background: var(--white);
        box-shadow: 0 20px 30px rgba(7, 26, 50, 0.1);
        flex-direction: column;
    }

    .brand-mark {
        width: 46px;
        height: 46px;
        font-size: 1.35rem;
    }

    .brand strong {
        font-size: 1.15rem;
    }

    .brand small {
        font-size: var(--subtitle-font-size, 18px);
    }

    .nav-links.is-open {
        display: flex;
    }

    .hero,
    .hero-grid {
        min-height: 610px;
    }

    .hero-copy {
        padding-block: 70px;
    }

    .hero h1 {
        font-size: clamp(3.2rem, 16vw, 4.8rem);
    }

    .hero-facts {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .quick-actions {
        margin-top: 24px;
    }

    .quick-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .quick-grid a,
    .quick-grid a:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .quick-grid a:last-child {
        border-bottom: 0;
    }

    .section,
    .company-section {
        padding: 75px 0;
    }

    .section-heading,
    .company-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .home-faq-block {
        padding: 24px;
    }

    .service-card.featured {
        grid-column: auto;
    }

    .company-visual {
        min-height: 340px;
        font-size: 12rem;
    }

    .experience-badge {
        width: 120px;
        height: 120px;
    }

    .occasion-box,
    .appointment-grid {
        align-items: flex-start;
        flex-direction: column;
    }

    .occasion-box {
        padding: 34px 25px;
    }

    .appointment-actions,
    .appointment-actions .button {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        gap: 8px;
        flex-direction: column;
    }

    /* En móvil, el texto y la fotografía de contacto se apilan para evitar estrecheces. */
    .contact-section-grid, .contact-page-grid, .contact-page-hero-grid { grid-template-columns: 1fr; gap: 35px; }
    .contact-page-hero { padding: 70px 0; }
    .contact-page-hero-image { min-height: 310px; }
    .contact-page-hero-image img { min-height: 310px; height: 310px; object-position: 56% center; }
    .where-hero { padding: 72px 0; }
    .where-hero-grid, .where-location-grid { grid-template-columns: 1fr; gap: 34px; }
    .where-map-card, .where-map-card iframe { min-height: 340px; }
    .where-hours-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cookie-banner { align-items: stretch; flex-direction: column; }
    .cookie-banner-actions, .cookie-banner-actions .button { width: 100%; }
    .cookie-provider-grid { grid-template-columns: 1fr; }

    .aftersales-hero,
    .aftersales-hero-content {
        min-height: 520px;
    }

    .aftersales-hero-content {
        padding-block: 70px;
    }

    .aftersales-card-grid,
    .aftersales-detail,
    .aftersales-detail:nth-child(even),
    .aftersales-official-grid {
        grid-template-columns: 1fr;
    }

    .about-hero,
    .about-hero-content {
        min-height: 590px;
    }

    .about-hero-content {
        padding-block: 70px;
    }

    .about-hero h1 {
        font-size: calc(clamp(3rem, 15vw, 4.6rem) * var(--heading-scale, 1));
    }

    .about-hero-actions,
    .about-hero-actions .button {
        width: 100%;
    }

    .about-stats {
        margin-top: 0;
        padding-top: 28px;
        background: var(--surface);
    }

    .about-stats-grid,
    .about-story-grid,
    .about-values-grid,
    .about-commitment-grid {
        grid-template-columns: 1fr;
    }

    .about-stats article,
    .about-stats article:nth-child(2) {
        min-height: 130px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .about-stats article:last-child {
        border-bottom: 0;
    }

    .about-story {
        padding-top: 75px;
    }

    .about-story-grid,
    .about-commitment-grid {
        gap: 38px;
    }

    .about-story-image,
    .about-story-image img {
        min-height: 350px;
        height: 350px;
    }

    .about-values-grid article {
        min-height: auto;
    }

    .aftersales-detail:nth-child(even) img {
        grid-column: auto;
        grid-row: auto;
    }

    .aftersales-detail img {
        min-height: 280px;
        max-height: 390px;
    }

    .aftersales-detail > div {
        padding: 28px;
    }

    .aftersales-detail-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .aftersales-detail-image {
        min-height: 320px;
    }
}

/* Área de administración: diseño independiente de la web pública. */
.admin-shell,
.admin-login-page {
    min-height: 100vh;
    background: #f2f5f8;
}

.admin-shell {
    display: grid;
    grid-template-columns: 270px 1fr;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    padding: 28px 22px;
    color: var(--white);
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    gap: 42px;
    scrollbar-gutter: stable;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.admin-brand strong,
.admin-brand small {
    display: block;
    line-height: 1.2;
}

.admin-brand strong {
    font-size: 1.35rem;
}

.admin-brand small {
    color: #96a9c0;
    font-size: 0.75rem;
}

.admin-nav {
    display: grid;
    width: 100%;
    align-content: start;
    justify-items: stretch;
    gap: 8px;
    padding-bottom: 20px;
}

.admin-nav a {
    display: block;
    width: 100%;
    padding: 13px 15px;
    border-radius: 8px;
    color: #bac8d8;
    font-size: 0.88rem;
    font-weight: 700;
    text-align: left;
}

.admin-nav a:hover,
.admin-nav a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.admin-subnav {
    display: grid;
    gap: 6px;
    margin: -4px 0 4px 14px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-subnav a {
    padding: 8px 10px;
    color: #aeb9c8;
    font-size: 0.82rem;
}

.admin-main {
    min-width: 0;
}

.admin-header {
    display: flex;
    min-height: 82px;
    padding: 16px 38px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    align-items: center;
    justify-content: space-between;
}

.admin-header > div,
.admin-account {
    display: flex;
    flex-direction: column;
}

.admin-header span,
.admin-account small {
    color: var(--muted);
    font-size: 0.78rem;
}

.admin-account {
    align-items: flex-end;
}

.admin-account form {
    margin-top: 3px;
}

.admin-account button,
.danger-link {
    padding: 0;
    border: 0;
    color: var(--blue);
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 700;
}

.admin-content {
    width: min(1400px, 100%);
    margin: 0 auto;
    padding: 42px;
}

.admin-page-heading {
    display: flex;
    margin-bottom: 32px;
    align-items: flex-end;
    justify-content: space-between;
}

.admin-page-heading h1,
.admin-panel h1 {
    margin: 4px 0 8px;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1;
}

.admin-page-heading p,
.admin-panel-heading p,
.admin-panel > p {
    margin: 0;
    color: var(--muted);
}

.admin-kicker {
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.admin-stat-grid,
.role-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, 1fr);
}

.admin-message-tip {
    display: grid;
    margin-bottom: 24px;
    padding: 20px;
    border: 1px solid rgba(0, 132, 255, 0.32);
    border-radius: 14px;
    color: var(--text);
    background: linear-gradient(135deg, #eef6ff, #ffffff);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    gap: 4px;
    grid-template-columns: auto 1fr;
    text-decoration: none;
}

.admin-message-tip span {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: var(--white);
    background: var(--blue);
    align-items: center;
    justify-content: center;
    font-weight: 900;
    grid-row: span 2;
}

.admin-message-tip strong { align-self: end; font-size: 1rem; }
.admin-message-tip small { color: var(--muted); }

.admin-stat,
.role-grid article,
.admin-panel {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
}

.admin-stat {
    display: flex;
    min-height: 180px;
    padding: 25px;
    flex-direction: column;
}

.admin-stat span,
.admin-stat small {
    color: var(--muted);
    font-size: 0.82rem;
}

.admin-stat strong {
    margin: auto 0 4px;
    font-size: 2.25rem;
    line-height: 1;
}

.admin-panel {
    margin-top: 25px;
    padding: 28px;
}

.admin-panel-heading {
    display: flex;
    margin-bottom: 24px;
    align-items: center;
    justify-content: space-between;
}

.admin-heading-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-panel-heading h2 {
    margin: 0;
    font-size: 1.4rem;
}

.admin-gallery-list {
    display: grid;
    gap: 12px;
}

.admin-gallery-list article {
    display: grid;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f8fafc;
    grid-template-columns: 130px 1fr;
    gap: 14px;
    align-items: start;
}

.admin-gallery-list img {
    width: 130px;
    height: 92px;
    border-radius: 10px;
    object-fit: cover;
}

.admin-inline-section {
    border-top: 1px solid rgba(11, 31, 58, 0.12);
    margin-top: 0.45rem;
    padding-top: 0.95rem;
}

.admin-inline-section h3 {
    font-size: 1rem;
    margin: 0 0 0.25rem;
}

.admin-inline-section p {
    color: var(--muted);
    margin: 0;
}

.admin-label-title {
    align-items: center;
    display: inline-flex;
    gap: 0.35rem;
    width: fit-content;
}

.field-help {
    align-items: center;
    background: rgba(21, 88, 214, 0.1);
    border: 1px solid rgba(21, 88, 214, 0.18);
    border-radius: 999px;
    color: var(--blue);
    cursor: help;
    display: inline-grid;
    font-size: 0.75rem;
    height: 1.25rem;
    line-height: 1;
    margin-left: 0;
    place-items: center;
    text-align: center;
    width: 1.25rem;
}

.redirect-admin-list {
    display: grid;
    gap: 14px;
}

.redirect-admin-list article {
    display: grid;
    grid-template-columns: 95px minmax(180px, 1fr) minmax(220px, 1.2fr) minmax(140px, 0.8fr) 105px;
    gap: 12px;
    align-items: end;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f8fafc;
}

.danger-checkbox {
    color: #b91c1c;
}

.role-grid article {
    padding: 22px;
    background: #f8fafc;
}

.role-grid article p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.admin-two-columns,
.admin-settings-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1.4fr 0.8fr;
    align-items: start;
}

.admin-two-columns .admin-panel,
.admin-settings-grid .admin-panel {
    margin-top: 0;
}

.admin-page-shortcuts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.admin-page-shortcut {
    display: grid;
    gap: 12px;
    padding: 24px;
    border: 1px solid #dfe6ef;
    border-radius: 22px;
    color: var(--navy);
    background: #fff;
    box-shadow: 0 18px 40px rgba(7, 26, 50, 0.08);
}

.admin-page-shortcut:hover {
    border-color: var(--blue);
    transform: translateY(-2px);
}

.admin-page-shortcut span {
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-page-shortcut strong {
    font-size: 1.25rem;
}

.admin-page-shortcut small {
    color: var(--muted);
    font-weight: 800;
}

.database-info-list {
    display: grid;
    gap: 14px;
    margin: 0 0 24px;
}

.database-info-list div {
    display: grid;
    gap: 4px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e5edf6;
}

.database-info-list dt {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.database-info-list dd {
    margin: 0;
    color: var(--navy);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.database-backup-list {
    display: grid;
    gap: 12px;
}

.database-backup-list article {
    display: flex;
    gap: 16px;
    padding: 16px;
    border: 1px solid #e5edf6;
    border-radius: 16px;
    align-items: center;
    justify-content: space-between;
    background: #fff;
}

.database-backup-list article > div {
    display: grid;
    gap: 4px;
}

.database-backup-list span,
.admin-warning-text {
    color: var(--muted);
    font-size: 0.88rem;
}

.danger-button {
    border-color: #b91c1c;
    background: #b91c1c;
}

.admin-form {
    display: grid;
    gap: 18px;
}

.admin-form label {
    display: grid;
    gap: 7px;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 700;
}

.admin-form label > small {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 400;
    line-height: 1.45;
}

.admin-form label > span {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.admin-form label > span strong {
    flex: none;
    color: var(--blue);
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    color: var(--text);
    background: var(--white);
    font: inherit;
    font-size: 0.95rem;
}

.admin-form textarea { resize: vertical; }
.admin-form .admin-checkbox { display: flex; align-items: center; gap: 10px; }
.admin-checkbox input { width: 18px; min-height: 18px; }
.marketing-settings { display: grid; gap: 24px; }
.contact-submission-list { display: grid; gap: 12px; }
.contact-submission-list article { display: flex; padding: 18px; border: 1px solid var(--line); border-radius: 9px; background: #f8fafc; justify-content: space-between; gap: 20px; }
.contact-submission-list article.is-unread { border-color: rgba(0, 132, 255, 0.4); background: #eef6ff; box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08); }
.contact-submission-list article > div { display: grid; }
.contact-submission-list span, .contact-submission-list p { color: var(--muted); font-size: .82rem; }
.contact-submission-list p { margin-bottom: 0; }
.contact-submission-actions { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.contact-unread-badge { display: inline-flex; margin-left: 8px; padding: 3px 8px; border-radius: 999px; color: #075985 !important; background: #bae6fd; font-size: 0.68rem !important; font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em; }
.admin-empty-state { padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafc; }
.admin-empty-state strong { display: block; margin-bottom: 6px; color: var(--text); }
.admin-empty-state p { margin: 0; color: var(--muted); }

.admin-form input[type="color"] {
    padding: 4px;
}

.admin-form input[type="range"] {
    padding: 0;
}

.admin-form-row {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr 1fr;
}

.admin-form-actions {
    display: flex;
    grid-column: 1 / -1;
    gap: 14px;
}

.settings-live-preview {
    grid-column: 1 / -1;
}

.live-indicator {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: #126b46;
    font-size: 0.78rem;
    font-weight: 800;
}

.live-indicator i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 5px rgba(54, 200, 138, 0.14);
}

.site-preview-frame {
    overflow: auto;
    padding: 18px;
    border-radius: 12px;
    background: #dce3eb;
}

.site-preview-page {
    /* Variables independientes para que la vista previa no altere el panel administrativo. */
    --preview-primary: #1558d6;
    --preview-dark: #071a32;
    --preview-font-family: "Peugeot New";
    --preview-base-size: 18px;
    --preview-content-width: 1320px;
    --preview-brand-size: 37px;
    --preview-subtitle-size: 18px;
    --preview-navigation-size: 16px;
    --preview-heading-scale: 1;
    min-width: 760px;
    overflow: hidden;
    border-radius: 8px;
    color: #142033;
    background: var(--white);
    box-shadow: 0 12px 30px rgba(7, 26, 50, 0.12);
    font-family: var(--preview-font-family), Arial, sans-serif;
    font-size: var(--preview-base-size);
}

.site-preview-header {
    display: flex;
    min-height: 90px;
    padding: 16px 28px;
    border-bottom: 1px solid #dce4ee;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.site-preview-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-preview-brand > span:last-child,
.site-preview-brand strong,
.site-preview-brand small {
    display: block;
}

.site-preview-mark {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    color: var(--white);
    background: var(--preview-dark);
    font-size: 1.5rem;
    font-weight: 900;
}

.site-preview-brand strong {
    font-size: var(--preview-brand-size);
    line-height: 0.9;
    letter-spacing: -0.04em;
}

.site-preview-brand small {
    margin-top: 7px;
    color: #627083;
    font-size: var(--preview-subtitle-size);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.site-preview-header nav {
    display: flex;
    gap: 20px;
    font-size: var(--preview-navigation-size);
    font-weight: 800;
}

.site-preview-main {
    padding: 55px 28px;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(7, 26, 50, 0.95), rgba(7, 26, 50, 0.58)),
        url("../images/peugeot-408-hero.jpg") center / cover;
}

.site-preview-content {
    width: min(var(--preview-content-width), 100%);
    margin: 0 auto;
}

.site-preview-content > span {
    color: #a8c5ff;
    font-size: 0.72em;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-preview-content h3 {
    max-width: 700px;
    margin: 12px 0;
    font-size: calc(3em * var(--preview-heading-scale));
    line-height: 0.95;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.site-preview-content p {
    max-width: 620px;
    margin: 0 0 22px;
    color: #d3dfeb;
}

.site-preview-content button {
    padding: 12px 20px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: var(--preview-primary);
    font: inherit;
    font-size: 0.8em;
    font-weight: 900;
}

.site-preview-section {
    display: grid;
    width: min(var(--preview-content-width), calc(100% - 56px));
    margin: 0 auto;
    padding: 34px 0;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 28px;
    align-items: center;
}

.site-preview-section > div:first-child > span {
    color: var(--preview-primary);
    font-size: 0.7em;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-preview-section h4 {
    margin: 7px 0;
    color: var(--preview-dark);
    font-size: calc(1.65em * var(--preview-heading-scale));
    line-height: 1;
}

.site-preview-section p {
    margin: 0;
    color: #627083;
}

.site-preview-card {
    display: grid;
    padding: 22px;
    border-left: 5px solid var(--preview-primary);
    background: #f2f5f8;
    gap: 4px;
}

.site-preview-card strong {
    color: var(--preview-dark);
}

.site-preview-card small {
    color: #627083;
    font-size: 0.75em;
}

.admin-table-wrap {
    overflow-x: auto;
}

.link-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.link-examples code {
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--blue);
    background: #f8fafc;
    font-size: 0.78rem;
}

.button-settings-list {
    display: grid;
    gap: 24px;
}

.button-settings-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.button-setting-card {
    display: grid;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #f8fafc;
    gap: 15px;
}

.button-setting-card p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.button-setting-card label {
    display: grid;
    gap: 6px;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 700;
}

.button-setting-card input {
    width: 100%;
    min-height: 43px;
    padding: 9px 11px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: var(--white);
    font: inherit;
    font-size: 0.88rem;
}

.button-preview-link {
    display: inline-flex;
    width: fit-content;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    color: var(--white);
    background: var(--blue);
    align-items: center;
    font-size: 0.78rem;
    font-weight: 800;
}

.social-settings-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.social-setting-card {
    display: grid;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #f8fafc;
    gap: 18px;
}

.social-setting-heading {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.social-setting-heading p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 0.8rem;
}

.social-icon-admin {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--white);
    background: var(--navy);
    flex: none;
}

.social-setting-card label {
    display: grid;
    gap: 6px;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 700;
}

.social-setting-card input[type="url"] {
    width: 100%;
    min-height: 43px;
    padding: 9px 11px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: var(--white);
    font: inherit;
    font-size: 0.88rem;
}

.social-setting-card .social-visible-control {
    display: flex;
    align-items: center;
    gap: 9px;
}

.social-visible-control input {
    width: 18px;
    height: 18px;
}

.aftersales-admin-list {
    margin-top: 25px;
}

.aftersales-admin-card {
    position: relative;
}

.aftersales-admin-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

.aftersales-image-preview {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #eef2f7;
}

.aftersales-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aftersales-delete-form {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.aftersales-picker-actions {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.aftersales-picker-form {
    width: min(620px, 100%);
    grid-template-columns: 1fr auto;
    align-items: end;
}

.sticky-actions {
    position: sticky;
    bottom: 0;
    z-index: 3;
    margin-top: 24px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 -8px 24px rgba(7, 26, 50, 0.08);
    backdrop-filter: blur(12px);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th,
.admin-table td {
    padding: 15px 12px;
    border-bottom: 1px solid var(--line);
    font-size: 0.85rem;
}

.admin-table th {
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Panel administrativo de estadísticas de visitas. */
.analytics-stat-grid {
    grid-template-columns: repeat(4, 1fr);
}

.analytics-periods {
    display: flex;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--white);
    gap: 3px;
}

.analytics-periods a {
    padding: 8px 11px;
    border-radius: 6px;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 800;
}

.analytics-periods a:hover,
.analytics-periods a.active {
    color: var(--white);
    background: var(--blue);
}

.analytics-overview {
    margin-top: 25px;
    grid-template-columns: 1.4fr 0.8fr;
}

.analytics-ranking {
    display: grid;
    gap: 18px;
}

.analytics-ranking article {
    display: grid;
    gap: 8px;
}

.analytics-ranking-heading,
.analytics-country-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.analytics-ranking-heading strong {
    overflow: hidden;
    font-size: 0.86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.analytics-ranking-heading span,
.analytics-country-list span {
    color: var(--muted);
    font-size: 0.76rem;
    white-space: nowrap;
}

.analytics-bar {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e7edf5;
}

.analytics-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--blue);
}

.analytics-country-list {
    display: grid;
    gap: 0;
}

.analytics-country-list div {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.analytics-country-list div:first-child {
    padding-top: 0;
}

.analytics-table td {
    vertical-align: top;
}

.analytics-table td strong,
.analytics-table td small {
    display: block;
    max-width: 260px;
}

.analytics-table td small {
    margin-top: 4px;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.analytics-danger-zone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.analytics-danger-zone h2 {
    margin: 0 0 5px;
}

.analytics-danger-zone p {
    margin: 0;
    color: var(--muted);
}

.danger-button {
    border-color: #c93535;
    background: #c93535;
    white-space: nowrap;
}

.role-pill {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--blue);
    background: var(--sky);
    font-size: 0.72rem;
    font-weight: 800;
}

.danger-link {
    color: #c93535;
}

.inline-password-form {
    display: flex;
    min-width: 230px;
    gap: 6px;
}

.inline-password-form input {
    min-width: 150px;
    padding: 7px 8px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font: inherit;
    font-size: 0.78rem;
}

.inline-password-form button {
    padding: 7px 9px;
    border: 0;
    border-radius: 6px;
    color: var(--white);
    background: var(--blue);
    cursor: pointer;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 700;
}

.admin-alert {
    margin-bottom: 22px;
    padding: 14px 17px;
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 700;
}

.admin-alert.success {
    color: #126b46;
    background: #ddf7eb;
}

.admin-alert.error {
    color: #9e2929;
    background: #fde7e7;
}

.admin-current-status {
    display: flex;
    margin-bottom: 24px;
    padding: 16px 18px;
    border: 1px solid;
    border-radius: 10px;
    gap: 13px;
    align-items: center;
}

.admin-current-status i {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    flex: none;
}

.admin-current-status div {
    display: grid;
}

.admin-current-status span {
    font-size: 0.82rem;
}

.admin-current-status.open {
    border-color: #a7e4c7;
    color: #126b46;
    background: #e8f8f0;
}

.admin-current-status.open i {
    background: var(--success);
}

.admin-current-status.closed {
    border-color: #f2baba;
    color: #9e2929;
    background: #fdecec;
}

.admin-current-status.closed i {
    background: #ef5350;
}

.hours-admin-columns {
    grid-template-columns: 1.35fr 0.65fr;
}

.weekly-hours-list {
    display: grid;
    margin-bottom: 24px;
    gap: 12px;
}

.weekly-hours-row {
    display: grid;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
    grid-template-columns: 1fr 0.8fr 0.8fr;
    gap: 14px;
    align-items: end;
}

.weekly-hours-row label {
    display: grid;
    gap: 5px;
    color: var(--muted);
    font-size: 0.75rem;
}

.weekly-hours-row input[type="time"] {
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: var(--white);
    font: inherit;
}

.weekly-hours-row .day-enabled {
    display: flex;
    color: var(--text);
    align-items: center;
    gap: 9px;
}

.weekly-hours-row .day-enabled small {
    margin-left: auto;
    color: #126b46;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.weekly-hours-row.is-closed {
    background: #f1f3f6;
}

.weekly-hours-row.is-closed .day-enabled small {
    color: #9e2929;
}

.weekly-hours-row input:disabled {
    color: #9aa4b2;
    background: #e9edf2;
    cursor: not-allowed;
}

.weekly-hours-row .day-enabled input {
    width: 18px;
    height: 18px;
}

.holiday-list {
    display: grid;
    gap: 10px;
}

.holiday-list article {
    display: flex;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.holiday-list article > div {
    display: grid;
}

.holiday-list span {
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: capitalize;
}

.business-call-dialog {
    width: min(520px, calc(100% - 28px));
    padding: 34px;
    border: 0;
    border-radius: 18px;
    color: var(--text);
    background: var(--white);
    box-shadow: 0 30px 80px rgba(7, 26, 50, 0.32);
}

.business-call-dialog::backdrop {
    background: rgba(4, 17, 34, 0.72);
    backdrop-filter: blur(4px);
}

.business-call-dialog .status.closed {
    color: #b83232;
}

.business-call-dialog h2 {
    margin: 22px 0 10px;
    font-size: 2rem;
    line-height: 1.05;
}

.business-call-dialog p {
    margin-bottom: 8px;
    color: var(--muted);
}

.business-call-dialog > strong {
    color: var(--navy);
}

.dialog-close {
    position: absolute;
    top: 14px;
    right: 16px;
    border: 0;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
    font-size: 1.6rem;
}

.dialog-actions {
    display: flex;
    margin-top: 28px;
    gap: 12px;
}

.admin-login-page {
    display: grid;
    padding: 25px;
    place-items: center;
    background:
        radial-gradient(circle at 10% 10%, rgba(21, 88, 214, 0.24), transparent 30%),
        var(--navy);
}

.admin-login-card {
    display: grid;
    width: min(460px, 100%);
    padding: 38px;
    gap: 32px;
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.admin-login-card h1 {
    margin: 5px 0 8px;
    font-size: 2.5rem;
    line-height: 1;
}

.admin-login-card p {
    margin: 0;
    color: var(--muted);
}

@media (max-width: 1000px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        height: auto;
        max-height: none;
        overflow: visible;
        gap: 22px;
    }

    .admin-nav {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
        overflow: visible;
        padding-bottom: 0;
    }

    .admin-nav a {
        white-space: nowrap;
    }

    .admin-subnav {
        grid-column: 1 / -1;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        margin: -2px 0 2px;
    }

    .admin-stat-grid,
    .admin-two-columns,
    .admin-page-shortcuts,
    .admin-settings-grid {
        grid-template-columns: 1fr;
    }

    .button-settings-grid {
        grid-template-columns: 1fr;
    }

    .social-settings-grid {
        grid-template-columns: 1fr;
    }

    .aftersales-admin-grid {
        grid-template-columns: 1fr;
    }

    .hours-admin-columns {
        grid-template-columns: 1fr;
    }

    .admin-form-actions {
        grid-column: auto;
    }

    .settings-live-preview {
        grid-column: auto;
    }
}

@media (max-width: 650px) {
    .admin-header {
        padding: 14px 18px;
    }

    .admin-header > div:first-child {
        display: none;
    }

    .admin-content {
        padding: 28px 16px;
    }

    .admin-page-heading,
    .analytics-danger-zone {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
    }

    .analytics-periods {
        width: fit-content;
        flex-wrap: wrap;
    }

    .admin-stat-grid,
    .role-grid,
    .admin-form-row {
        grid-template-columns: 1fr;
    }

    .admin-form-actions {
        flex-direction: column;
    }

    .weekly-hours-row {
        grid-template-columns: 1fr 1fr;
    }

    .weekly-hours-row .day-enabled {
        grid-column: 1 / -1;
    }

    .dialog-actions {
        flex-direction: column;
    }

    .dialog-actions .button {
        width: 100%;
    }

    .contact-submission-list article { align-items: flex-start; flex-direction: column; }
}

/* Ajustes finales para teléfonos pequeños, sin alterar el diseño de escritorio. */
@media (max-width: 480px) {
    .nav-content {
        min-height: 88px;
    }

    .nav-links {
        top: 88px;
    }

    .brand {
        gap: 9px;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
    }

    .brand strong {
        font-size: 1rem;
    }

    .brand small {
        font-size: min(var(--subtitle-font-size, 18px), 0.68rem);
        letter-spacing: 0.04em;
    }

    .hero,
    .hero-grid {
        min-height: 560px;
    }

    .hero-copy {
        padding-block: 52px;
    }

    .hero h1 {
        font-size: clamp(2.65rem, 15vw, 3.5rem);
    }

    .hero-intro {
        margin-block: 22px 26px;
        font-size: 1.05rem;
    }

    .hero-actions,
    .hero-actions .button {
        width: 100%;
    }

    .hero-facts {
        grid-template-columns: 1fr;
        margin-top: 38px;
    }

    .weekly-hours-row {
        grid-template-columns: 1fr;
    }

    .weekly-hours-row .day-enabled {
        grid-column: auto;
    }

    .holiday-list article {
        align-items: flex-start;
        flex-direction: column;
    }

    .business-call-dialog {
        padding: 28px 20px;
    }

    .public-contact-form { padding: 24px 18px; }
    .cookie-banner { right: 10px; bottom: 10px; left: 10px; padding: 18px; }
}

/* ==========================================================================
   TEMA PÚBLICO VENCOR DARK
   El alcance se limita a .public-site-shell para conservar intacto /admin.
   ========================================================================== */
.public-site-shell {
    --public-black: #090a0c;
    --public-charcoal: #111316;
    --public-panel: #181b1f;
    --public-panel-soft: #20242a;
    --public-text: #f3f3f0;
    --public-muted: #a4a8ae;
    --public-line: rgba(255, 255, 255, .13);
    min-height: 100vh;
    color: var(--public-text);
    background:
        radial-gradient(circle at 80% 8%, rgba(255, 255, 255, .07), transparent 28%),
        var(--public-black);
}

.public-site-shell main {
    color: var(--public-text);
    background: var(--public-black);
}

.public-site-shell .topbar {
    display: none;
}

/* Cabecera minimalista: menú, identidad centrada y cita. */
.public-site-shell .main-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    border-color: var(--public-line);
    background: rgba(9, 10, 12, .92);
    backdrop-filter: blur(22px);
}

.public-site-shell .nav-content {
    position: relative;
    display: grid;
    min-height: 128px;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.public-site-shell .brand {
    display: grid;
    justify-items: center;
    gap: 7px;
    text-align: center;
}

.public-site-shell .brand-peugeot-shield {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.public-site-shell .brand strong {
    color: var(--public-text);
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: .32em;
    text-transform: uppercase;
}

.public-site-shell .brand > span {
    display: grid;
    gap: 5px;
    justify-items: center;
}

.public-site-shell .brand small {
    color: #8e9298;
    font-size: .54rem;
    letter-spacing: .18em;
}

.public-site-shell .menu-toggle {
    display: inline-grid;
    width: auto;
    height: auto;
    padding: 12px 0;
    color: var(--public-text);
    grid-template-columns: 24px auto;
    grid-template-rows: repeat(3, 2px);
    align-items: center;
    gap: 6px 12px;
}

.public-site-shell .menu-toggle span {
    width: 24px;
    margin: 0;
    background: var(--public-text);
    grid-column: 1;
}

.public-site-shell .menu-toggle strong {
    grid-column: 2;
    grid-row: 1 / span 3;
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.public-site-shell .nav-appointment {
    justify-self: end;
    border-color: rgba(255, 255, 255, .45);
    background: transparent;
}

.public-site-shell .nav-appointment:hover {
    border-color: var(--blue);
    background: var(--blue);
}

.public-site-shell .nav-links {
    position: absolute;
    top: 128px;
    right: 0;
    left: 0;
    display: none;
    padding: 30px 28px 32px;
    border-top: 1px solid var(--public-line);
    border-bottom: 1px solid var(--public-line);
    color: var(--public-text);
    background: rgba(12, 13, 15, .98);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
}

.public-site-shell .nav-links.is-open {
    display: flex;
}

.public-site-shell .nav-links > a:not(.button) {
    width: 100%;
    color: var(--public-text);
    font-size: .86rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-align: left;
}

/* Separamos verticalmente los bloques de texto para evitar títulos y párrafos solapados. */
.public-site-shell main h1 + p,
.public-site-shell main h2 + p,
.public-site-shell main h3 + p,
.public-site-shell main h4 + p,
.public-site-shell main p + p {
    margin-top: 7px;
}

/* Tratamiento general de secciones y textos. */
.public-site-shell .section,
.public-site-shell .company-section,
.public-site-shell .appointment-section,
.public-site-shell .aftersales-details,
.public-site-shell .aftersales-detail-hero,
.public-site-shell .about-values,
.public-site-shell .about-commitment {
    color: var(--public-text);
    background: var(--public-black);
}

.public-site-shell .section:nth-of-type(even),
.public-site-shell .company-section,
.public-site-shell .aftersales-details,
.public-site-shell .about-values {
    background: var(--public-charcoal);
}

.public-site-shell .section-heading p,
.public-site-shell .company-copy p,
.public-site-shell .appointment-section p,
.public-site-shell .aftersales-card p,
.public-site-shell .aftersales-official-grid p,
.public-site-shell .aftersales-detail-hero p,
.public-site-shell .service-detail-block p,
.public-site-shell .aftersales-service-content aside p,
.public-site-shell .legal-content p,
.public-site-shell .legal-content li,
.public-site-shell .cookie-provider-grid span,
.public-site-shell .about-story-copy p,
.public-site-shell .about-values-grid p,
.public-site-shell .contact-information p {
    color: var(--public-muted);
}

.public-site-shell .eyebrow,
.public-site-shell .text-link,
.public-site-shell .service-card a,
.public-site-shell .contact-information a,
.public-site-shell .privacy-consent a,
.public-site-shell .legal-content a {
    color: #80aaff;
}

.public-site-shell .button-outline {
    border-color: rgba(255, 255, 255, .35);
    color: var(--public-text);
}

.public-site-shell .button-light {
    border-color: var(--public-text);
    color: var(--public-black);
    background: var(--public-text);
}

.public-site-shell .not-found-hero {
    position: relative;
    display: grid;
    min-height: calc(100vh - 128px);
    overflow: hidden;
    color: var(--public-text);
    background:
        radial-gradient(circle at 75% 25%, rgba(21, 88, 214, .22), transparent 32%),
        linear-gradient(135deg, #050608 0%, #15171b 56%, #090a0d 100%);
    align-items: center;
}

.public-site-shell .not-found-ambient {
    position: absolute;
    inset: auto -12% -28% 38%;
    height: 58%;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    filter: blur(80px);
    transform: rotate(-8deg);
}

.public-site-shell .not-found-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 70px;
    padding-block: 90px;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, .55fr);
    align-items: center;
}

.public-site-shell .not-found-copy h1 {
    max-width: 760px;
    margin: 0;
    font-size: calc(clamp(3.4rem, 7vw, 7.3rem) * var(--heading-scale, 1));
    line-height: .96;
    letter-spacing: -.06em;
    text-transform: uppercase;
}

.public-site-shell .not-found-copy p {
    max-width: 680px;
    margin: 28px 0 34px;
    color: var(--public-muted);
    font-size: 1.15rem;
}

.public-site-shell .not-found-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.public-site-shell .not-found-card {
    display: grid;
    padding: 34px;
    border: 1px solid var(--public-line);
    border-radius: var(--radius);
    background: rgba(18, 20, 24, .78);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
    justify-items: start;
}

.public-site-shell .not-found-card img {
    width: 62px;
    height: 62px;
    margin-bottom: 24px;
    object-fit: contain;
}

.public-site-shell .not-found-card strong {
    font-size: 1.35rem;
    line-height: 1;
    text-transform: uppercase;
}

.public-site-shell .not-found-card > span {
    margin-top: 7px;
    color: var(--public-muted);
}

.public-site-shell .not-found-card div {
    display: grid;
    width: 100%;
    gap: 10px;
    margin-top: 28px;
}

.public-site-shell .not-found-card a {
    padding: 13px 0;
    border-top: 1px solid var(--public-line);
    color: var(--public-text);
    font-weight: 800;
}

/* Portada: contraste de estudio y superficies oscuras. */
.public-site-shell .hero {
    min-height: 720px;
    background-position: center;
}

.public-site-shell .hero-overlay {
    background:
        linear-gradient(90deg, rgba(5, 6, 8, .98) 0%, rgba(7, 8, 10, .78) 48%, rgba(7, 8, 10, .15) 100%),
        linear-gradient(0deg, rgba(5, 6, 8, .62), transparent 55%);
}

.public-site-shell .hero-grid {
    min-height: 720px;
}

.public-site-shell .hero-card {
    border-color: var(--public-line);
    background: rgba(18, 20, 24, .78);
    box-shadow: 0 35px 80px rgba(0, 0, 0, .42);
}

/* Portada inspirada en el boceto: nuevo Peugeot 408 protagonista y texto contenido. */
.public-site-shell .home-concept-hero {
    min-height: calc(100vh - 128px);
    background-position: center 55%;
    background-size: cover;
    background-repeat: no-repeat;
}

.public-site-shell .home-concept-hero .hero-overlay {
    background:
        linear-gradient(90deg, rgba(5, 6, 8, .96) 0%, rgba(5, 6, 8, .7) 37%, rgba(5, 6, 8, .05) 73%),
        linear-gradient(0deg, rgba(5, 6, 8, .8) 0%, transparent 42%);
}

.public-site-shell .home-concept-grid {
    position: relative;
    display: grid;
    min-height: calc(100vh - 128px);
    padding-block: 85px 55px;
    grid-template-columns: minmax(0, .72fr) minmax(420px, 1.28fr);
    grid-template-rows: 1fr auto;
    align-items: center;
}

.public-site-shell .home-concept-copy {
    position: relative;
    z-index: 2;
}

.public-site-shell .home-concept-copy h1 {
    max-width: 700px;
    margin: 0;
    font-size: calc(clamp(3.6rem, 7vw, 7rem) * var(--heading-scale, 1));
    /* Evita que las líneas de “Cuidamos de tu Peugeot” se solapen. */
    line-height: 1.07;
    letter-spacing: -.055em;
    text-transform: uppercase;
}

.public-site-shell .home-concept-copy .hero-intro {
    max-width: 520px;
    margin: 25px 0 30px;
    color: var(--public-text);
    font-size: 1.22rem;
    letter-spacing: .04em;
}

.public-site-shell .home-concept-status {
    grid-column: 1;
    align-self: end;
    max-width: 520px;
    padding-top: 22px;
    border-top: 1px solid var(--public-line);
}

.public-site-shell .home-feature-links {
    padding: 38px 0 100px;
    background: var(--public-black);
}

.public-site-shell .home-feature-carousel,
.public-site-shell .service-carousel {
    position: relative;
}

.public-site-shell .service-carousel {
    margin-top: 34px;
}

.public-site-shell .home-feature-window,
.public-site-shell .service-card-window {
    display: flex;
    gap: 22px;
    margin-inline: 58px;
    overflow-x: auto;
    padding: 10px 0 18px;
    scroll-behavior: smooth;
    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.public-site-shell .home-feature-window::-webkit-scrollbar,
.public-site-shell .service-card-window::-webkit-scrollbar {
    display: none;
}

.public-site-shell .home-feature-card {
    position: relative;
    display: grid;
    flex: 0 0 min(420px, 78vw);
    min-height: 390px;
    overflow: hidden;
    padding: 28px;
    border: 1px solid var(--public-line);
    border-radius: var(--radius);
    color: var(--public-text);
    background: var(--public-panel);
    box-shadow: 0 28px 65px rgba(0, 0, 0, .3);
    align-content: end;
    scroll-snap-align: start;
    transition: transform 180ms ease, border-color 180ms ease;
}

.public-site-shell .feature-carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0 0 3px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    place-items: center;
    color: var(--public-text);
    background: rgba(13, 15, 19, .72);
    box-shadow: 0 18px 35px rgba(0, 0, 0, .28);
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
    transform: translateY(-50%);
    transition: opacity 160ms ease, border-color 160ms ease, background 160ms ease;
}

.public-site-shell .feature-carousel-arrow:hover {
    border-color: rgba(255, 255, 255, .38);
    background: rgba(21, 88, 214, .88);
}

.public-site-shell .feature-carousel-arrow:disabled {
    cursor: default;
    opacity: .28;
}

.public-site-shell .feature-carousel-arrow-prev {
    left: 0;
}

.public-site-shell .feature-carousel-arrow-next {
    right: 0;
}

.public-site-shell .home-feature-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(5, 6, 8, .98), rgba(5, 6, 8, .05) 78%);
    content: "";
}

.public-site-shell .home-feature-card:hover {
    border-color: rgba(255, 255, 255, .35);
    transform: translateY(-6px);
}

.public-site-shell .home-feature-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 400ms ease;
}

.public-site-shell .home-feature-card:hover img {
    transform: scale(1.035);
}

.public-site-shell .home-feature-card > *:not(img) {
    position: relative;
    z-index: 1;
}

.public-site-shell .home-feature-card strong {
    font-size: 1.6rem;
    line-height: 1.05;
    text-transform: uppercase;
}

.public-site-shell .home-feature-card small {
    max-width: 300px;
    margin-top: 10px;
    color: #c0c3c8;
    font-size: .82rem;
}

.public-site-shell .service-card-window .service-card {
    flex: 0 0 min(420px, 78vw);
    min-height: 430px;
    scroll-snap-align: start;
}

.public-site-shell .service-card-window .service-card h3 {
    max-width: 320px;
}

.public-site-shell .service-card-window .service-card p {
    max-width: 340px;
}

.public-site-shell .home-services-heading {
    max-width: 860px;
    grid-template-columns: 1fr;
    gap: 7px;
    align-items: start;
}

.public-site-shell .home-services-heading p {
    max-width: 680px;
    margin-top: 7px;
}

.public-site-shell .quick-actions {
    margin-top: 0;
    padding: 38px 0;
    background: var(--public-black);
}

.public-site-shell .quick-grid,
.public-site-shell .service-card,
.public-site-shell .aftersales-card,
.public-site-shell .aftersales-detail,
.public-site-shell .about-stats-grid,
.public-site-shell .about-values-grid article,
.public-site-shell .public-contact-form,
.public-site-shell .contact-information,
.public-site-shell .cookie-provider-grid article,
.public-site-shell .legal-note {
    border-color: var(--public-line);
    color: var(--public-text);
    background: var(--public-panel);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .24);
}

.public-site-shell .quick-grid a {
    border-color: var(--public-line);
}

.public-site-shell .quick-grid a:hover,
.public-site-shell .service-card:hover,
.public-site-shell .about-values-grid article:hover {
    background: var(--public-panel-soft);
}

.public-site-shell .service-card.featured {
    background: var(--public-panel);
}

.public-site-shell .service-card.featured::after {
    background: linear-gradient(0deg, rgba(8, 9, 11, .98), rgba(8, 9, 11, .18));
}

.public-site-shell .service-card p,
.public-site-shell .quick-grid small {
    color: var(--public-muted);
}

.public-site-shell .company-visual,
.public-site-shell .about-story-image,
.public-site-shell .aftersales-official-grid img,
.public-site-shell .contact-page-hero-image,
.public-site-shell .occasion-box {
    border: 1px solid var(--public-line);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .38);
}

.public-site-shell .experience-badge {
    color: var(--public-text);
    background: rgba(12, 13, 15, .88);
    backdrop-filter: blur(12px);
}

.public-site-shell .experience-badge small {
    color: var(--public-muted);
}

/* Páginas interiores, formularios y contenido legal. */
.public-site-shell .contact-page-hero {
    background:
        radial-gradient(circle at 80% 25%, rgba(255, 255, 255, .08), transparent 30%),
        var(--public-charcoal);
}

.public-site-shell .public-contact-form input,
.public-site-shell .public-contact-form select,
.public-site-shell .public-contact-form textarea {
    border-color: var(--public-line);
    color: var(--public-text);
    background: #0e1013;
}

.public-site-shell .public-contact-form input:focus,
.public-site-shell .public-contact-form select:focus,
.public-site-shell .public-contact-form textarea:focus {
    outline: 1px solid var(--blue);
}

.public-site-shell .captcha-field {
    border-color: rgba(128, 170, 255, .55);
    background: rgba(21, 88, 214, .1);
}

.public-site-shell .aftersales-card img,
.public-site-shell .aftersales-detail-image {
    background: var(--public-panel);
}

.public-site-shell .aftersales-detail-image {
    border: 1px solid var(--public-line);
    box-shadow: 0 30px 65px rgba(0, 0, 0, .32);
}

.public-site-shell .aftersales-service-content aside {
    border-color: var(--blue);
    background: var(--public-panel);
}

.public-site-shell .service-conditions {
    border-color: var(--public-line);
    background: var(--public-panel);
    box-shadow: 0 24px 55px rgba(0, 0, 0, .26);
}

.public-site-shell .service-conditions p {
    color: var(--public-muted);
}

.public-site-shell .about-stats {
    background: transparent;
}

.public-site-shell .about-stats article {
    border-color: var(--public-line);
}

.public-site-shell .about-story-copy .about-story-lead {
    color: var(--public-text);
}

.public-site-shell .about-commitment {
    border-top: 1px solid var(--public-line);
    background: var(--public-charcoal);
}

.public-site-shell .site-footer {
    border-top: 1px solid var(--public-line);
    background: #060709;
}

.public-site-shell .site-footer .brand {
    justify-items: start;
    text-align: left;
}

.public-site-shell .site-footer .brand-mark {
    display: none;
}

.public-site-shell .business-call-dialog {
    border: 1px solid var(--public-line);
    color: var(--public-text);
    background: var(--public-panel);
}

.public-site-shell .service-contracts-teaser {
    background:
        radial-gradient(circle at 18% 20%, rgba(21, 88, 214, .18), transparent 28%),
        var(--public-black);
}

.public-site-shell .service-contracts-teaser-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
    gap: 58px;
    align-items: center;
}

.public-site-shell .service-contracts-teaser-image {
    min-height: 390px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--public-line);
    border-radius: var(--radius);
    background: var(--public-panel);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .38);
}

.public-site-shell .service-contracts-teaser-image img {
    display: block;
    width: 100%;
    height: 430px;
    object-fit: cover;
    object-position: center;
}

.public-site-shell .service-contracts-teaser-copy h2 {
    max-width: 760px;
    margin: 0;
    color: var(--public-text);
    font-size: calc(clamp(2.5rem, 5vw, 5.2rem) * var(--heading-scale, 1));
    line-height: 1;
    letter-spacing: -.045em;
    text-transform: uppercase;
}

.public-site-shell .service-contracts-teaser-copy p {
    max-width: 640px;
    color: var(--public-muted);
    line-height: 1.75;
}

.public-site-shell .service-contracts-teaser-copy .button {
    margin-top: 18px;
}

.public-site-shell .contracts-process {
    background: var(--public-charcoal);
}

.public-site-shell .contracts-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.public-site-shell .contracts-process-grid article {
    padding: 28px;
    border: 1px solid var(--public-line);
    border-radius: var(--radius);
    background: var(--public-panel);
}

.public-site-shell .contracts-process-grid strong {
    display: grid;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    place-items: center;
    color: var(--public-black);
    background: var(--public-text);
}

.public-site-shell .contracts-process-grid h3 {
    color: var(--public-text);
}

.public-site-shell .contracts-process-grid p {
    color: var(--public-muted);
}

.public-site-shell .advice-hero {
    position: relative;
    overflow: hidden;
    padding: 95px 0;
    color: var(--public-text);
    background:
        radial-gradient(circle at 82% 18%, rgba(21, 88, 214, .22), transparent 30%),
        linear-gradient(135deg, #050608, #171a20);
}

.public-site-shell .advice-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 6, 8, .96), rgba(5, 6, 8, .42));
}

.public-site-shell .advice-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .65fr);
    gap: 60px;
    align-items: center;
}

.public-site-shell .advice-hero h1 {
    max-width: 860px;
    margin: 0;
    font-size: calc(clamp(3.1rem, 6vw, 6.1rem) * var(--heading-scale, 1));
    line-height: 1;
    letter-spacing: -.055em;
    text-transform: uppercase;
}

.public-site-shell .advice-hero p {
    max-width: 680px;
    color: #c6c9ce;
    font-size: 1.13rem;
    line-height: 1.75;
}

.public-site-shell .advice-hero-image {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--public-line);
    border-radius: var(--radius);
    background: var(--public-panel);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .38);
}

.public-site-shell .advice-hero-image img {
    display: block;
    width: 100%;
    height: 390px;
    object-fit: cover;
    object-position: center;
}

.public-site-shell .advice-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.public-site-shell .advice-card {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--public-line);
    border-radius: var(--radius);
    background: var(--public-panel);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .24);
}

.public-site-shell .advice-card img {
    width: 100%;
    height: 215px;
    object-fit: cover;
    object-position: center;
}

.public-site-shell .advice-card div {
    display: grid;
    gap: 12px;
    padding: 24px;
}

.public-site-shell .advice-card span {
    color: #80aaff;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.public-site-shell .advice-card h3 {
    margin: 0;
    color: var(--public-text);
    font-size: 1.34rem;
    line-height: 1.12;
}

.public-site-shell .advice-card p {
    color: var(--public-muted);
}

.public-site-shell .advice-pagination {
    display: flex;
    gap: 10px;
    margin-top: 42px;
    justify-content: center;
}

.public-site-shell .advice-pagination a {
    display: grid;
    width: 42px;
    height: 42px;
    border: 1px solid var(--public-line);
    border-radius: 999px;
    place-items: center;
    color: var(--public-text);
    background: var(--public-panel);
    font-weight: 900;
}

.public-site-shell .advice-pagination a.is-active {
    color: var(--public-black);
    background: var(--public-text);
}

.public-site-shell .article-detail-hero {
    padding: 90px 0;
    color: var(--public-text);
    background: linear-gradient(135deg, #050608, #171a20);
}

.public-site-shell .article-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .7fr);
    gap: 60px;
    align-items: center;
}

.public-site-shell .article-detail-grid h1 {
    max-width: 900px;
    margin: 18px 0 0;
    font-size: calc(clamp(3rem, 5.8vw, 5.9rem) * var(--heading-scale, 1));
    line-height: 1;
    letter-spacing: -.055em;
    text-transform: uppercase;
}

.public-site-shell .article-detail-grid p {
    max-width: 700px;
    color: #c6c9ce;
    font-size: 1.12rem;
    line-height: 1.75;
}

.public-site-shell .article-detail-grid figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--public-line);
    border-radius: var(--radius);
}

.public-site-shell .article-detail-grid img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
}

.public-site-shell .article-body-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .38fr);
    gap: 70px;
    align-items: start;
}

.public-site-shell .article-body {
    max-width: 850px;
}

.public-site-shell .article-body p {
    color: #d0d3d8;
    font-size: 1.12rem;
    line-height: 1.85;
}

.public-site-shell .article-aside {
    display: grid;
    gap: 14px;
    padding: 28px;
    border: 1px solid var(--public-line);
    border-radius: var(--radius);
    background: var(--public-panel);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .24);
}

.public-site-shell .article-aside strong {
    color: var(--public-text);
    font-size: 1.35rem;
    line-height: 1.1;
}

.public-site-shell .article-aside p {
    color: var(--public-muted);
}

.public-site-shell .used-hero,
.public-site-shell .used-detail-hero {
    position: relative;
    overflow: hidden;
    padding: 95px 0;
    color: var(--public-text);
    background:
        radial-gradient(circle at 80% 18%, rgba(21, 88, 214, .2), transparent 30%),
        linear-gradient(135deg, #050608, #171a20);
}

.public-site-shell .used-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 6, 8, .96), rgba(5, 6, 8, .35));
}

.public-site-shell .used-hero-grid,
.public-site-shell .used-detail-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .68fr);
    gap: 60px;
    align-items: center;
}

.public-site-shell .used-hero h1,
.public-site-shell .used-detail-grid h1 {
    max-width: 900px;
    margin: 0;
    font-size: calc(clamp(3rem, 6vw, 6rem) * var(--heading-scale, 1));
    line-height: 1;
    letter-spacing: -.055em;
    text-transform: uppercase;
}

.public-site-shell .used-hero p,
.public-site-shell .used-detail-grid p {
    max-width: 690px;
    color: #c6c9ce;
    font-size: 1.12rem;
    line-height: 1.75;
}

.public-site-shell .used-hero-image,
.public-site-shell .used-detail-grid figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--public-line);
    border-radius: var(--radius);
    background: var(--public-panel);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .38);
}

.public-site-shell .used-hero-image img,
.public-site-shell .used-detail-grid img {
    display: block;
    width: 100%;
    height: 410px;
    object-fit: cover;
    object-position: center;
}

.public-site-shell .used-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.public-site-shell .used-card {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--public-line);
    border-radius: var(--radius);
    background: var(--public-panel);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .24);
}

.public-site-shell .used-card img {
    display: block;
    width: 100%;
    height: 245px;
    object-fit: cover;
    object-position: center;
}

.public-site-shell .used-card > div {
    display: grid;
    gap: 14px;
    padding: 24px;
}

.public-site-shell .used-badge {
    width: max-content;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    color: #80aaff;
    background: rgba(128, 170, 255, .09);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.public-site-shell .used-card h3 {
    margin: 0;
    color: var(--public-text);
    font-size: 1.42rem;
    line-height: 1.1;
}

.public-site-shell .used-card p {
    color: var(--public-muted);
}

.public-site-shell .used-card dl,
.public-site-shell .used-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.public-site-shell .used-card dl div,
.public-site-shell .used-spec-grid div {
    padding: 12px;
    border: 1px solid var(--public-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .035);
}

.public-site-shell .used-card dt,
.public-site-shell .used-spec-grid dt {
    color: var(--public-muted);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.public-site-shell .used-card dd,
.public-site-shell .used-spec-grid dd {
    margin: 4px 0 0;
    color: var(--public-text);
    font-weight: 800;
}

.public-site-shell .used-price-row {
    display: flex;
    gap: 12px;
    align-items: baseline;
}

.public-site-shell .used-price-row small {
    color: var(--public-muted);
    text-decoration: line-through;
}

.public-site-shell .used-price-row strong {
    color: var(--public-text);
    font-size: 1.75rem;
    font-weight: 900;
}

.public-site-shell .used-price-large strong {
    font-size: clamp(2.2rem, 4vw, 4.4rem);
}

.public-site-shell .used-empty {
    display: grid;
    gap: 14px;
    padding: 38px;
    border: 1px solid var(--public-line);
    border-radius: var(--radius);
    background: var(--public-panel);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .24);
}

.public-site-shell .used-empty h2 {
    margin: 0;
}

.public-site-shell .occasion-more {
    display: flex;
    margin-top: 34px;
    justify-content: center;
}

.public-site-shell .used-detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .42fr);
    gap: 70px;
    align-items: start;
}

.public-site-shell .used-detail-content h2 {
    margin-top: 34px;
}

.public-site-shell .used-detail-content p {
    color: #d0d3d8;
    font-size: 1.08rem;
    line-height: 1.85;
}

.public-site-shell .used-detail-aside {
    display: grid;
    gap: 14px;
    padding: 28px;
    border: 1px solid var(--public-line);
    border-radius: var(--radius);
    background: var(--public-panel);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .24);
}

.public-site-shell .used-gallery-section {
    background: var(--public-charcoal);
}

.public-site-shell .used-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.public-site-shell .used-gallery-grid a {
    display: block;
    overflow: hidden;
    border: 1px solid var(--public-line);
    border-radius: 18px;
    background: var(--public-panel);
}

.public-site-shell .used-gallery-grid img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
    object-position: center;
    transition: transform 220ms ease;
}

.public-site-shell .used-gallery-grid a:hover img {
    transform: scale(1.035);
}

/* Páginas SEO recuperadas de la web anterior: financiación y My Peugeot. */
.public-site-shell .seo-page-hero {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    color: var(--public-text);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.public-site-shell .financing-hero {
    background-image: url("../images/peugeot-408-gama-2026.jpeg");
}

.public-site-shell .my-peugeot-hero {
    background-image: url("../images/peugeot-408-hero.jpg");
}

.public-site-shell .seo-page-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 6, 8, .97) 0%, rgba(5, 6, 8, .78) 45%, rgba(5, 6, 8, .22) 100%),
        linear-gradient(0deg, rgba(5, 6, 8, .82), transparent 58%);
}

.public-site-shell .seo-page-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 640px;
    padding-block: 90px;
    grid-template-columns: minmax(0, .95fr) minmax(300px, .45fr);
    gap: 70px;
    align-items: end;
}

.public-site-shell .seo-page-copy h1 {
    max-width: 850px;
    margin: 0;
    font-size: calc(clamp(3.2rem, 6.5vw, 6.4rem) * var(--heading-scale, 1));
    line-height: 1;
    letter-spacing: -.055em;
    text-transform: uppercase;
}

.public-site-shell .seo-page-copy p {
    max-width: 680px;
    margin: 26px 0 0;
    color: #c6c9ce;
    font-size: 1.14rem;
    line-height: 1.75;
}

.public-site-shell .seo-page-actions {
    display: flex;
    gap: 15px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.public-site-shell .seo-page-panel {
    display: grid;
    gap: 14px;
    padding: 30px;
    border: 1px solid var(--public-line);
    border-radius: var(--radius);
    background: rgba(17, 19, 23, .78);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .36);
    backdrop-filter: blur(14px);
}

.public-site-shell .seo-page-panel strong {
    font-size: 1.38rem;
    line-height: 1.1;
}

.public-site-shell .seo-page-panel p {
    margin: 0;
    color: var(--public-muted);
    line-height: 1.65;
}

.public-site-shell .seo-page-panel img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.public-site-shell .seo-page-section {
    background: var(--public-black);
}

.public-site-shell .seo-page-two-columns {
    display: grid;
    grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr);
    gap: 70px;
    align-items: start;
}

.public-site-shell .seo-page-two-columns h2 {
    max-width: 620px;
    margin: 0;
    color: var(--public-text);
    font-size: calc(clamp(2.25rem, 4vw, 4rem) * var(--heading-scale, 1));
    line-height: 1.03;
}

.public-site-shell .seo-page-two-columns p {
    color: var(--public-muted);
    line-height: 1.75;
}

.public-site-shell .seo-benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.public-site-shell .seo-benefit-grid article {
    min-height: 225px;
    padding: 26px;
    border: 1px solid var(--public-line);
    border-radius: var(--radius);
    background: var(--public-panel);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .24);
}

.public-site-shell .seo-benefit-grid span {
    color: #80aaff;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .16em;
}

.public-site-shell .seo-benefit-grid h3 {
    margin: 18px 0 0;
    color: var(--public-text);
    font-size: 1.34rem;
}

.public-site-shell .seo-benefit-grid p {
    margin-bottom: 0;
    color: var(--public-muted);
}

.public-site-shell .seo-page-cta {
    border-top: 1px solid var(--public-line);
    background:
        radial-gradient(circle at 80% 15%, rgba(21, 88, 214, .2), transparent 28%),
        var(--public-charcoal);
}

.public-site-shell .seo-page-cta-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, .7fr);
    gap: 60px;
    align-items: center;
}

.public-site-shell .seo-page-cta h2 {
    max-width: 780px;
    margin: 0;
    color: var(--public-text);
    font-size: calc(clamp(2.4rem, 5vw, 5rem) * var(--heading-scale, 1));
    line-height: 1;
}

.public-site-shell .seo-page-cta p {
    color: #c6c9ce;
    line-height: 1.75;
}

@media (max-width: 1050px) {
    .public-site-shell .seo-page-hero-grid,
    .public-site-shell .seo-page-two-columns,
    .public-site-shell .seo-page-cta-grid,
    .public-site-shell .service-contracts-teaser-grid,
    .public-site-shell .advice-hero-grid,
    .public-site-shell .article-detail-grid,
    .public-site-shell .article-body-grid,
    .public-site-shell .used-hero-grid,
    .public-site-shell .used-detail-grid,
    .public-site-shell .used-detail-content {
        grid-template-columns: 1fr;
    }

    .public-site-shell .seo-page-hero-grid {
        gap: 36px;
        align-items: end;
    }

    .public-site-shell .seo-page-panel {
        max-width: 520px;
    }
}

/* La identidad permanece útil y equilibrada en tablet y móvil. */
@media (max-width: 760px) {
    .public-site-shell .nav-content {
        min-height: 104px;
    }

    .public-site-shell .brand-peugeot-shield {
        width: 40px;
        height: 40px;
    }

    .public-site-shell .brand strong {
        font-size: .78rem;
    }

    .public-site-shell .brand small {
        display: none;
    }

    .public-site-shell .menu-toggle strong {
        display: none;
    }

    .public-site-shell .nav-appointment {
        min-height: 40px;
        padding-inline: 14px;
        font-size: .66rem;
    }

    .public-site-shell .nav-links {
        top: 104px;
        padding: 25px 20px 32px;
        background: rgba(9, 10, 12, .99);
    }

    .public-site-shell .seo-page-hero,
    .public-site-shell .seo-page-hero-grid {
        min-height: 660px;
    }

    .public-site-shell .seo-page-hero {
        background-position: 58% center;
    }

    .public-site-shell .seo-page-hero-overlay {
        background:
            linear-gradient(0deg, rgba(5, 6, 8, .98) 0%, rgba(5, 6, 8, .78) 62%, rgba(5, 6, 8, .28) 100%);
    }

    .public-site-shell .seo-page-hero-grid {
        padding-block: 280px 46px;
        gap: 26px;
    }

    .public-site-shell .seo-page-copy h1 {
        font-size: calc(clamp(2.7rem, 12vw, 4.2rem) * var(--heading-scale, 1));
        line-height: 1.04;
    }

    .public-site-shell .seo-page-copy p {
        font-size: 1rem;
    }

    .public-site-shell .seo-page-actions,
    .public-site-shell .seo-page-actions .button {
        width: 100%;
    }

    .public-site-shell .seo-benefit-grid {
        grid-template-columns: 1fr;
    }

    .public-site-shell .seo-page-cta h2 {
        line-height: 1.05;
    }

    .public-site-shell .service-contracts-teaser-image,
    .public-site-shell .service-contracts-teaser-image img {
        min-height: 290px;
        height: 310px;
    }

    .public-site-shell .contracts-process-grid {
        grid-template-columns: 1fr;
    }

    .public-site-shell .advice-card-grid,
    .public-site-shell .used-card-grid {
        grid-template-columns: 1fr;
    }

    .public-site-shell .advice-hero-image img,
    .public-site-shell .article-detail-grid img,
    .public-site-shell .used-hero-image img,
    .public-site-shell .used-detail-grid img {
        height: 300px;
    }

    .public-site-shell .hero,
    .public-site-shell .hero-grid {
        min-height: 650px;
    }

    .public-site-shell .home-concept-hero,
    .public-site-shell .home-concept-grid {
        min-height: 720px;
    }

    .public-site-shell .home-concept-hero {
        background-position: 54% center;
    }

    .public-site-shell .home-concept-hero .hero-overlay {
        background:
            linear-gradient(0deg, rgba(5, 6, 8, .98) 0%, rgba(5, 6, 8, .7) 60%, rgba(5, 6, 8, .2) 100%);
    }

    .public-site-shell .home-concept-grid {
        display: flex;
        padding-block: 330px 45px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
    }

    .public-site-shell .home-concept-copy h1 {
        font-size: calc(clamp(3.1rem, 16vw, 4.5rem) * var(--heading-scale, 1));
    }

    .public-site-shell .home-concept-status {
        width: 100%;
        margin-top: 36px;
    }

    .public-site-shell .not-found-grid {
        gap: 34px;
        padding-block: 70px;
        grid-template-columns: 1fr;
    }

    .public-site-shell .not-found-copy h1 {
        font-size: calc(clamp(3rem, 14vw, 4.7rem) * var(--heading-scale, 1));
    }

    .public-site-shell .not-found-card {
        padding: 26px;
    }

    .public-site-shell .home-feature-card {
        min-height: 330px;
    }

    .public-site-shell .home-feature-window,
    .public-site-shell .service-card-window {
        margin-inline: 42px;
    }

    .public-site-shell .feature-carousel-arrow {
        width: 38px;
        height: 38px;
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .public-site-shell .nav-content {
        min-height: 92px;
    }

    .public-site-shell .nav-links {
        top: 92px;
    }

    .public-site-shell .brand-peugeot-shield {
        width: 34px;
        height: 34px;
    }

    .public-site-shell .brand strong {
        font-size: .64rem;
        letter-spacing: .2em;
    }

    .public-site-shell .nav-appointment {
        max-width: 100px;
        padding-inline: 11px;
        line-height: 1.1;
        text-align: center;
    }
}

/* Pulido final móvil: evita cortes y mejora contraste en superficies oscuras/grises. */
.public-site-shell {
    --public-muted: #cbd1da;
    --public-panel: #15181d;
    --public-panel-soft: #242932;
}

.public-site-shell .section-heading p,
.public-site-shell .company-copy p,
.public-site-shell .appointment-section p,
.public-site-shell .aftersales-card p,
.public-site-shell .aftersales-official-grid p,
.public-site-shell .aftersales-detail-hero p,
.public-site-shell .service-detail-block p,
.public-site-shell .aftersales-service-content aside p,
.public-site-shell .about-story-copy p,
.public-site-shell .about-values-grid p,
.public-site-shell .contact-information p,
.public-site-shell .where-details p,
.public-site-shell .trust-card p,
.public-site-shell .home-faq-list p,
.public-site-shell .used-card p,
.public-site-shell .seo-benefit-grid p {
    color: #d7dce4;
}

.public-site-shell .home-faq-list details,
.public-site-shell .trust-card {
    border-color: rgba(255, 255, 255, .16);
    background: rgba(21, 24, 29, .92);
}

.public-site-shell h1,
.public-site-shell h2,
.public-site-shell h3,
.public-site-shell .button,
.public-site-shell .brand strong,
.public-site-shell .home-feature-card strong,
.public-site-shell .service-card h3 {
    overflow-wrap: anywhere;
}

@media (max-width: 760px) {
    html,
    body,
    .public-site-shell {
        overflow-x: hidden;
    }

    .public-site-shell .home-concept-hero {
        min-height: auto;
        background-position: 56% center;
    }

    .public-site-shell .home-concept-grid {
        min-height: calc(100svh - 92px);
        padding-block: clamp(220px, 38vh, 300px) 38px;
    }

    .public-site-shell .home-concept-copy h1 {
        font-size: calc(clamp(2.45rem, 12.5vw, 3.35rem) * var(--heading-scale, 1));
        line-height: 1.1;
        letter-spacing: -.035em;
    }

    .public-site-shell .home-concept-copy .hero-intro {
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.55;
    }

    .public-site-shell .hero-actions,
    .public-site-shell .hero-actions .button,
    .public-site-shell .where-hero-actions .button,
    .public-site-shell .where-detail-actions .button,
    .public-site-shell .appointment-actions .button {
        width: 100%;
        min-width: 0;
        white-space: normal;
        text-align: center;
    }

    .public-site-shell .eyebrow {
        letter-spacing: .12em;
        overflow-wrap: anywhere;
    }

    .public-site-shell .home-feature-window,
    .public-site-shell .service-card-window {
        margin-inline: 34px;
    }

    .public-site-shell .home-feature-card,
    .public-site-shell .service-card-visual {
        flex-basis: min(300px, calc(100vw - 88px));
    }

    .public-site-shell .where-details > :not(.where-details-image) {
        margin-inline: 22px;
    }

    .public-site-shell .where-details-image {
        min-height: 0;
        background: #0b0d10;
    }

    .public-site-shell .where-details-image img {
        height: auto;
        object-fit: contain;
    }

    .public-site-shell .contact-page-hero-image,
    .public-site-shell .service-contracts-teaser-image {
        min-height: 0;
        background: #0b0d10;
    }

    .public-site-shell .contact-page-hero-image img,
    .public-site-shell .service-contracts-teaser-image img {
        height: auto;
        min-height: 0;
        object-fit: contain;
    }
}

@media (max-width: 420px) {
    .public-site-shell .container {
        width: min(100% - 24px, var(--content-max-width, 1320px));
    }

    .public-site-shell .home-concept-grid {
        padding-block: clamp(205px, 35vh, 270px) 34px;
    }

    .public-site-shell .home-concept-copy h1 {
        font-size: calc(clamp(2.2rem, 11.2vw, 3rem) * var(--heading-scale, 1));
    }

    .public-site-shell .home-feature-window,
    .public-site-shell .service-card-window {
        margin-inline: 28px;
    }

    .public-site-shell .home-feature-card,
    .public-site-shell .service-card-visual {
        flex-basis: min(286px, calc(100vw - 76px));
    }
}
