/* ============================================
   FUENTES Y VARIABLES
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Cormorant+Garamond:wght@600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --color-lime: #A4CE39;
    --color-black: #111111;
    --color-beige: #F5F2EC;
    --color-gold: #C8A96A;
    --color-white: #FFFFFF;
    --color-light-gray: #f9f8f6;
    
    --font-title: 'Playfair Display', 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================
   RESET GLOBAL
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-black);
    line-height: 1.6;
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   BOTONES GENERALES
   ============================================ */
.btn {
    padding: 0.9rem 1.8rem;
    border: 2px solid var(--color-black);
    background-color: transparent;
    color: var(--color-black);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.btn:hover {
    transform: scale(1.03);
}

.btn-primary {
    background-color: var(--color-lime);
    color: var(--color-black);
    border-color: var(--color-lime);
}

.btn-primary:hover {
    background-color: #95b930;
    border-color: #95b930;
    box-shadow: 0 8px 24px rgba(164, 206, 57, 0.25);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-black);
    border-color: var(--color-black);
}

.btn-secondary:hover {
    background-color: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
}

.btn-tertiary {
    background-color: transparent;
    color: var(--color-lime);
    border-color: var(--color-lime);
}

.btn-tertiary:hover {
    background-color: var(--color-lime);
    color: var(--color-black);
    border-color: var(--color-lime);
}

.btn-large {
    padding: 1.1rem 2.4rem;
    font-size: 1rem;
}

/* ============================================
   SECCIÓN 1: HERO PRINCIPAL
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.30);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    max-width: 700px;
    padding: 2rem;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.25;
    letter-spacing: -0.5px;
    animation: fadeInDown 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    letter-spacing: 0.3px;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons .btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    border-color: var(--color-white);
    backdrop-filter: blur(10px);
}

.hero-buttons .btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
}

/* ============================================
   SECCIÓN 2: QUIÉNES SOMOS
   ============================================ */
.about {
    padding: 7rem 2rem;
    background-color: var(--color-white);
}

.about-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.about-image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-slow);
}

.about-image-container:hover img {
    transform: scale(1.03);
}

.section-header {
    margin-bottom: 1.5rem;
}

.section-header.centered {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-lime);
    margin-bottom: 0.8rem;
}

.divider-gold {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold), transparent);
    margin: 1rem 0;
}

.section-header.centered .divider-gold {
    margin-left: auto;
    margin-right: auto;
}

.about-title {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-black);
    line-height: 1.3;
}

.about-text {
    color: var(--color-black);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
    letter-spacing: 0.3px;
}

.about-content .btn {
    margin-top: 0.5rem;
}

/* ============================================
   SECCIÓN 3: PRODUCTOS Y SOLUCIONES
   ============================================ */
.products {
    padding: 7rem 2rem;
    background-color: var(--color-beige);
}

.products-wrapper {
    max-width: 1300px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 3rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-block {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-slow);
}

.product-block:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.product-block:hover .product-image img {
    transform: scale(1.03);
}

.product-content {
    padding: 2rem;
    text-align: center;
}

.product-icon {
    font-size: 2.5rem;
    color: var(--color-lime);
    margin-bottom: 1rem;
}

.product-title {
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--color-black);
}

.product-description {
    color: var(--color-black);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    opacity: 0.85;
}

.product-link {
    color: var(--color-lime);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
}

.product-link:hover {
    color: #95b930;
    transform: translateX(3px);
}

/* ============================================
   SECCIÓN 4: GALERÍA MASONRY
   ============================================ */
.gallery {
    padding: 7rem 2rem;
    background-color: var(--color-white);
}

.gallery-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    margin-top: 3rem;
}

.masonry-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 1;
    transition: var(--transition-slow);
}

.masonry-item-tall {
    grid-row: span 2;
    aspect-ratio: auto;
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.masonry-item:hover img {
    transform: scale(1.03);
    filter: brightness(1.05);
}

.masonry-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    color: var(--color-white);
    padding: 1.5rem 1rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    transition: var(--transition-smooth);
}

.masonry-item:hover .masonry-caption {
    opacity: 1;
}

/* ============================================
   SECCIÓN 5: TRANSFORMAMOS TUS ESPACIOS
   ============================================ */
.solutions {
    padding: 7rem 2rem;
    background-color: var(--color-beige);
}

.solutions-wrapper {
    max-width: 1300px;
    margin: 0 auto;
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

.solution-card {
    position: relative;
    height: 450px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-slow);
}

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

.solution-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.solution-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.solution-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.solution-card:hover .solution-bg img {
    transform: scale(1.03);
}

.solution-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    color: var(--color-white);
}

.solution-title {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.solution-title i {
    color: var(--color-lime);
}

.solution-list {
    list-style: none;
    margin-bottom: 2rem;
}

.solution-list li {
    padding: 0.6rem 0;
    position: relative;
    padding-left: 1.8rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.solution-list li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--color-lime);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ============================================
   SECCIÓN 6: TESTIMONIOS
   ============================================ */
.testimonials {
    padding: 7rem 2rem;
    background-color: var(--color-white);
}

.testimonials-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--color-beige);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--color-gold);
    transition: var(--transition-slow);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 0.4rem;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
}

.testimonial-stars i {
    color: var(--color-gold);
    font-size: 0.85rem;
}

.testimonial-quote {
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-style: italic;
    color: var(--color-black);
    line-height: 1.8;
    font-weight: 500;
}

/* ============================================
   SECCIÓN 7: CALL TO ACTION
   ============================================ */
.cta-section {
    padding: 6rem 2rem;
    background-color: var(--color-black);
    color: var(--color-white);
}

.cta-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-title);
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.cta-subtitle {
    font-size: 1.15rem;
    text-align: center;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.85);
}

.cta-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.cta-buttons .btn {
    border-color: var(--color-white);
    color: var(--color-white);
}

.cta-buttons .btn-primary {
    background-color: var(--color-lime);
    color: var(--color-black);
    border-color: var(--color-lime);
}

.cta-map {
    margin-bottom: 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold), transparent);
    margin: 2.5rem auto;
}

.social-section {
    text-align: center;
}

.social-title {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.social-link {
    color: var(--color-lime);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.social-link:hover {
    color: #95b930;
    transform: translateY(-2px);
}

/* ============================================
   SECCIÓN 8: FOOTER
   ============================================ */
.footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 0;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.footer-wrapper {
    padding: 4rem 2rem 3rem;
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(164, 206, 57, 0.2);
}

.footer-brand {
    margin-bottom: 2.5rem;
}

.footer-logo {
    width: 90px;
    height: auto;
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
}

.footer-title {
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-lime);
    margin: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-column {
    text-align: left;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-lime);
    margin-bottom: 1.2rem;
}

.footer-column p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    display: block;
    margin-bottom: 0.6rem;
}

.footer-link:hover {
    color: var(--color-lime);
    transform: translateX(3px);
}

.footer-bottom {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
    text-align: center;
}

.footer-legal {
    margin-bottom: 1rem;
}

.legal-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.8rem;
    margin: 0 0.8rem;
    transition: var(--transition-smooth);
}

.legal-link:hover {
    color: var(--color-lime);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin-top: 0.8rem;
}

/* ============================================
   BOTÓN WHATSAPP FLOTANTE
   ============================================ */
.whatsapp-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 64px;
    height: 64px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    transition: var(--transition-smooth);
    z-index: 100;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}

/* ============================================
   ANIMACIONES
   ============================================ */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-title {
        font-size: 1.8rem;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .solution-card {
        height: 380px;
    }

    .solution-inner {
        padding: 2rem;
    }

    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .masonry-item-tall {
        grid-row: span 1;
        aspect-ratio: 1;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-wrapper {
        padding: 2.5rem 2rem;
    }

    .footer-column {
        text-align: center;
    }

    .footer-link {
        display: inline-block;
        margin: 0 0.5rem;
    }

    .whatsapp-button {
        width: 56px;
        height: 56px;
        font-size: 1.2rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .about, .products, .gallery, .solutions, .testimonials, .cta-section {
        padding: 4rem 1.5rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header.centered {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .about-title {
        font-size: 1.4rem;
    }

    .product-title {
        font-size: 1.1rem;
    }

    .solution-title {
        font-size: 1.4rem;
    }

    .testimonial-quote {
        font-size: 0.95rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 0.8rem 1.4rem;
        font-size: 0.85rem;
    }

    .btn-large {
        padding: 0.95rem 2rem;
        font-size: 0.9rem;
    }

    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .solution-card {
        height: 320px;
    }

    .solution-inner {
        padding: 1.5rem;
    }

    .solution-list li {
        font-size: 0.85rem;
        padding: 0.4rem 0;
    }

    .about, .products, .gallery, .solutions, .testimonials, .cta-section {
        padding: 3rem 1rem;
    }

    .about-wrapper {
        gap: 1.5rem;
    }

    .footer-wrapper {
        padding: 2rem 1rem 2rem;
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }

    .footer-content {
        padding: 0 1rem;
    }

    .footer-bottom {
        padding: 0 1rem 1.5rem;
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 1rem;
        bottom: 1rem;
        right: 1rem;
    }

    .hero {
        height: 80vh;
    }

    .product-image {
        height: 220px;
    }

    .cta-map {
        display: none;
    }
}
