@font-face {
    font-family: "GEInspira";
    src: url("/public/fonts/Nebula.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --color-primary: #1a8a6e;
    --color-secondary: #145f4d;
    --color-acento: #f0a500;
    --color-text: #2c2c2c;
    --color-muted: #666;
    --color-bg: #f8fffe;
    --color-white: #ffffff;
    --radius: 16px;
    --shadow: 0 4px 24px rgba(26,138,110,0.10);
    --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'GEInspira', 'Nunito', sans-serif;
    color: var(--color-text);
    background: var(--color-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(26,138,110,0.1);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 16px;
}

.logo img { height: 70px; object-fit: contain; }
.logo-text { font-size: 22px; font-weight: 900; color: var(--color-primary); text-decoration: none; }
.logo { text-decoration: none; }

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

.nav-link {
    padding: 8px 12px;
    color: var(--color-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover { background: rgba(26,138,110,0.08); color: var(--color-primary); }
.nav-link.active { color: var(--color-primary); }

.btn-wsp-header {
    padding: 8px 16px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-wsp-header:hover { background: #1da851; transform: translateY(-1px); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* HERO */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #e8f5f0 0%, #f0faf6 50%, #e0f2eb 100%);
    display: flex;
    align-items: center;
    padding-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26,138,110,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(26,138,110,0.1);
    color: var(--color-primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    color: var(--color-text);
    margin-bottom: 16px;
}

.hero-title span { color: var(--color-primary); }

.hero-subtitle {
    font-size: 18px;
    color: var(--color-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 14px 28px;
    background: var(--color-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: 'GEInspira', 'Nunito', sans-serif;
}

.btn-primary:hover { background: var(--color-secondary); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,138,110,0.3); }

.btn-outline {
    padding: 14px 28px;
    background: transparent;
    color: var(--color-primary);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    border: 2px solid var(--color-primary);
    transition: var(--transition);
}

.btn-outline:hover { background: var(--color-primary); color: #fff; }

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
}

.hero-stat-num {
    font-size: 28px;
    font-weight: 900;
    color: var(--color-primary);
}

.hero-stat-label {
    font-size: 13px;
    color: var(--color-muted);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img-wrap {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    animation: morph 8s ease-in-out infinite;
    box-shadow: var(--shadow);
}

@keyframes morph {
    0%, 100% { border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%; }
    50% { border-radius: 60% 40% 40% 60% / 60% 60% 40% 40%; }
}

/* SECTIONS */
.section { padding: 80px 0; }
.section-alt { background: var(--color-bg); }

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    background: rgba(26,138,110,0.1);
    color: var(--color-primary);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 900;
    color: var(--color-text);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--color-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* CARDS */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }

.card {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 32px 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(26,138,110,0.08);
}

.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(26,138,110,0.15); }

.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(26,138,110,0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 10px;
}

.card-text {
    font-size: 14px;
    color: var(--color-muted);
    line-height: 1.6;
}

/* PROMO CARDS */
.promo-card {
    background: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(26,138,110,0.08);
}

.promo-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(26,138,110,0.15); }

.promo-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.promo-img-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.promo-body { padding: 20px; }

.promo-badge {
    display: inline-block;
    background: var(--color-acento);
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 10px;
}

.promo-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 8px;
}

.promo-precio {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.precio-normal {
    font-size: 14px;
    color: #aaa;
    text-decoration: line-through;
}

.precio-promo {
    font-size: 22px;
    font-weight: 900;
    color: var(--color-primary);
}

/* TESTIMONIOS */
.testimonio-card {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(26,138,110,0.08);
}

.testimonio-stars { color: #f59f00; font-size: 18px; margin-bottom: 12px; }
.testimonio-texto { font-size: 15px; color: var(--color-muted); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.testimonio-autor { font-weight: 800; color: var(--color-text); font-size: 14px; }
.testimonio-mascota { font-size: 13px; color: var(--color-primary); }

/* EQUIPO */
.equipo-card {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(26,138,110,0.08);
    transition: var(--transition);
}

.equipo-card:hover { transform: translateY(-4px); }

.equipo-foto {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 3px solid var(--color-primary);
}

.equipo-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 16px;
}

.equipo-nombre { font-size: 16px; font-weight: 800; color: var(--color-text); }
.equipo-cargo { font-size: 13px; color: var(--color-primary); margin-top: 4px; font-weight: 600; }
.equipo-desc { font-size: 13px; color: var(--color-muted); margin-top: 10px; line-height: 1.5; }

/* CTA SECTION */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.cta-title { font-size: clamp(24px, 4vw, 40px); font-weight: 900; margin-bottom: 16px; }
.cta-subtitle { font-size: 16px; opacity: 0.85; margin-bottom: 36px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-white {
    padding: 14px 32px;
    background: #fff;
    color: var(--color-primary);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 15px;
    transition: var(--transition);
}

.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

.btn-wsp {
    padding: 14px 32px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 15px;
    transition: var(--transition);
}

.btn-wsp:hover { background: #1da851; transform: translateY(-2px); }

/* FOOTER */
.footer {
    background: #0d2e25;
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 48px;
}

.footer-logo { font-size: 22px; font-weight: 900; color: #fff; margin-bottom: 10px; }
.footer-slogan { font-size: 14px; opacity: 0.7; line-height: 1.6; margin-bottom: 20px; }
.footer-title { font-size: 14px; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-link { display: block; font-size: 14px; color: rgba(255,255,255,0.65); text-decoration: none; margin-bottom: 8px; transition: var(--transition); }
.footer-link:hover { color: #fff; padding-left: 4px; }
.footer-info { font-size: 14px; color: rgba(255,255,255,0.65); margin-bottom: 10px; line-height: 1.5; }

.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn { padding: 7px 14px; background: rgba(255,255,255,0.1); color: #fff; text-decoration: none; border-radius: 20px; font-size: 13px; font-weight: 600; transition: var(--transition); }
.social-btn:hover { background: var(--color-primary); }

.btn-wsp-footer { display: block; padding: 12px 20px; background: #25d366; color: #fff; text-decoration: none; border-radius: 10px; font-weight: 700; font-size: 14px; text-align: center; margin-bottom: 10px; transition: var(--transition); }
.btn-wsp-footer:hover { background: #1da851; }
.btn-cita-footer { display: block; padding: 12px 20px; background: rgba(255,255,255,0.1); color: #fff; text-decoration: none; border-radius: 10px; font-weight: 700; font-size: 14px; text-align: center; transition: var(--transition); }
.btn-cita-footer:hover { background: rgba(255,255,255,0.2); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 10px;
}

/* WHATSAPP FLOTANTE */
.wsp-flotante {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-wsp 2s infinite;
}

.wsp-flotante:hover { transform: scale(1.1); background: #1da851; }

@keyframes pulse-wsp {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 32px rgba(37,211,102,0.7); }
}

/* PAGE HERO */
.page-hero {
    background: linear-gradient(135deg, #e8f5f0, #f0faf6);
    padding: 120px 0 60px;
    text-align: center;
}

.page-hero-title { font-size: clamp(28px, 5vw, 48px); font-weight: 900; color: var(--color-text); margin-bottom: 12px; }
.page-hero-sub { font-size: 16px; color: var(--color-muted); }

/* FORM CONTACTO */
.form-contacto { display: grid; gap: 16px; }
.form-contacto input,
.form-contacto select,
.form-contacto textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'GEInspira', 'Nunito', sans-serif;
    outline: none;
    transition: var(--transition);
    color: var(--color-text);
}

.form-contacto input:focus,
.form-contacto select:focus,
.form-contacto textarea:focus { border-color: var(--color-primary); }

/* MOBILE FIRST */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: fixed;
        top: 70px; left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        border-bottom: 1px solid rgba(26,138,110,0.1);
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }
    .nav.open { display: flex; }
    .nav-link { padding: 12px 16px; border-radius: 10px; font-size: 15px; }
    .btn-wsp-header { text-align: center; padding: 12px 16px; border-radius: 10px; }
    .nav-toggle { display: flex; }

    .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; padding: 40px 0; }
    .hero-image { order: -1; }
    .hero-img-wrap { max-width: 260px; font-size: 80px; }
    .hero-btns { justify-content: center; }
    .hero-stats { justify-content: center; }

    .section { padding: 56px 0; }
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .cta-btns { flex-direction: column; align-items: center; }
    .wsp-flotante { bottom: 16px; right: 16px; width: 52px; height: 52px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-stats { flex-direction: column; gap: 16px; }
}

/* CARRUSEL */
.carrusel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.carrusel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carrusel-slide {
    min-width: 100%;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1/1;
    max-height: 500px;
}

.carrusel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

@media (max-width: 768px) {
    .carrusel-slide {
        aspect-ratio: 1/1;
        max-height: 350px;
    }
}

.carrusel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    transition: all 0.2s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carrusel-btn:hover {
    background: #1a8a6e;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.carrusel-prev { left: 12px; }
.carrusel-next { right: 12px; }

.carrusel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.carrusel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}

.carrusel-dot.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .carrusel-btn { width: 36px; height: 36px; font-size: 13px; }
}

/* LIGHTBOX MODAL */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 16px;
    cursor: zoom-out;
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: 95vw;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 48px rgba(0,0,0,0.5);
    cursor: default;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: fixed;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

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

.lightbox-prev, .lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.3); }

.carrusel-slide img { cursor: zoom-in; }

/* BARRA REDES SOCIALES FLOTANTE */
.redes-flotante {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 990;
    border-radius: 0 12px 12px 0;
    overflow: hidden;
    box-shadow: 2px 2px 16px rgba(0,0,0,0.15);
}

.redes-flotante a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.redes-flotante a:hover {
    width: 140px;
    justify-content: flex-start;
    padding-left: 12px;
    gap: 8px;
}

.redes-flotante a .red-label {
    display: none;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.redes-flotante a:hover .red-label {
    display: block;
}

@media (max-width: 768px) {
    .redes-flotante {
        top: auto;
        bottom: 100px;
        transform: none;
        border-radius: 0 8px 8px 0;
    }
    .redes-flotante a {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }
    .redes-flotante a:hover { width: 38px; padding-left: 0; justify-content: center; }
    .redes-flotante a:hover .red-label { display: none; }
}
