/* ============================================
   Abdul Khan, MD — Medical Health Website
   Palette: Plum (#5B2C6F / #7B3F8E) + Amber (#D4A84B / #C49A3C)
   Fonts: Cormorant Garamond (serif) + Lato (sans)
   ============================================ */

/* ─── Reset & Base ─── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Lato', 'Segoe UI', sans-serif;
    color: #2D1F3D;
    background: #FDF9F5;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ─── Typography ─── */
h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-weight: 600;
    line-height: 1.2;
    color: #1A0F24;
}

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

/* ─── Section Eyebrow ─── */
.section-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #D4A84B;
    margin-bottom: 16px;
}

.section-eyebrow--light {
    color: #E8C96A;
}

/* ─── Section Title ─── */
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
    color: #1A0F24;
    margin-bottom: 20px;
}

.section-title--light {
    color: #F5F0EB;
}

.section-title--lg {
    font-size: clamp(2rem, 5vw, 3.25rem);
}

.section-subtitle {
    font-size: 1.05rem;
    color: #5A4A6A;
    max-width: 600px;
    line-height: 1.8;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'Lato', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn--primary {
    background: #D4A84B;
    color: #1A0F24;
    border: 2px solid #D4A84B;
}

.btn--primary:hover {
    background: #C49A3C;
    border-color: #C49A3C;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 168, 75, 0.35);
}

.btn--outline {
    background: transparent;
    color: #F5F0EB;
    border: 2px solid rgba(245, 240, 235, 0.5);
}

.btn--outline:hover {
    border-color: #F5F0EB;
    background: rgba(245, 240, 235, 0.08);
    transform: translateY(-2px);
}

.btn--amber {
    background: #D4A84B;
    color: #1A0F24;
    border: 2px solid #D4A84B;
}

.btn--amber:hover {
    background: #C49A3C;
    border-color: #C49A3C;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(212, 168, 75, 0.3);
}

.btn--sm {
    padding: 10px 22px;
    font-size: 0.8125rem;
}

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

/* ─── Navigation ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 15, 36, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 168, 75, 0.15);
    transition: background 0.3s ease;
}

.nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav__brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #D4A84B;
    color: #1A0F24;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 4px;
}

.nav__brand-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #F5F0EB;
    letter-spacing: 0.02em;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav__link {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(245, 240, 235, 0.7);
    transition: color 0.3s ease;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #D4A84B;
    transition: width 0.3s ease;
}

.nav__link:hover {
    color: #F5F0EB;
}

.nav__link:hover::after {
    width: 100%;
}

.nav__cta {
    padding: 10px 22px;
    background: #D4A84B;
    color: #1A0F24;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav__cta:hover {
    background: #E8C96A;
    transform: translateY(-1px);
}

/* Mobile Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}

.nav__toggle-line {
    display: block;
    width: 100%;
    height: 2px;
    background: #F5F0EB;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(2) {
    opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── Hero ─── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #1A0F24;
    padding-top: 72px;
    overflow: hidden;
}

.hero__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    min-height: calc(100vh - 72px);
}

.hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 64px 60px 80px;
    position: relative;
}

.hero__content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(91, 44, 111, 0.4) 0%, rgba(26, 15, 36, 0.95) 60%, rgba(26, 15, 36, 1) 100%);
    z-index: 0;
}

.hero__content > * {
    position: relative;
    z-index: 1;
}

.hero__eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #D4A84B;
    margin-bottom: 24px;
}

.hero__headline {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 600;
    color: #F5F0EB;
    line-height: 1.15;
    margin-bottom: 28px;
    max-width: 560px;
}

.hero__subheadline {
    font-size: 1.1rem;
    color: rgba(245, 240, 235, 0.75);
    line-height: 1.85;
    max-width: 480px;
    margin-bottom: 40px;
}

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

.hero__image-wrap {
    position: relative;
    overflow: hidden;
}

.hero__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero__image-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #1A0F24 0%, transparent 30%);
    pointer-events: none;
}

/* ─── About ─── */
.about {
    padding: 120px 0;
    background: #FDF9F5;
}

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

.about__image-col img {
    width: 100%;
    height: 640px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 24px 64px rgba(26, 15, 36, 0.15);
}

.about__text {
    padding: 20px 0;
}

.about__text p {
    font-size: 1.05rem;
    color: #4A3A5A;
    line-height: 1.85;
    margin-bottom: 20px;
}

.about__credentials {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(91, 44, 111, 0.12);
}

.credential {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.credential__number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: #5B2C6F;
    line-height: 1;
}

.credential__label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #7A6A8A;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ─── Services ─── */
.services {
    padding: 120px 0;
    background: #F5EDE6;
}

.services__header {
    text-align: center;
    margin-bottom: 64px;
}

.services__header .section-subtitle {
    margin: 0 auto;
}

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

.service-card {
    background: #FDF9F5;
    border-radius: 6px;
    padding: 40px 32px;
    transition: all 0.35s ease;
    border: 1px solid rgba(91, 44, 111, 0.06);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(91, 44, 111, 0.1);
    border-color: rgba(212, 168, 75, 0.3);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(91, 44, 111, 0.08);
    border-radius: 12px;
    margin-bottom: 24px;
    color: #5B2C6F;
    transition: all 0.35s ease;
}

.service-card:hover .service-card__icon {
    background: #5B2C6F;
    color: #D4A84B;
}

.service-card__title {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: #1A0F24;
}

.service-card__title {
    font-family: 'Cormorant Garamond', serif;
}

.service-card p {
    font-size: 0.9375rem;
    color: #5A4A6A;
    line-height: 1.75;
}

/* ─── Approach ─── */
.approach {
    padding: 120px 0;
    background: #1A0F24;
    position: relative;
    overflow: hidden;
}

.approach::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(91, 44, 111, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.approach::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 168, 75, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.approach__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.approach__body {
    font-size: 1.1rem;
    color: rgba(245, 240, 235, 0.7);
    line-height: 1.9;
    margin-bottom: 64px;
    max-width: 640px;
}

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

.pillar {
    position: relative;
}

.pillar__number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(212, 168, 75, 0.25);
    line-height: 1;
    margin-bottom: 12px;
}

.pillar__title {
    font-size: 1.35rem;
    color: #F5F0EB;
    margin-bottom: 10px;
}

.pillar__title {
    font-family: 'Cormorant Garamond', serif;
}

.pillar p {
    font-size: 0.9375rem;
    color: rgba(245, 240, 235, 0.55);
    line-height: 1.75;
}

/* ─── Contact ─── */
.contact {
    padding: 120px 0;
    background: #FDF9F5;
}

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

.contact__body {
    font-size: 1.05rem;
    color: #5A4A6A;
    line-height: 1.85;
    margin-bottom: 40px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact__detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact__detail dt {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(91, 44, 111, 0.08);
    border-radius: 10px;
    color: #5B2C6F;
    margin-top: 2px;
}

.contact__detail dd {
    font-size: 0.9375rem;
    color: #4A3A5A;
    line-height: 1.7;
}

.contact__detail dd a {
    color: #5B2C6F;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact__detail dd a:hover {
    color: #D4A84B;
}

/* Form */
.contact__form-wrap {
    background: #F5EDE6;
    border-radius: 8px;
    padding: 48px;
}

.contact__form-title {
    font-size: 1.5rem;
    color: #1A0F24;
    margin-bottom: 32px;
}

.contact__form-title {
    font-family: 'Cormorant Garamond', serif;
}

.form__group {
    margin-bottom: 24px;
}

.form__label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5A4A6A;
    margin-bottom: 8px;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: 'Lato', sans-serif;
    font-size: 0.9375rem;
    color: #1A0F24;
    background: #FDF9F5;
    border: 1px solid rgba(91, 44, 111, 0.15);
    border-radius: 4px;
    transition: all 0.3s ease;
    outline: none;
}

.form__input:focus,
.form__textarea:focus {
    border-color: #5B2C6F;
    box-shadow: 0 0 0 3px rgba(91, 44, 111, 0.1);
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: #A898B8;
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__privacy {
    font-size: 0.8125rem;
    color: #8A7A9A;
    margin-top: 16px;
    text-align: center;
}

.form__success {
    text-align: center;
    padding: 48px 24px;
}

.form__success svg {
    color: #5B2C6F;
    margin: 0 auto 20px;
}

.form__success h4 {
    font-size: 1.5rem;
    color: #1A0F24;
    margin-bottom: 12px;
}

.form__success h4 {
    font-family: 'Cormorant Garamond', serif;
}

.form__success p {
    font-size: 0.9375rem;
    color: #5A4A6A;
    line-height: 1.7;
    max-width: 320px;
    margin: 0 auto;
}

/* ─── Location ─── */
.location {
    background: #5B2C6F;
    padding: 32px 0;
}

.location__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

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

.location__pin {
    display: flex;
    align-items: center;
    color: #D4A84B;
}

.location__text p {
    font-size: 0.9375rem;
    color: rgba(245, 240, 235, 0.85);
}

.location__text p strong {
    color: #F5F0EB;
}

/* ─── Footer ─── */
.footer {
    background: #120A1A;
    padding: 64px 0 0;
}

.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(212, 168, 75, 0.1);
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__brand .nav__brand-mark {
    width: 48px;
    height: 48px;
}

.footer__name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #F5F0EB;
}

.footer__tagline {
    font-size: 0.875rem;
    color: rgba(245, 240, 235, 0.45);
    line-height: 1.7;
    max-width: 260px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    font-size: 0.875rem;
    color: rgba(245, 240, 235, 0.55);
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: #D4A84B;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__phone {
    font-size: 1rem;
    font-weight: 600;
    color: #D4A84B;
    transition: color 0.3s ease;
}

.footer__phone:hover {
    color: #E8C96A;
}

.footer__address {
    font-size: 0.875rem;
    color: rgba(245, 240, 235, 0.45);
    line-height: 1.7;
}

.footer__bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer__bottom p {
    font-size: 0.8125rem;
    color: rgba(245, 240, 235, 0.3);
}

.footer__disclaimer {
    font-size: 0.75rem !important;
    color: rgba(245, 240, 235, 0.2) !important;
    max-width: 480px;
    text-align: right;
    line-height: 1.6;
}

/* ─── Scroll Reveal (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

    .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; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .hero__split {
        grid-template-columns: 1fr;
    }

    .hero__content {
        padding: 48px 40px;
    }

    .hero__image-wrap {
        max-height: 420px;
    }

    .hero__image-wrap img {
        height: 100%;
    }

    .about__grid {
        gap: 48px;
    }

    .about__image-col img {
        height: 480px;
    }

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

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

    .contact__grid {
        gap: 48px;
    }

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

@media (max-width: 768px) {
    .nav__links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(26, 15, 36, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.4s ease;
        border-bottom: 1px solid rgba(212, 168, 75, 0.15);
    }

    .nav__links.open {
        transform: translateY(0);
        opacity: 1;
    }

    .nav__toggle {
        display: flex;
    }

    .hero__content {
        padding: 40px 24px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        justify-content: center;
    }

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

    .about__image-col img {
        height: 360px;
    }

    .about__credentials {
        flex-wrap: wrap;
        gap: 24px;
    }

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

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

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

    .contact__form-wrap {
        padding: 32px 24px;
    }

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

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

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

    .footer__disclaimer {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero__content {
        padding: 32px 20px;
    }

    .hero__headline {
        font-size: 1.75rem;
    }

    .about,
    .services,
    .approach,
    .contact {
        padding: 80px 0;
    }

    .container {
        padding: 0 20px;
    }
}
