/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Segoe UI', 'Poppins', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #F8F9FA;
    overflow-x: hidden;
}

/* ===== CSS VARIABLES ===== */
:root {
    --primary-dark: #003946;
    --primary-blue: #007BFF;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --border-light: #E9ECEF;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --container-max-width: 1200px;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
    line-height: 1.5;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), #0056b3);
    color: var(--white);
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, var(--primary-blue));
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: var(--white);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #c82333, #dc3545);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 2rem;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}
.nav-logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 22px;
    color: #003344; /* Ajusta según tu diseño */
    font-weight: 600;
    font-family: 'Segoe UI', sans-serif;
}

.navbar {
    padding: 1rem 0;
    margin-left: 50px;
    margin-right: 50px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-logo .logo-img {
    height: 50px;
    width: auto;
}

.language-switcher {
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 14px;
}

.lang-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

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

.lang-separator {
    margin: 0 8px;
    color: var(--text-muted);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
    margin-top: 20px;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-blue);
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary-blue), #0056b3);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.nav-cta:hover {
    background: linear-gradient(135deg, #0056b3, var(--primary-blue));
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-dark);
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-medium);
    padding: 1rem 0;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 2rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: var(--light-bg);
    color: var(--primary-blue);
}

.mobile-nav-cta {
    display: block;
    margin: 1rem 2rem;
    padding: 12px 24px;
    background: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    text-align: center;
    border-radius: var(--border-radius);
    font-weight: 600;
}

/* Fixed Call Button */
.fixed-call-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    font-size: 24px;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.call-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-heavy);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    width: 100%;
    height: 80vh;
    background-image: url('../img/clinic-interior.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    width: 100%;
    height: 80vh;
    background: rgba(0, 0, 0, 0.4); /* oscurece un poco la imagen para resaltar el texto */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hero-text {
    text-align: center;
    color: white;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #f1f1f1;
}

.hero-cta {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary-blue), #0056b3);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
}

.hero-cta:hover {
    transform: translateY(-3px);
}

/* ===== SECTIONS ===== */
section {
    padding: 80px 0;
}

.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--light-bg), var(--white));
    text-align: center;
}

/* ===== SERVICES SECTION ===== */
.services-preview {
    background: var(--white);
}

.services-slider-container {
    position: relative;
}

.services-swiper {
    padding: 20px 0 60px;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-light);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Services Grid (Full Page) */
.services-grid {
    background: var(--light-bg);
}

.services-container {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card-full {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.service-card-full:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service-card-full .service-icon {
    flex-shrink: 0;
    margin: 0;
}

.service-content {
    flex: 1;
}

.service-features {
    list-style: none;
    margin-top: 1rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.services-cta {
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
}

.cta-content h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* ===== ABOUT SECTION ===== */
.about-preview {
    background: var(--light-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    padding: 2rem 0;
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin: 2rem 0;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
}

/* About Page Specific */
.about-main {
    background: var(--white);
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-highlights {
    margin: 2rem 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.highlight-content h4 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.highlight-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.values-section {
    background: var(--light-bg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.8rem;
}

.value-card h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.stats-section {
    background: var(--primary-dark);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-card .stat-number {
    color: var(--white);
    font-size: 3.5rem;
}

.stat-card .stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.team-section {
    background: var(--white);
}

.team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.team-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
}

.team-text h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.team-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.team-features {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-item i {
    color: var(--primary-blue);
    font-size: 1.2rem;
}

.feature-item span {
    color: var(--text-light);
}

/* ===== INSURANCE SECTION ===== */
.insurance-preview {
    background: var(--light-bg);
}

.insurance-slider-container {
    position: relative;
}

.insurance-swiper {
    padding: 20px 0 60px;
}

.insurance-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.insurance-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.insurance-card img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

.insurance-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Insurance Page Specific */
.insurance-full {
    background: var(--light-bg);
}

.insurance-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.insurance-card-large {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.insurance-card-large:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.insurance-logo {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.insurance-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.insurance-info {
    flex: 1;
}

.insurance-info.full-width {
    width: 100%;
}

.insurance-info h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.insurance-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.insurance-plans {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.insurance-plans li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.insurance-plans li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.additional-plans {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.plan-column ul {
    list-style: none;
}

.plan-column li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.plan-column li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.insurance-note {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    padding: 3rem;
    text-align: center;
}

.note-content h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.note-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.note-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== CONTACT SECTION ===== */
.contact-main {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.form-title {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
}

.contact-form {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.error-message {
    display: block;
    color: #dc3545;
    font-size: 14px;
    margin-top: 0.5rem;
}

.btn-submit {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-message {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.info-title {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
}

.contact-info {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: var(--border-radius);
}

.info-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.info-content p,
.info-content a {
    color: var(--text-light);
    text-decoration: none;
    line-height: 1.6;
}

.info-content a:hover {
    color: var(--primary-blue);
}

.social-links {
    margin-top: 2rem;
}

.social-links h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Map Section */
.map-section {
    background: var(--light-bg);
}

.map-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.map-embed {
    position: relative;
}

.map-embed iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    max-width: 300px;
}

.map-info h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.map-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Emergency Contact */
.emergency-contact {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: var(--white);
}

.emergency-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    text-align: center;
}

.emergency-icon {
    font-size: 3rem;
    color: var(--white);
}

.emergency-text h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.emergency-text p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-logo-img {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-social h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    width: 20px;
    color: var(--white);
}

.contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-hours h5 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-hours p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
}

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

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

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--white);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

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

.page-header {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header .overlay {
    background-color: rgba(0, 0, 0, 0.5); /* oscurece la imagen */
    width: 100%;
    height: 350px;
    display: flex;
    align-items: center;
}

.page-header-content {
    text-align: center;
    color: var(--white);
    font-size: 2rem;
}



.page-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 18px;
}


.page-header-contact{
    color: var(--text-dark);
}

/* ===== SWIPER CUSTOMIZATION ===== */
.swiper-pagination-bullet {
    background: var(--primary-blue);
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-blue);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.5rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .about-content,
    .about-content-grid,
    .team-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .emergency-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .language-switcher {
        position: static;
        order: -1;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .hero-image img {
        height: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .service-card-full,
    .insurance-card-large {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .additional-plans {
        grid-template-columns: 1fr;
    }
    
    .note-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .service-card,
    .value-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .map-overlay {
        position: static;
        margin: 1rem;
        max-width: none;
    }
    
    .fixed-call-btn {
        bottom: 15px;
        right: 15px;
    }
    
    .call-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

/* ===== LOADING STATES ===== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.3);
        --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.4);
        --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.5);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .call-btn {
        animation: none;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .fixed-call-btn,
    .back-to-top,
    .nav-toggle,
    .mobile-menu {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
}

