/**
 * Costa Dental Center - Main Stylesheet
 * Diseño profesional moderno para clínica dental
 */

/* ===== CSS Variables ===== */
:root {
    /* Primary Colors - Negro Elegante */
    --primary: #1a1a1a;
    --primary-light: #2d2d2d;
    --primary-dark: #0d0d0d;
    --primary-gradient: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    
    /* Secondary Colors - Dorado */
    --secondary: #c9a227;
    --secondary-light: #d4b84a;
    --secondary-dark: #a88620;
    
    /* Accent Colors - Dorado Claro */
    --accent: #f5d061;
    --accent-light: #f8dc85;
    --accent-dark: #d4b03e;
    
    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f5f5f5;
    --light-gray: #e5e5e5;
    --gray: #6c757d;
    --dark-gray: #2d2d2d;
    --black: #0d0d0d;
    
    /* Success/Error */
    --success: #28a745;
    --error: #dc3545;
    --warning: #ffc107;
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    
    /* Border Radius */
    --radius-sm: 5px;
    --radius-md: 10px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50%;
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

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

ul, ol {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

/* ===== Utility Classes ===== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 1;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    position: relative;
}

.section-subtitle::before,
.section-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.section-subtitle::before {
    right: calc(100% + 15px);
}

.section-subtitle::after {
    left: calc(100% + 15px);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray);
}

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

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-white { color: var(--white); }

.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-light { background-color: var(--off-white); }
.bg-gradient { background: var(--primary-gradient); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition-normal);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(26, 26, 26, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 26, 26, 0.4);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.4);
}

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

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

.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--primary-dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left {
    display: flex;
    gap: 25px;
}

.top-bar-left a {
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-left a:hover {
    color: var(--secondary);
}

.top-bar-left i {
    color: var(--secondary);
}

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

.social-links a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--white);
    transition: var(--transition-normal);
}

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

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    z-index: 1000;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header.scrolled .navbar {
    padding: 10px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    transition: var(--transition-normal);
}

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

.logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: var(--radius-md);
}

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

.logo-name {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
}

.logo-sub {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 600;
    letter-spacing: 2px;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-gray);
    position: relative;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

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

.dropdown-toggle i {
    font-size: 0.7rem;
    transition: var(--transition-normal);
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
    padding: 15px 0;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    color: var(--dark-gray);
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.dropdown-menu li a i {
    color: var(--secondary);
    width: 20px;
}

.dropdown-menu li a:hover {
    background: var(--off-white);
    color: var(--primary);
    padding-left: 30px;
}

/* Submenu Styles */
.dropdown-menu li.has-submenu {
    position: relative;
}

.dropdown-menu li.has-submenu > a {
    justify-content: flex-start;
}

.dropdown-menu li.has-submenu > a .submenu-arrow {
    margin-left: auto;
    font-size: 0.7rem;
    transition: var(--transition-normal);
}

.dropdown-menu li.has-submenu:hover > a .submenu-arrow {
    transform: translateX(3px);
}

.dropdown-menu .submenu {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition-normal);
    padding: 10px 0;
    z-index: 101;
}

.dropdown-menu li.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.dropdown-menu .submenu li a {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.dropdown-menu .submenu li a:hover {
    padding-left: 25px;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-appointment {
    padding: 12px 25px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition-normal);
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.97) 0%, rgba(45, 45, 45, 0.95) 100%);
    overflow: hidden;
    margin-top: 120px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 20%;
    animation: float 6s ease-in-out infinite;
}

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

.hero-subtitle {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: var(--radius-xl);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-title span {
    color: var(--accent);
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    line-height: 1.8;
}

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

.hero-features {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
}

.hero-feature i {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    font-size: 1.2rem;
    color: var(--accent);
}

.hero-feature span {
    font-weight: 500;
}

/* Hero Image */
.hero-image {
    position: relative;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.hero-image-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: var(--white);
    padding: 20px 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: pulse 2s ease-in-out infinite;
}

.hero-image-badge i {
    font-size: 2rem;
    color: var(--secondary);
}

.hero-image-badge-text h4 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0;
}

.hero-image-badge-text span {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ===== About Section ===== */
.about {
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.about-image-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-image-main:hover img {
    transform: scale(1.05);
}

.about-image-float {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
}

.about-image-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-experience {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--primary-gradient);
    color: var(--white);
    padding: 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-experience h3 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 5px;
    font-family: var(--font-primary);
    font-weight: 700;
}

.about-experience span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content {
    padding-right: 20px;
}

.about-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.about-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 25px;
}

.about-text {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 35px;
}

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

.about-feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
    border-radius: var(--radius-md);
    color: var(--primary);
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.about-feature:hover .about-feature-icon {
    background: var(--primary);
    color: var(--white);
}

.about-feature h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-family: var(--font-primary);
}

.about-feature p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===== Services/Treatments Section ===== */
.treatments {
    background: var(--off-white);
    position: relative;
}

.treatments::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%231a5f7a" opacity="0.05"/></svg>') repeat;
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.treatment-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
}

.treatment-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.treatment-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.treatment-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.treatment-card-icon {
    position: absolute;
    bottom: -25px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.treatment-card-content {
    padding: 35px 25px 25px;
}

.treatment-card-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-family: var(--font-primary);
    font-weight: 600;
}

.treatment-card-title a {
    color: var(--primary-dark);
}

.treatment-card-title a:hover {
    color: var(--primary);
}

.treatment-card-text {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 20px;
}

.treatment-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.treatment-card-link:hover {
    gap: 12px;
    color: var(--secondary);
}

.treatments-more {
    text-align: center;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

/* ===== Why Choose Us Section ===== */
.why-us {
    position: relative;
    background: var(--primary-gradient);
    color: var(--white);
    overflow: visible;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23ffffff" opacity="0.03"/></svg>') repeat;
    background-size: 80px 80px;
    z-index: -1;
    pointer-events: none;
}

.why-us .section-subtitle {
    color: var(--accent);
}

.why-us .section-subtitle::before,
.why-us .section-subtitle::after {
    background: var(--accent);
}

.why-us .section-title {
    color: var(--white);
}

.why-us .section-description {
    color: rgba(255, 255, 255, 0.8);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.why-us-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.why-us-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
}

.why-us-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 2rem;
    color: var(--accent);
    transition: var(--transition-normal);
}

.why-us-card:hover .why-us-card-icon {
    background: var(--accent);
    color: var(--primary);
    transform: rotateY(360deg);
}

.why-us-card h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-family: var(--font-primary);
    font-weight: 600;
}

.why-us-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.why-us-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-us-list li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.why-us-list li i {
    color: var(--accent);
    font-size: 0.75rem;
}

.why-us-benefits {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 50px;
    transition: var(--transition-normal);
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.benefit-item i {
    color: var(--accent);
    font-size: 1.1rem;
}

.benefit-item span {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
}

/* ===== Stats Section ===== */
.stats {
    background: var(--white);
    padding: 60px 0;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
    border-radius: var(--radius-full);
    font-size: 1.8rem;
    color: var(--primary);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
    font-family: var(--font-primary);
}

.stat-label {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 500;
}

/* ===== Testimonials Section ===== */
.testimonials {
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 0 50px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 40px;
    font-size: 8rem;
    font-family: var(--font-secondary);
    color: var(--primary);
    opacity: 0.1;
    line-height: 1;
}

.testimonial-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 4px solid var(--secondary);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-size: 1.2rem;
    color: var(--dark-gray);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.testimonial-role {
    font-size: 0.95rem;
    color: var(--gray);
}

.testimonial-rating {
    margin-top: 15px;
    color: var(--accent);
    font-size: 1.2rem;
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.testimonial-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

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

/* ===== Team Section ===== */
.team {
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.team-card-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.team-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: var(--transition-normal);
}

.team-card:hover .team-card-overlay {
    opacity: 1;
}

.team-card-social {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.team-card-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-full);
    color: var(--primary);
    transition: var(--transition-normal);
}

.team-card-social a:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
}

.team-card-content {
    padding: 25px;
    text-align: center;
}

.team-card-content h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    font-family: var(--font-primary);
    font-weight: 600;
}

.team-card-content span {
    color: var(--secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ===== CTA Section ===== */
.cta {
    background: var(--primary-gradient);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-text h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--white);
    margin-bottom: 15px;
}

.cta-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

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

/* ===== Contact Section ===== */
.contact {
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info {
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    padding: 50px;
    color: var(--white);
}

.contact-info h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-info-item i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-info-item h5 {
    color: var(--white);
    margin-bottom: 5px;
    font-family: var(--font-primary);
    font-weight: 600;
}

.contact-info-item p,
.contact-info-item a {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.contact-info-item a:hover {
    color: var(--accent);
}

.contact-social {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-social h5 {
    color: var(--white);
    margin-bottom: 15px;
    font-family: var(--font-primary);
    font-weight: 600;
}

.contact-social .social-links a {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--dark-gray);
}

.form-group label span {
    color: var(--error);
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition-normal);
    background: var(--off-white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.form-control::placeholder {
    color: var(--gray);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    margin-top: 10px;
}

.form-submit .btn {
    width: 100%;
}

/* ===== Map Section ===== */
.map-section {
    height: 450px;
    position: relative;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== Footer ===== */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    position: relative;
}

.footer-wave {
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

.footer-main {
    padding: 80px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
}

.footer-logo h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0;
}

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

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

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

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-family: var(--font-primary);
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-normal);
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--secondary);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact li i {
    color: var(--secondary);
    margin-top: 4px;
}

.footer-hours {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-hours h5 {
    color: var(--white);
    margin-bottom: 10px;
    font-family: var(--font-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-hours h5 i {
    color: var(--secondary);
}

.footer-hours p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.footer-bottom .fa-heart {
    color: var(--error);
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-normal);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: var(--white);
    color: var(--dark-gray);
    padding: 10px 15px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ===== Page Header ===== */
.page-header {
    background: var(--primary-gradient);
    padding: 150px 0 80px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23ffffff" opacity="0.05"/></svg>') repeat;
    background-size: 60px 60px;
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb span {
    color: var(--secondary);
}

/* ===== Treatment Page ===== */
.treatment-hero {
    padding: 60px 0;
}

.treatment-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.treatment-hero-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.treatment-hero-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.treatment-hero-content h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 25px;
}

.treatment-hero-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.treatment-features-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.treatment-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--dark-gray);
}

.treatment-features-list li i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.treatment-content {
    padding: 60px 0;
    background: var(--off-white);
}

.treatment-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.treatment-main h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.treatment-main h2:first-child {
    margin-top: 0;
}

.treatment-main p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.treatment-main ul {
    margin: 20px 0;
    padding-left: 20px;
}

.treatment-main ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--gray);
}

.treatment-main ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary);
}

.treatment-sidebar {
    position: sticky;
    top: 140px;
}

.treatment-sidebar-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
}

.treatment-sidebar-card h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-gray);
    font-family: var(--font-primary);
}

.sidebar-treatments-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-treatments-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: var(--radius-md);
    color: var(--dark-gray);
    transition: var(--transition-normal);
}

.sidebar-treatments-list a:hover,
.sidebar-treatments-list a.active {
    background: var(--primary);
    color: var(--white);
}

.sidebar-treatments-list a i {
    color: var(--secondary);
}

.sidebar-treatments-list a:hover i,
.sidebar-treatments-list a.active i {
    color: var(--accent);
}

.sidebar-cta {
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    color: var(--white);
}

.sidebar-cta i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.sidebar-cta h4 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.sidebar-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

/* ===== Brackets Cards ===== */
.brackets-section {
    margin: 40px 0;
}

.brackets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.bracket-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--gray-light);
}

.bracket-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.bracket-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.bracket-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.bracket-card:hover .bracket-card-image img {
    transform: scale(1.05);
}

.bracket-card-content {
    padding: 25px;
}

.bracket-card-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-family: var(--font-primary);
}

.bracket-card-text {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.bracket-card-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bracket-card-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-dark);
    padding: 5px 0;
}

.bracket-card-features li i {
    color: var(--primary);
    font-size: 0.75rem;
}

.bracket-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-gradient);
    color: var(--white);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .brackets-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Treatment Compact Components ===== */

/* Feature Grid - Reemplaza listas largas */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

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

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

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.feature-item i {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 1.1rem;
}

.feature-item-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-dark);
}

.feature-item-content p {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
    line-height: 1.5;
}

/* Info Box - Para información destacada */
.info-box {
    padding: 25px;
    border-radius: var(--radius-lg);
    margin: 25px 0;
}

.info-box.highlight {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--secondary);
}

.info-box.primary {
    background: var(--primary-gradient);
    color: var(--white);
}

.info-box.primary h3,
.info-box.primary h4 {
    color: var(--white);
}

.info-box h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    margin-bottom: 15px;
}

.info-box h4 i {
    color: var(--secondary);
}

.info-box p {
    margin-bottom: 10px;
}

.info-box p:last-child {
    margin-bottom: 0;
}

/* Compact Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.process-step {
    text-align: center;
    padding: 25px 15px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.process-step::before {
    content: attr(data-step);
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.process-step i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 12px;
}

.process-step h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.process-step p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
    line-height: 1.5;
}

/* Quick Facts Grid */
.quick-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.quick-fact {
    text-align: center;
    padding: 20px 15px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.quick-fact i {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.quick-fact .value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    display: block;
}

.quick-fact .label {
    font-size: 0.8rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Compact List - Para listas cortas */
.compact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
    padding: 0;
}

.compact-list li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.compact-list li::before {
    display: none;
}

.compact-list li i {
    color: var(--secondary);
    font-size: 0.85rem;
}

/* Two Column Layout */
.two-col-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 25px 0;
}

.two-col-layout > div {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.two-col-layout h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.two-col-layout h4 i {
    color: var(--secondary);
}

/* Age Ranges / Timeline */
.age-timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.age-item {
    flex: 1;
    min-width: 180px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--secondary);
}

.age-item .age {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.age-item p {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
}

/* Section Divider */
.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--light-gray), transparent);
    margin: 40px 0;
}

/* Treatment Intro Box */
.treatment-intro {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
}

.treatment-intro img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.treatment-intro-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.treatment-intro-content p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 992px) {
    .feature-grid.cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .two-col-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .feature-grid,
    .feature-grid.cols-2,
    .feature-grid.cols-3 {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .quick-facts {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .treatment-intro {
        flex-direction: column;
    }
    
    .treatment-intro img {
        width: 100%;
        height: 200px;
    }
    
    .age-timeline {
        flex-direction: column;
    }
    
    .age-item {
        min-width: 100%;
    }
}

/* ===== Gallery ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay i {
    color: var(--white);
    font-size: 2.5rem;
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-md);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--dark-gray);
    cursor: pointer;
    transition: var(--transition-normal);
}

.lightbox-close:hover {
    background: var(--error);
    color: var(--white);
}

/* ===== FAQ Section ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

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

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.faq-question:hover {
    background: var(--off-white);
}

.faq-question h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
    font-family: var(--font-primary);
    font-weight: 600;
    flex: 1;
    padding-right: 20px;
}

.faq-question i {
    color: var(--primary);
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 30px 25px;
    color: var(--gray);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 0;
        box-shadow: var(--shadow-xl);
        transition: var(--transition-normal);
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 15px 0;
        border-bottom: 1px solid var(--light-gray);
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    /* Submenu Mobile Styles */
    .dropdown-menu .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        display: none;
        min-width: auto;
    }

    .dropdown-menu li.has-submenu.active .submenu {
        display: block;
    }

    .dropdown-menu li.has-submenu > a .submenu-arrow {
        transform: rotate(90deg);
    }

    .dropdown-menu li.has-submenu.active > a .submenu-arrow {
        transform: rotate(-90deg);
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav-actions .btn-appointment span {
        display: none;
    }

    .about-grid,
    .contact-grid,
    .treatment-hero-grid,
    .treatment-content-grid {
        grid-template-columns: 1fr;
    }

    .about-image-float {
        right: 20px;
        bottom: -20px;
    }

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

    .hero {
        margin-top: 100px;
    }

    .page-header {
        margin-top: 60px;
        padding: 120px 0 60px;
    }

    .treatment-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        justify-content: center;
    }

    .top-bar-left {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-features {
        flex-direction: column;
        gap: 20px;
    }

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

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        justify-content: center;
    }

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

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-social,
    .footer-logo {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .back-to-top {
        right: 85px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .btn {
        padding: 12px 25px;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 30px 20px;
    }
}
