:root {
    --primary: #272525;
    --primary-light: #444040;
    --accent: #dfb44a;
    --accent-light: #fce29f;
    --accent-dark: #b89132;
    --white: #ffffff;
    --off-white: #faf9f8;
    --cream: #fffdf5;
    --gray-50: #f7f7f7;
    --gray-100: #ededed;
    --gray-200: #e0dedc;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --teal: #10c4b5;
    --teal-light: #4be5d7;
    --teal-dark: #089a8e;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.15);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-800);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============ TOP BAR ============ */
.top-bar {
    background: var(--primary);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    z-index: 1001;
    position: relative;
}

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

.top-bar a { color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

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

.top-bar .contact-info {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
}

.top-bar .contact-info span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.top-bar .contact-info i { color: var(--white);
    font-size: 0.8rem;
}

.top-bar .social-links {
    display: flex;
    gap: 14px;
}

.top-bar .social-links a {
    color: var(--gray-300);
    font-size: 0.9rem;
    transition: var(--transition);
}

.top-bar .social-links a:hover { color: var(--white);
    transform: translateY(-1px);
}

/* ============ NAVIGATION ============ */
.navbar {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-xl);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.01em;
}

.navbar .logo .logo-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar .logo .logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.navbar .logo span {
    color: var(--accent);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 16px;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.01em;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: var(--gray-100);
}

.nav-links .btn-nav { background: var(--primary); color: var(--white) !important;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 50px;
    margin-left: 8px;
    letter-spacing: 0.02em;
    transition: var(--transition);
}

.nav-links .btn-nav:hover { background: var(--primary-light); color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1002;
    padding: 8px;
}

.hamburger span {
    width: 28px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* ============ CONTAINER ============ */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ============ HERO ============ */
.hero {
    position: relative;
    background: url('../images/fondo.jpg') center/cover;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 196, 181, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(223, 180, 74, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero .hero-pattern {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: none;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    color: var(--white);
}

.hero-badge { display: inline-block; background: rgba(223, 180, 74, 0.1); border: 1px solid rgba(223, 180, 74, 0.3); color: var(--accent);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 2.2rem;
    font-family: 'Great Vibes', cursive;
    font-weight: 400;
    margin-bottom: 22px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.hero-content h1 .highlight { color: var(--accent); text-decoration: none;
    position: relative;
    font-style: italic;
    font-weight: 600;
}

.hero-content p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 34px;
    max-width: 480px;
    line-height: 1.8;
    font-weight: 300;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    letter-spacing: 0.02em;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.btn-primary { background: var(--teal);
    color: var(--white);
    box-shadow: 0 8px 30px rgba(16, 196, 181, 0.35);
}

.btn-primary:hover { background: var(--teal-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(16, 196, 181, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-3px);
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1/1;
    border-radius: var(--radius-2xl);
    background: linear-gradient(135deg, rgba(16, 196, 181, 0.15), rgba(223, 180, 74, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-2xl);
}

.hero-image .icon-large {
    font-size: 9rem;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0.9;
}

.hero-stats {
    position: absolute;
    bottom: 20px;
    left: -30px;
    background: var(--white);
    color: var(--primary);
    padding: 18px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    text-align: center;
    min-width: 130px;
}

.hero-stats .stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-dark);
}

.hero-stats .stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-stats-2 {
    position: absolute;
    top: 30px;
    right: -20px;
    background: var(--white);
    color: var(--primary);
    padding: 16px 22px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    text-align: center;
    min-width: 120px;
}

.hero-stats-2 .stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--teal);
}

.hero-stats-2 .stat-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ============ SECTION STYLES ============ */
section {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--accent);
    margin-bottom: 12px;
    line-height: 1;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.7;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 38px 30px 32px;
    box-shadow: var(--shadow);
    transition: var(--transition-slow);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--teal-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-slow);
    border-radius: 0 0 4px 4px;
}

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

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

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    background: var(--cream);
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--accent);
}

.service-img-wrapper {
    margin: -38px -30px 20px -30px;
    height: 200px;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.05);
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}

.service-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-card .learn-more {
    color: var(--accent-dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.service-card .learn-more:hover {
    gap: 10px;
    color: var(--primary);
}

/* ============ ABOUT ============ */
.about-section {
    background: var(--white);
}

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

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius-xl);
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
}

.about-image i {
    font-size: 6rem;
    color: var(--white);
    opacity: 0.7;
}

.about-image .experience-badge {
    position: absolute;
    bottom: -25px;
    right: -25px;
    background: var(--primary);
    color: var(--white);
    padding: 22px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-xl);
    z-index: 2;
}

.experience-badge .years {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.about-content .section-tag {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
    font-size: 2.4rem;
}

.about-content p {
    color: var(--gray-600);
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.8;
}

.about-features {
    list-style: none;
    margin-top: 20px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--gray-700);
}

.about-features li i {
    color: var(--teal);
    font-size: 1.1rem;
}

/* ============ STATS COUNTER ============ */
.stats-section {
    background: var(--primary);
    padding: 60px 0;
}

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

.stat-item {
    color: var(--white);
}

.stat-item .number { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700; color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-item .label {
    font-size: 0.95rem;
    font-weight: 400;
    color: #cbd5e1;
    letter-spacing: 0.03em;
}

/* ============ DOCTORS ============ */
.doctors-section {
    background: var(--off-white);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.doctor-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    padding: 20px;
    border: 1px solid var(--gray-200);
}

.doctor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-light);
}

.doctor-avatar {
    width: 70px;
    height: 70px;
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    flex-shrink: 0;
    margin-right: 20px;
}

.doctor-avatar i {
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.8;
}

.doctor-info {
    padding: 0;
    flex-grow: 1;
    text-align: left;
}

.doctor-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
    line-height: 1.2;
}

.doctor-info .specialty {
    color: var(--accent-dark);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 10px;
    letter-spacing: 0.03em;
}

.doctor-info p {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.doctor-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
}

.doctor-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: var(--transition);
    font-size: 0.85rem;
}

.doctor-social a:hover {
    background: var(--primary);
    color: var(--accent);
}

/* ============ TESTIMONIALS ============ */
.testimonials-section {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--off-white);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--accent);
    position: relative;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testimonial-card .quote-icon {
    font-size: 2.5rem;
    color: var(--accent);
    opacity: 0.5;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.testimonial-card p {
    color: var(--gray-600);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author .author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
}

.testimonial-author .author-info strong {
    display: block;
    color: var(--primary);
    font-size: 0.95rem;
}

.testimonial-author .author-info span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ============ APPOINTMENT ============ */
.appointment-section {
    background: linear-gradient(160deg, #060e1a 0%, #0a2342 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.appointment-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.appointment-section .section-tag {
    color: var(--accent-light);
}

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

.appointment-section .section-subtitle {
    color: #cbd5e1;
}

.appointment-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    padding: 44px 40px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

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

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    color: #e2e8f0;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%2306b6d4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--primary);
    color: var(--white);
}

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

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: var(--primary);
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.03em;
    margin-top: 8px;
}

.btn-submit:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(6, 182, 212, 0.4);
}

/* ============ INSURANCE / PARTNERS ============ */
.partners-section {
    background: var(--off-white);
    padding: 50px 0;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.partner-logo {
    width: 100px;
    height: 50px;
    background: var(--gray-200);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--gray-500);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    transition: var(--transition);
    opacity: 0.7;
}

.partner-logo:hover {
    opacity: 1;
    background: var(--gray-300);
}

/* ============ FOOTER ============ */
.footer {
    background: var(--primary);
    color: #cbd5e1;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer h4 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}

.footer p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer ul {
    list-style: none;
}

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

.footer ul li a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer ul li a:hover { color: var(--white);
    padding-left: 4px;
}

.footer .footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 14px;
}

.footer .footer-logo span { color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85rem;
    color: #94a3b8;
}

.footer-newsletter {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.footer-newsletter input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    outline: none;
    font-size: 0.9rem;
}

.footer-newsletter input:focus {
    border-color: var(--accent);
}

.footer-newsletter button { padding: 12px 20px; border-radius: 50px; background: var(--white);
    color: var(--primary);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.footer-newsletter button:hover {
    background: var(--accent-light);
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
    color: #fff;
}

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    pointer-events: none;
    font-size: 1.1rem;
}

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

.back-to-top:hover {
    background: var(--accent-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* ============ MOBILE NAV OVERLAY ============ */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ============ ANIMATIONS ============ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero-content p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-image-wrapper {
        order: -1;
    }

    .hero-image {
        max-width: 350px;
    }

    .hero-stats,
    .hero-stats-2 {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.6rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image .experience-badge {
        bottom: -15px;
        right: 10px;
        padding: 16px 20px;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

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

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .top-bar .contact-info {
        font-size: 0.75rem;
        gap: 12px;
    }

    .top-bar .social-links {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: var(--shadow-2xl);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 4px;
        z-index: 1000;
    }

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

    .nav-links a {
        font-size: 1rem;
        padding: 12px 16px;
    }

    .nav-links .btn-nav {
        margin-left: 0;
        text-align: center;
        margin-top: 8px;
    }

    .hamburger {
        display: flex;
    }

    .services-grid,
    .doctors-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

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

    .stat-item .number {
        font-size: 2.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-content h1 {
        font-size: 2.1rem;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .appointment-form-wrapper {
        padding: 28px 20px;
    }

    section {
        padding: 60px 0;
    }

    .partners-grid {
        gap: 24px;
    }

    .partner-logo {
        width: 70px;
        height: 36px;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero {
        min-height: 70vh;
    }

    .btn {
        padding: 12px 22px;
        font-size: 0.9rem;
    }

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

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

    .section-title {
        font-size: 1.6rem;
    }

    .top-bar .contact-info {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }
}

/* ============ LOCATION MAP ============ */
.location-section {
    padding: 100px 0;
    background-color: var(--white);
    position: relative;
}

.map-wrapper {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 40px;
}

.map-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 165, 233, 0.1);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    transition: var(--transition);
}

.map-wrapper:hover .map-link-overlay {
    opacity: 1;
    background: rgba(14, 165, 233, 0.2);
}

.map-overlay-content {
    background: var(--primary);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.map-wrapper:hover .map-overlay-content {
    transform: translateY(0);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
}

@media (max-width: 768px) {
    .map-link-overlay {
        opacity: 1;
        background: transparent;
        align-items: flex-end;
        padding-bottom: 30px;
    }
    .map-overlay-content {
        transform: translateY(0);
        font-size: 0.95rem;
        padding: 12px 20px;
    }
    .map-wrapper iframe {
        height: 350px;
    }
}
