:root {
    --ink: #0B1626;
    --ink-2: #12233B;
    --cobalt: #1F6BFF;
    --cobalt-deep: #1450C8;
    --ember: #D42E25;
    --ember-soft: #FF6A57;
    --frost: #F3F8FD;
    --mist: #E3EDF8;
    --steel: #5A6A80;
    --white: #fff;
    --wa: #25D366;
    --thermo: linear-gradient(90deg, #1F6BFF 0%, #7FB2FF 38%, #FF8A6B 62%, #D42E25 100%);
    --font-display: 'Archivo', system-ui, sans-serif;
    --font-body: 'Albert Sans', system-ui, sans-serif;
    --s-1: 4px;
    --s-2: 8px;
    --s-3: 12px;
    --s-4: 16px;
    --s-5: 24px;
    --s-6: 32px;
    --s-7: 48px;
    --s-8: 72px;
    --s-9: 112px;
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;
    --r-pill: 999px;
    --sh-1: 0 1px 2px rgba(11, 22, 38, .06), 0 4px 12px rgba(11, 22, 38, .06);
    --sh-2: 0 8px 24px rgba(20, 80, 200, .12), 0 2px 6px rgba(11, 22, 38, .08);
    --sh-3: 0 24px 60px rgba(11, 22, 38, .22);
    --max: 1200px;
    --gutter: clamp(16px, 4vw, 40px);
    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --ease-io: cubic-bezier(.65, 0, .35, 1);
    --t-fast: .18s;
    --t-base: .4s;
    --t-slow: .9s;
}

*,
*::before,
*::after {
    box-sizing: border-box
}

* {
    margin: 0
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%
}

body {
    font-family: var(--font-body);
    background: var(--frost);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased
}

body.lock {
    overflow: hidden
}

img,
svg {
    display: block;
    max-width: 100%
}

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

button {
    font: inherit;
    cursor: pointer;
    border: 0;
    background: none;
    color: inherit
}

input,
select,
textarea {
    font: inherit;
    color: inherit
}

:focus-visible {
    outline: 3px solid #7FB2FF;
    outline-offset: 3px
}

.sr,
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap
}

.skip {
    position: absolute;
    left: 12px;
    top: -60px;
    background: var(--ink);
    color: #fff;
    padding: 10px 16px;
    border-radius: var(--r-sm);
    z-index: 300;
    transition: top .2s
}

.skip:focus {
    top: 12px
}

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter)
}

section {
    position: relative;
    padding: var(--s-9) 0;
    scroll-margin-top: 68px
}

@media(max-width:900px) {
    section {
        padding: var(--s-8) 0
    }
}

/* tipografía */
h1,
h2,
h3,
.disp {
    font-family: var(--font-display);
    text-transform: uppercase
}

h1 {
    font-weight: 800;
    font-stretch: 80%;
    font-size: clamp(1.9rem, 5.3vw, 4.9rem);
    line-height: 1.15;
    letter-spacing: -.01em;
}

h2 {
    font-weight: 800;
    font-stretch: 85%;
    font-size: clamp(2rem, 5vw, 3.75rem);
    line-height: 1;
    letter-spacing: -.005em
}

h3 {
    font-weight: 700;
    font-stretch: 100%;
    font-size: clamp(1.25rem, 2vw, 1.625rem);
    line-height: 1.15;
    text-transform: none
}

.eyebrow {
    font-family: var(--font-display);
    font-weight: 600;
    font-stretch: 110%;
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ember);
    display: inline-block;
    margin-bottom: var(--s-4);
}

.lead {
    font-size: 1.125rem;
    max-width: 56ch;
    color: var(--steel)
}

.on-dark .lead {
    color: #B9C7DA
}

.sec-head {
    margin-bottom: var(--s-7);
    max-width: 760px
}

.sec-head h2 {
    margin-bottom: var(--s-4)
}

.on-dark {
    background: var(--ink);
    color: var(--frost)
}

.on-dark .eyebrow {
    color: var(--ember-soft)
}

.thermo-line {
    height: 3px;
    border-radius: 3px;
    background: var(--thermo)
}

/* reveal */
.js .rv {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
    transition-delay: calc(var(--d, 0)*80ms)
}

.js .rv.in {
    opacity: 1;
    transform: none
}

/* botones */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: var(--r-pill);
    font-family: var(--font-display);
    font-weight: 700;
    font-stretch: 100%;
    font-size: .98rem;
    letter-spacing: .01em;
    transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast), color var(--t-fast);
    white-space: nowrap;

}

.btn svg {
    width: 20px;
    height: 20px;
    flex: none;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.3));
}

.btn .arr {
    transition: transform var(--t-fast) var(--ease-out)
}

.btn:hover .arr {
    transform: translateX(4px)
}

.btn-primary {
    background: var(--cobalt);
    color: #fff
}

.btn-primary:hover {
    background: var(--cobalt-deep);
    box-shadow: var(--sh-2);
    transform: translateY(-1px)
}

.btn-heat {
    background: var(--ember);
    color: #fff
}

.btn-heat:hover {
    background: #B9261E;
    box-shadow: 0 8px 24px rgba(212, 46, 37, .28);
    transform: translateY(-1px)
}

.btn-ghost {
    border: 1.5px solid var(--ink);
    color: var(--ink)
}

.btn-ghost:hover {
    background: var(--ink);
    color: #fff
}

.btn-ghost-l {
    border: 1.5px solid rgba(255, 255, 255, .5);
    color: #fff
}

.btn-ghost-l:hover {
    background: #fff;
    color: var(--ink)
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-3)
}

/* splash */
#splash {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: var(--ink);
    display: grid;
    place-items: center;
    transition: opacity .5s var(--ease-io), transform .5s var(--ease-io)
}

#splash.is-out {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none
}

.sp-in {
    text-align: center;
    display: grid;
    gap: 18px;
    justify-items: center
}

.sp-bar {
    width: min(240px, 60vw);
    height: 3px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .12);
    overflow: hidden
}

.sp-bar i {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--thermo);
    transform: scaleX(0);
    transform-origin: left;
    animation: spfill 1.2s var(--ease-io) forwards
}

@keyframes spfill {
    to {
        transform: scaleX(1)
    }
}

/* marca y logo oficial */
.brand {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    color: #fff;
    text-decoration: none;
    transition: transform var(--t-fast), opacity var(--t-fast)
}

.brand:hover {
    transform: scale(1.02)
}

.brand-img {
    display: block;
    height: 48px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: height var(--t-base), filter var(--t-base);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .3))
}

#nav.scrolled .brand-img {
    height: 40px;
    filter: drop-shadow(0 2px 4px rgba(11, 22, 38, .16))
}

.splash-logo {
    display: block;
    width: min(260px, 72vw);
    height: auto;
    max-height: 130px;
    object-fit: contain;
    filter: drop-shadow(0 12px 35px rgba(31, 107, 255, .35));
    animation: splashLogo .8s var(--ease-out) both
}

@keyframes splashLogo {
    from {
        opacity: 0;
        transform: scale(.9) translateY(10px)
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0)
    }
}

.mob-brand-img {
    height: 46px;
    max-width: 190px
}

.ft-brand {
    display: inline-block;
    margin-bottom: var(--s-3)
}

.ft-brand-img {
    height: 54px;
    max-width: 220px;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .35))
}

.bw {
    font-family: var(--font-display);
    font-weight: 900;
    font-stretch: 80%;
    font-size: 1.7rem;
    letter-spacing: .01em;
    text-transform: uppercase
}

.bw b {
    font-weight: 900;
    background: var(--thermo);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent
}

.brand small {
    font-family: var(--font-display);
    font-weight: 600;
    font-stretch: 110%;
    font-size: .56rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    margin-top: 3px;
    opacity: .8
}

.brand.big .bw {
    font-size: 3rem
}

.brand.big small {
    font-size: .7rem
}

/* progreso + nav */
#progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--thermo);
    transform: scaleX(0);
    transform-origin: left;
    z-index: 220
}

#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 16px 0;
    transition: background var(--t-base), box-shadow var(--t-base), padding var(--t-base), color var(--t-base);
    color: #fff
}

#nav.scrolled {
    background: rgba(243, 248, 253, .82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--sh-1);
    padding: 10px 0;
    color: var(--ink)
}

#nav.scrolled .brand {
    color: var(--ink)
}

.nav-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-5)
}

.nav-links {
    display: flex;
    gap: var(--s-5);
    align-items: center
}

.nav-links a:not(.btn) {
    font-weight: 500;
    font-size: .95rem;
    position: relative;
    padding: 4px 0
}

.nav-links a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--thermo);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-base) var(--ease-out)
}

.nav-links a:not(.btn):hover::after {
    transform: scaleX(1)
}

.nav-cta {
    padding: 10px 20px !important;
    font-size: .9rem !important
}

#burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    place-items: center
}

#burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    position: relative
}

#burger span::before,
#burger span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: currentColor
}

#burger span::before {
    top: -7px
}

#burger span::after {
    top: 7px
}

@media(max-width:900px) {
    .nav-links {
        display: none
    }

    #burger {
        display: grid
    }
}

#mob {
    position: fixed;
    inset: 0;
    z-index: 400;
    background: var(--ink);
    color: #fff;
    padding: 24px var(--gutter);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), visibility .35s
}

#mob.open {
    opacity: 1;
    visibility: visible;
    transform: none
}

.mob-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--s-7)
}

.mob-close {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .35);
    font-size: 1.4rem;
    line-height: 1
}

#mob nav {
    display: grid;
    gap: 4px
}

#mob nav a:not(.btn) {
    font-family: var(--font-display);
    font-weight: 800;
    font-stretch: 85%;
    text-transform: uppercase;
    font-size: 1.68rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1)
}

#mob .btn {
    margin-top: var(--s-6);
    justify-content: center
}

/* hero */
#inicio {
    min-height: 100svh;
    padding: 120px 0 var(--s-8);
    background: var(--ink);
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('img/bg-image.webp') center/cover no-repeat
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 22, 38, .97) 0%, rgba(11, 22, 38, .85) 20%, rgba(11, 22, 38, .35) 40%, rgba(11, 22, 38, 0) 50%, rgba(11, 22, 38, 0) 100%), linear-gradient(180deg, #0B1626 0%, #0B1626 15%, rgba(11, 22, 38, .82) 21%, rgba(11, 22, 38, .2) 42%, rgba(11, 22, 38, .18) 62%, rgba(11, 22, 38, .9) 88%, #0B1626 100%)
}

.hero-warm,
.hero-cold {
    position: absolute;
    inset: 0;
    pointer-events: none
}

.hero-warm {
    opacity: .4;
    background: radial-gradient(60% 55% at 12% 100%, rgba(212, 46, 37, .55), transparent 70%), radial-gradient(40% 40% at 0% 40%, rgba(255, 106, 87, .18), transparent 70%)
}

.hero-cold {
    opacity: .35;
    background: radial-gradient(60% 60% at 95% 0%, rgba(31, 107, 255, .65), transparent 70%), radial-gradient(45% 45% at 70% 60%, rgba(127, 178, 255, .2), transparent 70%)
}

.hero-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .07;
    background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%)
}

.hero-in {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: var(--s-7);
    align-items: center;
    padding-left: 0
}

.hero-copy .eyebrow {
    color: var(--ember-soft)
}

.hero-copy h1 em {
    font-style: normal;
    display: block;
    background: var(--thermo);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    padding-bottom: .06em;

}

.hero-copy p {
    font-size: .84rem;
    max-width: 46ch;
    margin: var(--s-5) 0 var(--s-6);
    color: #C9D6E8
}

.hero-copy .btn {
    padding: 10px 18px;
    font-size: .69rem
}

.hero-copy .btn svg {
    width: 14px;
    height: 14px
}

.hero-scene {
    position: relative;
    aspect-ratio: 560/440;
    width: 100%;
    max-width: 600px;
    justify-self: end;
    left: 400px;
}

.hero-scene>svg {
    width: 100%;
    height: 100%;
    overflow: visible
}

.hero-scene img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px
}



.hero-scene.has-img::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(11, 22, 38, .08), rgba(11, 22, 38, .62));
    z-index: 1;
    pointer-events: none
}

.hero-scene .glass {
    z-index: 2
}

.flow {
    stroke-dasharray: 10 14;
    animation: flow 2.4s linear infinite
}

.flow.f2 {
    animation-duration: 3.1s
}

.flow.f3 {
    animation-duration: 2.8s;
    animation-direction: reverse
}

@keyframes flow {
    to {
        stroke-dashoffset: -48
    }
}

.fan {
    transform-box: fill-box;
    transform-origin: center;
    animation: spin 2.6s linear infinite
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.shimmer {
    animation: shim 3.6s ease-in-out infinite
}

.shimmer.s2 {
    animation-delay: -1.2s
}

.shimmer.s3 {
    animation-delay: -2.4s
}

@keyframes shim {

    0%,
    100% {
        opacity: .25;
        transform: translateY(6px)
    }

    50% {
        opacity: .9;
        transform: translateY(-6px)
    }
}

.glass {
    position: absolute;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .3);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-radius: var(--r-md);
    color: #fff;
    padding: 14px 18px;
    font-size: .92rem;
    line-height: 1.3;
    display: flex;
    gap: 12px;
    align-items: center;
    animation: float 7s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18)
}

.glass svg {
    width: 22px;
    height: 22px;
    flex: none;
    stroke: #fff;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round
}

.glass b {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-stretch: 100%;
    font-size: .95rem
}

.glass span {
    color: #D5E0EE;
    font-size: .82rem
}

.g1 {
    top: 2%;
    left: -4%
}

.g2 {
    top: 46%;
    right: -3%;
    animation-delay: -2.4s
}

.g3 {
    bottom: 2%;
    left: 3%;
    animation-delay: -4.6s
}

@keyframes float {

    0%,
    100% {
        transform: translateY(-8px)
    }

    50% {
        transform: translateY(8px)
    }
}

.scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #9FB1C9;
    display: grid;
    justify-items: center;
    gap: 8px
}

.scroll-hint i {
    width: 1.5px;
    height: 30px;
    background: linear-gradient(#9FB1C9, transparent);
    animation: hint 2s ease-in-out infinite
}

@keyframes hint {
    0% {
        transform: scaleY(0);
        transform-origin: top
    }

    50% {
        transform: scaleY(1);
        transform-origin: top
    }

    51% {
        transform-origin: bottom
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom
    }
}

@media(max-width:900px) {
    #inicio {
        padding-top: 104px;
        align-items: flex-start
    }

    .hero-in {
        grid-template-columns: 1fr;
        gap: var(--s-6)
    }

    .hero-copy {
        text-align: center;
        margin-top: 250px
    }

    .btn-row {
        justify-content: center
    }

    .hero-bg {
        background-position: 80% center
    }

    .hero-scene {
        transform: scale(0.8) translate(-20%, 10%);
        transform-origin: center top;
    }

    .g1 {
        left: 0
    }

    .g2 {
        right: 0
    }

    .g3 {
        display: none
    }

    .glass {
        padding: 10px 14px;
        font-size: .82rem
    }

    .scroll-hint {
        display: none
    }
}

/* marquee */
.marquee {
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, .08);
    overflow: hidden;
    padding: 18px 0
}

.mq-track {
    display: flex;
    width: max-content;
    animation: mq 40s linear infinite
}

.marquee:hover .mq-track {
    animation-play-state: paused
}

.mq-track span {
    font-family: var(--font-display);
    font-weight: 700;
    font-stretch: 100%;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .95rem;
    color: var(--frost);
    display: inline-flex;
    align-items: center;
    white-space: nowrap
}

.mq-track span::after {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ember-soft);
    margin: 0 28px
}

@keyframes mq {
    to {
        transform: translateX(-50%)
    }
}

/* servicios */
#servicios {
    background: var(--frost)
}

.tabs {
    display: flex;
    gap: var(--s-2);
    flex-wrap: wrap;
    margin-bottom: var(--s-5)
}

.tab {
    padding: 12px 24px;
    border-radius: var(--r-pill);
    background: var(--white);
    border: 1px solid var(--mist);
    font-family: var(--font-display);
    font-weight: 700;
    font-stretch: 100%;
    font-size: .95rem;
    position: relative;
    transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast)
}

.tab:hover {
    border-color: var(--cobalt)
}

.tab.active {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink)
}

.tab.active::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: -9px;
    height: 3px;
    border-radius: 3px;
    background: var(--thermo)
}

@media(max-width:600px) {
    .tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }
    .tab {
        flex: 0 0 auto;
        scroll-snap-align: center;
        padding: 10px 16px;
        font-size: .85rem;
        white-space: nowrap;
    }
    .tab.active::after {
        left: 12px;
        right: 12px;
    }
}

.svc-panel {
    display: none;
    background: var(--white);
    border: 1px solid var(--mist);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-1);
    padding: clamp(22px, 4vw, 48px);
    grid-template-columns: 1.15fr .85fr;
    gap: var(--s-7);
    align-items: center
}

.svc-panel.active {
    display: grid;
    animation: panelIn var(--t-base) var(--ease-out)
}

@keyframes panelIn {
    from {
        opacity: 0;
        transform: translateY(12px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.svc-panel h3 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    margin-bottom: var(--s-3)
}

.svc-panel .sub {
    color: var(--steel);
    margin-bottom: var(--s-5);
    max-width: 52ch
}

.svc-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-5);
    margin-bottom: var(--s-6)
}

.svc-cols h4 {
    font-family: var(--font-display);
    font-weight: 700;
    font-stretch: 110%;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .74rem;
    color: var(--cobalt);
    margin-bottom: var(--s-3)
}

.svc-cols ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 12px
}

.svc-cols li {
    position: relative;
    padding-left: 30px;
    font-size: .97rem;
    line-height: 1.45
}

.svc-cols li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    background: url('assets/calor-frio.svg') center/contain no-repeat;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .12));
    transition: transform var(--t-fast)
}

.svc-cols li:hover::before {
    transform: scale(1.15)
}

.svc-visual {
    aspect-ratio: 1/1;
    border-radius: var(--r-lg);
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(150deg, var(--ink-2), var(--ink))
}

.svc-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(11, 22, 38, 0) 40%, rgba(11, 22, 38, .78) 100%), radial-gradient(70% 70% at 15% 100%, var(--v1, rgba(31, 107, 255, .6)), transparent 70%), radial-gradient(60% 60% at 100% 0%, var(--v2, rgba(212, 46, 37, .45)), transparent 70%)
}

.svc-visual svg {
    position: relative;
    z-index: 2;
    width: 46%;
    height: 46%;
    stroke: #fff;
    fill: none;
    stroke-width: 1.3;
    stroke-linecap: round;
    stroke-linejoin: round
}

.svc-visual .num {
    position: absolute;
    z-index: 2;
    left: 22px;
    right: 22px;
    bottom: 16px;
    font-family: var(--font-display);
    font-weight: 900;
    font-stretch: 80%;
    font-size: clamp(1.9rem, 4.2vw, 2.8rem);
    line-height: 1;
    opacity: .95;
    overflow-wrap: anywhere
}

.svc-visual .tag {
    position: absolute;
    z-index: 2;
    right: 20px;
    top: 18px;
    font-family: var(--font-display);
    font-weight: 600;
    font-stretch: 110%;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: .7rem;
    color: #D5E0EE
}

.svc-visual img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

@media(max-width:900px) {
    .svc-panel.active {
        grid-template-columns: 1fr
    }

    .svc-visual {
        aspect-ratio: 16/9;
        order: -1
    }

    .svc-cols {
        grid-template-columns: 1fr
    }
}


/* ámbitos */
#ambitos {
    background: var(--white);
    padding: var(--s-8) 0
}

.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-5)
}

.card {
    background: var(--white);
    border: 1px solid var(--mist);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-1);
    padding: clamp(24px, 3vw, 40px);
    transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base)
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-2)
}

#ambitos .card {
    background: var(--frost)
}

.ico {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--mist);
    display: grid;
    place-items: center;
    margin-bottom: var(--s-5)
}
.card-ico {
    width: 42px;
    height: 42px;
    object-fit: contain;
    transition: transform var(--t-fast);
    filter: drop-shadow(0 2px 5px rgba(11, 22, 38, .12));
}

.card:hover .card-ico,
.reason:hover .card-ico {
    transform: scale(1.1);
}


.ico svg {
    width: 26px;
    height: 26px;
    stroke: var(--cobalt);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round
}

.ico.heat svg {
    stroke: var(--ember)
}

.card h3 {
    margin-bottom: var(--s-3)
}

.card p {
    color: var(--steel)
}

@media(max-width:760px) {
    .two {
        grid-template-columns: 1fr
    }
}

/* calculadora */
#calculadora {
    background: var(--ink);
    color: var(--frost);
    overflow: hidden
}

#calculadora::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(50% 50% at 0% 0%, rgba(31, 107, 255, .28), transparent 70%), radial-gradient(40% 50% at 100% 100%, rgba(212, 46, 37, .22), transparent 70%);
    pointer-events: none
}

.calc {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: var(--s-6);
    align-items: stretch
}

.calc-panel {
    background: var(--ink-2);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--r-lg);
    padding: clamp(22px, 3.5vw, 40px);
    display: grid;
    gap: var(--s-6)
}

.fld>label,
.fld>.lb {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: var(--font-display);
    font-weight: 700;
    font-stretch: 100%;
    font-size: .95rem;
    margin-bottom: var(--s-3);
    color: #fff
}

.fld .val {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.3rem;
    color: #fff
}

.fld .hint {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: .8rem;
    color: #9FB1C9
}

input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--cobalt) var(--p, 20%), rgba(255, 255, 255, .14) var(--p, 20%));
    outline-offset: 8px
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--cobalt);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .4);
    cursor: grab
}

input[type=range]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--cobalt);
    cursor: grab
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2)
}

.chip {
    padding: 10px 18px;
    border-radius: var(--r-pill);
    border: 1.5px solid rgba(255, 255, 255, .2);
    font-size: .92rem;
    font-weight: 500;
    color: #DCE6F3;
    transition: all var(--t-fast)
}

.chip:hover {
    border-color: #7FB2FF
}

.chip[aria-pressed=true] {
    background: var(--cobalt);
    border-color: var(--cobalt);
    color: #fff
}

.stepper {
    display: inline-flex;
    align-items: center;
    gap: var(--s-3);
    border: 1.5px solid rgba(255, 255, 255, .2);
    border-radius: var(--r-pill);
    padding: 4px
}

.stepper button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    font-size: 1.3rem;
    line-height: 1;
    color: #fff;
    transition: background var(--t-fast)
}

.stepper button:hover {
    background: var(--cobalt)
}

.stepper output {
    min-width: 36px;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.3rem
}

.res-wrap {
    background: linear-gradient(135deg, #1F6BFF 0%, #7FB2FF 25%, #ffffff 50%, #FF8A6B 75%, #D42E25 100%);
    background-size: 200% 200%;
    animation: borderFlow 15s ease-in-out infinite;
    padding: 2px;
    border-radius: calc(var(--r-lg) + 2px);
    display: flex;
    box-shadow: 0 0 30px rgba(31, 107, 255, .4), 0 0 60px rgba(212, 46, 37, .3), 0 20px 40px rgba(11, 22, 38, .5)
}

@keyframes borderFlow {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

.res {
    background: var(--ink);
    border-radius: var(--r-lg);
    padding: clamp(24px, 3.5vw, 40px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--s-5);
    width: 100%
}

.res .k {
    font-family: var(--font-display);
    font-weight: 600;
    font-stretch: 110%;
    font-size: .74rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #9FB1C9
}

.res .big {
    font-family: var(--font-display);
    font-weight: 800;
    font-stretch: 100%;
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: #fff;
    margin-top: var(--s-2)
}

.res .big small {
    font-size: 1.1rem;
    font-weight: 600;
    color: #9FB1C9;
    margin-left: 8px
}

.res .fg {
    color: #B9C7DA;
    margin-top: 6px
}

.size {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: var(--r-md);
    background: rgba(31, 107, 255, .18);
    border: 1px solid rgba(127, 178, 255, .4);
    font-weight: 600;
    font-size: .98rem;
    width: max-content;
    max-width: 100%
}

.size b {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.15rem
}

.note {
    font-size: .82rem;
    color: #9FB1C9;
    line-height: 1.5
}



@media(max-width:900px) {
    .calc {
        grid-template-columns: 1fr
    }
    .calc > * {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media(max-width:600px) {
    .calc {
        gap: var(--s-5);
        width: 100%;
        max-width: 100%;
    }
    .calc > * {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .calc-panel {
        padding: var(--s-5);
    }
    .res-wrap {
        padding: 2px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .res {
        padding: var(--s-5);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .size {
        width: 100%;
        justify-content: center;
    }
    .btn-primary#calcWa {
        width: 100%;
        justify-content: center;
    }
    .chips {
        justify-content: center;
    }
    .stepper {
        margin: 0 auto;
    }
    .btn-primary {
        width: 100%;
        justify-content: center;
    }
    .hero-copy .btn-row {
        gap: var(--s-3);
        justify-content: center;
    }
    .hero-copy .btn-primary {
        width: 80%;
        max-width: 280px;
        margin: 0 1rem;
    }
    .hero-copy .btn-ghost-l {
        width: 80%;
        max-width: 280px;
        margin: 0 1rem;
    }
}



/* mantenimiento */
#mantenimiento {
    background: var(--frost)
}

.mant {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-7);
    align-items: center
}

.mant h2 .hl {
    color: var(--ember)
}

.mant p {
    color: var(--steel);
    font-size: 1.1rem;
    max-width: 50ch;
    margin: var(--s-4) 0 var(--s-6)
}

.reasons {
    display: grid;
    gap: var(--s-3)
}

.reason {
    display: flex;
    gap: var(--s-4);
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--mist);
    border-radius: var(--r-lg);
    padding: var(--s-5);
    box-shadow: var(--sh-1);
    transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base)
}

.reason:hover {
    transform: translateX(4px);
    box-shadow: var(--sh-2)
}

.reason .ico {
    margin: 0;
    flex: none
}

.reason h3 {
    font-size: 1.2rem;
    margin-bottom: 2px
}

.reason p {
    margin: 0;
    font-size: .97rem
}

@media(max-width:900px) {
    .mant {
        grid-template-columns: 1fr
    }
}

/* proceso */
#proceso {
    background: var(--white)
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-3);
    margin-top: var(--s-5)
}

.stat {
    padding: 10px 18px;
    border-radius: var(--r-pill);
    background: var(--frost);
    border: 1px solid var(--mist);
    font-size: .92rem;
    color: var(--steel)
}

.stat b {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--ink);
    margin-right: 6px
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-5);
    position: relative;
    counter-reset: st
}

.steps::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 25px;
    height: 3px;
    border-radius: 3px;
    background: var(--thermo);
    background-size: 200% 100%;
    animation: thermoFlow 8s linear infinite;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 1.2s var(--ease-out)
}

.steps.is-animating::before {
    transform: scaleX(1)
}

@keyframes thermoFlow {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.step {
    position: relative;
    padding-top: var(--s-8)
}

.step .n {
    position: absolute;
    top: 0;
    left: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: none;
    transition: box-shadow .6s var(--ease-out), background .6s var(--ease-out), transform .4s var(--ease-out)
}

.step.is-active .n {
    box-shadow: 0 0 0 6px var(--white), 0 0 30px 8px rgba(31, 107, 255, .6), 0 0 60px 16px rgba(212, 46, 37, .4);
    background: linear-gradient(135deg, #1F6BFF, #D42E25);
    transform: scale(1.1)
}

.step h3 {
    margin-bottom: var(--s-2)
}

.step p {
    color: var(--steel);
    font-size: .97rem
}

@media(max-width:900px) {
    .steps {
        grid-template-columns: 1fr;
        gap: var(--s-6)
    }

    .steps::before {
        left: 25px;
        right: auto;
        top: 0;
        bottom: 25px;
        width: 3px;
        height: auto;
        background: linear-gradient(180deg, #1F6BFF, #7FB2FF 38%, #FF8A6B 62%, #D42E25);
        background-size: 100% 200%;
        animation: thermoFlowVertical 8s linear infinite;
        transform-origin: top;
        transform: scaleY(0);
        transition: transform 1.2s var(--ease-out)
    }

    .steps.is-animating::before {
        transform: scaleY(1)
    }

    .step {
        padding: 0 0 0 76px
    }
}

@keyframes thermoFlowVertical {
    0% { background-position: 0 200%; }
    100% { background-position: 0 -200%; }
}

/* reseñas (se activan con datos reales) */
#resenas {
    background: var(--frost);
    overflow: hidden
}

.rev-track {
    display: flex;
    gap: var(--s-4);
    width: max-content;
    animation: mq 60s linear infinite
}

.rev-track:hover {
    animation-play-state: paused
}

.rev {
    width: 340px;
    flex: none;
    background: var(--white);
    border: 1px solid var(--mist);
    border-radius: var(--r-lg);
    padding: var(--s-5);
    box-shadow: var(--sh-1)
}

.rev p {
    margin-bottom: var(--s-4)
}

.rev b {
    font-family: var(--font-display);
    font-weight: 700
}

.rev span {
    display: block;
    color: var(--steel);
    font-size: .85rem
}

/* zona */
#zona {
    background: var(--frost)
}

.zona {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: var(--s-7);
    align-items: center
}

.zona p {
    color: var(--steel);
    margin: var(--s-4) 0 var(--s-5);
    font-size: 1.08rem
}

.pin {
    display: flex;
    gap: 12px;
    align-items: center;
    font-weight: 600;
    margin-bottom: var(--s-5)
}

.pin svg {
    width: 22px;
    height: 22px;
    stroke: var(--ember);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none
}

.map {
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--mist);
    box-shadow: var(--sh-2);
    aspect-ratio: 4/3;
    background: var(--mist)
}

.map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block
}

@media(max-width:900px) {
    .zona {
        grid-template-columns: 1fr
    }
}

/* videos */
#videos {
    background: var(--white)
}

.video-carousel {
    position: relative;
    height: 180px;
    overflow: hidden;
    border-radius: var(--r-lg);
    background: var(--frost)
}

.video-track {
    display: flex;
    height: 100%;
    gap: var(--s-4);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--gutter);
    -webkit-overflow-scrolling: touch;
    padding: 0 var(--gutter);
    margin: 0 calc(-1 * var(--gutter))
}

.video-slide {
    flex: 0 0 calc(100% / 3.2);
    min-width: 280px;
    scroll-snap-align: start;
    position: relative;
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--ink);
    transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base)
}

.video-slide:hover {
    transform: scale(1.02);
    box-shadow: var(--sh-2)
}

.video-slide.placeholder {
    opacity: .5;
    pointer-events: none
}

.video-thumb,
.video-thumb-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.video-thumb-placeholder {
    background: linear-gradient(135deg, var(--ink-2), var(--ink));
    background-size: 200% 200%;
    animation: placeholderShimmer 1.5s ease-in-out infinite
}

@keyframes placeholderShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.video-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(11, 22, 38, .4);
    color: var(--white);
    opacity: 0;
    transition: opacity var(--t-fast), background var(--t-fast);
    border: none;
    cursor: pointer
}

.video-slide:not(.placeholder):hover .video-play,
.video-slide:not(.placeholder):focus-within .video-play {
    opacity: 1;
    background: rgba(11, 22, 38, .6)
}

.video-play svg {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.4));
    transform: scale(.9);
    transition: transform var(--t-fast)
}

.video-slide:hover .video-play svg {
    transform: scale(1)
}

.video-play:disabled {
    opacity: 0;
    pointer-events: none
}

.video-duration {
    position: absolute;
    bottom: var(--s-2);
    right: var(--s-2);
    background: rgba(11, 22, 38, .8);
    color: var(--white);
    font-size: .7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: var(--r-sm);
    font-family: var(--font-display)
}

.video-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: var(--sh-2);
    display: grid;
    place-items: center;
    color: var(--ink);
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t-fast), visibility var(--t-fast), transform var(--t-fast), background var(--t-fast);
    z-index: 10
}

.video-nav svg {
    width: 20px;
    height: 20px
}

.video-nav:hover {
    background: var(--ink);
    color: var(--white)
}

.video-carousel:hover .video-nav {
    opacity: 1;
    visibility: visible
}

.video-prev { left: var(--gutter); }
.video-next { right: var(--gutter); }

.video-dots {
    display: flex;
    justify-content: center;
    gap: var(--s-2);
    margin-top: var(--s-4)
}

.video-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    transition: background var(--t-fast), transform var(--t-fast)
}
.video-dot::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 8px; height: 8px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--mist);
    transition: background var(--t-fast), transform var(--t-fast)
}

.video-dot.active::before {
    background: var(--thermo);
    transform: translate(-50%, -50%) scale(1.2)
}

.video-dot:hover::before { background: var(--cobalt); }

/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    background: rgba(11, 22, 38, .95);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t-base), visibility var(--t-base);
    padding: var(--gutter)
}

.video-modal.is-open {
    opacity: 1;
    visibility: visible
}

.video-modal__content {
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16/9;
    background: var(--ink);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-3);
    transform: scale(.9);
    transition: transform var(--t-base) var(--ease-out)
}

.video-modal.is-open .video-modal__content {
    transform: scale(1)
}

.video-modal__iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--r-lg)
}

.video-modal__close {
    position: absolute;
    top: var(--s-3);
    right: var(--s-3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(11, 22, 38, .8);
    color: var(--white);
    display: grid;
    place-items: center;
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: background var(--t-fast), transform var(--t-fast)
}

.video-modal__close:hover {
    background: var(--ember);
    transform: scale(1.1)
}

.video-modal__close svg {
    width: 24px;
    height: 24px
}

@media(max-width:900px) {
    .video-carousel { height: 160px; }
    .video-slide { flex: 0 0 calc(100% / 1.8); min-width: 260px; }
    .video-nav { opacity: 1; visibility: visible; }
    .video-prev { left: 8px; }
    .video-next { right: 8px; }
    .video-play { opacity: 1; background: rgba(11, 22, 38, .5); }
    .video-play svg { transform: scale(1); }
}

@media(max-width:520px) {
    .video-carousel { height: 140px; }
    .video-slide { flex: 0 0 calc(100% / 1.4); min-width: 220px; }
    .video-play svg { width: 40px; height: 40px; }
}

/* faq */
#faq {
    background: var(--white)
}

.faq {
    max-width: 820px
}

details {
    border-bottom: 1px solid var(--mist)
}

summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--s-4);
    padding: 22px 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-stretch: 100%;
    font-size: 1.15rem
}

summary::-webkit-details-marker {
    display: none
}

summary::after {
    content: "+";
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1;
    color: var(--cobalt);
    transition: transform var(--t-base) var(--ease-out);
    flex: none
}

details[open] summary::after {
    transform: rotate(45deg)
}

details p {
    padding: 0 0 22px;
    color: var(--steel);
    max-width: 64ch
}

/* contacto */
#contacto {
    background: var(--ink);
    color: var(--frost);
    overflow: hidden
}

#contacto::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(50% 60% at 100% 0%, rgba(31, 107, 255, .25), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(212, 46, 37, .2), transparent 70%);
    pointer-events: none
}

.cont {
    position: relative;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: var(--s-7);
    align-items: start
}

.cont .lead {
    margin: var(--s-4) 0 var(--s-6)
}

.ct-list {
    display: grid;
    gap: var(--s-4);
    margin-bottom: var(--s-6)
}

.ct {
    display: flex;
    gap: var(--s-4);
    align-items: center
}

.ct .ico {
    margin: 0;
    background: rgba(255, 255, 255, .08)
}

.ct .ico svg {
    stroke: #7FB2FF
}

.ct small {
    display: block;
    color: #9FB1C9;
    font-size: .8rem
}

.ct b {
    font-weight: 600;
    font-size: 1.05rem
}

.form {
    background: var(--white);
    color: var(--ink);
    border-radius: var(--r-lg);
    padding: clamp(22px, 3.5vw, 40px);
    box-shadow: var(--sh-3);
    display: grid;
    gap: var(--s-4)
}

.form .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-4)
}

.form label {
    display: block;
    font-weight: 600;
    font-size: .88rem;
    margin-bottom: 6px
}

.form input,
.form select,
.form textarea {
    width: 100%;
    background: var(--white);
    border: 1.5px solid var(--mist);
    border-radius: var(--r-sm);
    padding: 13px 14px;
    transition: border-color var(--t-fast), box-shadow var(--t-fast)
}

.form textarea {
    min-height: 120px;
    resize: vertical
}

.form input:focus,
.form select:focus,
.form textarea:focus {
    outline: none;
    border-color: var(--cobalt);
    box-shadow: 0 0 0 4px rgba(31, 107, 255, .2)
}

.form .err {
    border-color: var(--ember) !important
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden
}

.f-msg {
    font-size: .95rem;
    min-height: 1.4em
}

.f-msg.ok {
    color: #127a3c;
    font-weight: 600
}

.f-msg.bad {
    color: var(--ember);
    font-weight: 600
}

.f-msg a {
    text-decoration: underline
}

.btn .spin {
    display: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2.5px solid rgba(255, 255, 255, .4);
    border-top-color: #fff;
    animation: spin 0.8s linear infinite
}

.btn.loading .spin {
    display: block
}

.btn.loading .arr {
    display: none
}

.btn[disabled] {
    opacity: .8;
    cursor: progress
}

@media(max-width:900px) {
    .cont {
        grid-template-columns: 1fr
    }

    .form .row {
        grid-template-columns: 1fr
    }
}

/* footer */
footer {
    background: #08111E;
    color: #9FB1C9;
    padding: var(--s-8) 0 var(--s-6);
    font-size: .92rem
}

.ft {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: var(--s-6);
    margin-bottom: var(--s-7)
}

.ft h4 {
    font-family: var(--font-display);
    font-weight: 700;
    font-stretch: 110%;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .74rem;
    color: #fff;
    margin-bottom: var(--s-3)
}

.ft ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 8px
}

.ft a:hover {
    color: #fff
}

.ft .brand {
    margin-bottom: var(--s-3)
}

.ft-bot {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: var(--s-5);
    display: flex;
    justify-content: space-between;
    gap: var(--s-3);
    flex-wrap: wrap;
    font-size: .82rem
}

@media(max-width:760px) {
    .ft {
        grid-template-columns: 1fr
    }
}

/* FAB */
.fab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 150;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--wa);
    display: grid;
    place-items: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
    transition: transform var(--t-fast), opacity var(--t-base) var(--ease-out), visibility var(--t-base);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateY(20px);
    pointer-events: none;
}

.fab.is-visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

.fab:hover {
    transform: scale(1.06)
}

.fab.is-visible:hover {
    transform: scale(1.06);
}

.fab svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.3));
}

.fab::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--wa);
    animation: pulse 2.4s ease-out infinite;
    z-index: -1;
    opacity: 0.4;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: .4
    }

    100% {
        transform: scale(1.6);
        opacity: 0
    }
}

svg .sprite {
    display: none
}

/* TABLET PORTRAIT ≤768px */
@media(max-width:768px) {
    /* Hero */
    .hero-copy {
        text-align: center;
        margin-top: 180px;
    }
    .btn-row {
        justify-content: center;
    }
    .hero-scene {
        transform: scale(0.85) translate(-15%, 5%);
        transform-origin: center top;
    }

    /* Servicios tabs */
    .tabs {
        justify-content: center;
    }
    .tab {
        padding: 10px 20px;
        font-size: .9rem;
    }

    /* Calculadora */
    .calc {
        gap: var(--s-6);
    }
    .calc-panel,
    .res-wrap {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Mantenimiento */
    .mant {
        gap: var(--s-6);
    }

    /* Proceso */
    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--s-5);
    }
    .steps::before {
        left: 50%;
        right: auto;
        top: 25px;
        bottom: auto;
        width: auto;
        height: 3px;
        transform-origin: left;
        transform: scaleX(0);
        background: var(--thermo);
    }
    .steps.is-animating::before {
        transform: scaleX(1);
    }
    .step {
        padding-top: var(--s-8);
    }

    /* Zona */
    .zona {
        gap: var(--s-6);
    }

    /* Videos */
    .video-slide {
        flex: 0 0 calc(100% / 2.2);
        min-width: 280px;
    }

    /* Footer */
    .ft {
        grid-template-columns: 1fr 1fr;
        gap: var(--s-5);
    }
    .ft > div:first-child {
        grid-column: span 2;
    }

    /* Contacto */
    .cont {
        gap: var(--s-6);
    }
    .form .row {
        grid-template-columns: 1fr;
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .js .rv {
        opacity: 1;
        transform: none;
        transition: none
    }

    .mq-track,
    .rev-track,
    .flow,
    .fan,
    .shimmer,
    .glass,
    .fab::before,
    .scroll-hint i {
        animation: none !important
    }

    .sp-bar i {
        animation-duration: .01s
    }

    .svc-panel.active {
        animation: none
    }

    .fab {
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto
    }
}