/* CSS Reset & Variables */
:root {
    /* Color Palette */
    --bg-main: #080808;
    --bg-nav: rgba(8, 8, 8, 0.85);
    --bg-card: #151515;
    --bg-card-hover: #1e1e1e;
    --color-primary: #38bdf8; /* Light Celestial Blue Accent */
    --color-primary-rgb: 56, 189, 248;
    --color-primary-hover: #0ea5e9;
    --text-white: #ffffff;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --border-color: #262626;
    --border-color-hover: #404040;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Typography */
    --font-title: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Container Width */
    --container-max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* Common Layout Elements */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    color: var(--color-primary);
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.title-divider {
    width: 60px;
    height: 4px;
    background-color: var(--color-primary);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 8px;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #080808;
    box-shadow: 0 4px 14px rgba(var(--color-primary-rgb), 0.35);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--color-primary-rgb), 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-white);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--text-white);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #20ba59;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* Header & Navigation Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
    transition: var(--transition-normal);
}

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

.logo-area {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 70px;
    border-radius: 4px;
}

.brand-text {
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 800;
    color: #080808;
    letter-spacing: -0.5px;
}

.brand-text .highlight {
    color: var(--color-primary);
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 600;
    color: #6b7280;
    transition: var(--transition-fast);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}

.nav-link:hover, 
	.nav-link.active {
    color: #080808;
}

.nav-link.active::after {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-header {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: #080808;
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 140px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50%;
    height: 60%;
    background: radial-gradient(circle, rgba(var(--color-primary-rgb), 0.08) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-accent {
    background-color: rgba(252, 192, 6, 0.1);
    color: var(--color-primary);
    border: 1px solid rgba(252, 192, 6, 0.2);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-white);
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-features {
    display: flex;
    gap: 24px;
}

.feat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
}

.feat-item i {
    color: var(--color-primary);
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: visible;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.hero-img {
    border-radius: 16px;
    max-height: 460px;
    object-fit: cover;
    filter: brightness(0.85);
}

.visual-badge {
    position: absolute;
    bottom: 20px;
    left: -20px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color-hover);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: float 4s ease-in-out infinite;
}

.badge-num {
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.badge-lbl {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Float Animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: var(--bg-card); /* Graphite Gray */
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.service-card {
    background-color: var(--bg-main); /* Black */
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px 24px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: transparent;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color-hover);
    background-color: #121212;
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    background-color: var(--color-primary);
}

.card-icon {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.service-name {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 16px;
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.meta-row {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.meta-row strong {
    color: var(--text-main);
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.problem strong { color: #f43f5e; }
.solution strong { color: #38bdf8; }
.benefit strong { color: #34d399; }

.services-cta {
    text-align: center;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    max-width: 800px;
    margin: 40px auto 0;
}

.cta-desc {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 24px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.testimonial-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    color: var(--color-primary);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 24px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.client-avatar {
    font-size: 2.2rem;
    color: var(--border-color-hover);
}

.client-details {
    display: flex;
    flex-direction: column;
}

.client-name {
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--text-white);
    font-size: 0.95rem;
}

.client-city {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Brands & Badges */
.brands-wrapper {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-bottom: 60px;
}

.brands-title {
    font-family: var(--font-title);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 24px;
}

.brands-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.brand-item {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-muted);
    opacity: 0.5;
    transition: var(--transition-fast);
}

.brand-item:hover {
    color: var(--color-primary);
    opacity: 1;
}

.trust-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}

.trust-feat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
}

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

/* Banner CTA */
.banner-cta {
    background: linear-gradient(135deg, #1e1e1e 0%, #080808 100%);
    border: 1px solid var(--border-color-hover);
    border-radius: 16px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.banner-content h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 8px;
}

.banner-content p {
    color: var(--text-muted);
    max-width: 600px;
}

/* About Us Section */
.about-section {
    padding: 80px 0;
    background-color: var(--bg-card); /* Graphite Gray */
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-container {
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 48px;
    align-items: start;
}

.about-content {
    display: flex;
    flex-direction: column;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 12px;
}

.about-content .title-divider {
    margin: 0 0 24px 0;
}

.about-text {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.about-text strong {
    color: var(--text-white);
}

.contact-card-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 12px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item i {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-top: 4px;
}

.contact-item h4 {
    font-family: var(--font-title);
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.about-map {
    width: 100%;
}

.map-card-wrapper {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-header {
    background-color: #080f1b;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--border-color);
}

.map-header .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.map-header .red { background-color: #ff5f56; }
.map-header .yellow { background-color: #ffbd2e; }
.map-header .green { background-color: #27c93f; }

.map-title-bar {
    margin-left: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.map-body {
    height: 350px;
    width: 100%;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--border-color-hover);
}

.faq-trigger {
    width: 100%;
    padding: 24px;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-white);
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-trigger .faq-icon {
    font-size: 0.9rem;
    color: var(--color-primary);
    transition: transform var(--transition-normal);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    transition: max-height var(--transition-normal) ease-out, padding var(--transition-normal) ease-out;
}

.faq-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    padding-bottom: 24px;
}

/* Accordion Active State */
.faq-item.active {
    border-color: var(--border-color-hover);
    background-color: var(--bg-card-hover);
}

.faq-item.active .faq-trigger .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-content {
    max-height: 200px; /* Fallback big height, adjusted by JS */
}

/* Footer Section */
.main-footer {
    background-color: #03060a;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 0;
    color: var(--text-muted);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand-info h3 {
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.footer-brand-info h3 .highlight {
    color: var(--color-primary);
}

.footer-brand-info p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--color-primary);
    color: #060b13;
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

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

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid #080f1b;
    padding: 24px 0;
    font-size: 0.85rem;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Floating WhatsApp Link */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: var(--text-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 0 0 0px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: var(--transition-fast);
    animation: pulse-whatsapp 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.05);
    background-color: #20ba59;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 0 0 0px rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 0 0 0px rgba(37, 211, 102, 0);
    }
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .banner-cta {
        flex-direction: column;
        text-align: center;
        padding: 32px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand-info {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 0;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #ffffff;
        transition: var(--transition-normal);
        border-top: 1px solid #e5e7eb;
        padding: 40px 24px;
        z-index: 999;
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    
    .nav-link {
        font-size: 1.15rem;
    }
    
    .header-cta .btn-header {
        display: none; /* Hide on mobile to prioritize main hero CTAs and floating buttons */
    }
    
    .hero-section {
        background-image: linear-gradient(rgba(8, 8, 8, 0.7), rgba(8, 8, 8, 0.75)), url('images/local-surbaterias.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding-top: 140px;
        padding-bottom: 60px;
    }

    .hero-visual {
        display: none;
    }

    .hero-content {
        align-items: center;
        width: 100%;
    }

    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 16px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-brand-info {
        grid-column: span 1;
    }
}
