/* ========================================
   CSS Variables & Design System
   ======================================== */
:root {
    /* Margarita Prada Brand Colors */
    --color-primary: #B8935F;
    --color-primary-light: #D4AF6E;
    --color-primary-dark: #9A7A4F;
    --color-secondary: #FFFFFF;
    --color-text: #2c2c2c;
    --color-text-light: #666666;
    --color-accent: #C9A870;
    --color-background: #FFFFFF;

    /* Typography - Montserrat */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Dark Mode Variables */
body.dark-mode {
    --color-text: #e0e0e0;
    --color-text-light: #b0b0b0;
    --color-background: #1a1a1a;
    --color-primary: #9A7A4F;
    --color-primary-light: #B8935F;
    --color-primary-dark: #7A6140;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
}

body.dark-mode {
    background-color: #0f0f0f;
}

body.dark-mode .about-doctor,
body.dark-mode .gallery,
body.dark-mode .contact {
    background: #1a1a1a;
}

body.dark-mode .acreditaciones,
body.dark-mode .services {
    background: #252525;
}

body.dark-mode .logo-item,
body.dark-mode .service-card,
body.dark-mode .contact-form {
    background: #2a2a2a;
}

/* ========================================
   Reset & Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ========================================
   Utility Classes
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--color-primary);
    color: white;
    padding: var(--spacing-sm);
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes wave {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn var(--transition-slow) forwards;
}

.fade-in.visible {
    animation-play-state: running;
}

/* ========================================
   Typography
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--color-text);
    text-align: center;
    margin-bottom: var(--spacing-md);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    line-height: 1.8;
}

/* ========================================
   Buttons
   ======================================== */
.btn-primary,
.btn-link,
.btn-cta,
.btn-submit {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition-normal);
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-link {
    color: var(--color-primary-dark);
    border: 2px solid var(--color-primary);
    background: transparent;
}

.btn-link:hover {
    background: var(--color-primary);
    color: white;
}

.btn-cta {
    background: var(--color-accent);
    color: white;
    font-weight: 600;
}

.btn-cta:hover {
    background: #c29d2f;
    transform: scale(1.05);
}

.btn-submit {
    background: var(--color-primary);
    color: white;
    width: 100%;
    font-size: 1.1rem;
}

.btn-submit:hover {
    background: var(--color-primary-dark);
}

/* ========================================
   Header & Navigation
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--color-primary);
    z-index: 1000;
    transition: var(--transition-normal);
}

/* Header Top Row */
.header-top {
    background: var(--color-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-top-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1rem 2rem;
    gap: 2rem;
}

/* Desktop order: Social icons first, logo center, CTA last */
.header-cta {
    justify-self: end;
}

/* Social Icons */
.social-icons-header {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icon {
    color: white;
    opacity: 0.8;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Theme Toggle Button */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: transparent;
    color: white;
    cursor: pointer;
    transition: var(--transition-normal);
    margin-left: 0.5rem;
    position: relative;
}

.theme-toggle:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

.theme-toggle .sun-icon,
.theme-toggle .moon-icon {
    position: absolute;
    transition: all var(--transition-normal);
}

.theme-toggle .sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-toggle .moon-icon {
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

body.dark-mode .theme-toggle .sun-icon {
    opacity: 0;
    transform: rotate(-180deg) scale(0);
}

body.dark-mode .theme-toggle .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Logo Center */
.logo-center {
    text-align: center;
}

.logo-center a {
    display: inline-block;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    transition: var(--transition-normal);
}

.logo-center a:hover .logo-img {
    transform: scale(1.05);
}

/* Header CTA Button */
.header-cta {
    display: flex;
    justify-content: flex-end;
}

.btn-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: white;
    color: var(--color-primary-dark);
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.btn-header-cta:hover {
    background: var(--color-primary-light);
    color: white;
    transform: translateX(5px);
}

.btn-header-cta svg {
    transition: var(--transition-normal);
}

.btn-header-cta:hover svg {
    transform: translateX(3px);
}

/* Header Bottom Row - Navigation */
.header-bottom {
    background: rgba(168, 144, 120, 0.9);
    backdrop-filter: blur(10px);
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

/* Desktop navigation menu */
.nav-menu-desktop {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* Mobile navigation menu (hidden on desktop) */
.nav-menu {
    display: none;
}

.nav-menu-desktop li {
    margin: 0;
}

.nav-menu-desktop a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 400;
    color: white;
    position: relative;
    transition: var(--transition-normal);
    text-transform: capitalize;
}

.nav-menu-desktop a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-menu-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: white;
    transition: var(--transition-normal);
}

.nav-menu-desktop a:hover::after {
    width: 80%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* ========================================
   Hero Section - Option 2 Design
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url('images/hero-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 120px;
    padding: 4rem 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(200, 155, 94, 0.85) 0%, rgba(166, 139, 106, 0.90) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, rgba(166, 139, 106, 0) 0%, #A68B6A 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--spacing-md);
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: white;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    line-height: 1.3;
    max-width: 900px;
}

.hero-doctor-name {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: white;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.hero-specialty {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-address {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    max-width: 600px;
    line-height: 1.6;
}

.hero-divider {
    width: 200px;
    height: 1px;
    background: white;
    margin: 1.5rem auto;
    position: relative;
}

.hero-divider::before,
.hero-divider::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.hero-divider::before {
    left: 0;
}

.hero-divider::after {
    right: 0;
}

.hero-description {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
}

/* Hero Values - Inline Grid */
.hero-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 900px;
    margin: 2rem auto;
}

.hero-value-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.hero-value-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-value-item i {
    font-size: 2rem;
    color: white;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.hero-value-item h3 {
    color: white;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.hero-value-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    line-height: 1.4;
    font-weight: 300;
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-buttons .btn {
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background: white;
    color: #A68B6A;
}

.hero-buttons .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.hero-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Hero Contact CTA */
.hero-contact-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-contact-item {
    color: white;
    font-size: 0.95rem;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-contact-item i {
    font-size: 1.1rem;
}

.hero-contact-item:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: translateX(3px);
}

.contact-separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
}

/* Responsive adjustments for Hero Values */
@media (max-width: 900px) {
    .hero-values {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .hero-value-item:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .hero-values {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-value-item,
    .hero-value-item:last-child {
        min-height: 180px;
        max-width: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 0;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}


/* ========================================
   About Doctor Section
   ======================================== */
.about-doctor {
    padding: var(--spacing-xl) 0;
    background: #A68B6A;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-image .image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform var(--transition-slow);
}

.about-image .image-wrapper:hover img {
    transform: scale(1.05);
}

.about-content {
    padding: var(--spacing-md);
}

.about-text p {
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.9);
}

.about-text .btn-link {
    margin-top: var(--spacing-md);
}

.about-credentials {
    list-style: none;
    margin-top: 1.5rem;
    padding: 0;
}

.about-credentials li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.about-credentials li i {
    color: var(--color-primary-light);
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.section-title {
    color: white;
}

.curve-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
}

.curve-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

.curve-divider.bottom {
    position: relative;
    bottom: auto;
    margin-bottom: -8px;
}

.curve-divider.bottom svg {
    height: 120px;
    display: block;
}

/* Animated Waves at Top of About Section */
.animated-waves-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 1;
    pointer-events: none;
    transform: scaleY(-1);
}

/* ========================================
   Acreditaciones Section
   ======================================== */
/* ========================================
   Acreditaciones - Logo Carousel
   ======================================== */
.acreditaciones {
    padding: var(--spacing-lg) 0;
    background: #A68B6A;
    /* Matching the brown tone from the image */
    overflow: hidden;
    color: white;
}

.acreditaciones .section-title {
    color: white;
    margin-bottom: var(--spacing-lg);
    font-size: 1.5rem;
    text-align: center;
    padding: 0 var(--spacing-md);
}

.logo-slider-fullwidth {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.logo-track-fullwidth {
    display: flex;
    width: max-content;
    animation: scrollLogos 40s linear infinite;
}

.logo-track-fullwidth:hover {
    animation-play-state: paused;
}

.logo-slide {
    min-width: 25vw;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 3rem;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition-normal);
    flex-shrink: 0;
}

.logo-slide:hover {
    background: rgba(255, 255, 255, 0.05);
}

.logo-slide img {
    max-width: 280px;
    width: 100%;
    height: auto;
    opacity: 0.9;
    transition: var(--transition-normal);
}

.logo-slide:hover img {
    opacity: 1;
    transform: scale(1.05);
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-25vw * 7));
    }
}

/* ========================================
   Lipo Hightech Section
   ======================================== */
.lipo-hightech {
    padding: var(--spacing-xl) 0 0 0;
    background: #A68B6A;
    position: relative;
    overflow: hidden;
}

.lipo-hightech .container {
    position: relative;
    z-index: 2;
}

.category-label {
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: white;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.lipo-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
}

.lipo-content-container {
    padding-right: var(--spacing-lg);
}

.lipo-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    align-items: center;
}

.lipo-content {
    padding: var(--spacing-md);
}

.lipo-content .section-title {
    color: white;
    text-align: left;
    font-weight: 300;
    letter-spacing: 4px;
}

.lipo-text p {
    margin-bottom: var(--spacing-md);
    color: white;
    font-weight: 300;
    line-height: 1.8;
}

.lipo-image .image-wrapper {
    position: relative;
    overflow: hidden;
    box-shadow: none;
}

.lipo-image .image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0 15px 15px 0;
    clip-path: path('M 0,0 C 80,50 100,100 80,180 C 60,260 40,320 60,400 C 80,480 100,560 80,640 C 60,720 40,760 0,800 L 1200,800 L 1200,0 Z');
}

/* Lipo Hightech Mobile Responsive */
@media (max-width: 968px) {
    .lipo-grid-wrapper {
        display: block;
        grid-template-columns: 1fr;
    }

    .lipo-content-container {
        padding: 2rem 1rem;
    }

    .lipo-content .section-title {
        font-size: 1.8rem;
        letter-spacing: 2px;
        text-align: center;
        word-break: break-word;
    }

    .lipo-text {
        text-align: center;
    }

    .lipo-image {
        display: none;
    }
}

/* ========================================
   Procedimientos Showcase Section
   ======================================== */
.procedimientos-showcase {
    background: #A68B6A;
    overflow: hidden;
}

.showcase-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.showcase-block.faciales {
    background: #f5f0eb;
}

.showcase-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.showcase-block.corporales .showcase-content {
    background: #A68B6A;
}

.showcase-block.faciales .showcase-content {
    background: #A68B6A;
    order: 2;
}

.showcase-label {
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.showcase-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    letter-spacing: 4px;
    color: white;
    margin-bottom: 1.5rem;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    text-underline-offset: 10px;
}

.showcase-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 500px;
}

.btn-showcase {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    color: white;
    font-size: 0.9rem;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.btn-showcase:hover {
    background: white;
    color: #A68B6A;
    border-color: white;
}

.btn-showcase span {
    transition: transform 0.3s ease;
}

.btn-showcase:hover span {
    transform: translateX(5px);
}

/* Divider between showcase blocks */
.showcase-divider {
    width: 100%;
    padding: 40px 0;
    background: #A68B6A;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-divider::before {
    content: '';
    width: 90%;
    max-width: 1200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
}

/* Image wrapper with curve effect */
.showcase-image-wrapper {
    position: relative;
    overflow: hidden;
    background: #f5f0eb;
}

.showcase-image-wrapper.left {
    background: #A68B6A;
    order: 1;
}

.showcase-curve-mask {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.showcase-curve-mask::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 100%;
    background: #a68b6a;
    z-index: 2;
    clip-path: polygon(0% 0%, 50% 0%, 58% 1%, 65% 3%, 72% 6%, 78% 10%, 82% 14%, 85% 18%, 86% 22%, 85% 26%, 82% 30%, 78% 34%, 72% 38%, 66% 42%, 62% 46%, 60% 50%, 62% 54%, 66% 58%, 72% 62%, 78% 66%, 84% 70%, 88% 74%, 90% 78%, 88% 82%, 82% 86%, 74% 90%, 62% 94%, 46% 97%, 28% 99%, 0% 100%);
}

.showcase-curve-mask.left::before {
    left: auto;
    right: -1px;
    height: 100%;
    background: #A68B6A;
    clip-path: polygon(100% 0%, 50% 0%, 42% 1%, 35% 3%, 28% 6%, 22% 10%, 18% 14%, 15% 18%, 14% 22%, 15% 26%, 18% 30%, 22% 34%, 28% 38%, 34% 42%, 38% 46%, 40% 50%, 38% 54%, 34% 58%, 28% 62%, 22% 66%, 16% 70%, 12% 74%, 10% 78%, 12% 82%, 18% 86%, 26% 90%, 38% 94%, 54% 97%, 72% 99%, 100% 100%);
}

.showcase-curve-mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.showcase-curve-mask.left img {
    object-position: left center;
}

/* Responsive */
@media (max-width: 968px) {
    .showcase-block {
        grid-template-columns: 1fr !important;
        min-height: auto;
        display: block;
        width: 100%;
    }

    .showcase-content {
        padding: 3rem 2rem;
        order: 2 !important;
        width: 100%;
        box-sizing: border-box;
    }

    .showcase-image-wrapper,
    .showcase-image-wrapper.left {
        order: 1 !important;
        min-height: 300px;
        width: 100%;
    }

    .showcase-curve-mask::before,
    .showcase-curve-mask.left::before {
        display: none;
    }

    .showcase-title {
        font-size: 1.8rem;
        letter-spacing: 2px;
        word-break: break-word;
    }

    .showcase-content {
        padding: 2rem 1.5rem;
        box-sizing: border-box;
        width: 100%;
    }

    .showcase-text {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
}

/* ========================================
   Canales de Comunicación Section
   ======================================== */
.canales-comunicacion {
    /* padding: 0 0 var(--spacing-xl) 0; */
    background: #f5f0eb;
    position: relative;
    margin-top: -60px;
    border-bottom-color: #a68b6a;
    border-bottom-style: solid;
}

.canales-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.canales-content {
    padding: var(--spacing-md);
}

.canales-content .section-title {
    text-align: left;
    color: var(--color-text);
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
}

.canales-text p {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light);
    font-weight: 300;
    line-height: 1.8;
}

.social-links-large {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

.social-link-item:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
}

.vertical-carousel-wrapper {
    height: 600px;
    overflow: hidden;
    position: relative;
    border-radius: 15px;
}

.vertical-carousel-wrapper::before,
.vertical-carousel-wrapper::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 2;
    pointer-events: none;
}

.vertical-carousel-wrapper::before {
    top: 0;
    background: linear-gradient(to bottom, #f5f0eb 0%, rgba(245, 240, 235, 0) 100%);
}

.vertical-carousel-wrapper::after {
    bottom: 0;
    background: linear-gradient(to top, #f5f0eb 0%, rgba(245, 240, 235, 0) 100%);
}

.vertical-carousel-track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    animation: scrollVertical 30s linear infinite;
}

.vertical-carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scrollVertical {
    0% {
        transform: translateY(0);
    }

    100% {
        /* Move by half the total height (6 rows of 2 images each) */
        transform: translateY(calc(-50%));
    }
}

.gallery-thumb {
    aspect-ratio: 3/4;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.gallery-thumb img {
    width: 100%;
    ;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-thumb:hover img {
    transform: scale(1.05);
}

/* ========================================
   Servicios Destacados Section
   ======================================== */
.servicios-destacados {
    padding: var(--spacing-xl) 0;
    background: #A68B6A;
    position: relative;
}

.servicios-destacados .section-title {
    color: white;
    font-weight: 300;
    letter-spacing: 4px;
}

.servicios-destacados .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    max-width: 900px;
}

.destacados-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.destacado-card {
    position: relative;
    text-align: center;
    transition: transform var(--transition-normal);
}

.destacado-card:hover {
    transform: translateY(-10px);
}

.destacado-image {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.destacado-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.destacado-card:hover .destacado-image img {
    transform: scale(1.1);
}

.destacado-number {
    position: absolute;
    bottom: 15px;
    left: 15px;
    font-size: 4rem;
    font-weight: 300;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.destacado-card h3 {
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 0;
}

/* ========================================
   Gallery Section
   ======================================== */
.gallery {
    padding: var(--spacing-xl) 0;
    background: white;
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.tab-btn {
    padding: 0.8rem 2rem;
    border-radius: 30px;
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary-dark);
    font-weight: 500;
    transition: var(--transition-normal);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--color-primary);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(200, 181, 160, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.gallery-overlay span {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item.hidden {
    display: none;
}

/* ========================================
   Services Section
   ======================================== */
.services {
    padding: var(--spacing-xl) 0;
    background: var(--color-background);
}

.services-carousel {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.services-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-number {
    position: absolute;
    top: -20px;
    right: 30px;
    font-size: 4rem;
    font-family: var(--font-heading);
    color: var(--color-primary-light);
    font-weight: 700;
    opacity: 0.3;
}

.service-image {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: var(--spacing-md);
    aspect-ratio: 4/3;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.service-card p {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--color-primary);
    color: white;
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    padding: var(--spacing-lg);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-primary-dark);
    text-align: right;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: var(--spacing-xl) 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.contact-info h2 {
    text-align: left;
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
}

.contact-details h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
}

.contact-details p {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--color-primary);
    color: white;
    border-radius: 30px;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

.contact-form {
    background: var(--color-background);
    padding: var(--spacing-lg);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 10px;
    background: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--color-text);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-primary-light);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-normal);
}

.footer-col a:hover {
    color: var(--color-primary-light);
}

.social-icons {
    display: flex;
    gap: var(--spacing-md);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   Modal
   ======================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 3rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
}

.modal-close:hover {
    color: var(--color-primary-light);
    transform: scale(1.1);
}

/* ========================================
   Procedimientos de Cirugía Plástica Section
   ======================================== */
.procedimientos-cirugia {
    padding: 0 0 var(--spacing-xl) 0;
    background: #A68B6A;
}

.procedimientos-cirugia .section-title {
    color: white;
    padding-top: var(--spacing-lg);
}

.procedimientos-cirugia .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.procedimientos-cirugia .category-title {
    color: white;
    font-size: 1.3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 300;
}

.procedimientos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.procedimiento-card {
    position: relative;
    display: block;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    text-decoration: none;
}

.procedimiento-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.procedimiento-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.procedimiento-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.procedimiento-card:hover .procedimiento-image img {
    transform: scale(1.1);
}

.procedimiento-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0.7) 100%);
    transition: background 0.4s ease;
}

.procedimiento-card:hover .procedimiento-overlay {
    background: linear-gradient(to bottom,
            rgba(166, 139, 106, 0.2) 0%,
            rgba(166, 139, 106, 0.4) 50%,
            rgba(166, 139, 106, 0.9) 100%);
}

.procedimiento-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    text-align: center;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.procedimiento-card:hover .procedimiento-content {
    transform: translateY(0);
}

.procedimiento-content h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.procedimiento-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 300;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.procedimiento-card:hover .procedimiento-content p {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Procedimientos Grid */
@media (max-width: 1200px) {
    .procedimientos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .procedimientos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .procedimiento-image {
        height: 220px;
    }
}

@media (max-width: 600px) {
    .procedimientos-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .procedimiento-image {
        height: 250px;
    }

    .procedimiento-content p {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Box Procedimientos */
.cta-box-procedimientos {
    margin-top: 4rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-box-procedimientos h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-box-procedimientos p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-box-procedimientos .btn {
    padding: 1rem 2.5rem;
    background: white;
    color: #A68B6A;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-box-procedimientos .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 968px) {

    /* Mobile Header Layout */
    .header-top-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.8rem 1rem;
        gap: 0.5rem;
    }

    .header-cta {
        order: 1;
        flex: 0 0 auto;
    }

    .btn-header-cta {
        padding: 0;
        font-size: 0;
        gap: 0;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .btn-header-cta svg {
        width: 20px;
        height: 20px;
    }

    /* Hide social icons on mobile */
    .social-icons-header {
        display: none !important;
    }

    .logo-center {
        order: 2;
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .logo-img {
        max-height: 45px;
    }

    .menu-toggle {
        order: 3;
        display: flex;
    }

    .header-bottom {
        display: none;
    }

    /* Mobile Nav Menu - now independent element */
    .nav-menu {
        display: block;
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: #A68B6A;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .nav-menu li a {
        display: block;
        color: white;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-decoration: none;
    }

    .nav-menu li a:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    /* Social icons in mobile menu */
    .nav-menu .nav-social-icons {
        display: flex;
        gap: 1.5rem;
        padding-top: 2rem;
        margin-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        justify-content: center;
    }

    .nav-menu .nav-social-icons a {
        color: white;
        font-size: 1.3rem;
        padding: 0.5rem;
    }

    /* Reduce hero margin-top on mobile (smaller header) */
    .hero {
        margin-top: 70px;
    }

    .about-grid,
    .lipo-grid,
    .canales-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .lipo-content .section-title,
    .canales-content .section-title {
        text-align: center;
    }

    .destacados-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vertical-carousel-wrapper {
        height: 400px;
    }

    .services-carousel {
        padding: 0 var(--spacing-md);
    }

    .logo-slide {
        min-width: 50vw;
    }

    .carousel-btn {
        display: none;
    }
}

/* Hide social icons in mobile menu on desktop */
.nav-social-icons {
    display: none;
}

@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .services-track {
        grid-template-columns: 1fr;
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .destacados-grid {
        grid-template-columns: 1fr;
    }

    .destacado-number {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .logo-slide {
        min-width: 100vw;
        padding: 2rem;
    }

    .gallery-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    /* Fix long titles like LIPOABDOMINOPLASTIA */
    .showcase-title {
        font-size: 1.3rem !important;
        letter-spacing: 0px !important;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .showcase-content {
        padding: 1.5rem 1rem;
        overflow: hidden;
        max-width: 100%;
    }

    .showcase-text {
        font-size: 0.85rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .showcase-label {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
}

/* ========================================
   Por Qué Elegir Section
   ======================================== */
.porque-elegir {
    padding: var(--spacing-xl) 0;
    background: #f5f0eb;
}

.porque-elegir .section-title {
    color: var(--color-text);
    margin-bottom: 3rem;
}

.porque-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.porque-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.porque-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.porque-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #A68B6A 0%, #c4a97d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.porque-icon i {
    font-size: 1.8rem;
    color: white;
}

.porque-card h3 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #A68B6A;
    margin-bottom: 1rem;
}

.porque-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .porque-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .porque-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Ubicación Section
   ======================================== */
.ubicacion {
    padding: var(--spacing-xl) 0;
    background: #A68B6A;
}

.ubicacion .section-title {
    color: white;
    margin-bottom: 3rem;
}

.ubicacion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.ubicacion-info {
    color: white;
}

.ubicacion-address {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.ubicacion-address i {
    font-size: 1.5rem;
    color: white;
    margin-top: 0.2rem;
}

.ubicacion-address p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.ubicacion-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.ubicacion-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ubicacion-features li i {
    color: #c4a97d;
}

.ubicacion-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ubicacion-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ubicacion-contact .contact-item:hover {
    background: rgba(255, 255, 255, 0.25);
}

.ubicacion-contact .contact-item i {
    font-size: 1.3rem;
}

.ubicacion-contact .contact-item.whatsapp {
    background: #25D366;
}

.ubicacion-contact .contact-item.whatsapp:hover {
    background: #128C7E;
}

.ubicacion-mapa {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 968px) {
    .ubicacion-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   CTA Valoración Section
   ======================================== */
.cta-valoracion {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #f5f0eb 0%, #e8dfd6 100%);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-valoracion .section-title {
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.15rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta.primary {
    background: #A68B6A;
    color: white;
    border: 2px solid #A68B6A;
}

.btn-cta.primary:hover {
    background: #8a7359;
    border-color: #8a7359;
}

.btn-cta.whatsapp {
    background: #25D366;
    color: white;
    border: 2px solid #25D366;
}

.btn-cta.whatsapp:hover {
    background: #128C7E;
    border-color: #128C7E;
}

@media (max-width: 600px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   Footer Section
   ======================================== */
.footer {
    background: #A68B6A;
}

/* Marquee Banner */
.footer-marquee {
    background: #A68B6A;
    padding: 3rem 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.marquee-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    color: rgba(245, 240, 235, 0.95);
    letter-spacing: 5px;
    padding-right: 100px;
    text-transform: uppercase;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Footer Main */
.footer-main {
    padding: 4rem 0;
    background: #A68B6A;
}

.footer .footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: white;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-col ul li a span {
    opacity: 0.6;
}

/* Footer Center */
.footer-col.center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.btn-footer {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-footer:hover {
    background: white;
    color: #A68B6A;
    border-color: white;
}

/* Contact List */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-list li i {
    color: #c4a97d;
    font-size: 1rem;
    margin-top: 0.2rem;
}

.contact-list li span {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Footer Bottom */
.footer-bottom {
    padding: 1.5rem 0;
    background: rgba(0, 0, 0, 0.15);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Footer Responsive */
@media (max-width: 968px) {
    .footer .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-col.center {
        grid-column: span 2;
        order: -1;
        padding-bottom: 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 1rem;
    }

    .marquee-text {
        font-size: 3rem;
    }
}

@media (max-width: 600px) {
    .footer .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-col.center {
        grid-column: span 1;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col h4 {
        text-align: center;
    }

    .footer-col ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact-list li {
        justify-content: center;
        text-align: center;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .marquee-text {
        font-size: 2rem;
    }
}

/* ========================================
   Agenda Hero Section
   ======================================== */
.agenda-hero {
    position: relative;
    min-height: 600px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #A68B6A;
    overflow: hidden;
}

.agenda-overlay {
    display: none;
}

.agenda-container {
    display: contents;
}

.agenda-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    background: #A68B6A;
}

.agenda-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.agenda-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    color: white;
    line-height: 1.2;
    letter-spacing: 2px;
}

.agenda-form-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    background: #a68b6a;
}

.agenda-form {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.agenda-form .form-group {
    margin-bottom: 1.2rem;
}

.agenda-form label {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.agenda-form input,
.agenda-form select {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.agenda-form input:focus,
.agenda-form select:focus {
    outline: none;
    border-color: #A68B6A;
}

.phone-input {
    display: flex;
    gap: 0.5rem;
}

.phone-input .country-code {
    width: 110px;
    flex-shrink: 0;
}

.phone-input input {
    flex: 1;
}

.btn-valoracion {
    width: 100%;
    padding: 1.2rem;
    background: #A68B6A;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 1.5rem;
}

.btn-valoracion:hover {
    background: #8a7359;
}

.form-disclaimer {
    font-size: 0.75rem;
    color: #888;
    text-align: center;
    margin-top: 1.2rem;
    line-height: 1.6;
}

.agenda-image {
    display: none;
}

@media (max-width: 968px) {
    .agenda-hero {
        grid-template-columns: 1fr;
    }

    .agenda-content {
        padding: 3rem 2rem;
        text-align: center;
    }

    .agenda-form-wrapper {
        padding: 3rem 2rem;
    }
}

@media (max-width: 600px) {
    .agenda-content {
        padding: 2rem 1.5rem;
    }

    .agenda-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .agenda-form {
        padding: 2rem;
    }

    .phone-input {
        flex-direction: column;
    }

    .phone-input .country-code {
        width: 100%;
    }
}