/* =========================================================
   Madre de Ciudades — Rediseño 2026
   ========================================================= */
:root {
    --sky: #2BA6F0;          /* azul de la gota del logo */
    --sky-deep: #0E78C8;
    --red: #D8202A;          /* rojo del logotipo */
    --red-deep: #A8141D;
    --ink: #08294A;          /* azul profundo para texto */
    --ink-soft: #3F5C7A;
    --ice: #EAF6FE;
    --mist: #F6FBFF;
    --white: #FFFFFF;

    --f-display: "Bricolage Grotesque", system-ui, sans-serif;
    --f-body: "Figtree", system-ui, sans-serif;

    --ease: cubic-bezier(.22, 1, .36, 1);
    --wrap: 1200px;
}

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

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

body {
    margin: 0;
    font-family: var(--f-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--mist);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; line-height: 1.08; letter-spacing: -.02em; }
p { margin: 0; }

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

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

/* ---------- Botones ---------- */
.btn {
    --bg: var(--sky);
    --fg: #fff;
    display: inline-flex;
    align-items: center;
    gap: .55em;
    padding: .95em 1.6em;
    border-radius: 999px;
    background: var(--bg);
    color: var(--fg);
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--bg) 80%, transparent);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn i { font-size: 1.15em; }
.btn::after {               /* destello al pasar el mouse */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform .7s var(--ease);
    z-index: -1;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -12px color-mix(in srgb, var(--bg) 90%, transparent); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-blue { --bg: var(--sky-deep); }
.btn-red { --bg: var(--red); }
.btn-white { --bg: #fff; --fg: var(--red); }
.btn-sm { padding: .75em 1.35em; font-size: .95rem; }

/* ---------- NAV ---------- */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    padding: 14px 0;
    transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.nav.scrolled {
    padding: 8px 0;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: 0 1px 0 rgba(8, 41, 74, .08), 0 10px 30px -18px rgba(8, 41, 74, .35);
}
.nav-inner {
    width: min(1280px, 100% - 32px);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand-map { height: 50px; width: auto; object-fit: contain; }
.brand-word { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
    text-decoration: none;
    font-weight: 600;
    font-size: .98rem;
    padding: .55em .95em;
    border-radius: 999px;
    color: var(--ink);
    transition: background .25s, color .25s;
}
.nav-links a:hover { background: rgba(43, 166, 240, .12); color: var(--sky-deep); }
.nav-links .nav-cta { background: var(--ink); color: #fff; margin-left: 8px; display: inline-flex; gap: .45em; align-items: center; }
.nav-links .nav-cta:hover { background: var(--sky-deep); color: #fff; }
.nav-toggle { display: none; }

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 120px 0 140px;
    overflow: hidden;
    background:
        radial-gradient(80% 60% at 78% 45%, rgba(43, 166, 240, .28), transparent 65%),
        radial-gradient(60% 50% at 10% 90%, rgba(43, 166, 240, .18), transparent 70%),
        linear-gradient(180deg, #F7FCFF 0%, #E3F3FE 55%, #CBE9FD 100%);
}
#waterCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-sun {
    position: absolute;
    width: 46vmax; height: 46vmax;
    right: -8vmax; top: -14vmax;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.95) 0%, rgba(255,255,255,0) 65%);
    pointer-events: none;
    z-index: 0;
}
.hero-grid {
    position: relative;
    z-index: 2;
    width: min(var(--wrap), 100% - 32px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 40px;
    pointer-events: none;
}
.hero-grid a, .hero-grid img { pointer-events: auto; }
.hero-logo { width: min(440px, 88%); height: auto; margin-bottom: 18px; margin-left: -10px; filter: drop-shadow(0 12px 20px rgba(8,41,74,.12)); }
.hero-title {
    font-size: clamp(2.6rem, 5.4vw, 4.6rem);
    font-weight: 800;
    font-variation-settings: "wdth" 85;
    letter-spacing: -.035em;
    max-width: 12ch;
    color: var(--ink);
}
.hero-sub { margin-top: 18px; font-size: 1.2rem; color: var(--ink-soft); max-width: 36ch; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero-stage {
    position: relative;
    aspect-ratio: 4 / 5;
    width: 100%;
    max-height: 70vh;
    display: grid;
    place-items: center;
}
.hero-seal {
    width: 42%;
    height: auto;
    margin-top: 18%;
    filter: drop-shadow(0 10px 18px rgba(14, 120, 200, .25));
    animation: seal-float 6s ease-in-out infinite;
    opacity: 0;
    transform: scale(.6);
}
.loaded .hero-seal { opacity: 1; transform: none; transition: opacity 1s .9s var(--ease), transform 1.2s .9s var(--ease); }
@keyframes seal-float {
    0%, 100% { translate: 0 0; rotate: -3deg; }
    50% { translate: 0 -14px; rotate: 3deg; }
}

/* secuencia de entrada */
.load-step { opacity: 0; transform: translateY(26px); }
.loaded .load-step { opacity: 1; transform: none; transition: opacity .9s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }

.scroll-hint {
    position: absolute;
    left: 50%; bottom: 96px;
    z-index: 3;
    width: 26px; height: 42px;
    margin-left: -13px;
    border: 2px solid rgba(8, 41, 74, .35);
    border-radius: 14px;
}
.scroll-hint span {
    position: absolute; left: 50%; top: 8px;
    width: 4px; height: 8px; margin-left: -2px;
    border-radius: 2px;
    background: var(--sky-deep);
    animation: scroll-dot 1.8s var(--ease) infinite;
}
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.hero-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 110px; z-index: 2; }
.hero-wave .w1 { fill: rgba(255, 255, 255, .55); animation: wave-x 9s ease-in-out infinite alternate; }
.hero-wave .w2 { fill: var(--mist); animation: wave-x 12s ease-in-out infinite alternate-reverse; }
@keyframes wave-x { from { transform: translateX(-40px); } to { transform: translateX(40px); } }
.hero-wave path { transform-box: fill-box; }

/* ---------- Encabezados de sección ---------- */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head h2 {
    font-size: clamp(2.2rem, 4.6vw, 3.6rem);
    font-weight: 800;
    font-variation-settings: "wdth" 88;
}
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 1.15rem; }
.section-head .section-kicker { margin: 0 0 12px; color: var(--sky-deep); font-weight: 700; font-size: 1.05rem; }

/* ---------- PRODUCTOS ---------- */
.products { padding: 72px 0 120px; background: var(--mist); }
.prod-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    perspective: 1400px;
}
.prod { grid-column: span 2; }
.prod-lg { grid-column: span 3; }

.prod {
    --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
    position: relative;
    background: #fff;
    border-radius: 28px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
    transform: rotateX(var(--rx)) rotateY(var(--ry));
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
    box-shadow: 0 1px 0 rgba(8,41,74,.04), 0 24px 50px -32px rgba(8, 41, 74, .45);
}
.prod.is-tilting { transition: transform .12s linear, box-shadow .5s var(--ease); }
.prod:hover { box-shadow: 0 1px 0 rgba(8,41,74,.04), 0 40px 70px -34px rgba(14, 120, 200, .55); }

.prod-stage {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: radial-gradient(70% 70% at 50% 40%, #FFFFFF 0%, #DDF0FD 100%);
    display: grid;
    place-items: center;
    transform: translateZ(30px);
    transform-style: preserve-3d;
}
.prod-lg .prod-stage { aspect-ratio: 16 / 12; }
.prod-stage img {
    width: 78%;
    height: 88%;
    object-fit: contain;
    mix-blend-mode: multiply;      /* elimina el fondo blanco de la foto */
    transform: translateZ(40px);
    transition: transform .6s var(--ease);
    position: relative;
    z-index: 1;
}
.prod:hover .prod-stage img { transform: translateZ(40px) translateY(-8px) scale(1.04); }
.prod-ring {
    position: absolute;
    width: 62%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 2px solid rgba(43, 166, 240, .22);
    box-shadow: inset 0 0 0 18px rgba(43, 166, 240, .05);
    left: 19%; top: 50%;
    translate: 0 -50%;
    transition: scale .8s var(--ease);
}
.prod-lg .prod-ring { width: 46%; left: 27%; }
.prod:hover .prod-ring { scale: 1.12; }
.prod-glare {
    position: absolute; inset: 0;
    background: radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,.75), transparent 45%);
    opacity: 0;
    transition: opacity .4s;
    mix-blend-mode: soft-light;
    z-index: 2;
    pointer-events: none;
}
.prod:hover .prod-glare { opacity: 1; }

.prod-body {
    padding: 22px 12px 10px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "title title" "price btn";
    align-items: end;
    gap: 14px 12px;
    flex: 1;
    transform: translateZ(20px);
}
.prod-body h3 { grid-area: title; font-size: 1.35rem; font-weight: 700; }
.prod-lg .prod-body h3 { font-size: 1.7rem; }
.price {
    grid-area: price;
    font-family: var(--f-display);
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--sky-deep);
    letter-spacing: -.03em;
    line-height: 1;
}
.prod-lg .price { font-size: 2.8rem; }
.price-ask { font-size: 1rem; font-family: var(--f-body); font-weight: 600; letter-spacing: 0; color: var(--ink-soft); line-height: 1.3; }
.prod-body .btn { grid-area: btn; }

/* ---------- BANDA FOTO ---------- */
.photo-band {
    position: relative;
    height: clamp(340px, 52vw, 560px);
    overflow: hidden;
    display: grid;
    place-items: center;
    color: #fff;
    text-align: center;
}
.photo-layer { position: absolute; inset: -12% 0; will-change: transform; }
.pb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pb-b { animation: pb-swap 12s ease-in-out infinite; }
@keyframes pb-swap { 0%, 40% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }
.photo-band::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(8,41,74,.25), rgba(8,41,74,.55));
}
.photo-copy { position: relative; z-index: 1; padding: 0 16px; }
.pb-big {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: clamp(2.4rem, 7vw, 6rem);
    letter-spacing: -.04em;
    line-height: .95;
    font-variation-settings: "wdth" 80;
    text-shadow: 0 10px 40px rgba(0,0,0,.25);
}
.pb-small { margin-top: 18px; font-size: 1.2rem; opacity: .92; }

/* ---------- MAYORISTAS ---------- */
.wholesale {
    position: relative;
    padding: 120px 0;
    color: #fff;
    background:
        radial-gradient(60% 80% at 100% 0%, rgba(255,255,255,.14), transparent 60%),
        radial-gradient(50% 60% at 0% 100%, rgba(0,0,0,.18), transparent 70%),
        var(--red);
    overflow: hidden;
}
.wholesale::before {   /* gotas decorativas */
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.12) 1.5px, transparent 1.6px);
    background-size: 26px 26px;
    mask-image: linear-gradient(120deg, #000 0%, transparent 55%);
    -webkit-mask-image: linear-gradient(120deg, #000 0%, transparent 55%);
    pointer-events: none;
}
.ws-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.ws-kicker { font-weight: 700; font-size: 1.15rem; opacity: .95; margin-bottom: 14px; }
.ws-copy h2 { font-size: clamp(2.3rem, 4.8vw, 4rem); font-weight: 800; font-variation-settings: "wdth" 85; letter-spacing: -.035em; }
.ws-lead { margin-top: 20px; font-size: 1.2rem; max-width: 46ch; opacity: .95; }
.ws-tiles { list-style: none; padding: 0; margin: 32px 0 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ws-tiles li {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    font-weight: 700;
    font-size: 1.05rem;
    backdrop-filter: blur(4px);
    transition: background .3s, transform .4s var(--ease);
}
.ws-tiles li:hover { background: rgba(255,255,255,.2); transform: translateY(-3px); }
.ws-tiles i { font-size: 1.5rem; width: 1.6em; text-align: center; }

.ws-card {
    background: #fff;
    color: var(--ink);
    border-radius: 32px;
    padding: 40px 40px 44px;
    box-shadow: 0 40px 80px -40px rgba(60, 0, 0, .6);
    text-align: center;
}
.ws-card h3 { font-size: 2rem; font-weight: 800; color: var(--red); margin-top: 8px; font-variation-settings: "wdth" 90; }
.ws-list { list-style: none; padding: 0; margin: 24px 0 0; text-align: left; display: grid; gap: 4px; }
.ws-list li { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px dashed rgba(8,41,74,.14); font-size: 1.12rem; font-weight: 500; }
.ws-list li:last-child { border-bottom: 0; }
.ws-list i { color: var(--red); }

/* moneda 3D */
.coin-scene { perspective: 900px; height: 170px; display: grid; place-items: center; position: relative; }
.coin {
    --t: 14px;
    position: relative;
    width: 132px; height: 132px;
    transform-style: preserve-3d;
    animation: coin-spin 7s linear infinite;
}
.coin-face {
    position: absolute; inset: 0;
    border-radius: 50%;
    display: grid; place-items: center;
    color: #fff;
    font-size: 58px;
    background: radial-gradient(circle at 35% 30%, #FF5A60 0%, var(--red) 45%, var(--red-deep) 100%);
    box-shadow: inset 0 0 0 7px rgba(255,255,255,.22), inset 0 -10px 20px rgba(0,0,0,.2);
    backface-visibility: hidden;
}
.coin-front { transform: translateZ(calc(var(--t) / 2)); }
.coin-back { transform: rotateY(180deg) translateZ(calc(var(--t) / 2)); }
.coin::before {     /* canto */
    content: "";
    position: absolute; inset: 0;
    border-radius: 50%;
    background: var(--red-deep);
    transform: translateZ(0);
    box-shadow: 0 0 0 0 var(--red-deep);
}
.coin-edge { position: absolute; }
.coin-shadow {
    position: absolute; bottom: 4px; left: 50%;
    width: 110px; height: 14px; margin-left: -55px;
    border-radius: 50%;
    background: radial-gradient(rgba(8,41,74,.28), transparent 70%);
    animation: coin-shadow 7s linear infinite;
}
@keyframes coin-spin { from { transform: rotateY(0) rotateX(var(--cx, 8deg)); } to { transform: rotateY(360deg) rotateX(var(--cx, 8deg)); } }
@keyframes coin-shadow { 0%, 50%, 100% { transform: scaleX(1); } 25%, 75% { transform: scaleX(.35); } }

/* ---------- CALIDAD ---------- */
.quality { padding: 120px 0 150px; background: linear-gradient(180deg, var(--mist), var(--ice)); }
.q-icon {
    flex: none;
    width: 58px; height: 58px;
    border-radius: 18px;
    display: grid; place-items: center;
    color: #fff;
    font-size: 1.5rem;
    background: linear-gradient(145deg, var(--sky), var(--sky-deep));
    box-shadow: 0 12px 24px -12px rgba(14,120,200,.7);
}

.process {
    background: var(--ink);
    color: #fff;
    border-radius: 32px;
    padding: 40px 44px 48px;
    position: relative;
    overflow: hidden;
}
.process::before {
    content: "";
    position: absolute;
    width: 520px; height: 520px;
    right: -180px; top: -260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(43,166,240,.35), transparent 65%);
}
.process-head { position: relative; display: flex; gap: 18px; align-items: center; }
.process-head h3 { font-size: 1.9rem; font-weight: 800; }
.process-head p { margin-top: 6px; color: #B9D9F2; font-size: 1.1rem; }

.pipe { position: relative; margin-top: 44px; }
.pipe-tube {
    position: absolute;
    left: 8%; right: 8%; top: 31px;
    height: 10px;
    border-radius: 10px;
    background: rgba(255,255,255,.1);
    overflow: hidden;
}
.pipe-flow {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, var(--sky) 40%, #9FDCFF 50%, var(--sky) 60%, transparent);
    background-size: 50% 100%;
    background-repeat: no-repeat;
    animation: flow 2.6s linear infinite;
}
.pipe-drops {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.85) 2px, transparent 2.5px);
    background-size: 36px 10px;
    animation: drops 1.6s linear infinite;
    opacity: .6;
}
@keyframes flow { from { background-position: -100% 0; } to { background-position: 200% 0; } }
@keyframes drops { from { background-position: 0 0; } to { background-position: 36px 0; } }
.pipe-steps {
    position: relative;
    list-style: none; padding: 0; margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    font-weight: 600;
    font-size: 1.12rem;
}
.pipe-steps li { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ps-dot {
    width: 72px; height: 72px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 1.6rem;
    background: #0D3A66;
    border: 2px solid rgba(43,166,240,.55);
    box-shadow: 0 0 0 8px var(--ink), 0 0 28px rgba(43,166,240,.45);
    margin-top: -2px;
    margin-bottom: 8px;
    animation: station 3.9s ease-in-out infinite;
}
.pipe-steps li:nth-child(2) .ps-dot { animation-delay: 1.3s; }
.pipe-steps li:nth-child(3) .ps-dot { animation-delay: 2.6s; }
@keyframes station {
    0%, 70%, 100% { background: #0D3A66; transform: scale(1); }
    20% { background: var(--sky); transform: scale(1.08); }
}
.ps-n { font-family: var(--f-display); font-size: .95rem; color: var(--sky); font-weight: 800; }

.q-grid { margin-top: 24px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; }
.q-card {
    background: #fff;
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 24px 50px -36px rgba(8,41,74,.5);
    display: flex; flex-direction: column; gap: 14px;
}
.q-card h3 { font-size: 1.5rem; font-weight: 700; margin-top: 6px; }
.q-card p { color: var(--ink-soft); font-size: 1.08rem; }
.reg { margin: 0; display: grid; gap: 16px; }
.reg div { padding: 14px 16px; border-radius: 16px; background: var(--ice); }
.reg dt { font-size: .95rem; color: var(--ink-soft); }
.reg dd { margin: 4px 0 0; font-family: var(--f-display); font-weight: 800; font-size: 1.7rem; letter-spacing: -.01em; color: var(--sky-deep); font-variant-numeric: tabular-nums; }

/* ---------- FOOTER ---------- */
.footer { position: relative; background: var(--ink); color: #DCEBF7; padding: 40px 0 0; margin-top: -1px; }
.footer-wave { position: absolute; left: 0; top: -89px; width: 100%; height: 90px; fill: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 48px; padding: 40px 0 56px; }
.f-logo {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; padding: 10px 18px; border-radius: 18px;
}
.f-logo img:first-child { height: 46px; width: auto; }
.f-logo img:last-child { height: 30px; width: auto; }
.f-slogan { margin-top: 22px; font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; color: #fff; line-height: 1.15; }
.f-social { display: flex; gap: 10px; margin-top: 24px; }
.f-social a {
    width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(255,255,255,.08);
    color: #fff; text-decoration: none;
    transition: background .3s, transform .4s var(--ease);
}
.f-social a:hover { background: var(--sky); transform: translateY(-3px) rotate(-6deg); }
.f-col h4 { font-size: 1.2rem; color: #fff; margin-bottom: 18px; font-weight: 700; }
.f-24 { display: flex; align-items: center; gap: 12px; font-size: 1.15rem; font-weight: 600; color: #fff; }
.pulse { width: 12px; height: 12px; border-radius: 50%; background: #3BE07A; position: relative; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #3BE07A; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { to { transform: scale(3); opacity: 0; } }
.f-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.f-list li { display: flex; gap: 12px; align-items: baseline; }
.f-list a { text-decoration: none; display: inline-flex; gap: 12px; align-items: baseline; transition: color .25s; }
.f-list a:hover { color: var(--sky); }
.f-list i { color: var(--sky); width: 1em; }
.copyright {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
    padding: 22px 0 28px;
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: .95rem; color: #9DB8D0;
}
.copyright a { color: #fff; }

/* ---------- Flotantes ---------- */
.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 60;
    width: 60px; height: 60px; border-radius: 50%;
    display: grid; place-items: center;
    background: #25D366; color: #fff; font-size: 32px; text-decoration: none;
    box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .8);
    transition: transform .4s var(--ease);
}
.wa-float::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid #25D366;
    animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse { to { transform: scale(1.7); opacity: 0; } }
.wa-float:hover { transform: scale(1.08) rotate(-8deg); }
.to-top {
    position: fixed; right: 28px; bottom: 92px; z-index: 60;
    width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center;
    background: #fff; color: var(--ink); text-decoration: none;
    box-shadow: 0 10px 24px -10px rgba(8,41,74,.5);
    opacity: 0; transform: translateY(14px); pointer-events: none;
    transition: opacity .4s, transform .4s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Revelado al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px) rotateX(8deg); transform-origin: 50% 100%; }
.reveal.in { opacity: 1; transform: none; transition: opacity .9s var(--ease) var(--rd, 0s), transform 1.1s var(--ease) var(--rd, 0s); }
.prod.reveal.in { transform: rotateX(var(--rx)) rotateY(var(--ry)); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
    .prod, .prod-lg { grid-column: span 3; }
    .prod:last-child { grid-column: 2 / span 4; }
    .q-grid { grid-template-columns: 1fr 1fr; }
    .q-reg { grid-column: 1 / -1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .f-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .nav-toggle {
        display: grid; gap: 5px;
        width: 46px; height: 46px; padding: 13px 11px;
        border: 0; border-radius: 50%;
        background: #fff;
        box-shadow: 0 6px 18px -8px rgba(8,41,74,.4);
        cursor: pointer;
    }
    .nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease), opacity .25s; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .nav-links {
        position: absolute;
        top: calc(100% + 8px); left: 16px; right: 16px;
        flex-direction: column; align-items: stretch;
        padding: 12px;
        border-radius: 22px;
        background: rgba(255,255,255,.96);
        backdrop-filter: blur(14px);
        box-shadow: 0 30px 60px -30px rgba(8,41,74,.5);
        opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none;
        transition: opacity .3s, transform .4s var(--ease);
    }
    .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
    .nav-links a { padding: .85em 1em; font-size: 1.05rem; }
    .nav-links .nav-cta { margin: 6px 0 0; justify-content: center; }

    .hero { padding: 100px 0 130px; min-height: auto; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 0; }
    .hero-copy { order: 2; display: flex; flex-direction: column; align-items: center; }
    .hero-stage { order: 1; width: min(280px, 64vw); max-height: none; margin: 0 auto -10px; }
    .hero-logo { margin-left: 0; width: min(340px, 86%); }
    .hero-title { max-width: 14ch; }
    .hero-actions { justify-content: center; }
    .scroll-hint { display: none; }
    .hero-sub { font-size: 1.08rem; }

    .ws-grid { grid-template-columns: 1fr; gap: 40px; }
    .pipe-steps { font-size: 1rem; }
}

@media (max-width: 640px) {
    body { font-size: 1rem; }
    .brand-map { height: 40px; }
    .brand-word { height: 26px; }
    .products { padding: 48px 0 88px; }
    .hero-actions { gap: 10px; }
    .hero-actions .btn { padding: .85em 1.15em; font-size: .95rem; }
    .hero-logo { width: min(300px, 82%); }
    .prod-grid { grid-template-columns: 1fr; gap: 18px; }
    .prod, .prod-lg, .prod:last-child { grid-column: auto; }
    .prod-lg .prod-stage { aspect-ratio: 1 / 1; }
    .prod-lg .prod-ring { width: 62%; left: 19%; }
    .prod-lg .prod-body h3 { font-size: 1.45rem; }
    .prod-lg .price { font-size: 2.3rem; }
    .section-head { margin-bottom: 36px; }
    .wholesale, .quality { padding: 88px 0; }
    .ws-tiles { grid-template-columns: 1fr; }
    .ws-card { padding: 28px 22px 32px; }
    .process { padding: 28px 22px 32px; border-radius: 26px; }
    .process-head { flex-direction: column; align-items: flex-start; }
    .pipe-tube { left: 50%; right: auto; top: 0; bottom: 0; width: 8px; height: auto; margin-left: -4px; }
    .pipe-flow { background: linear-gradient(180deg, transparent, var(--sky) 40%, #9FDCFF 50%, var(--sky) 60%, transparent); background-size: 100% 50%; background-repeat: no-repeat; animation-name: flow-y; }
    .pipe-drops { background-size: 8px 30px; animation-name: drops-y; }
    @keyframes flow-y { from { background-position: 0 -100%; } to { background-position: 0 200%; } }
    @keyframes drops-y { from { background-position: 0 0; } to { background-position: 0 30px; } }
    .pipe-steps { grid-template-columns: 1fr; gap: 26px; }
    .pipe-steps li { background: var(--ink); padding: 4px 0; }
    .q-grid { grid-template-columns: 1fr; }
    .q-card { padding: 26px 22px; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .wa-float { width: 56px; height: 56px; font-size: 30px; right: 16px; bottom: 16px; opacity: 0; transform: scale(.6); pointer-events: none; transition: opacity .4s, transform .5s var(--ease); }
    .wa-float.show { opacity: 1; transform: none; pointer-events: auto; }
    .to-top { right: 22px; bottom: 84px; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal, .load-step, .hero-seal { opacity: 1 !important; transform: none !important; }
}
