﻿/* Clean responsive stylesheet for index.php */
:root {
    --bg: #f8fbff;
    --surface: #ffffff;
    --surface-strong: #eef2ff;
    --text: #0f172a;
    --muted: #64748b;
    --primary: #4f46e5;
    --primary-soft: #dde4ff;
    --border: rgba(99, 102, 241, 0.18);
    --shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    --radius: 28px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
}

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

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

button,
input,
select {
    font: inherit;
}

.container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.nav-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 18px 0;
    position: relative;
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
}

.nav-menu {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: var(--muted);
    transition: color 0.2s ease;
    font-weight: 600;
}

.nav-menu a:hover,
.nav-menu a:focus {
    color: var(--primary);
}

.action-group {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: flex-end;
}

.brand-logo,
.footer-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
}

.brand-subtitle {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.book-btn {
    white-space: nowrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 999px;
    padding: 14px 26px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, #4f46e5, #2563eb);
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.18);
}

.btn-secondary {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
}

.hero-section {
    padding: 70px 0 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 48px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
}

.hero-section h1 {
    font-size: clamp(3rem, 4vw, 4.4rem);
    line-height: 0.96;
    max-width: 720px;
}

.hero-copy {
    max-width: 640px;
    font-size: 1.05rem;
    color: var(--muted);
}

.hero-banner {
    max-width: 680px;
}

.hero-banner-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(79, 70, 229, 0.12);
    border: 1px solid rgba(79, 70, 229, 0.18);
    border-radius: 24px;
    padding: 18px 22px;
}

.banner-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #4338ca;
    color: #fff;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 0.82rem;
    font-weight: 700;
}

.hero-banner-card p {
    margin: 0;
    color: var(--text);
    font-size: 0.96rem;
}

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

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.highlight-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 22px;
    border-radius: 28px;
    background: var(--surface);
    box-shadow: var(--shadow);
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.highlight-card i {
    color: var(--primary);
    font-size: 20px;
    margin-top: 4px;
}

.highlight-card p {
    margin: 0;
    color: var(--text);
    font-weight: 600;
}

.hero-visual {
    position: relative;
}

.hero-image-card {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(79, 70, 229, 0.12);
    box-shadow: var(--shadow);
}

.hero-info-card {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-radius: 26px;
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: rgba(79, 70, 229, 0.12);
    color: var(--primary);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.hero-info-card h2 {
    margin: 0 0 10px;
    font-size: 1.35rem;
}

.hero-info-card p {
    margin: 0 0 18px;
    color: var(--muted);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hero-stat {
    padding: 14px 16px;
    background: var(--surface);
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    text-align: center;
}

.hero-stat strong {
    display: block;
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.hero-stat span {
    font-size: 0.88rem;
    color: var(--muted);
}

.section {
    padding: 70px 0;
}

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

.section-header h2 {
    font-size: clamp(2.3rem, 3vw, 3rem);
    color: var(--text);
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}

.section-intro h2,
.about-card h3,
.service-card h3,
.testimonial-card h4,
.footer-links h4 {
    color: var(--text);
}

.feature-list {
    list-style: none;
    display: grid;
    gap: 14px;
    padding: 0;
}

.feature-list li {
    padding-left: 24px;
    position: relative;
    color: var(--muted);
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
}

.about-card,
.service-card,
.testimonial-card,
.contact-card,
.appointment-panel,
.appointment-form {
    background: var(--surface);
    border-radius: 32px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: var(--shadow);
}

.about-card {
    padding: 34px;
}

.about-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 20px;
}

.about-card-header h3 {
    margin: 0 0 6px;
    font-size: 1.6rem;
}

.subtitle {
    color: var(--muted);
    font-size: 0.95rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    background: rgba(79, 70, 229, 0.12);
    color: var(--primary);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
}

.about-card p {
    color: var(--muted);
    margin-bottom: 22px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.expertise-grid span {
    padding: 16px 18px;
    border-radius: 18px;
    background: var(--bg);
    color: var(--text);
    font-size: 0.95rem;
    text-align: center;
}

.services-grid,
.testimonials-grid,
.contact-grid,
.appointment-grid {
    display: grid;
    gap: 24px;
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-card {
    padding: 28px;
}

.service-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(79, 70, 229, 0.12);
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 18px;
}

.service-card h3 {
    margin-bottom: 14px;
    font-size: 1.2rem;
}

.service-card p {
    color: var(--muted);
}

.testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonial-card {
    padding: 28px;
}

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

.testimonial-card h4 {
    margin: 0;
    font-size: 1rem;
}

.appointment-section {
    background: linear-gradient(180deg, #eef2ff 0%, #ffffff 100%);
}

.appointment-grid {
    grid-template-columns: 1.05fr minmax(320px, 0.95fr);
}

.appointment-panel,
.appointment-form {
    padding: 34px;
}

.appointment-panel p,
.contact-card p {
    color: var(--muted);
    font-size: 1rem;
}

.appointment-benefits {
    list-style: none;
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.appointment-benefits li {
    position: relative;
    padding-left: 28px;
    color: var(--text);
}

.appointment-benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
}

.form-row {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 20px;
}

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: #f8fafc;
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.time-display {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
}

.btn-full {
    width: 100%;
    margin-top: 12px;
}

.contact-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
}

.contact-card {
    padding: 34px;
}

.contact-card h2 {
    margin-top: 18px;
}

.contact-list {
    list-style: none;
    display: grid;
    gap: 18px;
    margin-top: 24px;
    padding: 0;
}

.contact-list li {
    display: flex;
    gap: 14px;
    color: var(--muted);
}

.contact-list li i {
    color: var(--primary);
    min-width: 22px;
    font-size: 18px;
}

.map-card {
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    width: 100%;
    min-height: 260px;
    border-radius: 28px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(79, 70, 229, 0.1), rgba(223, 230, 255, 0.6));
    color: var(--primary);
    font-weight: 700;
    text-align: center;
    padding: 24px;
}

.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: start;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.footer-links h4 {
    margin-bottom: 16px;
    color: #ffffff;
}

.footer-links a {
    display: block;
    margin-bottom: 12px;
    color: #cbd5e1;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.95rem;
}

.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    min-width: 260px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.95);
    color: #ffffff;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 110;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.error {
    background: rgba(220, 38, 38, 0.95);
}

.hamburger {
    display: none;
    border: none;
    background: none;
    font-size: 24px;
    color: var(--text);
    cursor: pointer;
}

@media (max-width: 980px) {
    .hero-grid,
    .split-grid,
    .services-grid,
    .testimonials-grid,
    .appointment-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-info-card {
        left: 12px;
        right: 12px;
        padding: 20px;
    }
}

@media (max-width: 820px) {
    .nav-container {
        grid-template-columns: 1fr auto;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        padding: 18px 24px 24px;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 0 0 24px 24px;
        box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
        display: none;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .nav-menu.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 14px 0;
        width: 100%;
    }

    .hamburger {
        display: block;
    }

    .book-btn {
        display: inline-flex;
    }
}


@media (max-width: 640px) {
    .nav-container {
        align-items: flex-start;
    }

    .hero-section {
        padding-top: 56px;
    }

    .hero-actions,
    .hero-highlights {
        gap: 14px;
    }

    .hero-banner-card,
    .appointment-panel,
    .appointment-form,
    .contact-card,
    .service-card,
    .testimonial-card,
    .about-card {
        padding: 24px;
    }

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