/* Google Fonts moved to HTML for better performance */


:root {
    --primary: #0D9488;
    --primary-dark: #0F766E;
    --primary-light: #CCFBF1;
    --accent: #F97316;
    --accent-hover: #EA580C;
    --text-dark: #0F172A;
    --text-body: #475569;
    --text-light: #94A3B8;
    --bg-white: #FFFFFF;
    --bg-gray: #F8FAFC;
    --bg-dark-teal: #134E4A;
    --border: #E2E8F0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-max: 1280px;
    --radius: 12px;
    --radius-sm: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-white);
}

a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    font-family: var(--font-body);
}
.btn-primary {
    background: var(--primary);
    color: white;
}
.btn-primary:hover {
    background: var(--primary-dark);
}
.btn-accent {
    background: var(--accent);
    color: white;
}
.btn-accent:hover {
    background: var(--accent-hover);
}
.btn-outline {
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
    background: transparent;
}
.btn-outline:hover {
    background: var(--text-dark);
    color: white;
}

/* --- Header --- */
header {
    height: 72px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.logo-text {
    line-height: 1.2;
}
.logo-text strong {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}
.logo-text small {
    font-size: 0.75rem;
    color: var(--text-body);
    font-weight: 400;
}
.nav-menu {
    display: flex;
    gap: 0.25rem;
}
.nav-menu a {
    color: var(--text-body);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: all 0.2s;
}
.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    background: var(--primary-light);
}
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 0.5rem;
    align-items: center;
    justify-content: center;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.phone-link {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.875rem;
}
.phone-link svg { color: var(--primary); }
.btn-header {
    background: var(--accent);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
}
.btn-header:hover { background: var(--accent-hover); }

/* --- Hero --- */
.hero {
    padding: 3rem 0 4rem;
    background: var(--bg-white);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(249,115,22,0.1);
    color: var(--accent);
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}
.badge svg { width: 16px; height: 16px; fill: var(--accent); }
.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
}
.hero h1 .accent {
    color: var(--accent);
    font-style: italic;
}
.hero-desc {
    font-size: 1rem;
    color: var(--text-body);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 520px;
}
.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}
.hero-stats {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.stat-box {
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    text-align: center;
    min-width: 100px;
}
.stat-box-gray { background: var(--bg-gray); }
.stat-box-teal { background: var(--primary); color: white; }
.stat-box h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.125rem;
}
.stat-box-gray h4 { color: var(--primary); }
.stat-box-gray .accent-val { color: var(--accent); }
.stat-box p {
    font-size: 0.75rem;
    opacity: 0.8;
}
.hero-contact {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-body);
}
.hero-contact a,
.hero-contact span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}
.hero-contact svg { width: 16px; height: 16px; color: var(--primary); }
.hero-img-wrapper {
    position: relative;
}
.hero-img-wrapper img {
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
    width: 100%;
}
.hero-card {
    min-height: 120px; /* Prevent collapse before fonts/icons load */
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.hero-card-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.hero-card-top .icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(13,148,136,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-card-top .icon-circle svg { color: var(--primary); width: 24px; height: 24px; fill: var(--primary); }
.hero-card-top h5 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
}
.hero-card-top p {
    font-size: 0.8125rem;
    color: var(--text-body);
}
.hero-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.hero-tags span {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: var(--bg-gray);
    color: var(--text-body);
}
.hero-tags span.tag-accent {
    background: var(--primary);
    color: white;
}

/* --- Section --- */
.section {
    padding: 5rem 0;
}
.section-gray {
    background: var(--bg-gray);
}
.text-center { text-align: center; }
.section-header {
    margin-bottom: 3rem;
}
.section-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}
.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}
.section-subtitle {
    color: var(--text-body);
    max-width: 640px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.6;
}

/* --- Services Section (Image cards with overlay) --- */
.services-section {
    padding: 5rem 0;
    background: var(--bg-white);
}
.services-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: start;
}
.services-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
    padding-top: 0.5rem;
}
.services-badges .badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
}
.services-badges .badge-item svg { color: var(--primary); width: 18px; height: 18px; }
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.service-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    cursor: pointer;
}
.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card:hover img {
    transform: scale(1.05);
}
.service-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.9), rgba(15,23,42,0.3), transparent);
}
.service-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: white;
}
.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.service-card p {
    font-size: 0.875rem;
    opacity: 0.85;
    line-height: 1.5;
}
.services-more {
    text-align: center;
    margin-top: 2.5rem;
}
.services-more a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9375rem;
}
.services-more a:hover { gap: 0.75rem; }

/* --- Credentials / Why Choose Us --- */
.credentials-section {
    padding: 5rem 0;
    background: var(--bg-white);
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.credential-card {
    background: var(--bg-gray);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: box-shadow 0.3s;
}
.credential-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.08);
}
.credential-card .icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.credential-card .icon-circle svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}
.credential-card h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.0625rem;
    margin-bottom: 0.5rem;
}
.credential-card p {
    font-size: 0.875rem;
    color: var(--text-body);
    line-height: 1.5;
}

/* --- Testimonials --- */
.testimonials-section {
    padding: 5rem 0;
    background: var(--primary);
}
.testimonials-section .section-title {
    color: white;
}
.testimonial-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    position: relative;
}
.testimonial-card .quote-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 28px;
    height: 28px;
    opacity: 0.15;
    color: var(--primary);
}
.stars {
    display: flex;
    gap: 2px;
    margin-bottom: 0.75rem;
}
.star-icon {
    width: 16px;
    height: 16px;
    fill: var(--accent);
    color: var(--accent);
}
.testimonial-card .quote-text {
    font-size: 0.875rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}
.testimonial-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.testimonial-user img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-user strong {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    display: block;
}
.testimonial-user span {
    font-size: 0.8125rem;
    color: var(--text-body);
}

/* --- CTA Section --- */
.cta-section {
    padding: 5rem 0;
    background: var(--primary);
    text-align: center;
}
.cta-section .cta-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.cta-section .cta-icon svg { width: 32px; height: 32px; color: white; }
.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}
.cta-section p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.cta-section .btn-accent {
    font-size: 1.0625rem;
    padding: 0.875rem 2rem;
}

/* --- FAQ Section --- */
.faq-section {
    padding: 5rem 0;
    background: var(--bg-gray);
}
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: white;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.faq-question {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--text-dark);
}
.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary);
}
.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-body);
    font-size: 0.9375rem;
}
.faq-item.active .faq-answer {
    padding-bottom: 1.25rem;
    max-height: 200px;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-item.active {
    border-color: var(--primary);
}
/* --- Footer --- */
footer {
    background: var(--bg-dark-teal);
    padding: 4rem 0 0;
    color: rgba(255,255,255,0.8);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.footer-logo-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-logo-icon img {
    width: 24px;
    height: 24px;
}
.footer-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    color: white;
}
footer .footer-desc {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
}
.footer-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: white;
    margin-bottom: 1.25rem;
}
.footer-links li {
    margin-bottom: 0.625rem;
}
.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
}
.footer-links a:hover { color: white; }
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
}
.footer-contact li svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.5);
}

/* --- Page Hero Banner (Services, About) --- */
.page-hero {
    background: var(--bg-gray);
    padding: 4rem 0 5rem;
    text-align: center;
}
.page-hero .badge {
    background: rgba(13,148,136,0.1);
    color: var(--primary);
}
.page-hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}
.page-hero h1 .accent {
    color: var(--accent);
}
.page-hero p {
    color: var(--text-body);
    font-size: 1.0625rem;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Service Detail Sections (Alternating) --- */
.service-detail {
    padding: 5rem 0;
}
.service-detail.bg-alt {
    background: var(--bg-gray);
}
.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.service-detail-grid.reversed .sd-image { order: 2; }
.service-detail-grid.reversed .sd-content { order: 1; }

.sd-image img {
    border-radius: var(--radius);
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.sd-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.sd-content > p {
    color: var(--text-body);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}
.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.9375rem;
}
.feature-item svg,
.feature-item i {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}
.sd-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9375rem;
}
.sd-link:hover { gap: 0.75rem; }

/* --- About Page: Bio Section --- */
.bio-section {
    padding: 5rem 0;
}
.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}
.bio-img img {
    border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.bio-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.bio-content .credential {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.0625rem;
    margin-bottom: 1.5rem;
    display: block;
}
.bio-content p {
    color: var(--text-body);
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* --- About Page: Clinic & Team --- */
.facility-section {
    padding: 5rem 0;
    background: var(--bg-gray);
}
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.facility-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.facility-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}
.facility-card .fc-content {
    padding: 1.5rem;
}
.facility-card h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.facility-card p {
    color: var(--text-body);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* --- About Page: Values --- */
.values-section {
    padding: 5rem 0;
}
.value-card {
    background: var(--bg-gray);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
}
.value-card .icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.value-card .icon-circle svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}
.value-card h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.0625rem;
    margin-bottom: 0.5rem;
}
.value-card p {
    font-size: 0.875rem;
    color: var(--text-body);
    line-height: 1.5;
}

/* --- Appointment Page --- */
.appointment-section {
    padding: 5rem 0;
    background: var(--bg-gray);
}
.appointment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}
.calendar-card, .form-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.calendar-card h3, .form-card h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}
.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.calendar-nav button {
    background: var(--bg-gray);
    border: none;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: background 0.2s;
}
.calendar-nav button:hover { background: var(--primary-light); }
.calendar-nav span {
    font-weight: 600;
    font-size: 1rem;
}
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-body);
    margin-bottom: 0.5rem;
}
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
}
.calendar-days span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.875rem;
    margin: 0 auto;
    transition: all 0.2s;
}
.calendar-days span:hover { background: var(--primary-light); color: var(--primary); }
.calendar-days span.today { background: var(--primary); color: white; font-weight: 600; }
.calendar-days span.empty { cursor: default; }
.calendar-days span.empty:hover { background: transparent; }
.calendar-days span.past { color: #ccc; cursor: default; }
.calendar-days span.past:hover { background: transparent; color: #ccc; }

/* --- Form Elements --- */
.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}
.form-group label .required {
    color: var(--accent);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-family: var(--font-body);
    background: var(--bg-gray);
    transition: border-color 0.2s, box-shadow 0.2s;
    color: var(--text-dark);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-body);
    width: 100%;
}
.btn-submit.btn-orange {
    background: var(--accent);
    color: white;
}
.btn-submit.btn-orange:hover { background: #ea6c0b; }
.btn-submit.btn-teal {
    background: var(--primary);
    color: white;
}
.btn-submit.btn-teal:hover { background: #0b7c72; }

/* --- Contact Page --- */
.contact-section {
    padding: 5rem 0;
    background: var(--bg-gray);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 2.5rem;
    align-items: start;
}
.contact-info h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.375rem;
    margin-bottom: 1.5rem;
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.contact-info-item .ci-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-info-item .ci-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
}
.contact-info-item h4 {
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}
.contact-info-item p, .contact-info-item a {
    color: var(--text-body);
    font-size: 0.9375rem;
}
.contact-info-item a:hover { color: var(--primary); }
.contact-form-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.contact-form-card h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.375rem;
    margin-bottom: 1.5rem;
}

/* --- Map Section --- */
.map-section {
    padding: 4rem 0;
    background: var(--bg-gray);
}
.map-section h2 {
    font-family: var(--font-heading);
    text-align: center;
    font-weight: 700;
    margin-bottom: 2rem;
}
.map-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    height: 400px;
}
.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Mobile Bottom Bar --- */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
    z-index: 1100;
    height: 64px;
    padding: 0 1rem;
    align-items: center;
    justify-content: space-around;
    transition: transform 0.3s ease;
}

.mbb-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-body);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}
.mbb-item:hover {
    background: var(--bg-gray);
}

/* Lucide replaces <i> with <svg> — target svg, not i */
.mbb-item svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

/* WhatsApp — prominent green pill button */
.mbb-item.whatsapp {
    background: #25D366;
    color: white;
    padding: 0.55rem 1.375rem;
    border-radius: 9999px;
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(37,211,102,0.4);
    transform: translateY(-8px);
    line-height: 1;
}
.mbb-item.whatsapp:hover {
    background: #1da851;
    transform: translateY(-10px);
    box-shadow: 0 6px 18px rgba(37,211,102,0.5);
}
.mbb-item.whatsapp svg {
    width: 20px;
    height: 20px;
    color: white;
    flex-shrink: 0;
}

/* Appointment — same plain style as Call (icon + label, no background) */
.mbb-item.appointment {
    background: none;
    color: var(--text-body);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    box-shadow: none;
}
.mbb-item.appointment:hover {
    background: var(--bg-gray);
}

.mbb-item.appointment svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.mobile-bottom-bar.hidden {
    transform: translateY(100%);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .services-header { grid-template-columns: 1fr; }
    .services-badges { justify-content: flex-start; }
    .service-detail-grid { gap: 2.5rem; }
    .appointment-grid { gap: 1.5rem; }
    .contact-grid { gap: 2rem; }
}

@media (max-width: 768px) {
    .mobile-bottom-bar { display: flex; }
    body { padding-bottom: 64px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
    .hero-stats { flex-wrap: wrap; }
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        padding: 1.5rem;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
        z-index: 1001;
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-menu a {
        padding: 1rem;
        border-radius: var(--radius-sm);
        width: 100%;
    }
    .header-right { display: none; }
    .mobile-toggle { display: flex; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 1.875rem; }
    .cta-section h2 { font-size: 1.75rem; }
    .page-hero h1 { font-size: 2.25rem; }
    .service-detail-grid {
        grid-template-columns: 1fr;
    }
    .service-detail-grid.reversed .sd-image { order: 1; }
    .service-detail-grid.reversed .sd-content { order: 2; }
    .bio-grid { grid-template-columns: 1fr; }
    .feature-list { grid-template-columns: 1fr; }
    .appointment-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .map-wrapper { height: 300px; }
}
/* --- Blog Section --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.blog-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.blog-img-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

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

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

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    z-index: 10;
}

.blog-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.blog-meta-item svg {
    width: 14px;
    height: 14px;
}

.blog-body h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: var(--text-dark);
}

.blog-body h3 a {
    color: inherit;
}

.blog-body h3 a:hover {
    color: var(--primary);
}

.blog-excerpt {
    font-size: 0.9375rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog-read-more {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
}

.blog-read-more:hover {
    gap: 0.625rem;
}

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

/* --- Blog Detail --- */
.blog-post-header {
    padding: 3rem 0;
    background: var(--bg-gray);
    text-align: center;
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    color: var(--text-body);
    font-size: 0.9375rem;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-post-body {
    padding: 4rem 0;
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-content img {
    border-radius: var(--radius);
    margin: 2rem 0;
    width: 100%;
}

.blog-post-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin: 3rem 0 1.25rem;
    color: var(--text-dark);
}

.blog-post-content p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-body);
}

.blog-post-content ul, .blog-post-content ol {
    margin-bottom: 2rem;
    padding-left: 1.25rem;
}

.blog-post-content li {
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    color: var(--text-body);
    line-height: 1.6;
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 2rem;
    transition: transform 0.2s;
    font-size: 0.9375rem;
}

.back-to-blog:hover {
    transform: translateX(-5px);
}

@media (max-width: 768px) {
    .blog-post-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
}
/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delay Helpers if needed */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
        transform: none;
        opacity: 1;
    }
}
