:root {
    /* Color Palette - Enhanced */
    --color-primary: #3B82F6;
    --color-primary-dark: #2563EB;
    --color-primary-light: #93C5FD;
    --color-secondary: #10B981;
    --color-secondary-dark: #059669;
    --color-secondary-light: #6EE7B7;
    --color-accent: #F59E0B;
    --color-accent-dark: #D97706;

    /* Text Colors */
    --color-text: #111827;
    --color-text-light: #6B7280;
    --color-text-muted: #9CA3AF;

    /* Background Colors */
    --color-bg-light: #F8FAFC;
    --color-bg-lighter: #F1F5F9;
    --color-white: #FFFFFF;
    --color-white-translucent: rgba(255, 255, 255, 0.95);
    --color-gold: #F59E0B;

    /* Gradient Definitions */
    --gradient-primary: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    --gradient-secondary: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --gradient-hero: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    --gradient-card: linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 100%);

    /* Spacing */
    --section-padding: 120px 0;
    --container-width: 1280px;
    --gap-sm: 1rem;
    --gap-md: 2rem;
    --gap-lg: 3rem;

    /* Border Radius */
    --br-sm: 8px;
    --br-md: 12px;
    --br-lg: 20px;
    --br-xl: 24px;
    --br-btn: 50px;

    /* Shadows - Enhanced */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.15);
    --shadow-float: 0 8px 30px rgba(59, 130, 246, 0.15);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--color-text);
    line-height: 1.7;
    background: var(--color-white);
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Subtle pattern */
    background-image: url('assets/paw_pattern.png');
    background-size: 400px;
    background-repeat: repeat;
    background-blend-mode: overlay;
    background-attachment: fixed;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    line-height: 1.3;
    letter-spacing: -0.015em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.75rem;
    font-weight: 700;
}

h3 {
    font-size: 2rem;
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

h5 {
    font-size: 1.25rem;
    font-weight: 600;
}

h6 {
    font-size: 1.1rem;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

a:hover {
    color: var(--color-primary);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Selection Styles */
::selection {
    background: var(--color-primary);
    color: white;
}

::-moz-selection {
    background: var(--color-primary);
    color: white;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Focus Styles */
*:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: var(--br-sm);
}

button:focus {
    outline-offset: 4px;
}

/* Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--color-bg-light);
    /* Pattern inherited from body, but we need to ensure blend mode works with this color */
    background-blend-mode: multiply;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: var(--gradient-secondary);
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

/* Enhanced Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--br-btn);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition-slow);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-float);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-outline {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    background: var(--color-white);
}

.btn-outline:hover {
    background: var(--gradient-primary);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
}

/* Top Bar - Enhanced */
.top-bar {
    background: var(--gradient-primary);
    color: white;
    padding: 12px 0;
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
}

.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 3s ease;
}

.top-bar:hover::before {
    left: 100%;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    letter-spacing: 0.025em;
}

.top-info i {
    margin-right: 8px;
    font-size: 1.1em;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-link {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--br-md);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}

.social-link i {
    font-size: 1.2rem;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Header - Enhanced */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-white-translucent);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.header.scrolled {
    background: var(--color-white);
    box-shadow: var(--shadow-xl);
}

/* Header Main Section - Enhanced */
.header-main {
    background: transparent;
    padding: 12px 0;
    position: relative;
}

.header-main-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

/* Logo - Enhanced */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 70px;
    width: 70px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: var(--transition-normal);
}

/* Brand Stacked - Enhanced */
.brand-stacked {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
    margin-right: auto;
    padding-left: 15px;
    position: relative;
}

.brand-stacked::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 15px;
    width: 60px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.brand-line1 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
}

.brand-line2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--gradient-secondary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(16, 185, 129, 0.1);
}

/* Contact Group - Enhanced */
.header-contact-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--br-md);
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
    transition: left 0.5s ease;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.85rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1;
}

.contact-icon.whatsapp-icon {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 1;
}

.contact-label {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    transition: var(--transition-normal);
    text-decoration: none;
}

.contact-value:hover {
    color: var(--color-primary);
}

.contact-value.whatsapp-value {
    color: #25D366;
}

.contact-value.whatsapp-value:hover {
    color: #128C7E;
}

.contact-hours {
    font-size: 0.65rem;
    color: var(--color-text-muted);
    font-weight: 500;
    line-height: 1.3;
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    /* Oculto por defecto en desktop */
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-primary);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--br-md);
    transition: var(--transition-normal);
}

.menu-toggle:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: scale(1.1);
}

/* Header Navigation - Enhanced */
.header-nav {
    background: var(--gradient-primary);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.header-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.05) 50%,
            transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.header-nav .container {
    padding: 0;
    position: relative;
    z-index: 1;
}

/* Forzar navegación horizontal en desktop */
@media (min-width: 769px) {
    .nav-list {
        display: flex !important;
        flex-direction: row !important;
        position: static !important;
        background: none !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .menu-toggle {
        display: none !important;
    }
}

.nav-list {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: none !important;
}

.nav-list li {
    position: relative;
}

.nav-link {
    display: block;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 0.85rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-secondary);
    transition: var(--transition-normal);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    color: rgba(255, 255, 255, 0.95);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 1);
}


/* Hero Section - Enhanced */
.hero {
    height: 90vh;
    min-height: 600px;
    background: url('assets/hero_bg.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
    animation: floating 6s ease-in-out infinite alternate;
}

@keyframes floating {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(20px, -20px) scale(1.05);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(248, 250, 252, 0.7) 0%,
            rgba(241, 245, 249, 0.5) 100%);
    backdrop-filter: blur(0.5px);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero-brand-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 5px;
    letter-spacing: 1px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8), -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}

/* Hero Carousel */
.hero-carousel-container {
    max-width: 900px;
    z-index: 2;
    position: relative;
    padding: 30px 20px;
}

.hero-brand-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 1px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.8);
    position: relative;
}

.hero-brand-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.hero-brand-blue {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.hero-brand-green {
    background: var(--gradient-secondary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

/* Hero Carousel - Enhanced */
.hero-carousel {
    position: relative;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--br-xl);
    background: var(--gradient-card);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.8);
    overflow: hidden;
}

.hero-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
            rgba(59, 130, 246, 0.02) 0%,
            rgba(16, 185, 129, 0.02) 50%,
            rgba(245, 158, 11, 0.02) 100%);
    pointer-events: none;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
}

.carousel-slide h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-slide p {
    font-size: 1.3rem;
    color: var(--color-text-light);
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.6;
    font-weight: 500;
}

.carousel-slide.exit {
    opacity: 0;
    visibility: hidden;
    transform: rotateY(90deg) scale(0.8);
}

/* Hours Display */
.hours-display,
.promo-display {
    background: rgba(255, 255, 255, 0.85);
    padding: 25px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(100, 181, 246, 0.2);
    margin-top: 10px;
    max-width: 500px;
    transition: all 0.3s ease;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    padding-bottom: 5px;
}

.hours-row:last-of-type {
    border-bottom: none;
}

.hours-row .day {
    color: var(--color-primary-dark);
}

.hours-note {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-style: italic;
    margin-top: 10px;
}

/* Promo Display */
.promo-display h3 {
    color: #E65100;
    /* Deep orange */
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.promo-display p {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 8px;
}

.promo-sub {
    font-weight: 700;
    color: var(--color-secondary-dark);
}

/* Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--color-primary);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 350px;
    }

    .hours-display,
    .promo-display {
        padding: 15px 25px;
        width: 100%;
    }
}


.hero-brand-blue {
    color: var(--color-primary-dark);
}

.hero-brand-green {
    color: var(--color-secondary-dark);
}

@media (min-width: 768px) {
    .hero-brand-title {
        font-size: 3rem;
    }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--color-text);
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

/* Removed static p style to avoid interference with carousel */

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    /* Ensure buttons wrap on small screens */
}

.booking-info {
    margin-bottom: 20px;
}

.booking-text {
    font-size: 1.25rem;
    color: var(--color-primary-dark);
    /* Darker blue for contrast */
    margin-bottom: 20px;
    font-weight: 700;
    background-color: rgba(255, 255, 255, 0.85);
    /* Semi-transparent white backing */
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
}

.btn-whatsapp-hero {
    background-color: #25D366;
    color: white;
    padding: 12px 30px;
    border-radius: var(--br-btn);
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-whatsapp-hero:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: var(--br-card);
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.about-card i {
    font-size: 3rem;
    margin-bottom: 20px;
}

.icon-blue {
    color: var(--color-primary);
}

.icon-green {
    color: var(--color-secondary);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--color-white);
    padding: 30px;
    border-radius: var(--br-card);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-bottom-color: var(--color-primary);
    transform: translateY(-5px);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: #E3F2FD;
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Nefrology Section - Premium Enhanced */
.section-nefro {
    background:
        linear-gradient(135deg, rgba(59, 130, 246, 0.95) 0%, rgba(37, 99, 235, 0.95) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.section-nefro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    animation: floating 8s ease-in-out infinite alternate;
}

.nefro-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.nefro-logo-main {
    max-width: 200px;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    transition: var(--transition-normal);
}

.nefro-logo-main:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
}

.nefro-badge {
    display: inline-block;
    background: var(--gradient-secondary);
    color: white;
    padding: 12px 30px;
    border-radius: var(--br-btn);
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 25px;
    box-shadow: var(--shadow-xl), 0 0 20px rgba(16, 185, 129, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.nefro-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 1s ease;
}

.nefro-badge:hover::before {
    left: 100%;
}

.section-nefro h2 {
    color: white;
    font-size: 3.2rem;
    font-weight: 900;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 25px;
    letter-spacing: -0.02em;
}

.section-nefro p.nefro-intro {
    font-size: 1.3rem;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.7;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nefro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.nefro-list-box,
.nefro-info-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: var(--br-xl);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    color: var(--color-text);
}

.nefro-list-box::before,
.nefro-info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.05) 0%,
            transparent 50%,
            rgba(255, 255, 255, 0.02) 100%);
    pointer-events: none;
}

.featured-box {
    border: 2px solid var(--color-gold);
    background: rgba(245, 158, 11, 0.1);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(245, 158, 11, 0.3);
}

.featured-box::after {
    content: '⭐ DESTACADO';
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--color-gold);
    color: var(--color-text);
    padding: 6px 15px;
    border-radius: var(--br-md);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.nefro-list-box h3,
.nefro-info-box h3 {
    color: var(--color-text);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.6rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nefro-list-box ul li,
.nefro-includes li {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #111827 !important;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
}

.nefro-list-box ul li i {
    color: var(--color-secondary-light);
    font-size: 1.3rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.nefro-includes li i {
    color: var(--color-gold);
    font-size: 1.4rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.nefro-includes li strong {
    font-weight: 700;
    color: #111827 !important;
    -webkit-text-fill-color: #111827 !important;
    text-shadow: none !important;
}

.nefro-cta {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nefro-cta .btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: var(--shadow-lg), 0 8px 25px rgba(37, 211, 102, 0.4);
    font-size: 1.1rem;
    padding: 18px 36px;
}

.nefro-cta .btn-whatsapp:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl), 0 12px 35px rgba(37, 211, 102, 0.6);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: var(--br-btn);
    font-weight: bold;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

.btn-outline-white {
    border: 2px solid white;
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: var(--br-btn);
    font-weight: bold;
}

.btn-outline-white:hover {
    background-color: white;
    color: var(--color-primary);
}

/* Team & Facilities Images */
.team-photo-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--br-card);
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
}

.gallery-item-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--br-card);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item-img:hover {
    transform: scale(1.05);
    /* Zoom effect */
}

.team-grid,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.team-card {
    text-align: center;
}

.team-photo {
    height: 300px;
    margin-bottom: 15px;
    background-size: cover;
    background-position: center;
}

/* Contact Section */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-list i {
    font-size: 1.5rem;
    color: var(--color-primary);
    width: 30px;
    text-align: center;
}

.contact-value {
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-form-container {
    flex: 1;
    min-width: 350px;
    background: var(--gradient-card);
    padding: 50px;
    border-radius: var(--br-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.02) 0%,
            rgba(16, 185, 129, 0.02) 100%);
    pointer-events: none;
}

.contact-form-container>* {
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--color-text);
    font-size: 1rem;
    letter-spacing: 0.025em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid rgba(59, 130, 246, 0.1);
    border-radius: var(--br-md);
    font-family: inherit;
    font-size: 1rem;
    background: var(--color-white);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: var(--shadow-md), 0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
    font-weight: 400;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Form Status Messages */
.form-status {
    margin-top: 15px;
    padding: 15px;
    border-radius: var(--br-md);
    font-weight: 600;
    text-align: center;
}

.form-status.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-secondary-dark);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-status.error {
    background: rgba(239, 68, 68, 0.1);
    color: #DC2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Footer - Enhanced */
.footer {
    background: var(--gradient-primary);
    color: white;
    padding: 60px 0 30px 0;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-content p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
    letter-spacing: 0.025em;
}

.admin-link {
    color: inherit;
    text-decoration: none;
    opacity: 0.3;
    font-size: 0.8rem;
    margin-left: 10px;
    transition: opacity 0.3s ease;
    cursor: default;
}

.admin-link:hover {
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    transition: var(--transition-normal);
    text-decoration: none;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* WhatsApp Float - Enhanced */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: var(--shadow-xl), 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition-normal);
    z-index: 1000;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl), 0 12px 35px rgba(37, 211, 102, 0.6);
    animation: none;
}

/* Team Text Only Section */
.team-text-section {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--br-card);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.specialist-info h3 {
    color: var(--color-primary-dark);
    font-size: 2rem;
    margin-bottom: 5px;
}

.specialist-title {
    color: var(--color-secondary-dark);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.specialist-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--color-text-light);
}

.team-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.team-features span {
    font-weight: 600;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.team-features i {
    color: var(--color-secondary);
}

/* Gallery 5 items grid */
.gallery-5 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

@media (min-width: 992px) {
    .gallery-5 {
        grid-template-columns: repeat(5, 1fr);
    }
}

.services-note {
    margin-top: 40px;
    text-align: center;
    background-color: #fdf2f2;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #f87171;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-note p {
    margin: 0;
    color: #991b1b;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .top-bar {
        display: none;
    }
}

@media (max-width: 1024px) {
    .header-container {
        padding: 0 10px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        padding: 20px;
        box-shadow: var(--shadow-md);
        display: none;
        flex-direction: column;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .nefro-content {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* --- Modal Styles --- */
.modal {
    display: none;
    /* Inicia oculto, JS lo activa */
    position: fixed;
    z-index: 9999;
    /* Máxima prioridad para estar encima de todo */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    /* Fondo oscuro semitransparente */
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: var(--color-white);
    margin: 10vh auto;
    padding: 0;
    border: none;
    width: 90%;
    max-width: 500px;
    border-radius: var(--br-card);
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: modalSlideDown 0.4s ease-out;
    overflow: hidden;
}

@keyframes modalSlideDown {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.close-modal:hover {
    color: var(--color-gold);
}

.modal-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.modal-header i {
    font-size: 3.5rem;
    margin-bottom: 10px;
    display: block;
}

.modal-header h2 {
    color: white;
    margin: 0;
    font-size: 1.8rem;
}

.modal-body {
    padding: 40px 30px;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--color-text);
}

.modal-body p {
    white-space: pre-line;
}

.modal-footer {
    padding: 20px;
    background-color: #f8f9fa;
    text-align: center;
    border-top: 1px solid #eee;
}

#closeModalBtn {
    min-width: 150px;
}

/* Modal Refinement */
.modal-body p {
    text-align: justify;
    margin-bottom: 15px;
}

.warning-highlight {
    display: block;
    text-align: center;
    font-weight: 800;
    color: #E65100;
    text-transform: uppercase;
    margin-top: 10px;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* --- Lightbox Styles --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    overflow: hidden;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10001;
}

.close-lightbox:hover {
    color: var(--color-gold);
    transform: scale(1.1);
}

.lightbox-content-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

#lightboxCaption {
    margin-top: 20px;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    text-align: center;
}

/* Services v2 - Enhanced Modern Layout */
.services-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.service-v2-card {
    background: var(--gradient-card);
    border-radius: var(--br-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    backdrop-filter: blur(10px);
}

.service-v2-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.02) 0%,
            rgba(16, 185, 129, 0.02) 100%);
    opacity: 0;
    transition: var(--transition-normal);
    pointer-events: none;
}

.service-v2-card:hover::before {
    opacity: 1;
}

.service-v2-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-xl),
        0 25px 50px rgba(59, 130, 246, 0.15);
}

.service-v2-img {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: linear-gradient(45deg, #f3f4f6, #e5e7eb);
}

.service-v2-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent);
}

.service-v2-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    filter: brightness(1.1) saturate(1.1);
}

.service-v2-card:hover .service-v2-img img {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(1.2) saturate(1.2);
}

.service-v2-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-secondary);
    color: white;
    padding: 8px 20px;
    border-radius: var(--br-btn);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.service-v2-content {
    padding: 35px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.service-v2-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.service-v2-content h3 {
    color: var(--color-text);
    margin: 20px 0 15px 0;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
}

.service-v2-content p {
    color: var(--color-text-light);
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.7;
    flex-grow: 1;
}

.service-v2-link {
    background: var(--gradient-secondary);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--br-btn);
    margin-top: auto;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.service-v2-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition-normal);
}

.service-v2-link:hover::before {
    width: 300px;
    height: 300px;
}

.service-v2-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    gap: 14px;
}

.service-v2-link i {
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

/* Services Note - Enhanced */
.services-note {
    background: var(--gradient-card);
    padding: 25px;
    border-radius: var(--br-lg);
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.services-note p {
    margin: 0;
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.services-note i {
    color: var(--color-primary);
    margin-right: 8px;
    font-size: 1.1rem;
}

.services-note strong {
    color: var(--color-text);
    font-weight: 700;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
}

/* Force dark text in Nefrología includes (matches featured and list variants) */
.section-nefro .nefro-info-box .nefro-includes li,
.section-nefro .nefro-info-box .nefro-includes li strong,
.section-nefro .nefro-list-box .nefro-includes li,
.section-nefro .nefro-list-box .nefro-includes li strong,
.section-nefro .featured-box .nefro-includes li,
.section-nefro .featured-box .nefro-includes li strong {
    color: #111827 !important;
    -webkit-text-fill-color: #111827 !important;
    text-shadow: none !important;
}

.faq-list {
    margin-top: 20px;
}

.faq-item {
    background: var(--color-white);
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(100, 181, 246, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--color-text);
}

.faq-question i {
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--color-bg-light);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    /* Increased to fit text */
    padding: 20px 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-answer p {
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

/* Contact Map Enhancement */
.map-embed {
    margin-top: 15px;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Tablet and below */
@media (max-width: 992px) {
    .header-contact-group {
        gap: 15px;
    }

    .contact-item {
        padding: 8px 10px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .contact-label {
        font-size: 0.7rem;
    }

    .contact-value {
        font-size: 1rem;
    }

    .contact-hours {
        font-size: 0.65rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .top-bar {
        padding: 5px 0;
        font-size: 0.75rem;
    }

    .top-info {
        font-size: 0.75rem;
    }

    .header-main {
        background: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        padding: 10px 0;
    }

    .header-main-container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .logo img {
        height: 60px;
    }

    .brand-prefix {
        font-size: 0.8rem;
    }

    .brand-name {
        font-size: 1rem;
    }

    .header-contact-group {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    /* Mobile Navigation */
    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .header-nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
    }

    .nav-link {
        padding: 15px 20px;
        color: var(--color-text);
        border-bottom: none;
        background: white;
    }

    .nav-link:hover {
        background-color: var(--color-bg-light);
        border-bottom: none;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .logo img {
        height: 50px;
    }

    .brand-prefix {
        font-size: 0.7rem;
    }

    .brand-name {
        font-size: 0.9rem;
    }

    .top-bar-container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .faq-question h3 {
        font-size: 1rem;
    }
}