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

:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-deep: #0369a1;
    --primary-light: #e0f2fe;
    --secondary: #f97316;
    --secondary-light: #fff7ed;
    --accent: #06b6d4;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray-900: #111827;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --success: #10b981;
    --whatsapp: #25d366;
    --whatsapp-dark: #128c7e;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

:focus-visible {
    outline: 3px solid var(--primary-deep);
    outline-offset: 2px;
    border-radius: 4px;
}

body {
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--gray-700);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
    overflow-wrap: anywhere;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    font-family: inherit;
}

.skip-link {
    position: absolute;
    top: -48px;
    left: 16px;
    z-index: 2000;
    background: var(--primary-deep);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
    color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary-deep);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-tag.light {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    font-family: Georgia, "Times New Roman", serif;
}

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

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray-500);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-primary {
    background: var(--primary-deep);
    color: var(--white);
    border-color: var(--primary-deep);
}

.btn-primary:hover {
    background: #075985;
    border-color: #075985;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 105, 161, 0.35);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

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

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

.btn-outline-dark {
    background: transparent;
    color: var(--primary-deep);
    border-color: var(--primary);
}

.btn-outline-dark:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

.btn-emergency {
    background: #b91c1c;
    color: var(--white);
    border-color: #b91c1c;
    padding: 12px 24px;
}

.btn-emergency:hover {
    background: #dc2626;
    border-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
}

.btn-whatsapp {
    background: #067647;
    color: var(--white);
    border-color: #067647;
    padding: 12px 24px;
}

.btn-whatsapp:hover {
    background: #1fb456;
    border-color: #1fb456;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.topbar {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
    position: relative;
    z-index: 1001;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
    flex-wrap: wrap;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.topbar i {
    color: var(--primary);
    margin-right: 6px;
}

.topbar a {
    color: rgba(255, 255, 255, 0.9);
}

.topbar a:hover {
    color: #38bdf8;
}

.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

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

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--dark);
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--primary-deep);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 14px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.menu-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #082f49 0%, #075985 28%, #0ea5e9 62%, #38bdf8 100%);
    z-index: -2;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 600px at 82% 18%, rgba(6, 182, 212, 0.35), transparent),
        radial-gradient(ellipse 420px 420px at 15% 82%, rgba(14, 165, 233, 0.25), transparent);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.08;
    background-image: radial-gradient(rgba(255, 255, 255, 0.7) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.4rem;
    color: var(--white);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero h1 .highlight {
    color: #fbbf24;
    position: relative;
}

.hero-desc {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 36px;
    line-height: 1.8;
}

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

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    max-width: 520px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    display: inline-block;
    width: 5ch;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.stat-plus {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fbbf24;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 420px;
    flex-shrink: 0;
}

.hero-photo {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(2, 6, 23, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.25);
    aspect-ratio: 4 / 3;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: var(--white);
    transition: var(--transition);
}

.hero-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-4px);
}

.hero-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.hero-card strong {
    display: block;
    font-size: 1rem;
}

.hero-card p {
    font-size: 0.88rem;
    opacity: 0.85;
    margin-top: 2px;
}

.hero-card-emergency {
    border-color: rgba(251, 191, 36, 0.45);
}

.hero-card-emergency .hero-card-icon {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 1;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

.emergency-strip {
    background: linear-gradient(90deg, #b91c1c, #dc2626);
    padding: 18px 0;
    color: var(--white);
}

.emergency-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.emergency-msg {
    display: flex;
    align-items: center;
    gap: 16px;
}

.emergency-msg i {
    font-size: 2rem;
    color: #fecaca;
    animation: pulse 1.6s infinite;
}

.emergency-msg strong {
    display: block;
    font-size: 1.05rem;
}

.emergency-msg span {
    font-size: 0.9rem;
    opacity: 0.9;
}

.emergency-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}

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

.about-image {
    position: relative;
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 3 / 2;
    box-shadow: var(--shadow-xl);
}

.about-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 130px;
    height: 130px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.45);
    border: 5px solid var(--white);
}

.exp-number {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.about-desc {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin-bottom: 36px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: var(--transition);
}

.feature:hover {
    background: var(--gray-50);
    border-color: var(--gray-200);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feature h3 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.feature p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.5;
}

.services {
    background: var(--gray-50);
}

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

.service-card {
    background: var(--white);
    padding: 32px 26px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

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

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

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

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(-6deg);
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.facilities {
    background: var(--white);
}

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

.facility-card {
    padding: 32px 28px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.facility-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: var(--primary-light);
}

.facility-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
}

.facility-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.facility-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.gallery-item {
    margin: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 10 / 7;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.doctors {
    background: var(--gray-50);
}

.vaccine {
    background: linear-gradient(135deg, #0c4a6e, #0284c7);
    padding: 100px 0;
}

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

.vaccine-info .section-tag {
    background: rgba(251, 191, 36, 0.2);
    color: #fde68a;
}

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

.vaccine-list {
    list-style: none;
    margin: 28px 0 32px;
}

.vaccine-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 0;
    font-size: 1rem;
}

.vaccine-list i {
    color: #86efac;
    font-size: 1.15rem;
    margin-top: 3px;
}

.vaccine-visual {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(2, 6, 23, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.2);
    aspect-ratio: 4 / 3;
}

.vaccine-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonials {
    background: var(--gray-50);
}

.schedule {
    background: linear-gradient(135deg, #0c4a6e, #0284c7);
    position: relative;
    overflow: hidden;
}

.schedule::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2), transparent 70%);
}

.schedule-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.schedule-info p.light {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.emergency-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    color: var(--white);
}

.emergency-box i {
    font-size: 1.5rem;
    color: #fbbf24;
}

.emergency-box span {
    font-size: 0.85rem;
    opacity: 0.85;
}

.emergency-box strong {
    display: block;
    font-size: 1.1rem;
}

.emergency-box a:hover strong {
    color: #fbbf24;
}

.schedule-table {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.schedule-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--white);
    transition: var(--transition);
}

.schedule-row:last-child {
    border-bottom: none;
}

.schedule-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

.schedule-row .day {
    font-weight: 600;
    font-size: 0.95rem;
    min-width: 110px;
}

.schedule-row .time {
    font-size: 0.92rem;
    opacity: 0.85;
}

.schedule-row .status {
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.schedule-row .status.open {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

.schedule-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(251, 191, 36, 0.12);
    color: #fde68a;
    font-size: 0.88rem;
    font-weight: 600;
}

.faq {
    background: var(--white);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--dark);
    text-align: left;
}

.faq-question i {
    color: var(--primary);
    transition: transform var(--transition);
    flex-shrink: 0;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.35s ease, visibility 0.35s ease;
}

.faq-item.open .faq-answer {
    visibility: visible;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.8;
}

.faq-answer a {
    color: var(--primary-deep);
    font-weight: 600;
}

.faq-answer a:hover {
    color: #075985;
}

.contact {
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 40px;
    margin-bottom: 48px;
    align-items: start;
}

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

.contact-card {
    padding: 28px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 14px;
}

.contact-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 0.92rem;
    color: var(--gray-500);
    line-height: 1.8;
}

.contact-card a {
    color: var(--primary-deep);
    font-weight: 600;
}

.contact-form-wrapper {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}

.contact-form-wrapper h3 {
    font-size: 1.3rem;
    margin-bottom: 24px;
}

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

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--dark);
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

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

.form-error {
    display: block;
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    margin-top: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    min-height: 0;
}

.form-error:empty {
    display: none;
}

.form-error.success {
    color: #166534;
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.form-consent {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    align-items: start;
    margin: 4px 0 18px;
    color: var(--gray-600);
    font-size: 0.85rem;
    line-height: 1.55;
}

.form-consent input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--primary-deep);
}

.form-consent input.invalid {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
}

.form-group input.invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15);
}

.form-group input.invalid:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.25);
}

.form-group input.invalid + label,
.form-group input.invalid {
    color: #b91c1c;
}

.form-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--gray-500);
    margin-top: 14px;
    line-height: 1.5;
}

.form-note i {
    color: var(--primary-deep);
    margin-top: 3px;
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.footer {
    background: var(--dark);
    padding: 70px 0 0;
    color: var(--gray-400);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.6fr;
    gap: 40px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    margin-bottom: 16px;
}

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

.footer-brand .logo-sub {
    color: #bae6fd;
}

.footer-brand p {
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: var(--whatsapp);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    padding: 6px 0;
    color: var(--gray-400);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 6px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    font-size: 0.9rem;
    margin-bottom: 14px;
    line-height: 1.6;
}

.footer-contact-item i {
    color: var(--primary);
    margin-top: 4px;
    flex-shrink: 0;
}

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

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 0.85rem;
}

.footer-disclaimer {
    margin-top: 8px;
    font-size: 0.78rem;
    color: #cbd5e1;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.footer-disclaimer a {
    color: #7dd3fc;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.float-btn {
    position: fixed;
    right: 24px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    z-index: 999;
    transition: transform var(--transition);
    animation: floatY 3s ease-in-out infinite;
}

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

.float-whatsapp {
    bottom: 110px;
    background: var(--whatsapp);
}

.float-call {
    bottom: 44px;
    background: var(--primary);
    animation-delay: 0.5s;
}

@keyframes floatY {
    0%, 100% { margin-bottom: 0; }
    50% { margin-bottom: 8px; }
}

.back-to-top {
    position: fixed;
    bottom: 118px;
    left: 24px;
    width: 48px;
    height: 48px;
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    z-index: 998;
}

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

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 1080px) {
    .hero h1 {
        font-size: 2.9rem;
    }

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

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

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

    .about-grid {
        gap: 48px;
    }

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

@media (max-width: 860px) {
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px 24px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-130%);
        transition: var(--transition);
        z-index: 999;
        gap: 6px;
        display: flex;
    }

    .nav.open {
        transform: translateY(0);
    }

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

    .menu-toggle {
        display: flex;
    }

    .header-actions .btn {
        display: none;
    }

    .topbar-hours {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 110px 0 90px;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 44px;
    }

    .hero-content {
        max-width: 640px;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .hero-desc {
        font-size: 1.05rem;
    }

    .hero-buttons,
    .hero-stats {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        width: 100%;
        max-width: 560px;
    }

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

    .experience-badge {
        right: 16px;
    }

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

    .vaccine-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .schedule-wrapper {
        grid-template-columns: 1fr;
        gap: 44px;
    }

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

    .emergency-strip-inner {
        justify-content: center;
        text-align: center;
    }

    .emergency-msg {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 70px 0;
    }

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

    .section-header {
        margin-bottom: 44px;
    }

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

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

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

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

    .doctor-image {
        height: 260px;
    }

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

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

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px;
    }

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

    .hero-stats {
        gap: 20px;
        padding: 20px 16px;
        flex-wrap: wrap;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero-buttons .btn-lg {
        padding: 12px 22px;
        font-size: 0.92rem;
    }

    .emergency-actions {
        justify-content: center;
    }

    .float-btn {
        right: max(18px, env(safe-area-inset-right));
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }

    .back-to-top {
        left: max(18px, env(safe-area-inset-left));
        width: 44px;
        height: 44px;
    }

    .container {
        padding: 0 18px;
    }

    .topbar-left {
        gap: 12px;
    }
}

.img-fallback {
    background: linear-gradient(135deg, var(--primary-light), #dbeafe) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.img-fallback::after {
    content: '\f0f2';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.25;
}

/* Hospital photography and progressively enhanced photo tour. */
.hero-photo picture, .about-img-wrapper picture, .doctor-photo-circle picture { display: block; width: 100%; height: 100%; }
.tour-link { margin-bottom: 24px; padding: 12px 20px; min-height: 44px; color: var(--primary-deep); border-color: var(--primary-deep); }
.tour-link:hover { color: var(--white); background: var(--primary-deep); }
.hospital-tour { margin-top: 64px; scroll-margin-top: 110px; }
.hospital-tour > p { color: var(--gray-600); }
.hospital-tour .gallery-grid { margin-top: 28px; }
.hospital-tour .gallery-item { aspect-ratio: auto; background: var(--white); border: 1px solid var(--gray-200); }
.hospital-tour .gallery-item:hover { transform: translateY(-4px); }
.tour-photo { display: block; aspect-ratio: 4 / 3; background: var(--gray-100); }
.tour-photo picture { display: block; width: 100%; height: 100%; }
.hospital-tour .gallery-item img { object-fit: contain; }
.hospital-tour .gallery-item:hover img { transform: none; }
.hospital-tour figcaption { padding: 14px 16px; font-weight: 600; color: var(--dark); }
.photo-credit { display: block; margin-top: 6px; font-size: 0.72rem; font-weight: 400; color: var(--gray-600); }
.tour-photo:focus-visible, .tour-dialog button:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.vaccine-visual { aspect-ratio: auto; margin: 0; align-self: center; }
.vaccine-visual picture { display: block; aspect-ratio: 4 / 3; }
.vaccine-visual figcaption { padding: 12px 16px; color: white; }
.doctor-photo-circle img { object-position: center; }
.tour-dialog { margin: auto; width: min(1100px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 20px; border: 0; border-radius: 16px; background: #fff; color: var(--dark); overflow: auto; }
.tour-dialog::backdrop { background: rgba(7, 20, 35, 0.86); }
.tour-dialog-header, .tour-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tour-dialog-header { margin-bottom: 12px; }
.tour-dialog h2 { font-size: 1.2rem; margin: 0; }
.tour-dialog button { min-height: 44px; padding: 8px 14px; border: 1px solid var(--gray-300); border-radius: 8px; background: var(--gray-50); color: var(--dark); font: inherit; cursor: pointer; }
.tour-dialog figure { margin: 0; }
.tour-dialog picture { display: flex; align-items: center; justify-content: center; height: min(66dvh, 720px); background: var(--gray-100); }
.tour-dialog img { width: 100%; height: 100%; object-fit: contain; }
.tour-dialog img[hidden] { display: none; }
.tour-dialog figcaption { padding: 12px 0; }
.tour-controls { margin-top: 8px; }
body.tour-open { overflow: hidden; }
#tour-error { padding: 12px 0; }
@media (max-width: 600px) {
    .tour-dialog { padding: 12px; }
    .tour-dialog h2 { font-size: 1rem; }
    .tour-dialog button { padding: 8px 10px; }
    .tour-dialog picture { height: 55dvh; }
}

/* ============================================================
   DOCTOR CARDS — Professional Portrait Layout (override)
   ============================================================ */

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.doctor-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

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

.doctor-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 32px 36px;
}

.doctor-photo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
    position: relative;
}

.doctor-photo-ring {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent), #7c3aed);
    padding: 4px;
    margin-bottom: 12px;
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.35);
    animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {
    0%, 100% { box-shadow: 0 8px 32px rgba(14, 165, 233, 0.35); }
    50% { box-shadow: 0 8px 40px rgba(14, 165, 233, 0.6); }
}

.doctor-photo-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gray-100);
    border: 3px solid var(--white);
}

.doctor-photo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
    display: block;
}

.doctor-card:hover .doctor-photo-circle img {
    transform: scale(1.06);
}

.doctor-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.doctor-verified i {
    font-size: 0.85rem;
    color: #10b981;
}

.doctor-body {
    width: 100%;
}

.doctor-name {
    font-size: 1.5rem;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.2;
}

.doctor-specialty {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--primary-deep);
    background: var(--primary-light);
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.doctor-specialty i {
    font-size: 0.85rem;
}

.doctor-quals {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.qual-badge {
    display: inline-block;
    padding: 3px 12px;
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gray-700);
    letter-spacing: 0.3px;
}

.doctor-desc {
    font-size: 0.93rem;
    color: var(--gray-500);
    line-height: 1.75;
    margin-bottom: 20px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

.doctor-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.doctor-meta-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--gray-600);
}

.doctor-meta-item i {
    color: var(--primary);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.btn-doctor {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.95rem;
}

/* Google Rating Strip below doctors */
.doctors-rating-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 48px;
    padding: 20px 32px;
    background: linear-gradient(135deg, #fefce8, #fff);
    border: 1px solid #fde68a;
    border-radius: var(--radius-lg);
    flex-wrap: wrap;
}

.rating-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rating-content .fa-google {
    font-size: 2rem;
    color: #ea4335;
}

.rating-stars {
    color: #f59e0b;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.rating-content span {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* ============================================================
   TESTIMONIALS — Google Rating Summary + Carousel
   ============================================================ */

.google-rating-summary {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 28px 36px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    margin-bottom: 48px;
    flex-wrap: wrap;
    justify-content: center;
}

.grs-score {
    text-align: center;
    flex-shrink: 0;
}

.grs-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    font-family: Georgia, "Times New Roman", serif;
}

.grs-stars {
    color: #f59e0b;
    font-size: 1.1rem;
    letter-spacing: 3px;
    margin: 6px 0;
}

.grs-total {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 600;
}

.grs-bars {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.grs-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--gray-600);
    font-weight: 600;
}

.grs-bar {
    flex: 1;
    height: 8px;
    background: var(--gray-200);
    border-radius: 50px;
    overflow: hidden;
}

.grs-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    border-radius: 50px;
}

.grs-tags {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.grs-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--primary-light);
    color: var(--primary-deep);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.grs-tag i {
    font-size: 0.8rem;
}

/* Testimonial Carousel */
.testimonial-carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 32px;
}

.tc-track {
    display: flex;
    gap: 28px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.tc-slide {
    flex: 0 0 calc(33.333% - 19px);
    min-width: 0;
}

.testimonial-card {
    background: var(--white);
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.stars {
    color: #f59e0b;
    margin-bottom: 16px;
    font-size: 0.95rem;
    letter-spacing: 3px;
}

.testimonial-card > p {
    font-size: 0.97rem;
    color: var(--gray-600);
    line-height: 1.8;
    flex: 1;
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--gray-200);
}

.avatar {
    width: 46px;
    height: 46px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

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

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

.testimonial-cta {
    text-align: center;
    margin-top: 16px;
}

/* Carousel Controls */
.tc-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}

.tc-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gray-200);
    color: var(--primary-deep);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.tc-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: scale(1.1);
}

.tc-dots {
    display: flex;
    gap: 8px;
}

.tc-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    padding: 0;
    position: relative;
}

.tc-dot::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    inset: 10px;
    border-radius: 50%;
    background: var(--gray-300);
}

.tc-dot.active {
    width: 36px;
}

.tc-dot.active::after {
    width: 24px;
    left: 6px;
    right: 6px;
    background: var(--primary-deep);
    border-radius: 4px;
}

/* ============================================================
   LIVE OPD STATUS BADGE
   ============================================================ */

.opd-live-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 148px;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.opd-live-badge.opd-open {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.opd-live-badge.opd-closed {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.opd-live-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.opd-live-badge.opd-open::before {
    background: #10b981;
    animation: pulse 1.4s ease-in-out infinite;
}

.opd-live-badge.opd-closed::before {
    background: #ef4444;
}

/* ============================================================
   FLOATING APPOINTMENT CTA
   ============================================================ */

.float-appt-cta {
    position: fixed;
    bottom: 180px;
    right: 24px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    box-shadow: var(--shadow-xl);
    z-index: 997;
    max-width: 230px;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    visibility: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

.float-appt-cta.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}

.float-appt-cta p {
    font-size: 0.88rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.float-appt-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.7rem;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.float-appt-close:hover {
    background: var(--gray-200);
    color: var(--dark);
}

/* ============================================================
   FAQ SEARCH
   ============================================================ */

.faq-search-wrapper {
    max-width: 760px;
    margin: 0 auto 28px;
}

.faq-search {
    position: relative;
    display: flex;
    align-items: center;
}

.faq-search i {
    position: absolute;
    left: 16px;
    color: var(--gray-400);
    font-size: 0.95rem;
    pointer-events: none;
}

.faq-search input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--dark);
    background: var(--white);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.faq-search input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.faq-search input::placeholder {
    color: var(--gray-400);
}

.faq-item.faq-hidden {
    display: none;
}

.faq-no-results {
    text-align: center;
    padding: 32px;
    color: var(--gray-600);
    font-size: 0.95rem;
    display: none;
}

.faq-no-results.visible {
    display: block;
}

/* ============================================================
   RESPONSIVE UPDATES for new components
   ============================================================ */

@media (max-width: 1080px) {
    .tc-slide {
        flex: 0 0 calc(50% - 14px);
    }
    .doctors-rating-strip {
        padding: 16px 20px;
    }
}

@media (max-width: 860px) {
    .doctors-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    .tc-slide {
        flex: 0 0 100%;
    }
    .google-rating-summary {
        flex-direction: column;
        gap: 24px;
        padding: 24px;
    }
    .grs-tags {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .doctors-rating-strip {
        flex-direction: column;
        text-align: center;
    }
    .rating-content {
        flex-direction: column;
        text-align: center;
    }
    .float-appt-cta {
        bottom: 160px;
        right: 18px;
    }
}

@media (max-width: 600px) {
    .doctor-card-inner {
        padding: 28px 20px 24px;
    }
    .doctor-photo-ring {
        width: 160px;
        height: 160px;
    }
    .doctor-name {
        font-size: 1.3rem;
    }
    .google-rating-summary {
        padding: 20px 16px;
    }
    .grs-number {
        font-size: 2.8rem;
    }
    .float-appt-cta {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
