:root {
    --bg-main: #0a0a0a;
    --bg-surface: #141414;
    --bg-accent: #1f1f1f;
    --primary: #c5a267; /* Oro cálido / Madera */
    --primary-light: #d4bc8d;
    --text-main: #ffffff;
    --text-muted: #b0b0b0;
    --white: #ffffff;
    --black: #000000;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    width: 100%;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

ul {
    list-style: none;
}

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

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
    transition: var(--transition);
}

#navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(197, 162, 103, 0.2);
}

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

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.logo img {
    height: 55px;
    width: auto;
    display: block;
}

.logo-bottom {
    font-family: 'Outfit', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: 3px;
    margin-top: 5px;
    opacity: 0.9;
    text-align: center;
}

.menu-toggle {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    color: var(--black);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(197, 162, 103, 0.4);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: url('hero.png') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 .highlight {
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-secondary {
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
}

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

.btn-whatsapp {
    background: #25d366;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    background: #128c7e;
}

/* Services */
.services {
    padding: 8rem 0;
    background: var(--bg-main);
}

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

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto 2rem;
}

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

.service-card {
    background: var(--bg-surface);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    background: var(--bg-accent);
    border-color: rgba(197, 162, 103, 0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: rgba(197, 162, 103, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: var(--primary);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-muted);
}

/* Portfolio */
.portfolio {
    padding: 8rem 0;
    background: var(--bg-surface);
}

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

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    transform: translateY(100%);
    transition: var(--transition);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-info span {
    color: var(--primary);
    font-weight: 600;
}

/* Contact */
.contact {
    padding: 8rem 0;
    background: var(--bg-main);
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    background: var(--bg-surface);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-info {
    padding: 4rem;
    background: var(--primary);
    color: var(--black);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 3rem;
    font-weight: 500;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
}

.info-item span {
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    border: 1px solid var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--black);
    color: var(--primary);
}

.contact-form {
    padding: 4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

input, textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

input:focus, textarea:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

/* Process Section */
.process {
    padding: 8rem 0;
    background: var(--bg-main);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    position: relative;
}

@media (max-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(197, 162, 103, 0.2);
    margin-bottom: -1.5rem;
    font-family: 'Playfair Display', serif;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.step p {
    color: var(--text-muted);
}

/* Testimonials */
.testimonials {
    padding: 10rem 0;
    background: var(--bg-surface);
    position: relative;
}

.testimonial-carousel {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 2rem;
}

.testimonial-container {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    min-width: 100%;
    background: linear-gradient(145deg, var(--bg-accent), #1a1a1a);
    padding: 5rem 3rem;
    border-radius: 30px;
    border: 1px solid rgba(197, 162, 103, 0.15);
    text-align: center;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8rem;
    color: var(--primary);
    opacity: 0.1;
    font-family: 'Playfair Display', serif;
}

.stars {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 1.2rem;
    letter-spacing: 5px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 3rem;
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--text-main);
}

.client {
    font-weight: 700;
    color: var(--primary);
    display: block;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 4rem;
}

.control-btn {
    background: rgba(197, 162, 103, 0.05);
    border: 1px solid rgba(197, 162, 103, 0.3);
    color: var(--primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.control-btn:hover {
    background: var(--primary);
    color: var(--black);
    transform: scale(1.1);
    border-color: var(--primary);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(197, 162, 103, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    transform: scale(1.5);
    width: 25px;
    border-radius: 10px;
}

/* FAQ */
.faq {
    padding: 10rem 0;
    background: var(--bg-main);
}

.faq-accordion {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-surface);
    margin-bottom: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(197, 162, 103, 0.2);
    transform: translateY(-2px);
}

.faq-question {
    padding: 2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main);
    transition: var(--transition);
}

.faq-question i {
    transition: transform 0.4s ease;
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    background: rgba(255, 255, 255, 0.01);
}

.faq-answer p {
    padding: 0 2.5rem 2.5rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

.faq-item.open {
    border-color: var(--primary);
    background: var(--bg-accent);
}

.faq-item.open .faq-answer {
    max-height: 300px;
    transition: max-height 0.5s ease-in-out;
}

.faq-item.open .faq-question {
    color: var(--primary);
}

.faq-item.open .faq-question i {
    transform: rotate(45deg);
}

/* Brands */
.brands {
    padding: 4rem 0;
    background: var(--bg-surface);
    text-align: center;
}

.brands p {
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.brands-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    opacity: 0.6;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 3px;
}

/* WhatsApp Options */
.whatsapp-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.wa-btn {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.wa-btn:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: #25d366;
    transform: translateX(10px);
}

.wa-icon {
    font-size: 2.5rem;
    color: #25d366;
}

.wa-text span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--black);
    opacity: 0.7;
}

.wa-text strong {
    font-size: 1.4rem;
    color: var(--black);
}

.coverage {
    margin-bottom: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.coverage h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-map {
    background: url('hero.png') center/cover no-repeat;
    position: relative;
    min-height: 400px;
}

.contact-map::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(197, 162, 103, 0.8);
    backdrop-filter: blur(2px);
}

.map-placeholder {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--black);
    text-align: center;
    padding: 2rem;
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.map-placeholder p {
    font-weight: 700;
    font-size: 1.2rem;
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

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

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 1.8rem;
        color: var(--primary);
        z-index: 1001;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        padding: 8rem 2rem 2rem;
        gap: 2rem;
        text-align: center;
        z-index: 1000;
        backdrop-filter: blur(15px);
    }

    .nav-links.active {
        display: flex;
    }

    .logo img {
        height: 50px;
    }
    
    .logo-bottom {
        font-size: 0.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }

    .contact-box {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 4rem 1.5rem;
    }

    .testimonial-card p {
        font-size: 1.1rem;
    }

    .faq-question {
        padding: 1.5rem;
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 0 1.5rem 1.5rem;
    }

    .contact-info, .contact-form {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .testimonials {
        overflow-x: hidden;
    }

    .hero h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .testimonial-card p {
        font-size: 1rem;
    }
}
