html, body {
    overflow-x: hidden;
    width: 100%;
}

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

:root {
    --primary-color: #0071dc;
    --secondary-color: #171f32;
    --accent-color: #4dc3ff;
    --text-color: #6a7c92;
    --heading-color: #171f32;
    --light-gray: #f8fbff;
    --white: #ffffff;
    --shadow: 0 10px 40px rgba(23, 31, 50, 0.08);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    background-color: #f1f4f8;
    overflow-x: hidden;
    padding-top: 130px; /* ADJUSTED FOR LARGER LOGO */
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    width: 90%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Header & Nav */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.2rem 0; /* MINIMAL PADDING */
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 110px; /* ENLARGED BRANDING */
    display: block;
    transition: var(--transition);
}

nav {
    margin-left: auto;
    margin-right: 3rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav ul li a {
    font-weight: 500;
    color: var(--secondary-color);
}

nav ul li a:hover {
    color: var(--primary-color);
}

.desktop-only {
    display: block;
}

.mobile-nav-group {
    display: none;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-color) 0%, #005bb5 100%);
    color: var(--white);
    padding: 0.7rem 1.6rem;
    border-radius: 0;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.75rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 113, 220, 0.1);
}

.cta-button:hover {
    background: linear-gradient(135deg, #005bb5 0%, var(--primary-color) 100%);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 113, 220, 0.25);
    color: var(--white);
}

/* Hero Section */
.hero-split {
    padding: 8rem 0 5rem;
    background: var(--white);
    min-height: auto;
}

.hero-split .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    text-align: left;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--secondary-color);
    line-height: 1.1;
    margin-bottom: 2.5rem;
    font-weight: 700;
    max-width: 600px;
}

.hero-content .cta-button {
    margin-bottom: 4rem;
}

.hero-content .description {
    color: #718096;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 550px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    animation: fadeInUp 1s ease;
}

/* Lifestyle / Spotlight */
.lifestyle {
    background: var(--white);
    overflow: hidden;
    padding: 6rem 0;
}

.lifestyle-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 5rem;
}

.lifestyle-img img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.lifestyle-content h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin: 1.5rem 0;
    color: var(--secondary-color);
    font-weight: 700;
}

/* FAQ / Accordion Section */
.faq-section {
    background: var(--white);
    padding: 6rem 0;
}

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

.faq-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.accordion-item {
    border-bottom: 1px solid #edf2f7;
    padding: 1.5rem 0;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    transition: var(--transition);
}

.accordion-header:hover {
    color: var(--primary-color);
}

.accordion-header i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
    color: #718096;
    line-height: 1.7;
    font-size: 1.05rem;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding-top: 1.5rem;
    transition: max-height 0.4s ease-in;
}

.accordion-item.active .accordion-header {
    color: var(--primary-color);
}

.accordion-item.active i {
    transform: rotate(45deg);
}

/* Sections Global */
section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Grid Layouts */
.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.card {
    flex: 0 1 380px;
    background: var(--white);
    padding: 3.5rem 2.5rem;
    border-radius: 24px;
    transition: var(--transition);
    text-align: center;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(23, 31, 50, 0.12);
}

.card img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 2.5rem;
    transition: var(--transition);
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.05));
}

.card:hover img {
    transform: scale(1.05);
}

.card h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.card p {
    color: #718096;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Solutions Section */
.solutions-section {
    background: #fcfdfe;
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.solutions-image .main-img {
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(0, 31, 63, 0.12);
    display: block;
}

.floating-card {
    position: absolute;
    bottom: 30px;
    right: -40px;
    background: var(--white);
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    width: 240px;
    animation: fadeInUp 1s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.solutions-content span {
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 1rem;
}

.solutions-content h2 {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    line-height: 1.1;
    font-weight: 800;
}

.solutions-content .desc {
    color: #64748b;
    margin-bottom: 4rem;
    font-size: 1.15rem;
    line-height: 1.8;
}

.features-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.feature-mini-item h4 {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
    font-weight: 800;
}

.feature-mini-item i {
    width: 45px;
    height: 45px;
    background: #f0f7ff;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.feature-mini-item p {
    font-size: 1rem;
    color: #718096;
    line-height: 1.7;
}

/* Why Puzagua Section */
.why-puzagua {
    background: var(--white);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.why-puzagua .container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.why-puzagua-content span {
    color: #6a7c92;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
}

.why-puzagua-content h2 {
    font-size: 3.2rem;
    color: var(--secondary-color);
    margin: 1.5rem 0;
    line-height: 1.2;
    font-weight: 800;
}

.strengths-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.strength-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    text-align: left;
    transition: var(--transition);
    border: 1px solid #edf2f7;
}

.strength-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 113, 220, 0.08);
}

.strength-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
}

/* Testimonials */
.testimonials {
    background: var(--white);
    padding: 8rem 0;
}

.testimonial-container {
    overflow: hidden;
    width: 100%;
}

.testimonial-grid {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    gap: 0;
}

.testimonial-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    min-width: 100%;
    padding: 1rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem 1.5rem;
    text-align: left;
    transition: var(--transition);
    border: 1px solid #f1f4f8;
    border-radius: 15px;
}

.stars {
    color: #ffc107;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.testimonial-pagination {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 4rem;
}

.dot {
    width: 10px;
    height: 10px;
    background: #edf2f7;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: #a0aec0;
}

/* CTA Card Section */
.cta-card-section {
    padding-bottom: 4rem;
}

.cta-dark-card {
    background: linear-gradient(135deg, #1a2a44 0%, #0a1428 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.cta-dark-card p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.5;
}

.cta-dark-card .cta-button {
    letter-spacing: 1px;
}

/* Footer Redesign */
footer {
    background: #0a1428;
    color: var(--white);
    padding: 4rem 0 2rem; /* REDUCED PADDING */
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem; /* REDUCED GAP */
    margin-bottom: 3rem;
}

.footer-brand {
    text-align: center; /* CENTER CONTENT */
}

.footer-logo {
    height: 70px; /* SLIGHTLY SMALLER */
    margin: 0 auto 1.5rem; /* CENTERED */
    filter: brightness(1.1);
    display: block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    justify-content: center; /* CENTER SOCIALS */
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-links h4, .footer-contact h4 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-contact i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

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

/* Balanced 2x2 Bento Grid */
.services-bento {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 6rem;
}

.bento-full-width {
    grid-column: span 2;
    min-height: auto !important;
}

.bento-item {
    background: var(--white);
    border-radius: 40px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
    border: 1px solid rgba(0, 113, 220, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    min-height: 550px; /* UNIFIED HEIGHT FOR BALANCE */
    scroll-margin-top: 120px; /* SPACE FOR STICKY HEADER */
}

.bento-item::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 113, 220, 0.02) 0%, transparent 70%);
    z-index: 0;
}

.bento-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px rgba(0, 113, 220, 0.08);
    border-color: rgba(0, 113, 220, 0.2);
}

.bento-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.8), 0 5px 15px rgba(0, 113, 220, 0.1);
}

.bento-tag {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.8;
}

.bento-item h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
    font-weight: 900;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.bento-item p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.bento-specs {
    margin-top: auto;
    padding: 1.2rem;
    background: #f8fafc;
    border-radius: 20px;
    display: flex;
    gap: 2rem;
    border: 1px solid #f1f5f9;
    position: relative;
    z-index: 1;
}

.bento-specs span {
    font-size: 0.65rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.3rem;
}

.bento-specs p {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0;
}

.bento-img {
    margin-top: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.bento-img img {
    max-height: 220px;
    width: auto;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.1));
}

.bento-item:hover .bento-img img {
    transform: scale(1.05) rotate(2deg);
}

.bento-maintenance {
    background: linear-gradient(135deg, #1a2a44 0%, #0a1428 100%) !important;
    color: var(--white);
    border: none !important;
}

.bento-maintenance .bento-icon {
    background: rgba(255,255,255,0.05);
    color: var(--primary-color);
    border: 1px solid rgba(255,255,255,0.1);
}

.bento-maintenance h3 { color: var(--white); }
.bento-maintenance p { color: rgba(255,255,255,0.7); }

/* --- RESPONSIVE DESIGN --- */

/* Mobile Menu Toggle (Hidden on Desktop) */
.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
    z-index: 3000;
}

@media (max-width: 1024px) {
    .container {
        width: 92%;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .solutions-grid {
        gap: 5rem;
    }

    .services-bento {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }

    header {
        padding: 0.5rem 0;
    }

    .logo img {
        height: 55px;
    }

    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 2500;
        margin: 0;
        padding: 8rem 2rem;
        transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    nav ul li a {
        font-size: 1.5rem;
        font-weight: 700;
    }

    .desktop-only {
        display: none;
    }

    .mobile-nav-group {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }

    .mobile-nav-group span {
        display: block;
        font-size: 0.8rem;
        color: var(--primary-color);
        text-transform: uppercase;
        letter-spacing: 2px;
        font-weight: 800;
        margin-bottom: 1rem;
    }

    .mobile-nav-group ul {
        display: flex;
        flex-direction: column;
        gap: 1rem !important;
        padding-bottom: 2rem;
    }

    .mobile-nav-group ul li a {
        font-size: 1.1rem !important;
        font-weight: 500 !important;
        opacity: 0.8;
    }

    header .cta-button {
        display: none; /* Hide on mobile header */
    }

    /* Grids & Layouts */
    .hero-split .container, 
    .lifestyle-grid, 
    .faq-grid, 
    .solutions-grid, 
    .why-puzagua .container,
    .strengths-grid,
    .features-mini-grid,
    .footer-content {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        margin: 0 auto 2rem;
    }

    .hero-content .description {
        margin: 0 auto;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .lifestyle-content h2, 
    .solutions-content h2, 
    .why-puzagua-content h2 {
        font-size: 2.2rem;
    }

    .feature-mini-item h4 {
        justify-content: center;
    }

    .floating-card {
        position: relative;
        right: 0;
        bottom: 0;
        margin: 2rem auto 0;
        width: 100%;
        max-width: 280px;
    }

    .services-bento {
        grid-template-columns: 1fr;
    }

    .bento-item {
        min-height: auto;
        padding: 2.5rem 1.5rem;
    }

    .bento-full-width {
        grid-column: span 1;
    }

    .bento-specs {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .testimonial-group {
        grid-template-columns: 1fr;
    }

    .cta-dark-card {
        padding: 3rem 1.5rem;
    }

    .cta-dark-card p {
        font-size: 1rem;
    }

    .footer-brand, .footer-links, .footer-contact {
        text-align: center;
    }

    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact p {
        justify-content: center;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .card {
        padding: 2.5rem 1.5rem;
    }
}