@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --color-background: #ffffff;
    --color-text: #333333;
    --color-accent: #1f4339;
    --color-border: #cccccc;
    --color-hover: #d6d6d6;
    --color-highlight: #757575;
    --shadow-color: rgba(0, 0, 0, 0.1);
    -pn-accent: #236653;
    --pn-accent-2: #49b08b;
    --pn-bg-0: #060a0f;

    --pn-text: rgba(255, 255, 255, .92);
    --pn-muted: rgba(255, 255, 255, .68);
    --pn-card: rgba(8, 14, 20, .58);
    --pn-border: rgba(255, 255, 255, .10);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    background-color: var(--color-background);
    color: var(--color-text);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* =========================
HEADER + NAV
   ========================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.9rem 0;
    z-index: 1000;
    transition: background 0.3s ease, padding 0.3s ease;
}

/* NAV centrado */
nav {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 70px;
    position: relative;
    font-family: 'Poppins', sans-serif;
}

/* Cápsula */
.nav-pill {
    width: min(1180px, 100%);
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
    position: relative;

    padding: 0.65rem 1.2rem;
    border-radius: 999px;

    background: rgba(0, 0, 0, .35);
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Logo */



/* Links desktop */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    position: relative;
    /* necesario si usás ::after */
    display: flex;
    align-items: center;
    gap: .6rem;

    font-size: 1.3rem;
    font-weight: 400;
    color: rgba(255, 255, 255, .92);

    padding: .55rem .9rem;
    border-radius: 999px;

    transition: background .18s ease, transform .18s ease, opacity .18s ease;
}

/* Quitar subrayados */
.nav-links a,
.nav-links a:hover,
.nav-links a:focus,
.nav-links a:active {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* Íconos */
.nav-ico {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: .9;
}

.nav-ico svg {
    width: 18px;
    height: 18px;
}

/* (lo dejabas desactivado; lo mantengo desactivado) */
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 0%;
    height: 2px;
    border-radius: 2px;
    background: rgba(35, 102, 83, .95);
    box-shadow: 0 0 12px rgba(35, 102, 83, .35);
    transition: width .22s ease;
    display: none !important;
}

/* Hover pill */
.nav-links a:hover {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .08);
    transform: translateY(-1px);
    opacity: 1;
}

/* Activo */
.nav-links a.is-active {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .10);
}

/* CTA nav */
.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;

    background: rgba(35, 102, 83, .95);
    color: #f7f1f1;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;

    box-shadow:
        0 0 0 1px rgba(255, 255, 255, .06) inset,
        0 10px 22px rgba(0, 0, 0, .25);

    transition: transform .2s ease, filter .2s ease;
}

.nav-cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

/* Botón hamburguesa */
.menu-btn {
    display: none;
    /* desktop */
    width: 42px;
    height: 42px;
    border-radius: 12px;

    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .10);
    color: #fff;

    cursor: pointer;
    z-index: 1;
    transition: transform .2s ease, background .2s ease;
}

.menu-btn:hover {
    background: rgba(255, 255, 255, .10);
    transform: translateY(-1px);
}

/* Side nav */
.side-nav {
    display: none;
}

.side-nav {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    width: 250px;
    background: #1f433960;
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    padding: 4rem 2rem;
    transition: left 0.3s ease-in-out;
    z-index: 1001;
}

.side-nav.active {
    left: 0;
}

/* ✅ X para cerrar dentro del panel */
.side-close {
    position: absolute;
    top: 18px;
    right: 18px;

    width: 42px;
    height: 42px;
    border-radius: 12px;

    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #fff;

    font-size: 1.6rem;
    line-height: 1;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    opacity: 0;
    transform: rotate(-90deg) scale(0.9);
    transition: opacity .25s ease, transform .25s ease, background .2s ease;
}

.side-nav.active .side-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.side-close:hover {
    background: rgba(255, 255, 255, .12);
}


/* Desktop refuerzo logo */
@media (min-width: 1025px) {
    .logo-img {
        height: 45px;
        max-width: 190px;
    }
}

/* Mobile */
@media (max-width: 1024px) {
    .menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .logo {
        margin: 0 auto;
    }

    .logo-img {
        height: 125px;
        max-width: auto;
        display: block;
    }

    .nav-pill {
        justify-content: space-between;
    }

    .side-nav {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        width: 250px;

        background: #1f433960;
        backdrop-filter: blur(15px);

        display: flex;
        flex-direction: column;
        padding: 4rem 2rem;

        transition: left 0.3s ease-in-out;
        z-index: 1001;
    }

    .side-nav.active {
        left: 0;
    }

    .side-nav ul {
        list-style: none;
        padding: 10px;
        margin: 0;
    }

    .side-nav ul li {
        margin: 3rem 0;
    }

    .side-nav ul li a {
        color: #fff;
        text-decoration: none;
        font-size: 1.2rem;
        transition: color 0.3s;
    }

    .side-nav ul li a:hover {
        color: var(--color-accent);
    }
}

/* =========================
ANIMACIÓN
   ========================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
HERO (#inicio) + NEÓN
   ========================= */

#inicio {
    background: #000;
    position: relative;
    height: 100vh;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    padding: 40px;
}

/* Neón */
#inicio .bg-neon {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* SVG */
#inicio .bg-neon__svg {
    position: absolute;
    inset: 0;
    width: 120%;
    height: 120%;
    left: -10%;
    top: -6%;
    opacity: 1;

    animation: waveDrift 6.8s ease-in-out infinite;
    will-change: transform;
}

@keyframes waveDrift {
    0% {
        transform: translate(-12px, 10px) scale(1.01) rotate(-0.35deg);
    }

    35% {
        transform: translate(26px, -14px) scale(1.03) rotate(0.45deg);
    }

    70% {
        transform: translate(-16px, -8px) scale(1.02) rotate(-0.25deg);
    }

    100% {
        transform: translate(-12px, 10px) scale(1.01) rotate(-0.35deg);
    }
}

/* Texto arriba del neón */
#inicio>* {
    position: relative;
    z-index: 2;
}

/* Paths */
#inicio .neon {
    fill: none !important;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Main */
#inicio .neon--main {
    stroke: #236653b2 !important;
    stroke-width: 10 !important;
    opacity: 1 !important;

    filter:
        drop-shadow(0 0 10px rgba(35, 102, 83, .95)) drop-shadow(0 0 22px rgba(35, 102, 83, .65)) drop-shadow(0 0 44px rgba(35, 102, 83, .35));

    animation: mainBreath 4s ease-in-out infinite;
}

/* Soft */
#inicio .neon--soft {
    stroke: rgba(21, 116, 53, 0.678) !important;
    stroke-width: 6 !important;
    opacity: .9 !important;

    filter: drop-shadow(0 0 8px rgba(255, 255, 255, .14));

    stroke-dasharray: 1050 420;
    stroke-dashoffset: 0;

    animation:
        splitDash 7.2s linear infinite,
        microUp 7.2s ease-in-out infinite;
}

/* Thin */
#inicio .neon--thin {
    stroke: rgba(35, 102, 83, .55) !important;
    stroke-width: 4 !important;
    opacity: .85 !important;

    filter: drop-shadow(0 0 10px rgba(35, 102, 83, .18));

    stroke-dasharray: 900 520;
    stroke-dashoffset: 260;

    animation:
        splitDash 8.4s linear infinite reverse,
        microDown 8.4s ease-in-out infinite;
}

@keyframes mainBreath {

    0%,
    100% {
        transform: translateY(0);
        opacity: .96;
    }

    50% {
        transform: translateY(-2px);
        opacity: 1;
    }
}

@keyframes splitDash {
    to {
        stroke-dashoffset: -2200;
    }
}

@keyframes microUp {

    0%,
    65%,
    100% {
        transform: translateY(0);
        opacity: .18;
    }

    72% {
        transform: translateY(-1px);
        opacity: .55;
    }

    80% {
        transform: translateY(0);
        opacity: .30;
    }
}

@keyframes microDown {

    0%,
    62%,
    100% {
        transform: translateY(0);
        opacity: .14;
    }

    70% {
        transform: translateY(1px);
        opacity: .55;
    }

    80% {
        transform: translateY(0);
        opacity: .28;
    }
}

/* =========================
TÍTULO HERO
   ========================= */

#titulo-inicio {
    font-family: 'Poppins', sans-serif;
    font-size: 5rem;
    font-weight: 300;
    color: #ffffff;
    text-align: center;
    line-height: 1.15;
    letter-spacing: -0.5px;

    max-width: 820px;
    margin: 0 auto;

    text-shadow: 0 0 12px rgba(35, 102, 83, 0.25);

    animation: fadeInUp 1.4s ease-out;
    z-index: 2;
}

.hero-subtitle {
    margin-top: 1.2rem;

    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    /* 👈 más grande */
    font-weight: 400;
    line-height: 1.6;

    color: #ffffff;
    /* 👈 blanco puro */
    text-align: center;

    max-width: 760px;
    margin-left: auto;
    margin-right: auto;

    opacity: 0.9;
    /* sutil, no gris */
}


/* HERO SWAP ultra estable: 2 columnas fijas */
#titulo-inicio.hero-swap {
    --swap-w: 12ch;
    /* 👈 ancho fijo para la palabra (Crecimiento = 11) */
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: auto var(--swap-w);
    column-gap: 0.35em;
    justify-content: center;
    align-items: baseline;

    white-space: nowrap;
    /* desktop: una línea */
    max-width: 100%;
}

.hero-swap__fixed {
    display: block;
}

.hero-swap__dynamic {
    display: block;
    width: 100%;
    /* ocupa SIEMPRE el ancho fijo */
    text-align: left;
    /* no empuja a "Creamos" */
    font-weight: 600;
    font-size: 1.25em;
    letter-spacing: -0.3px;

    color: #ffffff;

    opacity: 0;
    filter: blur(10px);
    transform: translateY(6px);
    will-change: opacity, transform, filter;
}

.hero-swap__dynamic.is-anim {
    animation: heroBlurSwap 2.6s ease-in-out forwards;
}

@keyframes heroBlurSwap {
    0% {
        opacity: 0;
        filter: blur(8px);
        transform: translateY(4px);
    }

    20% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }

    75% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        filter: blur(8px);
        transform: translateY(-4px);
    }
}

/* =========================
CTA HERO
   ========================= */

.cta {
    margin: 30px auto 0 auto;
    padding: 14px 32px;

    border-radius: 30px;
    font-family: "Century Schoolbook", sans-serif;
    font-size: 0.95rem;
    text-transform: uppercase;
    text-decoration: none;

    background: #288067;
    color: #ffffff;

    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
    cursor: pointer;

    transition: all 0.3s ease-in-out;
    animation: fadeInUp 0.8s ease forwards;

    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);

    position: relative;
    top: 0;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.cta:hover {
    transform: translateY(-3px);
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(35, 102, 83, .45);
    color: #288067;
}

.cta:hover .cta-icon {
    filter: brightness(0) saturate(100%) invert(37%) sepia(19%) saturate(694%) hue-rotate(115deg);
}

.cta span {
    position: relative;
    z-index: 2;
}

/* =========================
RESPONSIVE HERO
   ========================= */

/* Tablet: baja tamaño y reduce el ancho reservado */
@media (max-width: 768px) {
    #titulo-inicio {
        font-size: 3.5rem;
        max-width: 100%;
        padding: 0 12px;
    }

    #titulo-inicio.hero-swap {
        --swap-w: 10ch;
    }

    /* un poco menos ancho */
    .hero-swap__dynamic {
        font-size: 1.15em;
    }
}

@media (max-width: 480px) {
    #titulo-inicio {
        font-size: 4.5rem;
        padding: 0 14px;
    }

    /* en mobile lo apilamos para que no haya reflow ni overflow */
    #titulo-inicio.hero-swap {
        grid-auto-flow: row;
        grid-template-columns: 1fr;
        row-gap: 0.12em;
        white-space: normal;
    }

    .hero-swap__dynamic {
        text-align: center;
        width: auto;
        /* ya no necesita ancho fijo */
    }
}


@media (min-width: 1025px) {

    /* que el contenedor no limite */
    .logo {
        display: flex;
        align-items: center;
        line-height: 0;
        overflow: visible;
    }

    /* tamaño del elemento */
    .logo-img {
        height: 100px;
        /* tu tamaño real */
        max-width: none;
        width: auto;
        display: block;

        /* zoom visual del dibujo dentro del PNG */
        transform: scale(1.35);
        transform-origin: left center;
    }
}


/* -----------------SERVICIOS---------------------- */
/* Estilos para la sección de servicios - Versión Premium con grid 2x2 */
#servicios {
    padding: 120px 40px;
    background-color: var(--color-background);
    position: relative;
    overflow: hidden;
}

@keyframes appear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


.servicios-lista {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.servicios-lista article {
    background: none;
    padding: 20px 10px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: transform 0.35s ease;
}

.servicios-lista article::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #236653;
    transition: all 0.35s ease;
    transform: translateX(-50%);
}




.servicios-lista article:hover {
    transform: translateY(-6px);
}


.icono-servicio svg {
    width: 90px;
    /* más grandes */
    height: 90px;
    color: #111827;
    margin-bottom: 22px;

    animation: spinSlow 18s linear infinite;
    transform-origin: center;

    transition: color 0.3s ease;
}


.servicios-lista article:hover .icono-servicio svg {
    animation-duration: 6s;
    color: #000000;
}


.servicios-lista h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
}



.servicios-lista p {
    font-size: 15px;
    max-width: 260px;
    margin: 0 auto;
    line-height: 1.6;
}





/* =========================
   CÓMO TRABAJAMOS (Tech / Moderna)
   Pegalo en tu CSS
========================= */
/* =========================
   CÓMO TRABAJAMOS (Tech / Moderna) — CSS COMPLETO
   (Podés pegarlo tal cual; usa tus variables si ya las tenés)
========================= */

:root {
    --pn-accent: #236653;
    --pn-accent-2: #49b08b;

    --pn-bg0: #070a0a;
    --pn-bg1: #0c0f10;
    --pn-card: #0f1416;

    --pn-text: #e8eef3;
    --pn-muted: #a8b3be;

    --pn-border: rgba(255, 255, 255, .10);
    --pn-border-2: rgba(255, 255, 255, .06);

    --pn-shadow: 0 18px 60px rgba(0, 0, 0, .55);
    --pn-shadow2: 0 10px 30px rgba(0, 0, 0, .35);

    --pn-radius: 22px;
}

/* =========================================================
   SECTION
========================================================= */

.pnHow {
    position: relative;
    padding: clamp(3.5rem, 6.5vw, 5.5rem) 1rem;
    background: #000000;
    overflow: hidden;
}

.pnHow__wrap {
    width: min(1120px, 100%);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Grid sutil tipo “dev” (más suave para no apagar el contenido) */
.pnHow::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 72px 72px;
    opacity: .08;
    pointer-events: none;
}

/* =========================================================
   ABOUT HEADER (FOTO + TEXTO)
========================================================= */
.pnAboutHead__inner {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1.6rem;
    align-items: center;
    column-gap: 2rem;

    padding: 1.5rem;
    border-radius: var(--pn-radius);
    border: 1px solid var(--pn-border);
    background:
        radial-gradient(900px 240px at 20% 0%, rgba(73, 176, 139, .12), transparent 60%),
        linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
    box-shadow: var(--pn-shadow2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    /* Aire con las cards */
    margin-bottom: clamp(2rem, 4vw, 3.2rem);

    position: relative;
    overflow: hidden;
}

/* Separador premium */
.pnAboutHead__inner::after {
    content: "";
    display: block;
    width: min(520px, 92%);
    height: 1px;
    margin: clamp(1.6rem, 3vw, 2.2rem) auto 0;
    background: linear-gradient(to right,
            transparent,
            rgba(255, 255, 255, .10),
            rgba(73, 176, 139, .35),
            rgba(255, 255, 255, .10),
            transparent);
}

/* FOTO */
.pnAboutHead__photo {
    width: 190px;
    height: 190px;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, .45),
        0 0 0 10px rgba(73, 176, 139, .08);

    margin: 0 auto;
    /* clave para centrar */
    position: relative;
}



.pnAboutHead__photo img {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 150%;
    height: 150%;
    object-fit: cover;

    transform: translate(-50%, -50%);
    display: block;

    transition: filter .4s ease;
}

.pnAboutHead__photo:hover img {
    filter: grayscale(0%) contrast(1.05);
}

/* TEXTO HEADER */
.pnAboutHead__content {
    text-align: center;
}

.pnAboutHead__kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .85rem;
    border-radius: 999px;
    border: 1px solid var(--pn-border-2);
    background: rgb(255, 255, 255);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--pn-text);
}

.pnAboutHead__title {
    margin: .8rem auto .7rem;
    font-size: clamp(1.9rem, 3.8vw, 2.6rem);
    font-weight: 950;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #fff;
    max-width: 26ch;
}

.pnAboutHead__subtitle {
    max-width: 62ch;
    color: #ffffff;
    line-height: 1.65;
    margin: 0 auto 1.1rem;
    font-size: .98rem;
}

/* BADGES */
.pnAboutHead__badges {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin: 0 0 1.05rem;
    justify-content: center;
}

.pnBadge {
    padding: .42rem .68rem;
    border-radius: 999px;
    border: 1px solid var(--pn-border-2);
    background: rgb(255, 255, 255);
    font-size: .82rem;
    font-weight: 750;
    color: var(--pn-text);
    justify-content: center;
}

/* CTA del header */
.pnAboutHead__cta {
    display: flex;
    gap: .7rem;
    flex-wrap: wrap;
}

/* =========================================================
   GRID
========================================================= */
.pnHow__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.3rem;
}

/* =========================================================
   CARD
========================================================= */
.pnStep {
    grid-column: span 6;
    padding: 2rem 1.6rem 2.2rem;
    border-radius: var(--pn-radius);
    border: 1px solid var(--pn-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
    box-shadow: var(--pn-shadow2);
    text-align: center;
    position: relative;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;

    /* Prolijidad: iguala alturas */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 330px;
}

.pnStep:hover {
    transform: translateY(-8px);
    border-color: rgba(73, 176, 139, .35);
    box-shadow: var(--pn-shadow);
}

/* ICONO */
.pnStep__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    border: 1px solid var(--pn-border);
    background: rgb(255, 255, 255);
}

.pnStep__icon svg {
    width: 24px;
    height: 24px;
    fill: var(--pn-text);
}

/* TEXTO CARD */
.pnStep__title {
    font-size: 1.15rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 .6rem;
}

.pnStep__text {
    font-size: .96rem;
    line-height: 1.6;
    color: #ffffff;
    margin: 0 0 1rem;
}

/* LISTA */
.pnStep__bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .45rem;

    /* baja la lista para equilibrar diferencias de texto */
    margin-top: auto;
    width: 100%;
}

.pnStep__bullets li {
    font-size: .9rem;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .45rem;
}

.pnStep__bullets li::before {
    content: "›";
    color: var(--pn-accent-2);
    font-weight: 900;
}

/* =========================================================
   FOOTER
========================================================= */
.pnHow__foot {
    margin-top: 2.5rem;
    padding-top: 2rem;
    background: #000000;
    text-align: center;
}

.pnHow__claim {
    color: #ffffff;
    max-width: 65ch;
    margin: 0 auto 1.2rem;
    line-height: 1.65;
}

/* =========================================================
   BUTTONS
========================================================= */
.pnHow__cta {
    display: flex;
    justify-content: center;
    gap: .7rem;
    flex-wrap: wrap;
}

.pnBtn {
    padding: .75rem 1.1rem;
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, .18);
    background: #ffffff;
    color: #000;
    text-decoration: none;
    transition: transform .2s ease;
}

.pnBtn:hover {
    transform: translateY(-2px);
}

.pnBtn--ghost {
    background: #236653;
    color: #ffffff;
}

/* =========================================================
   REVEAL (si usás IntersectionObserver)
========================================================= */
.pn-reveal {
    opacity: 1;
}

html.pn-js .pn-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
}

html.pn-js .pn-reveal.is-in {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 900px) {
    .pnAboutHead__inner {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .pnAboutHead__content {
        text-align: center;
    }

    .pnAboutHead__badges,
    .pnAboutHead__cta,
    .pnHow__cta {
        justify-content: center;
    }

    .pnStep {
        grid-column: span 12;
        min-height: auto;
        /* en mobile no hace falta forzar altura */
    }

    .pnAboutHead__photo {
        width: 112px;
        height: 112px;
        margin: 0 auto;
    }
}

/* =========================================================
   FIX NAV ANCHOR (para que el menú fixed no tape el título)
========================================================= */
#sobre-mi {
    scroll-margin-top: 90px;
    /* ajustá al alto real del nav */
}





/* ================================
SECCIÓN
================================ */


/*----------------- SLIDER PORTFOLIO ------------- */
/* === SLIDER === */

/* =========================
   PERNICE · Expanding Gallery
   ========================= */

:root {
    --pn-accent: #236653;
    --pn-accent-2: #49b08b;

    --pn-bg: #ffffff;
    --pn-text: #0f172a;
    --pn-muted: #475569;

    --pn-border: rgba(15, 23, 42, .10);
    --pn-shadow: 0 18px 60px rgba(15, 23, 42, .10);
}

.pn-gal {
    background: var(--pn-bg);
    padding: clamp(3rem, 6vw, 5rem) 1rem;
}

.pn-gal__wrap {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.pn-gal__head {
    text-align: center;
    margin-bottom: 2rem;
}

.pn-gal__title {
    margin: 0 0 .6rem;
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    font-weight: 900;
    letter-spacing: .2px;
    color: var(--pn-text);
}

.pn-gal__subtitle {
    margin: 0 auto;
    max-width: 680px;
    color: var(--pn-muted);
    line-height: 1.65;
}

/* Gallery */
.pn-gal__gallery {
    height: 520px;
    display: flex;
    gap: 18px;
    align-items: stretch;
}

/* Panel (label) */
.pn-panel {
    position: relative;
    width: 10%;
    border-radius: 16px;
    border: 1px solid var(--pn-border);
    background: #f8fafc;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .06);

    transition:
        width 900ms cubic-bezier(.2, .8, .2, 1),
        transform 300ms ease,
        border-color 300ms ease,
        box-shadow 300ms ease;
}

/* entrada (alternada) */
.pn-panel[data-idx="1"],
.pn-panel[data-idx="3"],
.pn-panel[data-idx="5"] {
    transform: translateY(90px);
    opacity: 0;
    animation: pnFly 900ms ease forwards;
}

.pn-panel[data-idx="2"],
.pn-panel[data-idx="4"] {
    transform: translateY(-90px);
    opacity: 0;
    animation: pnFall 900ms ease forwards;
}

.pn-panel[data-idx="2"] {
    animation-delay: .18s;
}

.pn-panel[data-idx="3"] {
    animation-delay: .36s;
}

.pn-panel[data-idx="4"] {
    animation-delay: .54s;
}

.pn-panel[data-idx="5"] {
    animation-delay: .72s;
}

@keyframes pnFall {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pnFly {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* hover (cuando NO está activo) */
.pn-panel:hover {
    transform: translateY(-2px);
    border-color: rgba(35, 102, 83, .25);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .10);
}

/* input hidden */
.pn-panel__control {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

/* imagen */
.pn-panel__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.02) contrast(1.02);
}

/* overlay para legibilidad */
.pn-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, .00) 0%,
            rgba(255, 255, 255, .00) 45%,
            rgba(255, 255, 255, .88) 100%);
    opacity: 1;
    pointer-events: none;
}

/* ===== Label vertical en panel cerrado ===== */
.pn-panel__vlabel {
    position: absolute;
    inset: 0;
    /* ocupa todo el panel */
    display: flex;
    align-items: center;
    /* centra vertical */
    justify-content: center;
    /* centra horizontal */
    z-index: 4;
    pointer-events: none;

    color: rgba(255, 255, 255, .9);
    font-weight: 900;
    letter-spacing: .18em;
    font-size: 1.4rem;
    text-shadow: 0 12px 30px rgba(0, 0, 0, .55);

    /* texto vertical letra por letra */
    writing-mode: vertical-rl;
    text-orientation: upright;

    opacity: 1;
    transition: opacity .35s ease, transform .35s ease;
}

/* Cuando el panel está activo, desaparece */
.pn-panel.is-active .pn-panel__vlabel {
    opacity: 0;
    transform: scale(.96);
}

/* Animación sutil al pasar mouse en panel cerrado */
.pn-panel:not(.is-active):hover .pn-panel__vlabel {
    color: rgba(255, 255, 255, .92);
    transform: translateY(-20%) translateX(2px);
}

/* content (solo cuando activo) */
.pn-panel__content {
    position: absolute;
    inset: 0;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;

    opacity: 0;
    transform: translateY(18px);
    transition: opacity 400ms ease, transform 400ms ease;
}

/* textos */
.pn-panel__h3 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 900;
    color: #ffffff;
}

.pn-panel__p {
    margin: 0;
    color: #ffffff;
    line-height: 1.6;
    max-width: 54ch;
}

/* meta box */
.pn-panel__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

.pn-meta {
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 14px;
    padding: 12px 12px;
    backdrop-filter: blur(10px);
}

.pn-meta__t {
    font-weight: 800;
    font-size: .85rem;
    color: rgba(15, 23, 42, .70);
    margin-bottom: 4px;
}

.pn-meta__v {
    font-size: .95rem;
    color: rgba(15, 23, 42, .92);
    line-height: 1.35;
}

/* tags */
.pn-panel__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.pn-tag {
    font-size: .82rem;
    font-weight: 800;
    padding: 7px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--pn-accent), var(--pn-accent-2));
}

/* ========== Active state (controlado por JS) ========== */
.pn-panel.is-active {
    width: 60%;
    cursor: default;
    border-color: rgba(35, 102, 83, .28);
    box-shadow: var(--pn-shadow);
}

.pn-panel.is-active:hover {
    transform: none;
}

.pn-panel.is-active .pn-panel__badge {
    display: none;
}

.pn-panel.is-active .pn-panel__content {
    opacity: 1;
    transform: translateY(0);
}

/* cuando NO está activo, ocultamos contenido */
.pn-panel:not(.is-active) .pn-panel__content {
    pointer-events: none;
}

/* Responsive */
@media (max-width: 980px) {
    .pn-gal__gallery {
        height: auto;
        flex-direction: column;
    }

    .pn-panel {
        width: 100%;
        height: 220px;
    }

    .pn-panel.is-active {
        width: 100%;
        height: 420px;
    }

    .pn-panel__meta {
        grid-template-columns: 1fr;
    }
}



/*------------------FORMULARIO-----------------*/
:root {
    --color-background: #ffffff;
    --color-form-bg: #f8f8f8;
    --color-text: #333333;
    --color-border: #cccccc;
    --color-placeholder: #999999;
    --color-button: #e0e0e0;
    --color-button-hover: #1f4339;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

/* === CONTACTO === */

#contacto {
    background: var(--color-form-bg);
    color: var(--color-text);
    padding: 30px;
    max-width: 600px;
    margin: 30px auto;
    border-radius: 12px;
    box-shadow: 0 4px 10px var(--shadow-color);
}

#titulo-contacto {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
    color: var(--color-text);
}

#titulo-contacto::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-border);
    border-radius: 2px;
}

/* === FORMULARIO === */

form {
    display: grid;
    gap: 1.2rem;
    padding-top: 1rem;
}

label {
    font-size: 1rem;
    font-weight: 500;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 1rem;
    color: var(--color-text);
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input::placeholder,
textarea::placeholder {
    color: var(--color-placeholder);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-button);
    box-shadow: 0 0 0 2px rgba(224, 224, 224, 0.5);
}

input:hover,
textarea:hover {
    border-color: var(--color-button);
}

/* === BOTÓN === */

button {
    background: var(--color-button);
    color: var(--color-text);
    border: none;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px var(--shadow-color);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

button:hover {
    background: var(--color-button-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px var(--shadow-color);
}

button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px var(--shadow-color);
}

/* === RESPONSIVE === */

@media (width <=480px) {
    #contacto {
        padding: 20px;
    }

    #titulo-contacto {
        font-size: 1.8rem;
    }

    input,
    textarea {
        font-size: 0.9rem;
    }
}

/*------------FOOTER-------------------*/

footer {
    color: #ffffff;
    background: #0c0e0d;
    padding: 40px 20px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* ===== Form Styles ===== */
#newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 500px;
    margin: 30px auto;
}

#newsletter-form input[type="email"] {
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 8px;
    width: 100%;
    font-size: 1rem;
    outline: none;
    background-color: #ffffff;
    color: #f4f4f4;
    transition: background-color 0.3s ease;
}

#newsletter-form input[type="email"]::placeholder {
    color: #aaa;
}

#newsletter-form input[type="email"]:focus {
    background-color: #cccccc;
}

/* ===== Button Styles ===== */
#newsletter-form button {
    padding: 0.8rem 1.5rem;
    background-color: #ffffff;
    color: #060a0f;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#newsletter-form button:hover {
    background-color: #0c0e0d;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ===== Responsive Layout ===== */
@media (min-width: 600px) {
    #newsletter-form {
        flex-direction: row;
        justify-content: center;
        margin-bottom: 2rem;
    }

    #newsletter-form input[type="email"] {
        flex: 1;
    }
}


/* ===== Accessibility: Hidden Label ===== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
}

footer p {
    margin-top: 24px;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.redes-sociales {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 24px;
}

.redes-sociales a img {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    filter: invert(1);
}

.redes-sociales a:hover img {
    transform: scale(1.2);
    opacity: 0.8;
}

@media (max-width: 480px) {
    footer p {
        margin-top: 32px;
        font-size: 12px;
    }
}

@media (width <=480px) {
    footer p {
        margin-top: 2rem;
        /* o 32px */
        font-size: 14px;
        letter-spacing: 0.5px;
    }

    .redes-sociales {
        gap: 16px;
    }

    .redes-sociales a img {
        width: 18px;
        height: 18px;
    }
}


/*---------------boton whatsapp ------------------*/
/* Estilos del botón flotante */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: white;
    color: #141414;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    filter: grayscale(100%);
}

.whatsapp-float img {
    width: 35px;
    filter: grayscale(100%);
}

/* Opción: cambiar a color al pasar el cursor */
.whatsapp-float:hover {
    transform: scale(1.1);
    filter: grayscale(0%);
}

@media (width <=600px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-float img {
        width: 30px;
    }
}