:root {
    --green-400: #9AFF47;
    --green-500: #7CFC00;
    --green-600: #5CB200;
    --ink-900: #151515;
    --ink-800: #202020;
    --ink-700: #2c2c2c;
    --ink-500: #5a5a5a;
    --surface-100: #f4f6f2;
    --surface-50: #fbfdf8;
    --white: #ffffff;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --shadow-1: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-2: 0 14px 42px rgba(0, 0, 0, 0.15);
    --max: 1160px;
    --header-height: 84px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--ink-800);
    background: linear-gradient(180deg, #f7faf2 0%, #ffffff 30%, #f7faf2 100%);
    line-height: 1.55;
    overflow-x: hidden;
}

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

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.container {
    width: min(100% - 2rem, var(--max));
    margin-inline: auto;
}

.section {
    padding: 5.5rem 0;
    position: relative;
}

.eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--green-600);
    margin-bottom: 0.8rem;
}

h1,
h2,
h3 {
    font-family: 'Sora', sans-serif;
    line-height: 1.2;
    color: var(--ink-900);
}

h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.6rem);
}

h3 {
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.9rem 1.5rem;
    transition: 0.25s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--green-500), var(--green-600));
    color: var(--ink-900);
    box-shadow: 0 8px 24px rgba(124, 252, 0, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(124, 252, 0, 0.38);
}

.btn-secondary {
    border: 1px solid rgba(124, 252, 0, 0.5);
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(124, 252, 0, 0.12);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(20, 20, 20, 0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(124, 252, 0, 0.2);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
    box-shadow: var(--shadow-1);
    background: rgba(17, 17, 17, 0.96);
}

.nav-wrap {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.brand img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(124, 252, 0, 0.32);
}

.brand span {
    font-family: 'Sora', sans-serif;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.52rem 0.9rem;
    border-radius: 999px;
    transition: 0.2s ease;
}

.nav a:hover {
    color: var(--green-400);
    background: rgba(124, 252, 0, 0.08);
}

.btn-nav {
    margin-left: 0.6rem;
    background: var(--green-500);
    color: var(--ink-900) !important;
}

.menu-toggle {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid rgba(124, 252, 0, 0.35);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.22rem;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--green-500);
}

.hero {
    position: relative;
    min-height: min(90vh, 860px);
    display: grid;
    align-items: center;
    background: url('../img/vemadi-afuera.jpeg') center/cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(1200px 420px at 20% -10%, rgba(124, 252, 0, 0.32), transparent 60%),
        linear-gradient(110deg, rgba(12, 12, 12, 0.82) 20%, rgba(32, 32, 32, 0.6) 70%, rgba(124, 252, 0, 0.16));
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 38px 38px;
    opacity: 0.25;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    padding: 3.5rem 0 4.2rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
}

.hero-content {
    color: var(--white);
    padding-top: 1.5rem;
}

.hero-content h1 {
    color: var(--white);
    max-width: 16ch;
    margin-bottom: 1rem;
}

.hero-text {
    max-width: 58ch;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 1.8vw, 1.14rem);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2.2rem;
}

.hero-metrics {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.hero-metrics li {
    padding: 1rem 0.8rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(124, 252, 0, 0.25);
    border-radius: var(--radius-md);
    backdrop-filter: blur(6px);
}

.metric-value {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.35rem, 2.8vw, 2rem);
    font-weight: 700;
    color: var(--green-400);
    line-height: 1.05;
}

.metric-label {
    display: block;
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.84rem;
}

.hero-panel {
    align-self: center;
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2);
    padding: 1.7rem;
    border: 1px solid rgba(124, 252, 0, 0.35);
}

.hero-panel h2 {
    margin-bottom: 0.6rem;
}

.hero-panel p {
    color: var(--ink-500);
    margin-bottom: 0.9rem;
}

.hero-panel ul {
    list-style: none;
    display: grid;
    gap: 0.55rem;
    margin-bottom: 1.2rem;
}

.hero-panel li {
    position: relative;
    padding-left: 1.2rem;
    color: var(--ink-700);
}

.hero-panel li::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--green-500), var(--green-600));
    position: absolute;
    left: 0;
    top: 0.45rem;
}

.hero-phone {
    font-weight: 800;
    color: var(--ink-900);
    display: inline-flex;
}

.trust-band {
    padding: 1.4rem 0;
    background: var(--ink-900);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.trust-grid article {
    background: linear-gradient(135deg, rgba(124, 252, 0, 0.08), rgba(124, 252, 0, 0.02));
    border: 1px solid rgba(124, 252, 0, 0.22);
    border-radius: var(--radius-sm);
    padding: 1rem;
}

.trust-grid h3 {
    color: var(--green-400);
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.trust-grid p {
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.9rem;
}

.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.2rem;
    align-items: center;
}

.about-media img {
    border-radius: var(--radius-lg);
    min-height: 420px;
    object-fit: cover;
    box-shadow: var(--shadow-1);
    border: 1px solid rgba(124, 252, 0, 0.24);
}

.about-copy p {
    margin-bottom: 0.9rem;
    color: var(--ink-700);
}

.about-points {
    margin-top: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.about-points span {
    padding: 0.5rem 0.8rem;
    background: var(--surface-100);
    border: 1px solid rgba(124, 252, 0, 0.26);
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 700;
}

.catalog {
    background: radial-gradient(720px 280px at 85% 0%, rgba(124, 252, 0, 0.14), transparent),
        var(--surface-50);
}

.section-head {
    margin-bottom: 1.8rem;
}

.section-head h2 {
    max-width: 18ch;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.catalog-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(124, 252, 0, 0.2);
    box-shadow: var(--shadow-1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
}

.catalog-card img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.catalog-card div {
    padding: 1rem 1rem 1.25rem;
}

.catalog-card h3 {
    margin-bottom: 0.45rem;
}

.catalog-card p {
    color: var(--ink-700);
}

.gallery {
    background: var(--white);
}

.carousel {
    position: relative;
    margin-top: 1rem;
    background: var(--ink-900);
    border-radius: var(--radius-lg);
    padding: 1.2rem 1rem 1rem;
    border: 1px solid rgba(124, 252, 0, 0.2);
}

.carousel-viewport {
    overflow: hidden;
    border-radius: var(--radius-md);
}

.carousel-track {
    display: flex;
    transition: transform 0.45s ease;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    background: var(--ink-800);
}

.carousel-slide img {
    width: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
}

.carousel-slide figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem;
    color: var(--white);
    background: linear-gradient(180deg, transparent 8%, rgba(0, 0, 0, 0.82));
    font-size: 0.95rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 1px solid rgba(124, 252, 0, 0.35);
    border-radius: 999px;
    background: rgba(8, 8, 8, 0.74);
    color: var(--green-400);
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 2;
}

#prevBtn {
    left: 1.2rem;
}

#nextBtn {
    right: 1.2rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.95rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
}

.dot.is-active {
    background: var(--green-500);
}

.services {
    background: var(--surface-100);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid rgba(124, 252, 0, 0.2);
    padding: 1.3rem;
    box-shadow: var(--shadow-1);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    background: linear-gradient(90deg, var(--green-500), var(--green-600));
}

.service-card p {
    margin-top: 0.65rem;
    color: var(--ink-700);
}

.cta-strip {
    background: linear-gradient(120deg, var(--ink-900), #2b2b2b 50%, #343434);
    padding: 2.5rem 0;
    border-top: 1px solid rgba(124, 252, 0, 0.25);
    border-bottom: 1px solid rgba(124, 252, 0, 0.25);
}

.cta-strip-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cta-strip h2 {
    color: var(--white);
    max-width: 28ch;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
}

.contact-form,
.contact-info {
    background: var(--surface-50);
    border: 1px solid rgba(124, 252, 0, 0.25);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-1);
    padding: 1.25rem;
}

.contact-form label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.35rem;
    margin-top: 0.75rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #d7dccf;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    padding: 0.78rem 0.85rem;
    background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--green-600);
    box-shadow: 0 0 0 3px rgba(124, 252, 0, 0.18);
}

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
}

.form-note {
    margin-top: 0.6rem;
    font-size: 0.84rem;
    color: var(--ink-500);
}

.contact-info article {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(124, 252, 0, 0.2);
}

.contact-info article:last-of-type {
    border-bottom: 0;
}

.contact-info h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.contact-info p,
.contact-info a {
    color: var(--ink-700);
    font-weight: 600;
}

.map-frame {
    margin-top: 0.8rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    min-height: 250px;
    border: 1px solid rgba(124, 252, 0, 0.25);
}

.map-frame iframe {
    width: 100%;
    height: 260px;
    border: 0;
}

.whatsapp-float {
    position: fixed;
    right: 1.15rem;
    bottom: 1.15rem;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: var(--white);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.36);
    z-index: 999;
}

.site-footer {
    background: var(--ink-900);
    color: rgba(255, 255, 255, 0.9);
    padding-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 1.4rem;
    padding-bottom: 1.4rem;
}

.site-footer h3 {
    color: var(--green-400);
    margin-bottom: 0.55rem;
}

.footer-links {
    display: grid;
    gap: 0.3rem;
}

.footer-links a:hover {
    color: var(--green-400);
}

.footer-bottom {
    border-top: 1px solid rgba(124, 252, 0, 0.2);
    text-align: center;
    padding: 0.9rem 0 1.1rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: none;
}

@media (max-width: 980px) {
    :root {
        --header-height: 72px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav {
        position: absolute;
        top: 100%;
        right: 1rem;
        width: min(300px, calc(100% - 2rem));
        background: #181818;
        border: 1px solid rgba(124, 252, 0, 0.26);
        border-radius: 14px;
        padding: 0.6rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        box-shadow: var(--shadow-2);
    }

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

    .nav a {
        padding: 0.8rem 0.9rem;
    }

    .btn-nav {
        margin-left: 0;
        margin-top: 0.25rem;
        text-align: center;
    }

    .hero-grid,
    .about-grid,
    .contact-grid,
    .footer-grid,
    .cta-strip-wrap {
        grid-template-columns: 1fr;
        display: grid;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        padding: 2.4rem 0 3rem;
    }

    .hero-content {
        padding-top: 0;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

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

    .carousel {
        padding: 0.8rem 0.7rem 0.8rem;
    }

    .carousel-slide img {
        aspect-ratio: 4 / 3;
    }

    .carousel-btn {
        width: 38px;
        height: 38px;
    }

    #prevBtn {
        left: 0.65rem;
    }

    #nextBtn {
        right: 0.65rem;
    }

    .section {
        padding: 4.3rem 0;
    }
}

@media (max-width: 580px) {
    .container {
        width: min(100% - 1.3rem, var(--max));
    }

    .brand span {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .carousel-slide figcaption {
        font-size: 0.86rem;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        right: 0.8rem;
        bottom: 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
