/* Reset y variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* IDP Brand Colors */
    --primary-color: #1e73be;        /* Azul IDP principal */
    --secondary-color: #ff6900;      /* Naranja IDP */
    --accent-color: #00d084;         /* Verde acento */
    
    /* Status Colors */
    --success-color: #00d084;
    --error-color: #cf2e2e;
    --warning-color: #fcb900;
    --info-color: #0693e3;
    
    /* Text Colors */
    --text-color: #333333;
    --text-secondary: #555555;
    --text-light: #767676;
    --text-muted: #abb8c3;
    
    /* Background Colors */
    --bg-color: #ffffff;
    --bg-light: #f7f7f7;
    --bg-gray: #f4f4f4;
    --bg-dark: #292929;
    
    /* Border & Shadow */
    --border-color: #eeeeee;
    --border-medium: #cccccc;
    --shadow-sm: 0 2px 8px rgba(30, 115, 190, 0.08);
    --shadow-md: 0 4px 16px rgba(30, 115, 190, 0.12);
    --shadow-lg: 0 8px 32px rgba(30, 115, 190, 0.16);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1e73be 0%, #2a5296 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6900 0%, #ec7834 100%);
    --gradient-hero: linear-gradient(135deg, rgba(30, 115, 190, 0.95) 0%, rgba(42, 82, 150, 0.95) 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--bg-color);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--bg-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.top-bar {
    background: var(--gradient-primary);
    color: white;
    padding: 12px 0;
    font-size: 0.875rem;
}

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

.top-bar-left {
    display: flex;
    align-items: center;
}

.top-bar-address {
    margin-right: 10px;
}

/* Therapy Badges Header - Centered with diagonal separator */
.therapy-badges-header {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    gap: 0;
}

.therapy-badges-header .header-therapy-badge {
    padding: 10px 30px;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.therapy-badges-header .header-therapy-badge.presencial {
    background: linear-gradient(135deg, #1e73be 0%, #155a96 100%);
    color: white;
    border-radius: 20px 0 0 20px;
}

.therapy-badges-header .header-therapy-badge.online {
    background: linear-gradient(135deg, #ff6900 0%, #e55a00 100%);
    color: white;
    border-radius: 0 20px 20px 0;
}

.schedule {
    font-weight: 500;
    opacity: 0.95;
}

.main-nav {
    padding: 18px 0;
    background: white;
    position: relative;
}

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

.logo h1 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    transition: transform 0.3s ease;
}

.logo h1:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-menu a:not(.btn-primary):hover {
    color: var(--primary-color);
}

.nav-menu a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-secondary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu a:not(.btn-primary):hover::after {
    width: 100%;
}

.nav-menu a.active:not(.btn-primary)::after {
    width: 100%;
    background: var(--gradient-primary);
}

/* Nav Menu CTA Button */
.nav-menu .btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(30, 115, 190, 0.25);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-menu .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a5296 0%, #1e73be 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.nav-menu .btn-primary:hover::before {
    left: 0;
}

.nav-menu .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(30, 115, 190, 0.4);
    color: white;
}

/* Dropdown Menu */
.nav-menu .dropdown {
    position: relative;
}

.nav-menu .dropdown > a {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    display: block;
}

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

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    transition: all 0.3s;
}

.dropdown-menu li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px;
}

.dropdown-menu .divider {
    height: 1px;
    background-color: var(--bg-light);
    margin: 8px 0;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-color);
    padding: 10px;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1002;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(30, 115, 190, 0.3);
    border: 2px solid transparent;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a5296 0%, #1e73be 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

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

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--gradient-secondary);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 105, 0, 0.3);
}

.btn-large {
    padding: 18px 45px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    color: white;
    padding: 100px 0 100px;
    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% 80%, rgba(255, 105, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 208, 132, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    color: var(--secondary-color);
    opacity: 0.95;
}

.hero h3 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.15rem;
    max-width: 850px;
    margin: 0 auto 15px;
    opacity: 0.92;
    line-height: 1.8;
    font-weight: 400;
}

.hero-buttons {
    margin-top: 40px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 12px 30px;
    font-size: 0.95rem;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.hero-buttons .btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: none;
}

.hero-buttons .btn-primary::before {
    display: none;
}

.hero-buttons .btn-primary:hover {
    background: #f0f0f0;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

/* Hero Therapy Bar - Full width at bottom */
.hero-therapy-bar {
    display: flex;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

.hero-therapy-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    color: white;
    transition: all 0.3s ease;
}

.hero-therapy-option.presencial {
    background: linear-gradient(135deg, #1e73be 0%, #155a96 100%);
}

.hero-therapy-option.online {
    background: linear-gradient(135deg, #e07830 0%, #c96a28 100%);
}

.hero-therapy-option:hover {
    filter: brightness(1.1);
}

.hero-therapy-option .therapy-icon {
    font-size: 1.2rem;
}

.hero-therapy-option .therapy-text {
    font-weight: 700;
}

/* Therapy Modes Badge (for other pages if needed) */
.therapy-modes {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.therapy-mode {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.15rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.therapy-mode:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.therapy-mode.presencial {
    background: linear-gradient(135deg, #1e73be 0%, #0d5a9e 100%);
    color: white;
    border: none;
}

.therapy-mode.online {
    background: linear-gradient(135deg, #ff6900 0%, #e55a00 100%);
    color: white;
    border: none;
}

.therapy-icon {
    font-size: 1.4rem;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
    position: relative;
}

.services h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 800;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 60px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.4s ease;
    width: 56px;
    height: 56px;
    align-self: center;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 18px;
    font-size: 1.5rem;
    font-weight: 700;
    transition: color 0.3s ease;
    min-height: 3.6em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card:hover h3 {
    color: var(--secondary-color);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1;
}

/* Service features list (bullet points) */
.service-features-list {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 0.9rem;
    line-height: 1.6;
    padding-left: 20px;
    text-align: left;
    list-style-type: disc;
    flex-grow: 1;
}

.service-features-list li {
    margin-bottom: 6px;
}

.service-features-list li:last-child {
    margin-bottom: 0;
}

.service-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
    margin-top: auto;
    align-self: center;
}

.service-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.service-link:hover {
    gap: 10px;
}

.service-link:hover::after {
    transform: translateX(3px);
}

/* Values Section */
.values {
    padding: 100px 0;
    background: white;
    position: relative;
}

.values h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 800;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.values h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

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

.value-card {
    text-align: center;
    padding: 35px 20px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-8px);
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    font-size: 3.2rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.value-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.value-card:hover .value-icon {
    transform: scale(1.2);
}

.value-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    transition: color 0.3s ease;
    margin: 0;
}

/* Recent Posts Section */
.recent-posts {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.recent-posts h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-color);
}

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

.post-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.post-image {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 15px;
    width: 48px;
    height: 48px;
    margin-left: auto;
    margin-right: auto;
}

.post-image svg {
    width: 100%;
    height: 100%;
    display: block;
}

.post-card h3 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.post-category {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.post-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.post-link:hover {
    color: var(--secondary-color);
}

/* Specialties Section */
.specialties {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.specialties h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-color);
}

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

.specialty-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.specialty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.specialty-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.specialty-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.specialty-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.specialty-card p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 15px;
}

.specialty-card ul {
    color: var(--text-color);
    padding-left: 20px;
    line-height: 1.8;
}

.specialty-card ul li {
    margin-bottom: 8px;
}

/* Location Section */
.location-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.location-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.location-intro h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.location-intro p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.location-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto;
}

.location-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--bg-light);
}

.location-icon {
    font-size: 3rem;
}

.location-header h3 {
    font-size: 2rem;
    color: var(--primary-color);
}

.location-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.detail-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.detail-content h4 {
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.detail-content p {
    color: var(--text-light);
    margin: 0;
}

.detail-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.detail-content a:hover {
    color: var(--secondary-color);
}

.location-description {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.location-description h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.location-description p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 10px;
}

.location-map {
    margin: 30px 0;
    border-radius: 10px;
    overflow: hidden;
}

.location-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* Location Features */
.location-features {
    padding: 60px 0;
    background: white;
}

.location-features h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 50px;
}

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

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

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

/* Insurance Partners Carousel */
.insurance-partners {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, white 100%);
    overflow: hidden;
}

.insurance-partners h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--text-secondary);
    font-weight: 600;
}

.insurance-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.insurance-carousel::before,
.insurance-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.insurance-carousel::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-light) 0%, transparent 100%);
}

.insurance-carousel::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-light) 0%, transparent 100%);
}

.insurance-track {
    display: flex;
    gap: 50px;
    animation: scroll-infinite 40s linear infinite;
    width: fit-content;
}

.insurance-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.insurance-item {
    flex-shrink: 0;
    min-width: 180px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, white 0%, var(--bg-light) 100%);
    border-radius: 16px;
    padding: 20px 30px;
    box-shadow: 0 2px 12px rgba(30, 115, 190, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    border: 2px solid transparent;
}

.insurance-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.insurance-item:hover::before {
    transform: scaleX(1);
}

.insurance-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 115, 190, 0.2);
    background: white;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Contact CTA */
.contact-cta {
    background: var(--gradient-primary);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 105, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-cta::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 208, 132, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-cta .container {
    position: relative;
    z-index: 1;
}

.contact-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 700;
    line-height: 1.4;
}

.contact-cta .btn-large {
    background: var(--secondary-color);
    color: white;
    border: 2px solid white;
    font-size: 1.1rem;
}

.contact-cta .btn-large::before {
    display: none;
}

.contact-cta .btn-large:hover {
    background: white;
    color: var(--secondary-color);
    transform: translateY(-3px) scale(1.05);
}

/* Service Detail Pages */
.service-detail {
    padding: 60px 0;
    background-color: white;
}

.service-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}

.service-intro .lead {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.service-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-main-content {
    background: white;
}

.service-section {
    margin-bottom: 40px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 10px;
}

.service-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.service-section h3 {
    color: var(--text-color);
    margin: 25px 0 15px;
    font-size: 1.4rem;
}

.service-section h4 {
    color: var(--text-color);
    margin: 20px 0 10px;
    font-size: 1.2rem;
}

.service-section ul {
    list-style: none;
    padding-left: 0;
}

.service-section ul li {
    padding: 8px 0 8px 30px;
    position: relative;
    line-height: 1.6;
}

.service-section ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-section ol {
    padding-left: 20px;
}

.service-section ol li {
    padding: 5px 0;
    line-height: 1.6;
}

.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sidebar-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-list li:last-child {
    border-bottom: none;
}

.services-links {
    list-style: none;
    padding: 0;
}

.services-links li {
    margin-bottom: 10px;
}

.services-links a {
    color: var(--text-color);
    text-decoration: none;
    display: block;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s;
}

.services-links a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 15px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 15px;
}

/* Blog Section */
.blog-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.blog-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.blog-intro .lead {
    font-size: 1.2rem;
    color: var(--text-light);
}

.post-full-content {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}

.post-text {
    line-height: 1.8;
    color: var(--text-color);
}

.read-more-btn {
    margin-top: 15px;
}

.blog-categories {
    padding: 60px 0;
    background: white;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    text-align: center;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    width: 48px;
    height: 48px;
    margin-left: auto;
    margin-right: auto;
}

.category-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Ofertes Laborals */
.ofertes-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.ofertes-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.ofertes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.oferta-card-large {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.contact-info-box, .requirements-box {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.current-ofertes {
    padding: 60px 0;
    background: white;
}

.no-ofertes {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-light);
    border-radius: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.no-ofertes-icon {
    font-size: 5rem;
    margin-bottom: 20px;
}

.why-work-with-us {
    padding: 60px 0;
    background: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    width: 48px;
    height: 48px;
    display: inline-block;
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Appointment Form */
.appointment-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.appointment-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.appointment-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.appointment-form-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.appointment-form h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

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

.form-section h3 {
    color: var(--text-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.quick-contact-methods {
    padding: 60px 0;
    background: white;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-method-card {
    text-align: center;
    padding: 40px;
    background: var(--bg-light);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s;
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    background: var(--primary-color);
    color: white;
}

.method-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Legal Pages */
.legal-content {
    padding: 60px 0;
    background: white;
}

.legal-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.legal-text {
    line-height: 1.8;
}

.legal-text h2 {
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.legal-text h3 {
    color: var(--text-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.legal-text h4 {
    color: var(--text-color);
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.legal-text ul, .legal-text ol {
    margin: 20px 0;
    padding-left: 30px;
}

.legal-text li {
    margin: 10px 0;
    line-height: 1.6;
}

.last-updated {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 5px;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 30px;
}

.info-box, .warning-box {
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.info-box {
    background: #e3f2fd;
    border-left: 4px solid var(--primary-color);
}

.warning-box {
    background: #fff3cd;
    border-left: 4px solid var(--warning-color);
}

.cookies-table {
    margin: 30px 0;
}

.cookie-type {
    background: var(--bg-light);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
}

.cookies-list {
    margin: 30px 0;
}

.cookie-item {
    background: var(--bg-light);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
}

.browser-info {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

/* Footer */
footer {
    background: linear-gradient(180deg, #1a1a1a 0%, var(--bg-dark) 100%);
    color: white;
    padding: 60px 0 25px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.25rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

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

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.footer-section a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.footer-section a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

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

.footer-section p {
    color: #d1d5db;
    margin-bottom: 10px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    font-size: 0.9rem;
}

/* WhatsApp Buttons */
.whatsapp-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.whatsapp-btn {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-decoration: none;
}

.whatsapp-btn svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.whatsapp-btn:hover::before {
    opacity: 1;
}

.whatsapp-btn:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn:hover svg {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .contact-info span {
        display: block;
        margin: 5px 0;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile browsers */
        background-color: white;
        box-shadow: none;
        padding: 80px 30px 100px;
        padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
        z-index: 999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active,
    .nav-menu[data-open="true"] {
        display: flex !important;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--bg-light);
    }

    .nav-menu li:last-child {
        border-bottom: none;
        margin-top: 20px;
    }

    .nav-menu > li > a {
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
    }

    /* Botó Demanar Cita en mòbil */
    .nav-menu .btn-primary {
        background: var(--gradient-primary) !important;
        color: white !important;
        padding: 15px 30px;
        border-radius: 8px;
        font-weight: 700;
        text-align: center;
        box-shadow: 0 4px 15px rgba(30, 115, 190, 0.3);
        width: 100%;
    }

    .nav-menu .btn-primary:hover {
        box-shadow: 0 6px 20px rgba(30, 115, 190, 0.4);
    }

    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
    }

    /* Dropdown mobile styles */
    .nav-menu .dropdown {
        width: 100%;
    }

    .nav-menu .dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-menu .dropdown > a::after {
        content: none;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        margin-top: 0;
        box-shadow: none;
        border-radius: 8px;
        background: var(--bg-light);
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding: 0;
    }

    .dropdown.active .dropdown-menu {
        max-height: 500px;
        padding: 10px 0;
        margin: 10px 0;
    }

    .dropdown-menu li {
        border-bottom: none;
    }

    .dropdown-menu li a {
        padding: 12px 20px;
        font-size: 0.95rem;
        color: var(--text-light);
    }

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

    /* Location page responsive */
    .location-card {
        padding: 20px;
    }

    .location-header {
        flex-direction: column;
        text-align: center;
    }

    .location-header h3 {
        font-size: 1.5rem;
    }

    .location-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .location-actions {
        flex-direction: column;
    }

    .location-actions .btn {
        width: 100%;
    }

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

    .location-intro h2,
    .location-features h2 {
        font-size: 1.8rem;
    }

    /* New pages responsive */
    .service-content-grid {
        grid-template-columns: 1fr;
    }

    .service-sidebar {
        order: -1;
    }

    .appointment-wrapper {
        grid-template-columns: 1fr;
    }

    .appointment-sidebar {
        order: -1;
    }

    .ofertes-grid {
        grid-template-columns: 1fr;
    }

    .oferta-card-large {
        padding: 25px;
    }

    .categories-grid,
    .benefits-grid,
    .contact-methods-grid {
        grid-template-columns: 1fr;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero h3 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .services-grid,
    .values-grid,
    .posts-grid {
        grid-template-columns: 1fr;
    }

    .contact-cta h2 {
        font-size: 1.5rem;
    }

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

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.5rem;
    }

    .hero h3 {
        font-size: 1.2rem;
    }

    .services h2,
    .values h2,
    .recent-posts h2 {
        font-size: 1.8rem;
    }

    .whatsapp-buttons {
        bottom: 10px;
        right: 10px;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.value-card,
.post-card {
    animation: fadeIn 0.6s ease-out;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* ============================================
   NEW PAGES STYLES
   ============================================ */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* ============================================
   SERVICES PAGE
   ============================================ */

.services-detailed {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-detail-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.service-detail-image {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 20px;
    width: 64px;
    height: 64px;
    margin-left: auto;
    margin-right: auto;
}

.service-detail-image svg {
    width: 100%;
    height: 100%;
    display: block;
}

.service-detail-card h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.service-description {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
}

.service-features {
    margin-bottom: 25px;
}

.service-features h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.service-features ul {
    list-style: none;
    padding-left: 0;
}

.service-features ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
}

.service-features ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

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

/* ============================================
   PROFESSIONALS PAGE
   ============================================ */

.team-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: var(--text-light);
}

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

.team-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.team-photo {
    font-size: 5rem;
    margin-bottom: 20px;
}

.team-card h3 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1rem;
}

.team-specialty {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.team-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-style: italic;
}

.team-description {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.team-values {
    padding: 80px 0;
    background-color: white;
}

.team-values h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

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

.value-item {
    text-align: center;
    padding: 30px;
}

.value-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.value-item h3 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

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

/* ============================================
   ON SOM PAGE (LOCATIONS)
   ============================================ */

.locations-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.locations-grid {
    display: grid;
    gap: 50px;
}

.location-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.location-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.location-header h3 {
    color: var(--primary-color);
    font-size: 2rem;
}

.location-badge {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.location-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

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

.info-icon {
    font-size: 2rem;
}

.info-item h4 {
    color: var(--text-color);
    margin-bottom: 5px;
    font-size: 1rem;
}

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

.info-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

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

.location-description {
    margin-bottom: 30px;
}

.location-description h4 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.location-description p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.location-description ul {
    list-style: none;
    padding: 0;
}

.location-description ul li {
    padding: 8px 0;
    color: var(--text-light);
}

.location-map {
    margin-bottom: 30px;
}

.services-available {
    padding: 80px 0;
    background-color: white;
}

.services-available h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.comparison-table td.available {
    color: var(--success-color);
    font-size: 1.5rem;
    text-align: center;
}

.comparison-table td.limited {
    color: var(--warning-color);
    text-align: center;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-info-section {
    padding: 60px 0;
    background-color: white;
}

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

.contact-info-card {
    text-align: center;
    padding: 30px;
    background-color: var(--bg-light);
    border-radius: 10px;
    transition: transform 0.3s;
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

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

.contact-info-card p {
    color: var(--text-light);
    margin-bottom: 8px;
}

.contact-info-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-info-card a:hover {
    color: var(--secondary-color);
}

.contact-form-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-intro {
    text-align: center;
    margin-bottom: 40px;
}

.form-intro h2 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 2rem;
}

.form-intro p {
    color: var(--text-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.quick-contact {
    padding: 80px 0;
    background-color: white;
}

.quick-contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

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

.quick-contact-card {
    text-align: center;
    padding: 30px;
    background-color: var(--bg-light);
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.3s, background-color 0.3s;
}

.quick-contact-card:hover {
    transform: translateY(-5px);
    background-color: var(--primary-color);
    color: white;
}

.quick-contact-card:hover * {
    color: white;
}

.quick-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.quick-contact-card h3 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.quick-contact-card p {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 10px;
}

.quick-link {
    color: var(--primary-color);
    font-weight: 600;
}

.map-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.map-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.maps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.map-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.map-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.map-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.map-card-single {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto;
}

.map-card-single h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.map-card-single p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.faq-section {
    padding: 80px 0;
    background-color: white;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

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

.faq-item {
    padding: 25px;
    background-color: var(--bg-light);
    border-radius: 10px;
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

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

/* ============================================
   BLOG PAGE
   ============================================ */

.blog-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.blog-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.blog-image {
    font-size: 5rem;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.blog-content {
    padding: 30px;
}

.blog-category {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.blog-card h2 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.blog-excerpt {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-meta {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.blog-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 15px 30px;
    white-space: nowrap;
}

/* ============================================
   RESPONSIVE UPDATES
   ============================================ */

@media (max-width: 768px) {
    .service-detail-grid,
    .team-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .location-header {
        flex-direction: column;
        align-items: flex-start;
    }

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

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

    .newsletter-form {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px;
    }
}

/* ============================================
   SERVICE DETAIL PAGES
   ============================================ */

.service-detail-page {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.service-content {
    max-width: 900px;
    margin: 0 auto;
}

.service-intro {
    background: white;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.service-intro .lead {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 20px;
}

.service-areas,
.service-description,
.service-list-section,
.service-process,
.service-offerings,
.other-services-sections {
    background: white;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.service-areas h2,
.service-description h2,
.service-list-section h2,
.service-process h2,
.service-offerings h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.service-area-card,
.disorder-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
}

.service-area-card h3,
.disorder-card h4 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-area-card h3 svg,
.disorder-card h4 svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.service-list {
    list-style: none;
    padding-left: 0;
}

.service-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

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

.disorders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.disorder-card ul {
    list-style: none;
    padding: 0;
}

.disorder-card li {
    padding: 5px 0;
    font-size: 0.95rem;
}

.highlight-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.medical-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.medical-service-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

.medical-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.service-icon-large {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
    width: 48px;
    height: 48px;
    margin-left: auto;
    margin-right: auto;
}

.service-icon-large svg {
    width: 100%;
    height: 100%;
    display: block;
}

.medical-service-card h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.medical-service-card .highlight {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 0.9rem;
}

.schedule-section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 20px 0;
}

.schedule-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
}

.schedule-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.schedule-card h3 svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.schedule-section h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.schedule-section h2 svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.schedule-times {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    background: white;
    border-radius: 5px;
}

.schedule-item .day {
    font-weight: 600;
    color: var(--text-color);
}

.schedule-item .time {
    color: var(--primary-color);
    font-weight: 500;
}

.important-notice {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin-top: 20px;
    border-radius: 5px;
}

.important-notice strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.important-notice strong svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    vertical-align: middle;
}

.service-info-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.service-info-box h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    padding: 10px 0;
    font-size: 1.05rem;
}

.process-steps {
    margin-top: 30px;
}

.process-step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.step-number {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.offering-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.offering-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
    width: 40px;
    height: 40px;
    margin-left: auto;
    margin-right: auto;
}

.offering-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.offering-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.other-service-section {
    margin-bottom: 40px;
}

.service-header-icon {
    text-align: center;
    margin-bottom: 30px;
}

.icon-large {
    font-size: 4rem;
    display: block;
    margin-bottom: 15px;
    width: 64px;
    height: 64px;
    margin-left: auto;
    margin-right: auto;
}

.icon-large svg {
    width: 100%;
    height: 100%;
    display: block;
}

.service-features-box {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
}

.service-features-box h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-features-box ul {
    list-style: none;
    padding: 0;
}

.service-features-box li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.service-features-box li:before {
    content: "→";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-target {
    background: #e3f2fd;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid var(--primary-color);
}

.service-target h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.service-areas-list {
    margin-top: 20px;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.area-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.area-item span {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
    width: 40px;
    height: 40px;
    margin-left: auto;
    margin-right: auto;
}

.area-item span svg {
    width: 100%;
    height: 100%;
    display: block;
}

.service-customization {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid var(--secondary-color);
}

.service-customization h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-customization h4 svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.service-cta-inline {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-top: 40px;
}

.service-cta-inline h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.service-cta-inline p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.95;
}

.service-cta-inline .btn {
    background: white;
    color: var(--primary-color);
    font-weight: bold;
}

.service-cta-inline .btn:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .service-intro,
    .service-areas,
    .service-description,
    .service-list-section,
    .service-process,
    .service-offerings,
    .schedule-section,
    .service-info-box {
        padding: 25px;
    }

    .disorders-grid,
    .medical-services-grid,
    .offerings-grid,
    .areas-grid {
        grid-template-columns: 1fr;
    }

    .process-step {
        flex-direction: column;
    }

    .service-cta-inline {
        padding: 30px 20px;
    }

    .icon-large {
        font-size: 3rem;
    }
}

/* ===================================
   Alert Messages (Form Feedback)
   =================================== */

.alert {
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.alert-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
}

.alert-info {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}
