:root {
    /* Brand Colors - Elizándra Conte */
    --color-primary: #912B88;
    /* Deep Purple */
    --color-primary-dark: #6a1b63;
    --color-primary-light: #b05da8;

    --color-secondary: #9E9E99;
    /* Warm Grey */
    --color-secondary-dark: #757571;

    --color-accent: #C5A059;
    /* Gold */

    /* Base Colors */
    --color-bg: #FCFCFC;
    --color-bg-alt: #F8F6F8;

    --color-text-dark: #4A4A4A;
    --color-text-light: #888888;
    --color-white: #ffffff;
    --color-border: #E5E5E5;

    /* Fonts */
    --font-heading: 'Marcellus', serif;
    --font-body: 'DM Sans', sans-serif;

    /* Spacing */
    --spacing-layout: 6rem;

    /* Components */
    --radius-sm: 8px;
    --radius-md: 16px;
    --shadow-sm: 0 4px 6px rgba(145, 43, 136, 0.05);
    --shadow-md: 0 10px 30px rgba(145, 43, 136, 0.08);
    --shadow-lg: 0 20px 40px rgba(145, 43, 136, 0.12);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-primary-light);
}

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

/* Utilities */
.h1-large {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
}

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

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

.section-padding {
    padding: var(--spacing-layout) 0;
}

.grid {
    display: grid;
    gap: 2.5rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .section-padding {
        padding: 4rem 0;
    }
}

/* Header */
header {
    background-color: var(--color-white);
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(145, 43, 136, 0.1);
}

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

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

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: var(--color-text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: 2px solid var(--color-primary);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(145, 43, 136, 0.3);
}

.btn:hover {
    background-color: transparent;
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(145, 43, 136, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 11, 70, 0.7) 0%, rgba(145, 43, 136, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: var(--color-white);
    padding: 0 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero h1 {
    color: var(--color-white);
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.95);
}

/* Service Cards */
.service-card {
    background: var(--color-white);
    padding: 3rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.4s ease;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--color-primary);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    background: -webkit-linear-gradient(45deg, var(--color-primary), var(--color-primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Testimonials */
.testimonial-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    position: relative;
    border-left: 5px solid var(--color-accent);
}

.testimonial-author {
    margin-top: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-heading);
}

.star-rating {
    color: var(--color-accent);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Contact Specific */
.contact-home {
    background-color: var(--color-bg-alt);
    background-image: radial-gradient(circle at top right, rgba(145, 43, 136, 0.05), transparent 40%);
}

.contact-form-wrapper {
    background: var(--color-white);
    padding: 3rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: #FAFAFA;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(145, 43, 136, 0.1);
}

/* Footer */
footer {
    background-color: #2D2D2D;
    color: #E0E0E0;
    padding-top: 5rem;
    padding-bottom: 2rem;
}

footer h3 {
    color: var(--color-white);
    margin-bottom: 2rem;
    font-size: 1.4rem;
}

footer a {
    color: #A0A0A0;
}

footer a:hover {
    color: var(--color-primary-light);
}

.whatsapp-float a {
    background: #25D366;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
}

/* Mobile Menu */
.hamburger-menu {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--color-primary);
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }

    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .main-nav {
        display: block;
        position: fixed;
        left: -100%;
        top: 0;
        background-color: var(--color-white);
        width: 85%;
        height: 100vh;
        padding-top: 6rem;
        transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .main-nav.active {
        left: 0;
    }

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

    .header-inner {
        padding: 0 1rem;
    }
}

/* Slider Styles */
.testimonial-slider-container {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 1rem 0;
}

.testimonial-track {
    display: flex;
    gap: 2rem;
    /* Matches JS gap */
    transition: transform 0.4s ease-out;
}

.testimonial-card {
    /* Flex sizing handled by JS */
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--color-accent);
}

.slider-btn {
    opacity: 0.9;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1) !important;
    background-color: var(--color-primary-dark) !important;
}

@media (max-width: 768px) {
    .testimonial-track {
        gap: 1rem;
    }

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