/* =========================================================
   VARIABLES · IDENTIDAD DEL SERVICIO
   ========================================================= */

:root {
    --navy: #031229;
    --navy-2: #061b3a;
    --navy-3: #0a2748;
    --blue: #087cf0;
    --blue-light: #39a7ff;
    --sand: #d6b36b;
    --sand-light: #f1d292;
    --white: #ffffff;
    --text: #d7e1eb;
    --muted: #8497aa;
    --line: rgba(255, 255, 255, .11);
    --line-blue: rgba(57, 167, 255, .22);
    --ease: cubic-bezier(.2, .75, .2, 1);
}


/* =========================================================
   BASE · DOCUMENTO
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--white);
    background: var(--navy);
    overflow: hidden;
}

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

button {
    font: inherit;
}


/* =========================================================
   LANDING · CONTENEDOR GENERAL
   ========================================================= */

.material-service {
    position: relative;
    width: 100%;
    height: 100svh;
    min-height: 720px;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 49% 42%, rgba(214, 179, 107, .08), transparent 24%),
        radial-gradient(circle at 72% 62%, rgba(8, 124, 240, .09), transparent 28%),
        linear-gradient(135deg, #031229 0%, #061a31 52%, #020e1c 100%);
}


/* =========================================================
   FONDO · TEXTURA DE OBRA
   ========================================================= */

.material-grid {
    position: absolute;
    z-index: -4;
    inset: 0;
    opacity: .45;
    background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 62px 62px;
}

.terrain {
    position: absolute;
    z-index: -2;
    pointer-events: none;
    opacity: .20;
    filter: blur(1px);
}

.terrain-a {
    left: -5%;
    right: 52%;
    bottom: -6%;
    height: 34%;
    clip-path: polygon(0 70%, 14% 52%, 31% 57%, 45% 28%, 59% 43%, 75% 21%, 100% 62%, 100% 100%, 0 100%);
    background: linear-gradient(145deg, rgba(214, 179, 107, .72), rgba(214, 179, 107, .06));
}

.terrain-b {
    right: -4%;
    width: 48%;
    bottom: -8%;
    height: 29%;
    clip-path: polygon(0 77%, 17% 55%, 32% 63%, 51% 35%, 72% 50%, 84% 28%, 100% 56%, 100% 100%, 0 100%);
    background: linear-gradient(145deg, rgba(8, 124, 240, .32), rgba(8, 124, 240, .03));
}


/* =========================================================
   ENCABEZADO · MARCA Y NAVEGACIÓN
   ========================================================= */

.service-header {
    position: absolute;
    z-index: 30;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    padding: 0 3.2vw;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    border-bottom: 1px solid var(--line);
    background: rgba(3, 18, 41, .74);
    backdrop-filter: blur(18px);
}

.brand {
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 11px;
}

.brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.brand span {
    display: flex;
    flex-direction: column;
    line-height: .98;
}

.brand b {
    font: 800 12px Montserrat, sans-serif;
    letter-spacing: .16em;
}

.brand small {
    margin-top: 4px;
    font: 700 10px Montserrat, sans-serif;
    color: var(--blue-light);
}

.header-center {
    display: flex;
    align-items: center;
    gap: 9px;
    font: 800 9px Montserrat, sans-serif;
    letter-spacing: .18em;
    color: #879caf;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sand-light);
    box-shadow: 0 0 0 5px rgba(214, 179, 107, .08), 0 0 14px rgba(214, 179, 107, .42);
}

.header-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 10px;
}

.system-link,
.back-link {
    min-height: 40px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    font: 800 10px Montserrat, sans-serif;
    letter-spacing: .08em;
}

.system-link {
    color: #e8f4ff;
    border: 1px solid rgba(57, 167, 255, .23);
    background: rgba(8, 124, 240, .10);
}

.back-link {
    color: #c3d2e0;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .045);
}


/* =========================================================
   TABLERO · DISTRIBUCIÓN PRINCIPAL
   ========================================================= */

.material-board {
    position: relative;
    z-index: 5;
    width: calc(100% - 6.4vw);
    height: calc(100% - 150px);
    margin: 0 3.2vw;
    padding-top: 106px;
    display: grid;
    grid-template-columns: minmax(380px, .92fr) minmax(430px, 1.12fr) minmax(340px, .82fr);
    gap: clamp(22px, 2.3vw, 44px);
    align-items: stretch;
}


/* =========================================================
   PRESENTACIÓN · INFORMACIÓN DEL SERVICIO
   ========================================================= */

.material-intro {
    position: relative;
    padding: clamp(22px, 2vw, 38px) 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-code {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 20px;
}

.service-code span {
    font: 800 9px Montserrat, sans-serif;
    letter-spacing: .2em;
    color: #8198ad;
}

.service-code i {
    color: var(--sand-light);
    font-size: 14px;
}

.overline {
    margin-bottom: 13px;
    font: 800 10px Montserrat, sans-serif;
    letter-spacing: .22em;
    color: var(--sand-light);
}

.material-intro h1 {
    max-width: 650px;
    font: 800 clamp(43px, 4.6vw, 76px)/.98 Montserrat, sans-serif;
    letter-spacing: -.055em;
}

.material-intro h1 span {
    display: block;
    margin-top: 7px;
    color: var(--sand-light);
}

.lead {
    max-width: 590px;
    margin-top: 23px;
    font-size: clamp(13px, .95vw, 16px);
    line-height: 1.7;
    color: #aebfd0;
}

.trust-points {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.trust-points div {
    min-height: 36px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(214, 179, 107, .15);
    border-radius: 999px;
    background: rgba(214, 179, 107, .045);
    font-size: 10px;
    font-weight: 700;
    color: #c9d5df;
}

.trust-points i {
    color: var(--sand-light);
}

.intro-actions {
    margin-top: 26px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.primary-action,
.secondary-action {
    min-height: 49px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 9px;
    font-weight: 800;
    font-size: 11px;
    transition: .3s var(--ease);
}

.primary-action {
    background: linear-gradient(135deg, #dcb86d, #b68b3e);
    color: #071527;
    box-shadow: 0 16px 30px rgba(214, 179, 107, .16);
}

.secondary-action {
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .055);
    color: #d6e4ef;
}

.primary-action:hover,
.secondary-action:hover {
    transform: translateY(-2px);
}


/* =========================================================
   UNIDAD · ESCENARIO DE VOLTEO
   ========================================================= */

.unit-stage {
    position: relative;
    min-width: 0;
    display: grid;
    place-items: center;
    perspective: 1200px;
    overflow: hidden;
}

.unit-stage::before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 12%;
    right: 12%;
    bottom: 17%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(214, 179, 107, .52), transparent);
}

.unit-glow {
    position: absolute;
    z-index: 0;
    width: 70%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(214, 179, 107, .13), transparent 68%);
}

.stage-axis {
    position: absolute;
    z-index: 0;
    border: 1px solid rgba(214, 179, 107, .12);
}

.axis-a {
    width: 72%;
    height: 72%;
    transform: rotate(45deg);
}

.axis-b {
    width: 56%;
    height: 56%;
    transform: rotate(45deg);
    border-style: dashed;
}

.unit-image {
    position: relative;
    z-index: 3;
    width: min(720px, 43vw);
    max-height: 62vh;
    object-fit: contain;
    filter: drop-shadow(0 35px 30px rgba(0, 0, 0, .48));
    transform: translate3d(0, 8px, 0);
    transition: transform .2s linear;
    will-change: transform;
}

.material-selector {
    position: absolute;
    z-index: 7;
    top: 7%;
    right: 3%;
    width: 190px;
    padding: 15px;
    border-radius: 20px;
    border: 1px solid rgba(214, 179, 107, .20);
    background: rgba(3, 18, 41, .72);
    backdrop-filter: blur(18px);
}

.material-selector small {
    display: block;
    margin-bottom: 10px;
    font: 800 8px Montserrat, sans-serif;
    letter-spacing: .18em;
    color: #8799a9;
}

.material-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}

.material-option {
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .10);
    color: #aebdca;
    background: rgba(255, 255, 255, .035);
    cursor: pointer;
    font: 800 9px Montserrat, sans-serif;
}

.material-option.active {
    color: #071527;
    border-color: var(--sand-light);
    background: var(--sand-light);
}

.unit-label {
    position: absolute;
    z-index: 7;
    left: 5%;
    bottom: 10%;
    min-width: 230px;
    padding: 14px 16px;
    border-left: 2px solid var(--sand-light);
    background: linear-gradient(90deg, rgba(3, 18, 41, .84), rgba(3, 18, 41, .08));
}

.unit-label small,
.unit-label span {
    display: block;
}

.unit-label small {
    margin-bottom: 5px;
    font: 800 8px Montserrat, sans-serif;
    letter-spacing: .16em;
    color: #758da3;
}

.unit-label strong {
    font: 800 14px Montserrat, sans-serif;
}

.unit-label span {
    margin-top: 4px;
    font-size: 10px;
    color: #91a7bb;
}

.capacity-box {
    position: absolute;
    z-index: 7;
    right: 5%;
    bottom: 10%;
    min-width: 150px;
    padding: 13px 15px;
    text-align: right;
    border-right: 2px solid var(--sand-light);
    background: linear-gradient(270deg, rgba(3, 18, 41, .84), rgba(3, 18, 41, .08));
}

.capacity-box small,
.capacity-box span {
    display: block;
}

.capacity-box small {
    margin-bottom: 4px;
    font: 800 7px Montserrat, sans-serif;
    letter-spacing: .14em;
    color: #748ca2;
}

.capacity-box strong {
    font: 800 20px Montserrat, sans-serif;
    color: var(--sand-light);
}

.capacity-box span {
    margin-top: 2px;
    font-size: 8px;
    color: #839bb0;
}


/* =========================================================
   PANEL OPERATIVO · PESTAÑAS E INFORMACIÓN
   ========================================================= */

.operations-panel {
    align-self: center;
    height: min(590px, 69vh);
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    border: 1px solid rgba(255, 255, 255, .11);
    background:
        linear-gradient(180deg, rgba(7, 31, 61, .82), rgba(3, 18, 41, .76));
    box-shadow: 0 30px 70px rgba(0, 0, 0, .22);
    backdrop-filter: blur(18px);
}

.panel-head {
    padding: 23px 22px 18px;
    border-bottom: 1px solid var(--line);
}

.panel-head span {
    display: block;
    margin-bottom: 7px;
    font: 800 8px Montserrat, sans-serif;
    letter-spacing: .18em;
    color: var(--sand-light);
}

.panel-head strong {
    font: 700 18px Montserrat, sans-serif;
}

.info-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--line);
}

.tab {
    height: 43px;
    border: 0;
    border-right: 1px solid var(--line);
    color: #7892a9;
    background: transparent;
    cursor: pointer;
    font: 800 9px Montserrat, sans-serif;
    letter-spacing: .08em;
}

.tab:last-child {
    border-right: 0;
}

.tab.active {
    color: #fff;
    background: rgba(214, 179, 107, .07);
    box-shadow: inset 0 -2px 0 var(--sand-light);
}

.tab-panels {
    min-height: 0;
    position: relative;
}

.tab-panel {
    position: absolute;
    inset: 0;
    padding: 14px 19px;
    display: none;
}

.tab-panel.active {
    display: grid;
    align-content: center;
}

.feature {
    padding: 14px 0;
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .075);
}

.feature:last-child {
    border-bottom: 0;
}

.feature i {
    padding-top: 3px;
    font-size: 16px;
    color: var(--sand-light);
}

.feature b,
.process-step b,
.metric b {
    font: 700 12px Montserrat, sans-serif;
}

.feature p,
.process-step p,
.metric p {
    margin-top: 5px;
    font-size: 10.5px;
    line-height: 1.5;
    color: #8ca3b8;
}

.process-step {
    padding: 15px 0;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 11px;
    border-bottom: 1px solid rgba(255, 255, 255, .075);
}

.process-step:last-child {
    border-bottom: 0;
}

.process-step>span {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(214, 179, 107, .24);
    color: var(--sand-light);
    font: 800 8px Montserrat, sans-serif;
}

.metric {
    padding: 13px 0;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .075);
}

.metric:last-child {
    border-bottom: 0;
}

.metric>span {
    font: 800 20px Montserrat, sans-serif;
    color: var(--sand-light);
}

.panel-footer {
    min-height: 52px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    background: rgba(3, 18, 41, .46);
}

.panel-footer a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 700;
}

.panel-footer a i {
    color: var(--sand-light);
}

.panel-footer>span {
    font: 800 7px Montserrat, sans-serif;
    letter-spacing: .14em;
    color: #617b94;
}


/* =========================================================
   FLUJO · FRANJA INFERIOR
   ========================================================= */

.service-flow {
    position: absolute;
    z-index: 20;
    left: 3.2vw;
    right: 3.2vw;
    bottom: 18px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 1.8vw, 30px);
    border-top: 1px solid rgba(255, 255, 255, .09);
    color: #6e8294;
}

.service-flow div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-flow span {
    color: var(--sand-light);
    font: 800 8px Montserrat, sans-serif;
}

.service-flow b {
    font: 800 8px Montserrat, sans-serif;
    letter-spacing: .13em;
}

.service-flow>i {
    font-size: 7px;
    color: #53687b;
}


/* =========================================================
   RESPONSIVE · TABLET / PANTALLAS MEDIANAS
   Escritorio (>1180px) permanece sin cambios.
   ========================================================= */

@media (max-width: 1180px) {

    html,
    body {
        height: auto;
        min-height: 100%;
    }

    body {
        overflow-x: hidden;
        overflow-y: auto;
    }

    .material-service {
        height: auto;
        min-height: 100svh;
        overflow: hidden;
        padding-bottom: 28px;
    }

    .service-header {
        position: sticky;
        top: 0;
    }

    .material-board {
        width: calc(100% - 48px);
        height: auto;
        min-height: 0;
        margin: 0 24px;
        padding-top: 32px;
        grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
        grid-template-areas:
            "intro stage"
            "panel panel";
        gap: 32px 28px;
        align-items: center;
    }

    .material-intro {
        grid-area: intro;
        min-width: 0;
        padding: 28px 0;
    }

    .unit-stage {
        grid-area: stage;
        min-height: 500px;
        overflow: visible;
    }

    .unit-image {
        width: min(620px, 54vw);
        max-width: 100%;
        max-height: none;
    }

    .material-selector {
        top: 5%;
        right: 0;
        width: 176px;
    }

    .unit-label {
        left: 0;
        bottom: 5%;
    }

    .capacity-box {
        right: 0;
        bottom: 5%;
    }

    .operations-panel {
        grid-area: panel;
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        height: auto;
        min-height: 390px;
        align-self: stretch;
    }

    .tab-panels {
        min-height: 250px;
    }

    .service-flow {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: calc(100% - 48px);
        height: auto;
        min-height: 52px;
        margin: 28px 24px 0;
        padding: 14px 0 0;
        flex-wrap: wrap;
        row-gap: 10px;
    }
}


/* =========================================================
   RESPONSIVE · TABLET VERTICAL / MÓVIL GRANDE
   ========================================================= */

@media (max-width: 900px) {
    .service-header {
        height: 70px;
        padding: 0 20px;
        grid-template-columns: 1fr auto;
    }

    .header-center {
        display: none;
    }

    .material-board {
        width: calc(100% - 40px);
        margin: 0 20px;
        padding-top: 26px;
        grid-template-columns: 1fr;
        grid-template-areas:
            "intro"
            "stage"
            "panel";
        gap: 28px;
    }

    .material-intro {
        padding: 18px 0 0;
    }

    .material-intro h1 {
        max-width: 760px;
        font-size: clamp(46px, 8vw, 68px);
    }

    .lead {
        max-width: 680px;
    }

    .unit-stage {
        width: 100%;
        min-height: 480px;
        overflow: hidden;
        border-top: 1px solid rgba(255, 255, 255, .07);
        border-bottom: 1px solid rgba(255, 255, 255, .07);
    }

    .unit-image {
        width: min(680px, 86vw);
    }

    .material-selector {
        top: 26px;
        right: 16px;
    }

    .unit-label {
        left: 16px;
        bottom: 24px;
    }

    .capacity-box {
        right: 16px;
        bottom: 24px;
    }

    .operations-panel {
        min-height: 0;
    }

    .tab-panels {
        min-height: 300px;
    }

    .service-flow {
        width: calc(100% - 40px);
        margin-left: 20px;
        margin-right: 20px;
    }
}


/* =========================================================
   RESPONSIVE · MÓVIL
   ========================================================= */

@media (max-width: 760px) {
    .material-service {
        min-height: 100svh;
        padding-bottom: 20px;
    }

    .service-header {
        height: 66px;
        padding: 0 15px;
    }

    .system-link span,
    .back-link span {
        display: none;
    }

    .header-actions {
        gap: 7px;
    }

    .system-link,
    .back-link {
        width: 38px;
        min-height: 38px;
        padding: 0;
        justify-content: center;
    }

    .brand {
        gap: 8px;
        min-width: 0;
    }

    .brand img {
        width: 34px;
        height: 34px;
        flex: 0 0 auto;
    }

    .brand b {
        font-size: 9px;
    }

    .brand small {
        font-size: 8px;
    }

    .material-board {
        width: calc(100% - 30px);
        margin: 0 15px;
        padding-top: 22px;
        gap: 24px;
    }

    .material-intro {
        z-index: 5;
        padding: 8px 0 0;
        justify-content: flex-start;
    }

    .service-code {
        margin-bottom: 10px;
    }

    .overline {
        margin-bottom: 9px;
        font-size: 8px;
        line-height: 1.45;
    }

    .material-intro h1 {
        max-width: 100%;
        font-size: clamp(36px, 11vw, 52px);
        line-height: 1;
    }

    .lead {
        max-width: 100%;
        margin-top: 15px;
        font-size: 12px;
        line-height: 1.6;
    }

    .trust-points {
        margin-top: 16px;
        gap: 6px;
    }

    .trust-points div {
        min-height: 32px;
        padding: 0 10px;
        font-size: 8.5px;
    }

    .intro-actions {
        margin-top: 17px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .primary-action,
    .secondary-action {
        width: 100%;
        min-height: 44px;
        padding: 0 11px;
        justify-content: center;
        text-align: center;
        font-size: 9px;
    }

    .unit-stage {
        min-height: 440px;
        border-radius: 14px;
        background: rgba(255, 255, 255, .018);
    }

    .unit-image {
        width: min(620px, 104vw);
        transform: translate3d(0, 8px, 0);
    }

    .material-selector {
        display: block;
        top: 15px;
        right: 12px;
        width: min(190px, calc(100% - 24px));
        padding: 12px;
        border-radius: 14px;
    }

    .material-selector small {
        margin-bottom: 8px;
        font-size: 7px;
    }

    .material-option {
        height: 32px;
        font-size: 8px;
    }

    .unit-label {
        display: block;
        left: 12px;
        right: 12px;
        bottom: 74px;
        min-width: 0;
        padding: 11px 12px;
    }

    .unit-label strong {
        font-size: 12px;
    }

    .unit-label span {
        font-size: 9px;
    }

    .capacity-box {
        display: block;
        right: 12px;
        bottom: 14px;
        min-width: 142px;
        padding: 9px 11px;
    }

    .capacity-box strong {
        font-size: 17px;
    }

    .operations-panel {
        width: 100%;
        height: auto;
        min-height: 0;
        background: rgba(3, 18, 41, .90);
    }

    .panel-head {
        padding: 17px 15px 14px;
    }

    .panel-head strong {
        font-size: 15px;
        line-height: 1.35;
    }

    .panel-head span {
        font-size: 7px;
    }

    .tab {
        height: 40px;
        font-size: 8px;
    }

    .tab-panels {
        min-height: 0;
    }

    .tab-panel {
        position: relative;
        inset: auto;
        padding: 10px 15px;
    }

    .tab-panel.active {
        display: block;
    }

    .feature,
    .process-step,
    .metric {
        padding: 12px 0;
    }

    .feature {
        grid-template-columns: 28px 1fr;
        gap: 10px;
    }

    .feature i {
        font-size: 14px;
    }

    .feature b,
    .process-step b,
    .metric b {
        font-size: 10px;
    }

    .feature p,
    .process-step p,
    .metric p {
        margin-top: 4px;
        font-size: 9.5px;
        line-height: 1.5;
    }

    .process-step {
        grid-template-columns: 30px 1fr;
        gap: 9px;
    }

    .process-step>span {
        width: 26px;
        height: 26px;
        font-size: 7px;
    }

    .metric {
        grid-template-columns: 58px 1fr;
        gap: 10px;
    }

    .metric>span {
        font-size: 17px;
    }

    .panel-footer {
        min-height: 46px;
        padding: 0 14px;
    }

    .panel-footer a {
        font-size: 9px;
    }

    .panel-footer>span {
        font-size: 6px;
    }

    .service-flow {
        width: calc(100% - 30px);
        min-height: 0;
        margin: 22px 15px 0;
        padding: 14px 0 0;
        justify-content: flex-start;
        gap: 8px 12px;
    }

    .service-flow div {
        gap: 5px;
    }

    .service-flow b,
    .service-flow span {
        font-size: 6px;
    }

    .service-flow>i {
        font-size: 6px;
    }
}


/* =========================================================
   RESPONSIVE · TELÉFONOS PEQUEÑOS
   ========================================================= */

@media (max-width: 480px) {
    .brand small {
        display: none;
    }

    .material-intro h1 {
        font-size: clamp(34px, 11.5vw, 46px);
    }

    .intro-actions {
        grid-template-columns: 1fr;
    }

    .unit-stage {
        min-height: 420px;
    }

    .unit-image {
        width: 116vw;
    }

    .material-selector {
        left: 10px;
        right: 10px;
        width: auto;
    }

    .unit-label {
        left: 10px;
        right: 10px;
        bottom: 67px;
    }

    .capacity-box {
        right: 10px;
        bottom: 10px;
    }

    .panel-footer>span {
        display: none;
    }

    .service-flow {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: start;
        column-gap: 4px;
    }

    .service-flow div {
        justify-content: center;
        flex-direction: column;
        gap: 3px;
        text-align: center;
    }

    .service-flow>i {
        display: none;
    }
}


/* =========================================================
   RESPONSIVE · MÓVIL EN HORIZONTAL / ALTURA REDUCIDA
   ========================================================= */

@media (max-width: 900px) and (orientation: landscape) {
    .material-board {
        padding-top: 18px;
    }

    .material-intro h1 {
        font-size: clamp(38px, 6.5vw, 58px);
    }

    .unit-stage {
        min-height: 390px;
    }

    .unit-image {
        width: min(610px, 76vw);
    }
}


/* =========================================================
   ACCESIBILIDAD · MOVIMIENTO REDUCIDO
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}