:root {
    /* === WIREGO BRAND PALETTE (Enhanced Pet-Friendly) === */
    --primary-color: #005A70;
    /* Petrol Blue (Brand Identity) */
    --primary-dark: #004555;
    /* Darker shade for accents/hover */
    --primary-light: #007a94;
    /* Lighter for gradients */
    --secondary-color: #4DD0E1;
    /* Cyan/Teal (Accents, Icons) */
    --secondary-light: #80deea;
    /* Light cyan for highlights */
    --accent-color: #FF6F61;
    /* Coral (Call to Action) */
    --accent-dark: #e85a4f;
    /* Darker coral for hover */

    /* === PET-FRIENDLY COLORS === */
    --playful-yellow: #FFD93D;
    /* Alegre amarillo */
    --playful-orange: #FF9A3C;
    /* Naranja juguetón */
    --soft-pink: #FFB6C1;
    /* Rosa suave */
    --mint-green: #98D8C8;
    /* Verde menta */
    --lavender: #C7B8EA;
    /* Lavanda suave */
    --peach: #FFCBA4;
    /* Durazno */

    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-soft-blue: #F0F7FA;
    /* Very subtle blue tint */
    --bg-gradient-start: #005A70;
    --bg-gradient-end: #003d4d;
    --bg-playful: #FFF9E6;
    /* Fondo cálido amarillo muy suave */

    --text-main: #212529;
    --text-secondary: #5a646e;
    --text-light: #8c98a4;
    --text-white: #ffffff;

    /* === TYPOGRAPHY === */
    --font-primary: 'Roboto', sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* === FRIENDLY LAYOUT TOKENS === */
    --border-radius-sm: 8px;
    /* Friendly rounded */
    --border-radius-md: 12px;
    /* Standard cards */
    --border-radius-lg: 16px;
    /* Large cards */
    --border-radius-xl: 24px;
    /* Extra rounded */
    --border-radius-full: 50%;
    /* Circles */

    /* Enhanced shadows for depth */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    --shadow-colored: 0 8px 24px rgba(77, 208, 225, 0.25);
    --shadow-accent: 0 8px 24px rgba(255, 111, 97, 0.25);
    --shadow-playful: 0 8px 24px rgba(255, 217, 61, 0.3);

    /* Smooth transitions */
    --transition-fast: all 0.2s ease;
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* === GLOBAL RESET === */
body {
    font-family: var(--font-primary);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    /* Tighter for modern headings */
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

/* === TOP BAR (Warm Contact strip) === */
.top-bar {
    background: linear-gradient(135deg, #007a94 0%, #4DD0E1 100%);
    color: white;
    padding: 12px 0;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.top-bar span i {
    font-size: 1.1rem;
    opacity: 0.9;
}

.top-bar a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

/* === MAIN NAVBAR (Unified Design) === */
.navbar {
    background: linear-gradient(135deg, #007a94 0%, #4DD0E1 100%) !important;
    padding: 16px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand-logo {
    height: 50px;
    transition: var(--transition);
}

.navbar-brand:hover .navbar-brand-logo {
    transform: scale(1.05);
}

.navbar-nav {
    gap: 8px;
    align-items: center;
}

.nav-link {
    color: white !important;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 50%;
}

/* Buttons in Navbar */
.navbar .btn-primary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 25px;
    transition: var(--transition-bounce);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.navbar .btn-primary:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 111, 97, 0.4);
}

/* Dropdown Menu - Clean & Structured */
.navbar .dropdown-menu.dropdown-menu-services {
    border: none;
    border-top: 3px solid var(--primary-color);
    /* Professional accent top */
    border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    margin-top: 10px;
}

.navbar .dropdown-menu-services .dropdown-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.navbar .dropdown-menu-services .dropdown-item {
    padding: 0.8rem;
    border-radius: var(--border-radius-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

.navbar .dropdown-menu-services .dropdown-item:hover {
    background-color: var(--bg-soft-blue);
    color: var(--primary-color);
}

.navbar .dropdown-menu-services .dropdown-item i {
    color: var(--secondary-color);
    margin-right: 8px;
}

/* === HERO SECTION (Warm Full-Width) === */
.hero-section {
    position: relative;
    padding: 120px 0 100px;
    background: linear-gradient(135deg, rgba(0, 90, 112, 0.95) 0%, rgba(0, 61, 77, 0.9) 100%),
        url('img/home_hero.png') center/cover no-repeat;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.6;
}

/* Glassmorphism Booking Card */
.booking-widget-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    border: 2px solid rgba(77, 208, 225, 0.3);
    position: relative;
    overflow: hidden;
}

.booking-widget-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--secondary-color) 100%);
}

.booking-widget-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.booking-widget-card .form-select,
.booking-widget-card .form-control {
    border-radius: var(--border-radius-md);
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    margin-bottom: 1.2rem;
    transition: var(--transition-fast);
    font-size: 1rem;
}

.booking-widget-card .form-select:focus,
.booking-widget-card .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(77, 208, 225, 0.1);
}

.booking-widget-card .btn-cta {
    width: 100%;
    padding: 16px;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: var(--border-radius-lg);
}

/* Features Band (below hero) */
.features-band {
    background-color: white;
    padding: 2rem 0;
    border-bottom: 1px solid #e9ecef;
}

.feature-item-band {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-weight: 500;
}

.feature-item-band i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

/* === FRIENDLY BUTTONS === */
.btn-primary,
.btn-visita {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: var(--border-radius-lg);
    padding: 12px 32px;
    font-weight: 700;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-primary:hover,
.btn-visita:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.btn-accent,
.btn-wirego {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--border-radius-lg);
    padding: 14px 36px;
    font-weight: 700;
    box-shadow: var(--shadow-accent);
    transition: var(--transition-bounce);
    font-size: 1.1rem;
}

.btn-accent:hover,
.btn-wirego:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(255, 111, 97, 0.4);
    color: white;
}

.btn-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* === SERVICES GRID (Clinical Cards) === */
.services-section {
    padding: 80px 0;
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

/* Underline for headings */
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.service-card {
    background-color: white;
    border: none;
    border-radius: var(--border-radius-xl);
    padding: 0;
    transition: var(--transition-bounce);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .service-card-img {
    transform: scale(1.1);
}

.service-card-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-link {
    margin-top: auto;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.service-link:hover {
    gap: 12px;
    color: var(--accent-dark);
}

/* === HOW IT WORKS (Step by Step) === */
.how-it-works-section {
    background-color: var(--bg-soft-blue);
    padding: 80px 0;
}

.step-item {
    text-align: center;
    position: relative;
    padding: 0 15px;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

.step-item p {
    color: var(--text-secondary);
}

/* Connector line for large screens */
@media (min-width: 992px) {
    .step-item:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 25px;
        right: -50%;
        width: 100%;
        height: 2px;
        background-color: #dee2e6;
        z-index: 1;
    }
}

/* === TEAM SECTION (Friendly Profiles) === */
.team-section {
    padding: 80px 0;
    background-color: white;
}

.team-card {
    background: white;
    border: none;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    text-align: center;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-md);
    padding: 2rem 1.5rem;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-colored);
}

.team-photo {
    width: 180px;
    height: 180px;
    border-radius: var(--border-radius-full);
    object-fit: cover;
    object-position: top;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--secondary-color);
    box-shadow: 0 8px 20px rgba(77, 208, 225, 0.3);
    transition: var(--transition);
}

.team-card:hover .team-photo {
    transform: scale(1.05);
    border-color: var(--accent-color);
    box-shadow: 0 8px 20px rgba(255, 111, 97, 0.3);
}

.team-info {
    padding: 0;
}

.team-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.team-role {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-bio {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === TESTIMONIALS (Warm & Emotional) === */
.testimonials-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(77, 208, 225, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 111, 97, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-section h2 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.testimonial-card-dark {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: var(--border-radius-xl);
    margin: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.testimonial-card-dark:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
}

.testimonial-text {
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.9;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    color: var(--secondary-color);
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.5;
}

.testimonial-author {
    margin-top: 25px;
    font-weight: 700;
    color: var(--secondary-light);
    font-size: 1.1rem;
}

.review-stars {
    font-size: 1.3rem;
}

/* === FOOTER (Rich & Vibrant) === */
.site-footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 0 30px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--accent-color) 100%);
}

.site-footer h5 {
    color: var(--secondary-light);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.site-footer ul {
    list-style: none;
    padding: 0;
}

.site-footer ul li {
    margin-bottom: 12px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.site-footer a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-bounce);
}

.social-icons a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 8px 20px rgba(77, 208, 225, 0.4);
}

/* === RESPONSIVE === */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: var(--border-radius-md);
        box-shadow: var(--shadow-lg);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
    }

    .booking-widget-card {
        margin-top: 2rem;
        /* Stack below text on mobile */
    }
}

/* === FUTURISTIC CORPORATE LOGIN STYLES === */
body.login-page {
    background: radial-gradient(circle at top right, #005A70, #002b36 80%);
    background-color: #002b36;
    /* Deep Petrol fallback */
    background-attachment: fixed;
    font-family: 'Roboto', sans-serif;
}

/* Glassmorphism Card (Tech Glass) */
.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 1px rgba(77, 208, 225, 0.2);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* Subtle glow border effect on card */
.login-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(180deg, rgba(77, 208, 225, 0.3), rgba(0, 0, 0, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

.login-form-section {
    padding: 3rem !important;
}

.text-primary.fw-bold {
    color: #004555 !important;
    letter-spacing: -0.5px;
    margin-bottom: 2rem !important;
}

/* Futuristic Inputs */
.form-floating>.form-control {
    border: none;
    border-bottom: 2px solid #e9ecef;
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
    background: transparent;
    box-shadow: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-floating>label {
    padding-left: 0;
    color: #8c98a4;
    transition: all 0.3s ease;
}

.form-floating>.form-control:focus {
    border-color: var(--secondary-color);
    /* Cyan */
    box-shadow: 0 1px 0 0 var(--secondary-color);
}

.form-floating>.form-control:focus~label {
    color: var(--secondary-color);
    font-weight: 500;
}

/* Button with Gradient & Glow */
.btn-login-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    position: relative;
    overflow: hidden;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 69, 85, 0.3);
    transition: all 0.3s ease;
}

.btn-login-custom:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color) 100%);
    box-shadow: 0 6px 20px rgba(77, 208, 225, 0.4);
    /* Cyan glow */
    transform: translateY(-2px);
}

/* Links */
.text-accent {
    color: var(--secondary-color) !important;
    /* Cyan */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.text-accent:hover {
    color: var(--primary-color) !important;
    text-shadow: 0 0 8px rgba(77, 208, 225, 0.3);
}

/* Info Section (Side Panel) */
.login-info-section {
    background: linear-gradient(160deg, #005A70 0%, #002b36 100%) !important;
    position: relative;
}

/* Abstract overlay for info section */
.login-info-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 90% 90%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    pointer-events: none;
}

.login-info-section h3,
.login-info-section p {
    color: white !important;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Plan CTA Card */
.plan-cta-card {
    background: var(--bg-soft-blue);
    border: 1px solid var(--secondary-color);
    border-radius: var(--border-radius-md);
    padding: 3rem;
    text-align: center;
}

.plan-cta-card h2 {
    color: var(--primary-color);
}

.btn-gradient-text {
    color: var(--accent-color);
}

/* Simplified */

/* FAQ Section */
.faq-section .accordion-button {
    font-weight: 600;
    color: var(--primary-color);
    background-color: white;
}

.faq-section .accordion-button:not(.collapsed) {
    background-color: var(--bg-soft-blue);
    color: var(--primary-dark);
}

/* === MULTI-STEP FORM RESTORATION === */
.progressbar {
    position: relative;
    display: flex;
    justify-content: space-between;
    counter-reset: step;
    margin: 2rem 0 4rem;
}

.progressbar::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    width: 100%;
    background-color: #dcdcdc;
    z-index: 0;
}

.progress {
    background-color: var(--primary-color);
    width: 0%;
    transition: 0.3s;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    z-index: 0;
}

.progress-step {
    width: 40px;
    height: 40px;
    background-color: #dcdcdc;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    font-weight: bold;
}

.progress-step::before {
    counter-increment: step;
    content: counter(step);
}

.progress-step::after {
    content: attr(data-title);
    position: absolute;
    top: calc(100% + 0.5rem);
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.progress-step-active {
    background-color: var(--primary-color);
    color: #fff;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s;
}

.form-step-active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}



/* === REGION MAP VISUALIZATION === */
.region-map-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 450px;
    /* Reduced height */
    margin: 0 auto;
    background-color: var(--bg-light);
    border-radius: 20px;
    padding: 20px;
}

.province-bubble {
    position: absolute;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.province-bubble:hover {
    transform: scale(1.05);
    z-index: 10;
}

.province-cachapoal {
    width: 200px;
    height: 200px;
    top: 20px;
    right: 40px;
    background: linear-gradient(135deg, #005A70, #008ca8);
    /* Brand Blue */
    z-index: 2;
}

.province-colchagua {
    width: 180px;
    height: 180px;
    bottom: 20px;
    right: 80px;
    background: linear-gradient(135deg, #FF6F61, #ff9a8f);
    /* Brand Coral */
    z-index: 3;
}

.province-cardenal {
    width: 160px;
    height: 160px;
    top: 100px;
    left: 40px;
    background: linear-gradient(135deg, #20c997, #4be1b3);
    /* Teal/Green */
    z-index: 1;
}

.capital-marker {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.province-name {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

@media (max-width: 576px) {
    .region-map-container {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        background: transparent;
    }

    .province-bubble {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
    }
}

/* === ADDITIONAL FRIENDLY ENHANCEMENTS === */

/* Badge Styling */
.bg-soft-blue {
    background-color: rgba(77, 208, 225, 0.15) !important;
    border-color: var(--secondary-color) !important;
}

/* Feature Items in Hero */
.feature-item-band {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    backdrop-filter: blur(10px);
    transition: var(--transition-fast);
}

.feature-item-band:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.feature-item-band i {
    color: var(--secondary-light);
    font-size: 1.4rem;
}

/* Enhanced Step Numbers */
.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-colored);
    transition: var(--transition-bounce);
}

.step-item:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-xl);
}

.step-item h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.step-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Section Headers Enhancement */
.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
}

.section-header h2::after {
    width: 80px;
    height: 5px;
    border-radius: 3px;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Animation for Images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Accessibility - Focus States */
a:focus,
button:focus,
input:focus,
select:focus {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {

    .navbar,
    .top-bar,
    .site-footer {
        display: none;
    }
}

/* === HIGH PRIORITY IMPROVEMENTS CSS === */

/* Skip to Content Link - Accessibility */
.skip-link {
    position: absolute;
    top: -50px;
    left: 10px;
    background: var(--accent-color);
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: var(--border-radius-md);
    font-weight: 700;
    z-index: 10000;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-lg);
}

.skip-link:focus {
    top: 10px;
    outline: 3px solid var(--secondary-color);
    outline-offset: 3px;
}

/* Enhanced Focus States for Accessibility */
*:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 3px;
    border-radius: 4px;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 3px;
}

/* === STATISTICS SECTION === */
.stats-section {
    background: linear-gradient(135deg, var(--bg-soft-blue) 0%, white 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--accent-color) 100%);
}

.stat-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-bounce);
    border: 2px solid transparent;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-color);
}

.stat-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.stat-card:hover .stat-icon {
    color: var(--accent-color);
    transform: scale(1.1) rotate(5deg);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .stat-number {
        font-size: 2.5rem;
    }

    .stat-icon {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.95rem;
    }

    .stats-section {
        padding: 60px 0;
    }
}

/* Tablet adjustments */
@media (max-width: 991.98px) {
    .stat-card {
        padding: 2rem 1.5rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .stat-card {
        border: 2px solid var(--primary-color);
    }

    *:focus-visible {
        outline-width: 4px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

    .stat-card,
    .stat-icon {
        animation: none !important;
        transition: none !important;
    }

    .stat-card:hover {
        transform: none;
    }

    /* ========================================
   HEADER DESIGN OPTIONS - WIREGO
   Cambia la clase en HTML para probar:
   - navbar-option-1 (Minimalista Flotante)
   - navbar-option-2 (Corporativo Dos Niveles)
   - navbar-option-3 (Transparente Glassmorphism)
======================================== */

    /* === OPCIÓN 1: MINIMALISTA FLOTANTE === */
    .navbar-option-1 {
        background: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        transition: all 0.3s ease;
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .navbar-option-1.scrolled {
        padding: 12px 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
    }

    .navbar-option-1 .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navbar-option-1 .navbar-nav {
        gap: 40px;
        margin: 0 auto;
    }

    .navbar-option-1 .nav-link {
        font-weight: 500;
        color: #212529;
        position: relative;
        padding: 8px 0;
        transition: color 0.3s ease;
    }

    .navbar-option-1 .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--secondary-color);
        transition: width 0.3s ease;
    }

    .navbar-option-1 .nav-link:hover {
        color: var(--primary-color);
    }

    .navbar-option-1 .nav-link:hover::after {
        width: 100%;
    }

    .navbar-option-1 .btn-primary {
        padding: 12px 28px;
        border-radius: 25px;
        font-weight: 600;
        box-shadow: 0 4px 12px rgba(0, 90, 112, 0.2);
        transition: all 0.3s ease;
    }

    .navbar-option-1 .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 90, 112, 0.3);
    }

    /* === OPCIÓN 2: CORPORATIVO DOS NIVELES === */
    .header-option-2 {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .top-bar-option-2 {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
        color: white;
        padding: 10px 0;
        font-size: 0.9rem;
        transition: all 0.3s ease;
    }

    .top-bar-option-2.scrolled {
        padding: 5px 0;
    }

    .top-bar-option-2 .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .contact-quick-links {
        display: flex;
        gap: 25px;
        align-items: center;
    }

    .contact-quick-links a {
        color: white;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: opacity 0.3s ease;
    }

    .contact-quick-links a:hover {
        opacity: 0.8;
    }

    .contact-quick-links i {
        font-size: 1.1rem;
    }

    .navbar-option-2 {
        background: white;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        padding: 15px 0;
        transition: all 0.3s ease;
    }

    .navbar-option-2.scrolled {
        padding: 10px 0;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    }

    .navbar-option-2 .nav-link {
        font-weight: 600;
        color: var(--text-main);
        padding: 10px 20px;
        border-radius: 8px;
        transition: all 0.3s ease;
        margin: 0 5px;
    }

    .navbar-option-2 .nav-link:hover {
        background: var(--bg-soft-blue);
        color: var(--primary-color);
        transform: translateY(-2px);
    }

    .navbar-option-2 .btn-primary {
        padding: 12px 30px;
        border-radius: 8px;
        font-weight: 700;
        box-shadow: 0 4px 12px rgba(0, 90, 112, 0.25);
    }

    .navbar-option-2 .btn-primary:hover {
        box-shadow: 0 6px 20px rgba(0, 90, 112, 0.35);
        transform: translateY(-2px);
    }

    /* === OPCIÓN 3: TRANSPARENTE GLASSMORPHISM === */
    .navbar-option-3 {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding: 20px 0;
        z-index: 1000;
        transition: all 0.4s ease;
    }

    .navbar-option-3.scrolled {
        position: fixed;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .navbar-option-3 .navbar-brand img {
        filter: brightness(0) invert(1);
        transition: filter 0.4s ease;
    }

    .navbar-option-3.scrolled .navbar-brand img {
        filter: none;
    }

    .navbar-option-3 .nav-link {
        color: white;
        font-weight: 600;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        padding: 8px 16px;
        transition: all 0.3s ease;
        position: relative;
    }

    .navbar-option-3 .nav-link::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: white;
        transition: width 0.3s ease;
    }

    .navbar-option-3 .nav-link:hover::before {
        width: 80%;
    }

    .navbar-option-3.scrolled .nav-link {
        color: var(--text-main);
        text-shadow: none;
    }

    .navbar-option-3.scrolled .nav-link::before {
        background: var(--secondary-color);
    }

    .navbar-option-3 .btn-primary {
        background: rgba(255, 255, 255, 0.2);
        border: 2px solid white;
        color: white;
        backdrop-filter: blur(10px);
        padding: 12px 28px;
        border-radius: 25px;
        font-weight: 700;
        transition: all 0.3s ease;
    }

    .navbar-option-3 .btn-primary:hover {
        background: white;
        color: var(--primary-color);
        transform: translateY(-2px);
    }

    .navbar-option-3.scrolled .btn-primary {
        background: var(--primary-color);
        border-color: var(--primary-color);
        color: white;
    }

    .navbar-option-3.scrolled .btn-primary:hover {
        background: var(--primary-dark);
        border-color: var(--primary-dark);
    }

    /* Hero section adjustment for Option 3 */
    .hero-section-option-3 {
        padding-top: 100px;
        /* Espacio para header transparente */
    }

    /* === RESPONSIVE ADJUSTMENTS === */
    @media (max-width: 991.98px) {

        /* Option 1 Mobile */
        .navbar-option-1 .navbar-nav {
            gap: 0;
            margin-top: 20px;
        }

        .navbar-option-1 .nav-link {
            padding: 12px 0;
            border-bottom: 1px solid #eee;
        }

        /* Option 2 Mobile */
        .top-bar-option-2 {
            font-size: 0.8rem;
        }

        .contact-quick-links {
            flex-direction: column;
            gap: 10px;
            align-items: flex-start;
        }

        .navbar-option-2 .nav-link {
            margin: 5px 0;
        }

        /* Option 3 Mobile */
        .navbar-option-3 {
            background: rgba(0, 90, 112, 0.95);
            backdrop-filter: blur(10px);
        }

        .navbar-option-3 .navbar-collapse {
            background: rgba(0, 90, 112, 0.98);
            padding: 20px;
            border-radius: 12px;
            margin-top: 15px;
        }
    }

    /* === LOGO EN FOOTER - OPCIÓN 5: FONDO BLANCO + SOMBRA === */
    .site-footer .navbar-brand {
        background: white;
        padding: 12px 18px;
        border-radius: 10px;
        display: inline-block;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .site-footer .navbar-brand:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }

    .site-footer .navbar-brand img {
        filter: none;
        display: block;
    }

    /* === LOGO EN HEADER - FONDO BLANCO + SOMBRA === */
    .navbar .navbar-brand {
        background: white;
        padding: 8px 15px;
        border-radius: 10px;
        display: inline-block;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .navbar .navbar-brand:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .navbar .navbar-brand img {
        display: block;
    }

    /* Ajuste para navbar con fondo blanco (option-1) */
    .navbar-option-1 .navbar-brand {
        box-shadow: 0 2px 8px rgba(0, 90, 112, 0.15);
    }

    .navbar-option-1 .navbar-brand:hover {
        box-shadow: 0 4px 12px rgba(0, 90, 112, 0.2);
    }
}

/* === MOBILE RESPONSIVENESS IMPROVEMENTS === */
@media (max-width: 768px) {

    /* Reduce global container padding */
    .container,
    .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Adjust Main Content Margins */
    .main-content,
    .medico-main-content,
    .dashboard-container {
        padding: 1rem !important;
        margin-left: 0 !important;
        /* Ensure no sidebar shift */
    }

    /* Reduce Card Padding */
    .card-body,
    .service-card-body,
    .team-card,
    .testimonial-card-dark,
    .booking-widget-card {
        padding: 1.25rem !important;
    }

    /* Typography Adjustments */
    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }

    /* Button adjustments */
    .btn,
    .btn-lg,
    .btn-xl {
        width: 100%;
        margin-bottom: 10px;
    }

    /* Navbar adjustments */
    .navbar-brand-logo {
        height: 40px;
    }

    /* Section Spacing */
    .section-header {
        margin-bottom: 30px !important;
    }

    .services-section,
    .team-section,
    .testimonials-section {
        padding: 40px 0 !important;
    }
}