:root {
    color-scheme: dark;
    --fondo: #081628;
    --tarjeta: #10263f;
    --texto: #f7f8fb;
    --suave: #bed1e5;
    --naranja: #ff7846;
    font-family: "DM Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--fondo); color: var(--texto); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--naranja); }
header { border-bottom: 1px solid #27415b; }
nav, .bloque { width: min(1120px, 100% - 36px); margin-inline: auto; }
nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; flex-wrap: wrap; }
.marca { font-size: 26px; font-weight: 900; letter-spacing: -.07em; }
.marca span, .marca-menor { color: var(--naranja); }
.enlaces { display: flex; gap: 18px; flex-wrap: wrap; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 32px; padding-block: 64px; }
.marca-menor { font-size: .82rem; font-weight: 800; letter-spacing: .13em; }
h1 { font-size: clamp(2.4rem, 7vw, 5rem); line-height: .98; letter-spacing: -.055em; margin: 12px 0 20px; }
h2 { margin-top: 0; font-size: 1.65rem; }
p { line-height: 1.65; color: var(--suave); }
.visual { display: grid; place-items: center; min-height: 285px; border-radius: 24px; background: radial-gradient(ellipse at 50% 65%, #c95c31 0%, #753522 26%, #10263f 72%); }
.visual img { width: min(85%, 330px); height: auto; filter: drop-shadow(0 16px 20px #0009); }
.boton, .secundario, button { font: inherit; font-weight: 750; border-radius: 10px; padding: 10px 15px; cursor: pointer; display: inline-block; }
.boton { background: var(--naranja); color: #081628; border: 1px solid var(--naranja); }
.boton:hover { color: #081628; background: #ffa686; }
.secundario, button { background: #132a43; color: var(--texto); border: 1px solid #3c5876; }
.servicios, .rejilla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tarjeta { padding: 20px; background: var(--tarjeta); border-radius: 16px; }
.galeria, .admin { padding-block: 36px; }
.carrusel { background: var(--tarjeta); border-radius: 16px; overflow: hidden; }
.carrusel img { width: 100%; height: clamp(230px, 55vw, 490px); object-fit: contain; display: block; }
.carrusel img[hidden] { display: none; }
.vacio img { max-width: 260px; height: 240px; margin: auto; }
.controles { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 14px; }
footer { border-top: 1px solid #27415b; }
footer .bloque { display: flex; flex-wrap: wrap; gap: 18px; padding-block: 24px; }
.admin input[type=file] { display: block; margin-block: 12px; max-width: 100%; }
.rejilla { margin-top: 22px; }
.rejilla img { width: 100%; height: 190px; object-fit: contain; margin-bottom: 10px; }
:focus-visible { outline: 3px solid var(--naranja); outline-offset: 3px; }
@media (max-width: 680px) {
    .hero, .servicios { grid-template-columns: 1fr; }
    .hero { padding-block: 36px; }
    nav .enlaces { order: 1; width: 100%; }
    .visual { min-height: 230px; }
}

/* Visor de políticas de ancho completo */
#politicas {
    width: 100%;
    max-width: none;
    padding-inline: 0;
}

#politicas > h2,
#politicas > .tarjeta {
    padding-inline: clamp(12px, 3vw, 32px);
}

#politicas iframe {
    display: block;
    width: calc(100% + 2 * clamp(12px, 3vw, 32px)) !important;
    max-width: none;
    margin-inline: calc(-1 * clamp(12px, 3vw, 32px));
    height: 80vh !important;
}
