:root {
    --pink: #FF3D7F;
    --pink-deep: #C71F5C;
    --turquoise: #00C2A8;
    --turquoise-deep: #00967F;
    --yellow: #FFD23F;
    --purple: #6C3FC5;
    --purple-deep: #4B2A93;
    --ink: #1B1533;
    --cloud: #FFFDF6;
    --cloud-dim: #F7EFE0;
    --shadow: 0 12px 30px rgba(27, 21, 51, .18);
    --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
    --ease-soft: cubic-bezier(.22, .9, .32, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--cloud);
    color: var(--ink);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.display {
    font-family: 'Baloo 2', sans-serif;
    font-weight: 800;
    line-height: 1.05;
    margin: 0;
}

p {
    margin: 0;
}

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

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 3px;
    border-radius: 6px;
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
}

.eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

/* ---------- NAV ---------- */
/* ---------- NAV ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;

    display: flex;
    align-items: center;
    justify-content: space-between;

    height: 100px;
    padding: 0 30px;

    background: rgba(255, 253, 246, .85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(27, 21, 51, .06);
    transition: background .3s ease;
}

.brand {

    width: 180px;

    flex: 0 0 180px;

    display: flex;

    align-items: center;

}

.brand-logo {

    width: 180px;

    height: auto;

    max-width: none;

    display: block;

}

.brand-logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 600;
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -2px;
    height: 2px;
    background: var(--pink);
    transition: right .28s var(--ease-soft);
}

.nav-links a:hover::after {
    right: 0;
}

.nav-cta {
    background: var(--ink);
    color: var(--cloud);
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform .35s var(--ease-bounce), background .2s;
}

.nav-cta:hover {
    transform: translateY(-3px) scale(1.04);
    background: var(--pink);
}

.nav-toggle {
    display: none;
}

/* ---------- TRUST BAR ---------- */
.trust-bar {
    position: relative;
    z-index: 90;
    background: var(--ink);
    padding: 14px 0;
    margin-top: 100px;
}

.trust-bar-inner {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 18px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--cloud);
}

.trust-item strong {
    font-family: 'Baloo 2', sans-serif;
    font-size: 20px;
    color: var(--yellow);
}

.trust-item span {
    font-size: 12px;
    color: rgba(255, 253, 246, .7);
    letter-spacing: .03em;
}

@media (max-width: 640px) {
    .trust-bar {
        margin-top: 68px;
    }

    .trust-item strong {
        font-size: 17px;
    }

    .trust-item span {
        font-size: 10.5px;
    }
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: 90px;
    background:
        radial-gradient(circle at 85% 12%, rgba(255, 255, 255, .35), transparent 45%),
        linear-gradient(155deg, var(--purple) 0%, var(--pink) 55%, #FF7A59 100%);
    overflow: hidden;
    isolation: isolate;
}

.sun {
    position: absolute;
    top: -60px;
    right: 8%;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #FFE998, var(--yellow) 60%);
    box-shadow: 0 0 90px rgba(255, 210, 63, .55);
    animation: floatY 7s ease-in-out infinite;
}

.bubble {
    position: absolute;
    bottom: -60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .28);
    animation: riseUp linear infinite;
}

.hero-grid {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 40px;
    align-items: center;
}

.hero-copy .eyebrow {
    background: rgba(255, 255, 255, .18);
    color: #FFF3EC;
    border: 1px solid rgba(255, 255, 255, .35);
}

.hero-copy h1 {
    margin-top: 18px;
    font-size: clamp(40px, 6vw, 74px);
    color: var(--cloud);
    letter-spacing: -.01em;
}

.hero-copy h1 .line {
    display: block;
    overflow: hidden;
}

.hero-copy h1 span {
    display: inline-block;
    transform: scaleY(.25) translateY(46px);
    transform-origin: bottom;
    opacity: 0;
    animation: inflateIn .7s var(--ease-bounce) forwards;
}

.hero-copy h1 .accent {
    color: var(--yellow);
}

.hero-copy .sub {
    margin-top: 22px;
    max-width: 480px;
    font-size: 18px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .92);
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15.5px;
    transition: transform .4s var(--ease-bounce), box-shadow .3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--turquoise);
    color: var(--ink);
    box-shadow: 0 10px 0 var(--turquoise-deep);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.03);
}

.btn-primary:active {
    transform: translateY(2px);
    box-shadow: 0 4px 0 var(--turquoise-deep);
}

.btn-ghost {
    background: transparent;
    color: var(--cloud);
    border: 2px solid rgba(255, 255, 255, .55);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .14);
    transform: translateY(-3px);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 520px;
}

.hero-photo-frame {
    position: relative;
    width: min(420px, 90%);
    aspect-ratio: 1/1;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 50px rgba(20, 10, 40, .4);
    border: 6px solid rgba(255, 255, 255, .5);
    transform: rotate(-2deg);
    transition: transform .4s var(--ease-soft);
    animation: breathe 5s ease-in-out infinite;
}

.hero-photo-frame:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: var(--yellow);
    color: var(--ink);
    font-weight: 700;
    font-size: 13.5px;
    padding: 8px 16px;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .2);
}

.scroll-cue {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .8);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
    z-index: 3;
}

.scroll-cue .arrow {
    width: 22px;
    height: 22px;
    border-right: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    transform: rotate(45deg);
    animation: bounceArrow 1.6s ease-in-out infinite;
}

/* ---------- SECTION SHELL ---------- */
section {
    position: relative;
    padding: 120px 0;
}

.section-head {
    max-width: 640px;
    margin-bottom: 64px;
}

.section-head .eyebrow {
    background: var(--cloud-dim);
    color: var(--pink-deep);
}

.section-head h2 {
    margin-top: 16px;
    font-size: clamp(30px, 4vw, 46px);
    color: var(--ink);
}

.section-head p {
    margin-top: 16px;
    font-size: 17px;
    color: #514971;
    line-height: 1.6;
}

/* ---------- QUE FABRICAMOS ---------- */
#fabricamos {
    background: var(--cloud);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.card {
    position: relative;
    background: #fff;
    border-radius: 28px;
    padding: 26px 26px 30px;
    box-shadow: var(--shadow);
    transition: transform .5s var(--ease-bounce), box-shadow .4s ease;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--blob-color, var(--pink));
    opacity: .08;
    transform: scale(1);
    transition: transform .5s var(--ease-bounce), opacity .4s ease;
}

.card:hover {
    transform: translateY(-10px) rotate(-1deg);
    box-shadow: 0 22px 40px rgba(27, 21, 51, .22);
}

.card:hover::before {
    transform: scale(1.15) rotate(6deg);
    opacity: .14;
}

.card-icon {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.card-icon svg {
    width: 130px;
    height: 130px;
    transition: transform .5s var(--ease-bounce);
}

.card:hover .card-icon svg {
    transform: scale(1.08) rotate(-3deg);
}

.card h3 {
    font-size: 21px;
    color: var(--ink);
    position: relative;
    z-index: 1;
}

.card p {
    margin-top: 8px;
    font-size: 14.5px;
    color: #635b82;
    line-height: 1.55;
    position: relative;
    z-index: 1;
}

.card .tag {
    margin-top: 16px;
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--cloud-dim);
    color: var(--purple-deep);
    position: relative;
    z-index: 1;
}

/* ---------- DISEÑA TU INFLABLE (configurador 3D) ---------- */
#disena {
    background: var(--cloud);
}

.disena-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.disena-copy .eyebrow {
    background: var(--cloud-dim);
    color: var(--pink-deep);
}

.disena-copy h2 {
    margin-top: 16px;
    font-size: clamp(28px, 3.6vw, 42px);
    color: var(--ink);
}

.disena-copy>p {
    margin-top: 16px;
    font-size: 16.5px;
    line-height: 1.6;
    color: #514971;
    max-width: 460px;
}

.disena-controls {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.control-label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8f87ab;
    margin-bottom: 10px;
}

.control-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.option-btn {
    padding: 9px 18px;
    border-radius: 999px;
    border: 2px solid var(--cloud-dim);
    background: #fff;
    font-weight: 700;
    font-size: 14px;
    color: var(--ink);
    transition: all .25s var(--ease-soft);
}

.option-btn:hover {
    border-color: var(--pink);
}

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

.swatches {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.swatch {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 3px solid transparent;
    box-shadow: 0 2px 6px rgba(27, 21, 51, .18);
    transition: transform .25s var(--ease-bounce), border-color .2s;
}

.swatch:hover {
    transform: scale(1.12);
}

.swatch.is-active {
    border-color: var(--ink);
    transform: scale(1.15);
}

.disena-cta {
    margin-top: 32px;
}

.disena-viewer {
    position: relative;
}

.configurador-canvas {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(160deg, var(--cloud-dim), #EFE4CE);
    box-shadow: var(--shadow);
    cursor: grab;
}

.configurador-canvas:active {
    cursor: grabbing;
}

.configurador-canvas canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.drag-hint {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    font-weight: 600;
    color: #8f87ab;
    background: rgba(255, 255, 255, .85);
    padding: 6px 14px;
    border-radius: 999px;
}

/* ---------- GALERIA ---------- */
#galeria {
    background: var(--cloud-dim);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1/1;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(27, 21, 51, .12);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease-bounce);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item::after {
    content: "🔍";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: rgba(27, 21, 51, 0);
    color: rgba(255, 255, 255, 0);
    transition: background .3s, color .3s;
}

.gallery-item:hover::after {
    background: rgba(27, 21, 51, .25);
    color: rgba(255, 255, 255, .9);
}

/* ---------- TALLER (proceso de fabricacion) ---------- */
#taller {
    background: var(--ink);
    color: var(--cloud);
}

.taller-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.taller-copy .eyebrow {
    background: rgba(255, 255, 255, .08);
    color: var(--yellow);
}

.taller-copy h2 {
    margin-top: 16px;
    font-size: clamp(28px, 3.6vw, 42px);
    color: var(--cloud);
}

.taller-copy p {
    margin-top: 16px;
    font-size: 16.5px;
    line-height: 1.65;
    color: rgba(255, 253, 246, .75);
}

.taller-photos {
    position: relative;
    height: 400px;
}

.taller-photo {
    position: absolute;
    width: 64%;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 24px 40px rgba(0, 0, 0, .4);
    border: 5px solid rgba(255, 255, 255, .12);
}

.taller-photo-a {
    top: 0;
    left: 0;
    height: 78%;
    transform: rotate(-4deg);
    z-index: 1;
}

.taller-photo-b {
    bottom: 0;
    right: 0;
    height: 66%;
    transform: rotate(4deg);
    z-index: 2;
}

/* ---------- POR QUE ELEGIRNOS ---------- */
#porque {
    background: var(--ink);
    color: var(--cloud);
}

#porque .section-head .eyebrow {
    background: rgba(255, 255, 255, .08);
    color: var(--yellow);
}

#porque .section-head h2 {
    color: var(--cloud);
}

#porque .section-head p {
    color: rgba(255, 253, 246, .72);
}

.reasons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.reason {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 24px;
    padding: 32px 26px;
    transition: transform .4s var(--ease-bounce), background .3s;
}

.reason:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, .09);
}

.reason .r-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: var(--r-color, var(--pink));
}

.reason h3 {
    font-size: 19px;
    margin-bottom: 10px;
    color: var(--cloud);
}

.reason p {
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 253, 246, .68);
}

/* ---------- COMO FUNCIONA ---------- */
#proceso {
    background: var(--cloud);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.steps::before {
    content: "";
    position: absolute;
    top: 34px;
    left: 12.5%;
    right: 12.5%;
    height: 3px;
    background-image: repeating-linear-gradient(90deg, var(--pink) 0 10px, transparent 10px 20px);
    z-index: 0;
}

.step {
    position: relative;
    padding: 0 16px;
    text-align: left;
}

.step-num {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--cloud);
    border: 3px solid var(--pink);
    color: var(--pink-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Baloo 2', sans-serif;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
    transition: transform .4s var(--ease-bounce), background .3s, color .3s;
}

.step:hover .step-num {
    background: var(--pink);
    color: #fff;
    transform: scale(1.1) rotate(-6deg);
}

.step h3 {
    font-size: 18px;
    color: var(--ink);
    margin-bottom: 8px;
}

.step p {
    font-size: 14px;
    color: #635b82;
    line-height: 1.55;
}

/* ---------- MARQUEE STRIP ---------- */
.strip {
    background: var(--purple);
    padding: 34px 0;
    overflow: hidden;
}

.strip-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: marquee 26s linear infinite;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'Baloo 2', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: rgba(255, 255, 255, .9);
    white-space: nowrap;
}

.strip-item svg {
    width: 26px;
    height: 26px;
}

/* ---------- TESTIMONIOS ---------- */
#testimonios {
    background: var(--cloud);
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.test-card {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.stars {
    color: var(--yellow);
    font-size: 18px;
    letter-spacing: 2px;
}

.test-card p {
    font-size: 15px;
    line-height: 1.65;
    color: #514971;
}

.test-who {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Baloo 2', sans-serif;
    font-weight: 700;
    color: #fff;
    background: var(--av-color, var(--pink));
}

.test-who strong {
    display: block;
    font-size: 14.5px;
    color: var(--ink);
}

.test-who span {
    font-size: 12.5px;
    color: #8f87ab;
}

/* ---------- CTA FINAL ---------- */
#cta-final {
    background: linear-gradient(120deg, var(--turquoise) 0%, var(--purple) 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#cta-final::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .18), transparent 40%),
        radial-gradient(circle at 82% 78%, rgba(255, 255, 255, .16), transparent 45%);
}

#cta-final .inner {
    position: relative;
    z-index: 1;
}

#cta-final h2 {
    font-size: clamp(28px, 4.4vw, 44px);
    color: #fff;
    max-width: 640px;
    margin: 0 auto 18px;
}

#cta-final p {
    color: rgba(255, 255, 255, .88);
    font-size: 16px;
    max-width: 480px;
    margin: 0 auto 34px;
}

#cta-final .btn-primary {
    background: var(--yellow);
    box-shadow: 0 10px 0 #C99E1B;
}

.map-embed {
    margin-top: 30px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
}

.map-embed iframe {
    display: block;
}

.contact-mini {
    margin-top: 38px;
    display: flex;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
}

.contact-mini span {
    opacity: .85;
    font-weight: 500;
}

.contact-mini a:hover {
    text-decoration: underline;
}

.cta-socials {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-socials a {
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .4);
    color: #fff;
    font-weight: 700;
    font-size: 13.5px;
    padding: 10px 20px;
    border-radius: 999px;
    transition: background .25s, transform .3s var(--ease-bounce);
}

.cta-socials a:hover {
    background: rgba(255, 255, 255, .32);
    transform: translateY(-3px);
}

/* ---------- FOOTER ---------- */
footer {
    background: var(--ink);
    color: rgba(255, 253, 246, .7);
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-brand {
    margin-bottom: 14px;
}

.footer-grid p {
    font-size: 14px;
    line-height: 1.6;
    max-width: 260px;
}

.footer-grid h4 {
    font-family: 'Baloo 2', sans-serif;
    color: var(--cloud);
    font-size: 15px;
    margin-bottom: 16px;
}

.footer-grid li {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-grid a:hover {
    color: var(--yellow);
}

.footer-bottom {
    padding-top: 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
}

.socials {
    display: flex;
    gap: 14px;
}

.socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s, transform .35s var(--ease-bounce);
}

.socials a:hover {
    background: var(--pink);
    transform: translateY(-3px);
}

/* ---------- FLOATING SOCIAL BUTTONS ---------- */
.float-stack {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.float-btn {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
    transition: transform .3s var(--ease-bounce);
}

.float-btn:hover {
    transform: scale(1.1) rotate(8deg);
}

.float-wa {
    width: 60px;
    height: 60px;
    background: #25D366;
    animation: waPulse 2.6s ease-in-out infinite;
}

.float-wa svg {
    width: 30px;
    height: 30px;
}

.float-fb {
    width: 46px;
    height: 46px;
    background: #1877F2;
}

.float-fb svg {
    width: 22px;
    height: 22px;
}

.float-ig {
    width: 46px;
    height: 46px;
    background: radial-gradient(circle at 30% 110%, #FDF497 0%, #FD5949 45%, #D6249F 60%, #285AEB 90%);
}

.float-ig svg {
    width: 22px;
    height: 22px;
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(20, 10, 35, .92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.is-open {
    display: flex;
}

.lightbox img {
    max-width: min(900px, 90vw);
    max-height: 85vh;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
}

.lightbox-close {
    position: absolute;
    top: 22px;
    right: 26px;
    color: #fff;
    font-size: 26px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, .22);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 38px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, .22);
}

.lightbox-prev {
    left: 18px;
}

.lightbox-next {
    right: 18px;
}

/* ---------- REVEAL ON SCROLL ---------- */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .7s var(--ease-soft), transform .7s var(--ease-soft);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- KEYFRAMES ---------- */
@keyframes inflateIn {
    to {
        transform: scaleY(1) translateY(0);
        opacity: 1;
    }
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(18px);
    }
}

@keyframes riseUp {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: .5;
    }

    100% {
        transform: translateY(-620px) translateX(30px);
        opacity: 0;
    }
}

@keyframes breathe {

    0%,
    100% {
        transform: rotate(-2deg) scale(1);
    }

    50% {
        transform: rotate(-2deg) scale(1.015);
    }
}

@keyframes bounceArrow {

    0%,
    100% {
        transform: translateY(0) rotate(45deg);
    }

    50% {
        transform: translateY(8px) rotate(45deg);
    }
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes waPulse {

    0%,
    100% {
        box-shadow: 0 10px 24px rgba(37, 211, 102, .5);
    }

    50% {
        box-shadow: 0 10px 34px rgba(37, 211, 102, .75);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        height: 380px;
        order: -1;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }

    .steps::before {
        display: none;
    }

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

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

    .taller-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .taller-photos {
        height: 340px;
        order: -1;
    }

    .disena-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .disena-viewer {
        order: -1;
        max-width: 420px;
        margin: 0 auto;
        width: 100%;
    }

    .disena-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .disena-viewer {
        order: -1;
        max-width: 420px;
        margin: 0 auto;
        width: 100%;
    }

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




@media (max-width: 640px) {
    .nav-links {
        position: fixed;
        inset: 70px 16px auto 16px;
        background: var(--cloud);
        border-radius: 20px;
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 16px;
        transform-origin: top right;
        transform: scale(.9) translateY(-14px);
        opacity: 0;
        pointer-events: none;
        transition: all .3s var(--ease-soft);
    }

    .nav-links.open {
        transform: scale(1) translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a {
        padding: 10px 6px;
        width: 100%;
    }

    .nav-cta {
        display: none;
    }

    .nav-links .nav-cta-mobile {
        display: inline-flex;
        margin-top: 6px;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 26px;
    }

    .nav-toggle span {
        height: 3px;
        border-radius: 3px;
        background: var(--ink);
    }

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

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

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

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

    section {
        padding: 80px 0;
    }

    .contact-mini {
        flex-direction: column;
        gap: 10px;
    }

    .float-stack {
        right: 14px;
        bottom: 14px;
        gap: 10px;
    }
}

/* ---------- REPARACIONES ---------- */
#reparaciones {
    background: var(--cloud);
}

.reparaciones-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.repair-card {
    background: #fff;
    border-radius: 24px;
    padding: 28px 26px;
    box-shadow: var(--shadow);
}

.repair-card h3 {
    font-size: 19px;
    color: var(--ink);
    margin-bottom: 10px;
}

.repair-card p {
    font-size: 14.5px;
    line-height: 1.6;
    color: #635b82;
}

.reparaciones-cta {
    margin-top: 44px;
    display: flex;
    justify-content: center;
}

.disena-note {
    margin-top: 18px;
    font-size: 12.5px;
    color: #8f87ab;
    font-style: italic;
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 96px;
    z-index: 199;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity .3s, transform .3s var(--ease-bounce);
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--pink);
}

@media (max-width: 640px) {
    .back-to-top {
        right: 14px;
        bottom: 84px;
        width: 42px;
        height: 42px;
    }
}

.webgl-fallback {
    padding: 40px 24px;
    text-align: center;
    font-size: 14.5px;
    color: #635b82;
    background: var(--cloud-dim);
    border-radius: 20px;
}