/* ============================================= 
   FACILPET® — ESTILOS PRINCIPALES
   ============================================= */

/* ---------- VARIABLES & RESET ---------- */
:root {
    --verde-claro: #9fe09f;
    --rojo: #ff2c07;
    --naranja: #ff9869;
    --verde-oscuro: #194438;
    --blanco: #ffffff;
    --texto: #1a1a1a;
    --sombra: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radio: 16px;
    --trans: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    background: var(--verde-claro);
    color: var(--texto);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- ANIMACIONES DE SCROLL ---------- */
[data-anim] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-anim="fade-left"] {
    transform: translateX(50px);
}

[data-anim="fade-right"] {
    transform: translateX(-50px);
}

[data-anim].visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ---------- TOP BAR ---------- */
.top-bar {
    background: var(--verde-oscuro);
    color: var(--verde-claro);
    padding: 10px 24px;
    position: relative;
    z-index: 100;
}

.top-bar-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    text-align: center;
    font-size: 0.9rem;
}

.top-bar strong {
    color: var(--naranja);
}

.top-bar-cta {
    background: var(--rojo);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: background var(--trans);
}

.top-bar-cta:hover {
    background: var(--naranja);
}

/* ---------- NAVBAR ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--verde-claro);
    border-bottom: 2px solid rgba(25, 68, 56, 0.1);
    transition: background var(--trans), box-shadow var(--trans);
}

.navbar.scrolled {
    background: var(--verde-oscuro);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo img {
    height: 58px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--verde-oscuro);
    transition: color var(--trans);
}

.navbar.scrolled .nav-links a {
    color: var(--verde-claro);
}

.nav-links a:hover {
    color: var(--rojo);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--naranja);
}

.nav-btn {
    background: var(--rojo);
    color: #fff !important;
    padding: 8px 22px;
    border-radius: 30px;
    transition: background var(--trans), transform var(--trans) !important;
}

.nav-btn:hover {
    background: var(--naranja) !important;
    transform: translateY(-2px);
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--verde-oscuro);
    border-radius: 3px;
    transition: all var(--trans);
}

.navbar.scrolled .hamburger span {
    background: var(--verde-claro);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* MENÚ MÓVIL */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--verde-oscuro);
    z-index: 998;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--trans);
}

.mobile-menu.open {
    display: flex;
    opacity: 1;
    pointer-events: all;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
}

.mobile-link {
    display: block;
    padding: 20px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--verde-claro);
    border-bottom: 1px solid rgba(159, 224, 159, 0.15);
    transition: color var(--trans);
}

.mobile-link:hover {
    color: var(--naranja);
}

/* ---------- BOTONES ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1rem;
    transition: all var(--trans);
    cursor: pointer;
    border: none;
    font-family: 'Nunito', sans-serif;
}

.btn-primary {
    background: var(--rojo);
    color: #fff;
}

.btn-primary:hover {
    background: var(--naranja);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 44, 7, 0.4);
}

.btn-ghost {
    background: transparent;
    color: var(--verde-oscuro);
    border: 2px solid var(--verde-oscuro);
}

.btn-ghost:hover {
    background: var(--verde-oscuro);
    color: var(--verde-claro);
    transform: translateY(-3px);
}

.btn-light {
    background: var(--verde-claro);
    color: var(--verde-oscuro);
}

.btn-light:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ---------- WAVE ---------- */
.wave-bottom {
    position: relative;
    margin-top: -2px;
    line-height: 0;
}

.wave-bottom svg {
    width: 100%;
    display: block;
}

/* ---------- HERO ---------- */
.hero {
    background: var(--verde-claro);
    padding: 100px 24px 0;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    min-height: 620px;
}

.hero-badge {
    display: inline-block;
    background: var(--verde-oscuro);
    color: var(--verde-claro);
    padding: 7px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 900;
    color: var(--verde-oscuro);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text h1 em {
    font-style: italic;
    color: var(--rojo);
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--verde-oscuro);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
    opacity: 0.85;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* MASCOTA sin fondo */
.hero-mascota {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    position: relative;
    margin-right: -80px;
}

.mascota-img {
    width: 600px;
    max-width: none;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 24px 48px rgba(25, 68, 56, 0.3));
    animation: mascota-float 5s ease-in-out infinite;
    transform-origin: bottom center;
    margin-bottom: -8px;
}

@keyframes mascota-float {

    0%,
    100% {
        transform: translateY(0) rotate(-1.5deg);
    }

    50% {
        transform: translateY(-20px) rotate(1.5deg);
    }
}

/* ---------- QUÉ ES ---------- */
.que-es {
    background: var(--rojo);
    position: relative;
    padding: 80px 0 0;
}

.que-es-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding-bottom: 80px;
}

.section-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
    backdrop-filter: blur(4px);
}

.que-es-text h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.que-es-text p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 16px;
}

.que-es-img {
    position: relative;
    display: flex;
    justify-content: center;
}

.que-es-img img {
    max-height: 440px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
    transition: transform var(--trans);
}

.que-es-img img:hover {
    transform: scale(1.04) rotate(-1deg);
}

/* ---------- BENEFICIOS ---------- */
.beneficios {
    background: var(--verde-claro);
    position: relative;
    padding: 80px 0 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900;
    color: var(--verde-oscuro);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--verde-oscuro);
    opacity: 0.75;
}

.section-header.light h2 {
    color: var(--verde-claro);
}

.section-header.light p {
    color: rgba(159, 224, 159, 0.75);
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-bottom: 80px;
}

.ben-card {
    background: #fff;
    border-radius: var(--radio);
    padding: 36px 24px;
    text-align: center;
    box-shadow: var(--sombra);
    transition: transform var(--trans), box-shadow var(--trans);
}

.ben-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(25, 68, 56, 0.18);
}

.ben-icon {
    width: 72px;
    height: 72px;
    background: var(--verde-claro);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.ben-icon svg {
    width: 38px;
    height: 38px;
}

.ben-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--verde-oscuro);
    margin-bottom: 10px;
}

.ben-card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.65;
}

/* ---------- CÓMO USAR ---------- */
.como-usar {
    background: var(--verde-oscuro);
    position: relative;
    padding: 80px 0 0;
}

.pasos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding-bottom: 64px;
}

.paso-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(159, 224, 159, 0.2);
    border-radius: var(--radio);
    padding: 40px 28px 36px;
    text-align: center;
    position: relative;
    transition: background var(--trans), transform var(--trans);
}

.paso-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-6px);
}

.paso-num {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--rojo);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-weight: 900;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 44, 7, 0.5);
}

.paso-icono {
    width: 80px;
    height: 80px;
    margin: 12px auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.paso-icono svg {
    width: 100%;
    height: 100%;
}

.paso-card h3 {
    font-size: 1.2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
}

.paso-card p {
    font-size: 0.9rem;
    color: rgba(159, 224, 159, 0.8);
    line-height: 1.65;
}

.pasos-nota {
    text-align: center;
    color: rgba(159, 224, 159, 0.5);
    font-size: 0.85rem;
    padding-bottom: 30px;
    margin-top: -20px;
}

/* ---------- MAYORISTAS ---------- */
.mayoristas {
    background: var(--verde-claro);
    padding: 100px 0;
    position: relative;
}

.mayoristas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.section-label-dark {
    display: inline-block;
    background: var(--verde-oscuro);
    color: var(--verde-claro);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.mayoristas-info h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900;
    color: var(--verde-oscuro);
    line-height: 1.2;
    margin-bottom: 20px;
}

.mayoristas-info p {
    color: var(--verde-oscuro);
    line-height: 1.75;
    opacity: 0.8;
    margin-bottom: 32px;
}

.mayoristas-lista {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mayoristas-lista li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--verde-oscuro);
    font-weight: 600;
}

.check {
    background: var(--rojo);
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 900;
    flex-shrink: 0;
    margin-top: 1px;
}

/* FORMULARIO */
.form-wrap {
    background: var(--verde-oscuro);
    border-radius: 24px;
    padding: 44px 40px;
    box-shadow: 0 24px 60px rgba(25, 68, 56, 0.3);
}

.form-wrap h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--verde-claro);
    margin-bottom: 6px;
}

.form-sub {
    color: rgba(159, 224, 159, 0.65);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(159, 224, 159, 0.9);
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.07);
    border: 1.5px solid rgba(159, 224, 159, 0.25);
    border-radius: 12px;
    padding: 13px 16px;
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--trans), background var(--trans);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--naranja);
    background: rgba(255, 255, 255, 0.11);
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}

.btn-submit {
    width: 100%;
    background: var(--rojo);
    color: #fff;
    border: none;
    padding: 15px 28px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
    margin-top: 8px;
}

.btn-submit:hover {
    background: var(--naranja);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(255, 44, 7, 0.45);
}

.form-success {
    display: none;
    align-items: center;
    gap: 14px;
    background: rgba(159, 224, 159, 0.12);
    border: 1.5px solid rgba(159, 224, 159, 0.3);
    border-radius: 12px;
    padding: 18px 20px;
    margin-top: 16px;
}

.form-success.show {
    display: flex;
}

.success-icon {
    font-size: 2rem;
}

.form-success strong {
    color: var(--verde-claro);
    display: block;
    margin-bottom: 4px;
}

.form-success p {
    color: rgba(159, 224, 159, 0.75);
    font-size: 0.88rem;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--verde-claro);
    position: relative;
}

.footer-wave {
    line-height: 0;
    margin-bottom: -2px;
}

.footer-wave svg {
    width: 100%;
    display: block;
}

.footer-body {
    background: var(--verde-oscuro);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    height: 56px;
    width: auto;
    margin-bottom: 14px;
}

.footer-tagline {
    color: var(--verde-claro);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.footer-url {
    color: rgba(159, 224, 159, 0.5);
    font-size: 0.85rem;
}

.footer-nav h4,
.footer-social h4 {
    color: var(--verde-claro);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: rgba(159, 224, 159, 0.65);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color var(--trans);
}

.footer-nav a:hover {
    color: var(--verde-claro);
}

.ig-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--verde-claro);
    font-weight: 700;
    font-size: 0.95rem;
    transition: color var(--trans);
}

.ig-link:hover {
    color: var(--naranja);
}

.footer-bottom {
    border-top: 1px solid rgba(159, 224, 159, 0.12);
    padding-top: 24px;
    text-align: center;
    color: rgba(159, 224, 159, 0.35);
    font-size: 0.82rem;
}

.powered-by {
    margin-top: 8px;
    font-size: 0.78rem;
    color: rgba(159, 224, 159, 0.25);
}

.powered-by a {
    color: rgba(159, 224, 159, 0.45);
    font-weight: 700;
    transition: color var(--trans);
}

.powered-by a:hover {
    color: var(--naranja);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .beneficios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        min-height: 360px;
        gap: 0;
        padding-bottom: 20px;
        padding-right: 160px;
        /* espacio para no tapar el texto con la mascota */
        text-align: left;
        position: relative;
    }

    .hero-text h1 {
        font-size: clamp(1.8rem, 7vw, 2.6rem);
        margin-bottom: 24px;
    }

    /* Ocultar descripción y badge en mobile — aparecen en la sección siguiente */
    .hero-sub {
        display: none;
    }

    .hero-badge {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .btn {
        font-size: 0.88rem;
        padding: 11px 20px;
        white-space: nowrap;
    }

    .hero-mascota {
        position: absolute;
        right: 10px;
        bottom: 0;
        width: 220px;
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
        pointer-events: none;
    }

    .mascota-img {
        width: 220px;
        max-width: none;
        height: auto;
        object-fit: contain;
        animation: none;
    }

    .que-es-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .que-es-img {
        order: -1;
    }

    .que-es-img img {
        max-height: 300px;
        margin: 0 auto;
    }

    .mayoristas-grid {
        grid-template-columns: 1fr;
    }

    .form-wrap {
        padding: 32px 24px;
    }

    .pasos-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 540px) {
    .beneficios-grid {
        grid-template-columns: 1fr;
    }

    .mascota-img {
        width: 240px;
    }

    .hero {
        padding-top: 70px;
    }

    .top-bar p {
        font-size: 0.8rem;
    }
}