/* Design System */
:root {
    --primary: #B8846A;
    /* Rose Gold */
    --primary-dark: #A67258;
    --secondary: #2C2420;
    /* Charcoal - Color principal para títulos */
    --accent: #FFD700;
    --bg-light: #F8FAFB;
    --text-main: #2D3436;
    --text-muted: #636E72;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.85);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-bold: 0 20px 40px rgba(0, 0, 0, 0.1);
    --radius-lg: 20px;
    --radius-md: 12px;
}

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

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    line-height: 1.2;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

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

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

/* Utilities */
.btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    cursor: pointer;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: #2C2420;
    color: var(--white);
}

.btn-primary:hover {
    background: #403530;
    /* Un tono ligeramente más claro para el hover */
}

.btn-outline {
    border: 2px solid #2C2420;
    color: #2C2420;
    background: transparent;
}

.btn-outline:hover {
    background: rgba(44, 36, 32, 0.05);
    color: #1a1513;
    border-color: #1a1513;
}

.btn-secondary {
    background: #2C2420;
    color: var(--white);
}

.btn-dark {
    background: #000;
    color: var(--white);
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(184, 132, 106, 0.15);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Header & Nav */
header {
    height: 90px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: 0.4s ease;
}

header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(10px);
    height: 70px;
    box-shadow: var(--shadow-soft);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-text {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 300;
    color: #2C2420;
    text-transform: uppercase;
    letter-spacing: 0.28em;
}

.logo-text span {
    font-weight: 700;
    color: #B8846A;
    letter-spacing: 0.20em;
}

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

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--secondary);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #fff 0%, #f0f7f8 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 139, 147, 0.1) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text-area h1 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    font-size: clamp(2.2rem, 3.6vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: #2C2420;
    /* Charcoal */
}

.hero-text-area h1 span {
    font-style: italic;
    color: #B8846A;
    /* Rose Gold */
    position: relative;
}

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

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-image-area {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
}

.image-wrapper img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-bold);
    transition: 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.02);
}

.floating-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-bold);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.floating-card .icon {
    font-size: 1.5rem;
    background: rgba(184, 132, 106, 0.15);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.card-text {
    display: flex;
    flex-direction: column;
}

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

/* Services */
.services {
    padding: 100px 0;
    background: var(--white);
}

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

.section-header h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.service-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-bold);
    background: var(--white);
}

.service-image {
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-info {
    padding: 2rem;
}

.service-info h3 {
    font-family: 'Outfit', sans-serif;
    /* Mantenemos Outfit aquí para mayor legibilidad comercial */
    margin-bottom: 1rem;
    color: var(--secondary);
}

.service-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #fdfdfd;
}

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

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-bold);
}

.secondary-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center top;
}

.experience-badge {
    position: absolute;
    top: -30px;
    right: -30px;
    background: var(--primary);
    color: var(--white);
    padding: 2rem;
    border-radius: 50%;
    text-align: center;
    box-shadow: var(--shadow-bold);
    z-index: 2;
}

.experience-badge span {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.about-content h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.about-content p {
    margin-bottom: 1.2rem;
    color: var(--text-muted);
}

.btn-about {
    margin-top: 2rem;
}

.features-list {
    margin: 2rem 0;
    display: grid;
    gap: 1rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.features-list span {
    color: var(--primary);
    font-weight: 800;
}

/* CTA Section */
.cta {
    padding: 80px 0;
}

.cta-box {
    background: #8C7B72;
    /* Solo este cuadro cambia a color Arena */
    border-radius: 30px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    color: var(--white);
    box-shadow: 0 30px 60px rgba(140, 123, 114, 0.15);
}

.cta-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-text p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.cta-form-area {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-bold);
}

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 20px;
    border-radius: 10px;
    border: 1px solid #eee;
    background: #f9f9f9;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Footer */
footer {
    background: #111;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 5rem;
    margin-bottom: 4rem;
}

.footer-brand .logo-text,
.footer-brand .logo-text span {
    color: var(--white);
}

.footer-brand p {
    margin: 1.5rem 0;
    opacity: 0.6;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-links.colored a {
    border: none;
    transition: 0.3s;
    border-radius: 8px;
    /* Slightly rounded squares like the example */
}

.social-links.colored a.facebook {
    background: #1877F2;
}

.social-links.colored a.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-links.colored a.whatsapp {
    background: #25D366;
}

.social-links.colored a.tiktok {
    background: #000000;
}

.social-links.colored a.youtube {
    background: #FF0000;
}

.social-links.colored a svg {
    color: white;
    fill: white;
}

.social-links.colored a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul {
    display: grid;
    gap: 0.8rem;
}

.footer-links a {
    opacity: 0.6;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-contact p {
    opacity: 0.6;
    margin-bottom: 0.8rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-text-area h1 {
        font-size: 3rem;
    }

    .hero-content {
        gap: 2rem;
    }

    .cta-box {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem;
    }
}

@media (max-width: 768px) {

    .nav-links,
    header .btn-primary {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text-area {
        order: 2;
    }

    .hero-image-area {
        order: 1;
        margin-bottom: 3rem;
    }

    .hero-text-area h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

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

    .about-container {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

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

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

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #128c7e;
    box-shadow: 2px 10px 25px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}