/* ---------- RESET Y VARIABLES ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --black: #0a0a0a;
    --gold: #c9a03d;
    --gold-dark: #a07e2c;
    --brown: #5c3e1f;
    --brown-light: #7a5530;
    --light-bg: #faf8f5;
    --white: #ffffff;
    --gray: #5a5a5a;
    --light-gray: #e0e0e0;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--black);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
}

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

section {
    padding: 80px 0;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 16px;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-header p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ---------- BOTONES ---------- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: var(--gold);
    color: var(--black);
    border: 2px solid var(--gold);
}

.btn-primary:hover {
    background: transparent;
    color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-3px);
}

/* ---------- WHATSAPP FLOTANTE ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 210px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.whatsapp-float i {
    font-size: 28px;
}

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

@media (max-width: 768px) {
    .whatsapp-float {
        width: auto;
        padding: 10px 18px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float span {
        display: none;
    }
    .whatsapp-float i {
        margin: 0;
    }
}

/* ---------- HEADER / MENÚ ---------- */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 16px 0;
}

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

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

.logo img {
    height: 50px;
    width: auto;
}

.logo-text h1 {
    font-size: 1.6rem;
    line-height: 1;
    color: var(--black);
    letter-spacing: -0.5px;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 1px;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    transition: var(--transition);
    font-size: 1rem;
}

.nav-menu a:hover {
    color: var(--gold);
}

/* DROPDOWN */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 40px;
    left: -20px;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 8px;
    padding: 16px 0;
    width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    list-style: none;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    top: 32px;
}

.dropdown-menu li {
    padding: 8px 20px;
}

.dropdown-menu li a {
    font-size: 0.9rem;
    display: block;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--black);
    margin: 5px 0;
    transition: var(--transition);
}

/* ---------- HERO ---------- */
.hero {
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)), url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 140px 0;
    position: relative;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-tag {
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 600;
}

.hero-text h2 {
    font-size: 3.5rem;
    margin: 20px 0;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 32px;
    opacity: 0.9;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 30px 40px;
    border-radius: 20px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 0.85rem;
}

/* ---------- NOSOTROS ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 24px;
}

.about-content p {
    color: var(--gray);
    margin-bottom: 30px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.feature i {
    font-size: 28px;
    color: var(--gold);
    margin-top: 5px;
}

.feature h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow);
    height: auto;
}

/* ---------- SERVICIOS ---------- */
.services {
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    border-bottom-color: var(--gold);
}

.service-card i {
    font-size: 46px;
    color: var(--gold);
    margin-bottom: 20px;
}

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

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 5px 0;
    color: var(--gray);
    font-size: 0.9rem;
    position: relative;
    padding-left: 20px;
}

.service-card li::before {
    content: "▹";
    color: var(--gold);
    position: absolute;
    left: 0;
}

/* ---------- TESTIMONIOS ---------- */
.testimonials {
    background: var(--white);
}

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

.testimonial-card {
    background: var(--light-bg);
    padding: 32px;
    border-radius: 20px;
    transition: var(--transition);
}

.testimonial-card i {
    font-size: 30px;
    color: var(--gold);
    opacity: 0.5;
    margin-bottom: 20px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 24px;
    color: var(--gray);
}

.client h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.client span {
    font-size: 0.8rem;
    color: var(--gold);
}

/* ---------- FAQ ---------- */
.faq {
    background: var(--light-bg);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    background: var(--white);
    transition: var(--transition);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.faq-question i {
    color: var(--gold);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: 0.4s ease;
    background: #fefefc;
    border-top: 1px solid transparent;
}

.faq-answer p {
    padding: 0 0 20px 0;
    color: var(--gray);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    border-top-color: var(--light-gray);
}

/* ---------- CONTACTO ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.info-card {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.info-card i {
    font-size: 28px;
    color: var(--gold);
    width: 40px;
}

.info-card h4 {
    margin-bottom: 5px;
}

.info-card a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.info-card a:hover {
    color: var(--gold);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px 20px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ---------- FOOTER ---------- */
footer {
    background: var(--black);
    color: var(--white);
    padding: 50px 0 20px;
}

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

.footer-logo img {
    height: 45px;
    margin-bottom: 15px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.footer-logo p {
    color: var(--gold);
    font-size: 0.9rem;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 20px;
    color: var(--gold);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: #aaa;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
    .hero-text h2 {
        font-size: 2.5rem;
    }
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        padding: 30px 0;
        box-shadow: var(--shadow);
        transition: 0.4s ease;
        gap: 20px;
    }
    .nav-menu.active {
        left: 0;
    }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding-left: 20px;
        width: 100%;
        display: none;
    }
    .dropdown.active .dropdown-menu {
        display: block;
    }
    .hero {
        padding: 80px 0;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-text h2 {
        font-size: 1.8rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .btn {
        text-align: center;
    }
}
