/* ========================================
   VARIABLES
======================================== */

:root {
    --ivory: #f8f6f1;
    --ivory-dark: #efede7;

    --white: #ffffff;

    --forest: #29463d;
    --forest-dark: #203a32;
    --sage: #91a399;
    --sage-light: #e6ece8;

    --charcoal: #242925;
    --text: #424943;
    --muted: #747b76;

    --border: #dedfd9;

    --container: 1240px;

    --serif: Georgia, "Times New Roman", serif;
    --sans: Arial, Helvetica, sans-serif;
}


/* ========================================
   RESET
======================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--charcoal);
    background: var(--ivory);
    font-family: var(--sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(var(--container), calc(100% - 64px));
    margin-inline: auto;
}


/* ========================================
   HEADER
======================================== */

.site-header {
    position: relative;
    z-index: 100;
    background: var(--ivory);
    border-bottom: 1px solid rgba(41, 70, 61, 0.12);
}

.navbar {
    min-height: 92px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;

    align-items: center;
    gap: 40px;
}

.brand {
    display: flex;
    flex-direction: column;

    width: max-content;

    text-decoration: none;
}

.brand-name {
    color: var(--forest);
    font-family: var(--serif);
    font-size: 1.45rem;
    line-height: 1.1;
}

.brand-specialty {
    margin-top: 6px;

    color: var(--muted);

    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.desktop-nav a {
    position: relative;

    color: var(--text);

    font-size: 0.84rem;
    text-decoration: none;

    transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--forest);
}

.desktop-nav a.active::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: -9px;

    width: 4px;
    height: 4px;
    margin: auto;

    border-radius: 50%;
    background: var(--forest);
}

.nav-cta {
    justify-self: end;

    padding: 11px 20px;

    border: 1px solid var(--forest);

    color: var(--forest);

    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.nav-cta:hover {
    color: var(--white);
    background: var(--forest);
}

.mobile-menu-button {
    display: none;
}


/* ========================================
   TYPOGRAPHY
======================================== */

.eyebrow {
    margin: 0 0 24px;

    color: var(--forest);

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}


/* ========================================
   HERO
======================================== */

.hero {
    overflow: hidden;
    background: var(--ivory);
}

.hero-grid {
    min-height: 680px;

    display: grid;
    grid-template-columns: 1.02fr 0.98fr;

    align-items: center;
    gap: 90px;

    padding-top: 75px;
    padding-bottom: 85px;
}

.hero-content {
    padding-left: 3%;
}

.hero h1 {
    max-width: 720px;

    margin: 0;

    color: var(--forest-dark);

    font-family: var(--serif);
    font-size: clamp(3.4rem, 5.2vw, 5.4rem);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 0.97;
}

.hero h1 span {
    display: block;

    margin-top: 12px;

    color: var(--sage);
    font-style: italic;
    font-weight: 400;
}

.hero-description {
    max-width: 560px;

    margin: 32px 0 0;

    color: var(--text);

    font-size: 1.05rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 32px;

    margin-top: 38px;
}

.button {
    text-decoration: none;
}

.button-primary {
    display: inline-flex;
    align-items: center;
    gap: 34px;

    padding: 15px 20px 15px 22px;

    color: var(--white);
    background: var(--forest);

    font-size: 0.82rem;
    font-weight: 600;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.button-primary:hover {
    transform: translateY(-2px);
    background: var(--forest-dark);
}

.button-primary span {
    font-size: 1rem;
}

.button-link {
    padding-bottom: 4px;

    border-bottom: 1px solid var(--forest);

    color: var(--forest);

    font-size: 0.82rem;
    font-weight: 600;
}

.hero-doctor {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-top: 65px;
}

.hero-doctor-line {
    display: block;

    width: 45px;
    height: 1px;

    background: var(--sage);
}

.hero-doctor div {
    display: flex;
    flex-direction: column;
}

.hero-doctor strong {
    color: var(--forest);
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 400;
}

.hero-doctor div span {
    margin-top: 3px;

    color: var(--muted);

    font-size: 0.7rem;
}


/* ========================================
   HERO IMAGE
======================================== */

.hero-image {
    position: relative;

    min-height: 570px;
}

.hero-image-placeholder {
    position: absolute;
    inset: 0 0 0 55px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            #dfe6e1 0%,
            #c9d4ce 100%
        );
}

.hero-image-placeholder::before {
    content: "";

    position: absolute;
    top: -25px;
    right: -25px;

    width: 130px;
    height: 130px;

    border: 1px solid rgba(41, 70, 61, 0.18);
}

.hero-image-placeholder span {
    color: rgba(41, 70, 61, 0.55);

    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-image-placeholder p {
    margin: 8px 0 0;

    color: var(--forest);

    font-family: var(--serif);
    font-size: 1.5rem;
}

.hero-image-detail {
    position: absolute;
    left: 0;
    bottom: 42px;

    width: 205px;

    padding: 25px;

    color: var(--white);
    background: var(--forest);
}

.hero-image-detail > span {
    color: var(--sage);

    font-size: 0.65rem;
    letter-spacing: 0.15em;
}

.hero-image-detail p {
    margin: 14px 0 0;

    font-family: var(--serif);
    font-size: 1rem;
    line-height: 1.4;
}


/* ========================================
   SERVICES
======================================== */

.services-section {
    padding: 110px 0 100px;

    background: var(--white);
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr 0.7fr;

    align-items: end;
    gap: 100px;

    margin-bottom: 60px;
}

.section-heading .eyebrow {
    margin-bottom: 16px;
}

.section-heading h2 {
    max-width: 650px;

    margin: 0;

    color: var(--forest-dark);

    font-family: var(--serif);
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1.04;
}

.section-heading h2 span {
    display: block;

    color: var(--sage);
    font-style: italic;
}

.section-intro {
    max-width: 420px;

    margin: 0 0 5px;

    color: var(--muted);

    font-size: 0.92rem;
    line-height: 1.8;
}


/* ========================================
   SERVICE CARDS
======================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.service-card {
    position: relative;

    min-height: 360px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 28px;

    border-right: 1px solid var(--border);

    color: var(--charcoal);
    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.service-card:first-child {
    border-left: 1px solid var(--border);
}

.service-number {
    color: var(--sage);

    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.service-card h3 {
    margin: 0 0 18px;

    color: var(--forest-dark);

    font-family: var(--serif);
    font-size: 1.65rem;
    font-weight: 400;
    line-height: 1.1;
}

.service-card p {
    margin: 0;

    color: var(--muted);

    font-size: 0.82rem;
    line-height: 1.7;
}

.service-arrow {
    position: absolute;
    top: 26px;
    right: 26px;

    color: var(--forest);

    font-size: 1.2rem;

    transition: transform 0.2s ease;
}

.service-card:hover {
    color: var(--white);
    background: var(--forest);
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-number,
.service-card:hover .service-arrow {
    color: var(--white);
}

.service-card:hover .service-arrow {
    transform: translate(3px, -3px);
}

.services-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-top: 30px;
}

.services-footer p {
    margin: 0;

    color: var(--muted);

    font-size: 0.8rem;
}

.services-footer a {
    display: flex;
    align-items: center;
    gap: 22px;

    color: var(--forest);

    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}


/* ========================================
   FOOTER
======================================== */

.site-footer {
    padding: 45px 0;

    color: rgba(255, 255, 255, 0.65);
    background: var(--forest-dark);

    font-size: 0.75rem;
}

.site-footer p {
    margin: 0;
}


/* ========================================
   ABOUT DOCTOR
======================================== */

.about-doctor {
    padding: 130px 0;
    background: var(--ivory);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 120px;
}


/* PHOTO */

.about-visual {
    position: relative;
    min-height: 650px;
}

.about-photo {
    position: absolute;
    inset: 0 45px 0 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            #dfe6e1 0%,
            #c8d4ce 100%
        );
}

.about-photo > span {
    color: rgba(41, 70, 61, 0.5);

    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.about-photo p {
    margin: 10px 0 0;

    color: var(--forest);

    font-family: var(--serif);
    font-size: 1.3rem;
}

.about-accent {
    position: absolute;
    right: 0;
    bottom: 55px;

    width: 190px;

    padding: 25px;

    background: var(--forest);
    color: var(--white);
}

.about-accent span {
    display: block;

    color: var(--sage-light);

    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.about-accent strong {
    display: block;

    margin-top: 8px;

    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 400;
}


/* CONTENT */

.about-content {
    max-width: 610px;
}

.about-content h2 {
    margin: 0;

    color: var(--forest-dark);

    font-family: var(--serif);
    font-size: clamp(3rem, 5vw, 4.8rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 0.98;
}

.about-content h2 span {
    color: var(--sage);
    font-style: italic;
}

.about-specialty {
    margin: 26px 0 0;

    color: var(--forest);

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.about-description {
    max-width: 560px;

    margin: 28px 0 0;

    color: var(--text);

    font-size: 0.96rem;
    line-height: 1.85;
}


/* CREDENTIALS */

.credentials {
    margin-top: 45px;

    border-top: 1px solid var(--border);
}

.credential {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 18px;

    padding: 20px 0;

    border-bottom: 1px solid var(--border);
}

.credential-number {
    padding-top: 2px;

    color: var(--sage);

    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.credential strong {
    color: var(--forest-dark);

    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 400;
}

.credential p {
    margin: 4px 0 0;

    color: var(--muted);

    font-size: 0.76rem;
    line-height: 1.55;
}


/* BOTTOM */

.about-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 35px;
}

.about-link {
    display: flex;
    align-items: center;
    gap: 25px;

    padding-bottom: 5px;

    border-bottom: 1px solid var(--forest);

    color: var(--forest);

    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}

.about-membership {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.about-membership span {
    color: var(--muted);

    font-size: 0.58rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.about-membership strong {
    margin-top: 2px;

    color: var(--forest);

    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 400;
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 1050px) {

    .desktop-nav {
        display: none;
    }

    .navbar {
        grid-template-columns: 1fr auto auto;
    }

    .mobile-menu-button {
        width: 35px;
        height: 35px;

        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;

        padding: 0;

        border: 0;
        background: transparent;

        cursor: pointer;
    }

    .mobile-menu-button span {
        width: 22px;
        height: 1px;

        display: block;

        background: var(--forest);
    }

    .hero-grid {
        gap: 45px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card {
        border-bottom: 1px solid var(--border);
    }
}

.about-grid-single {
    grid-template-columns: 1fr;
    max-width: 850px;
}

.about-grid-single .about-content {
    max-width: 850px;
}

/* ========================================
   SOBRE MI
======================================== */

.profile-hero {
    padding: 110px 0 100px;
    background: var(--ivory);
}

.profile-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
    gap: 120px;
}

.profile-hero h1 {
    margin: 0;

    color: var(--forest-dark);

    font-family: var(--serif);
    font-size: clamp(3.8rem, 7vw, 6.5rem);
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 0.9;
}

.profile-hero h1 span {
    color: var(--sage);
    font-style: italic;
}

.profile-hero-intro {
    padding-bottom: 8px;
}

.profile-specialty {
    margin: 0 0 25px !important;

    color: var(--forest) !important;

    font-size: 0.72rem !important;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.7 !important;
    text-transform: uppercase;
}

.profile-hero-intro p {
    margin: 0;

    color: var(--text);

    font-size: 0.95rem;
    line-height: 1.85;
}


/* INTRO */

.profile-introduction {
    padding: 100px 0;

    background: var(--forest);
}

.profile-introduction-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 130px;
}

.profile-number {
    color: var(--sage);

    font-size: 0.65rem;
    letter-spacing: 0.15em;
}

.profile-quote p {
    max-width: 470px;

    margin: 25px 0 0;

    color: var(--white);

    font-family: var(--serif);
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 400;
    line-height: 1.25;
}

.profile-text {
    padding-top: 35px;
}

.profile-text p {
    max-width: 570px;

    margin: 0 0 24px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 0.9rem;
    line-height: 1.9;
}


/* TRAINING */

.training-section {
    padding: 120px 0;

    background: var(--white);
}

.training-heading {
    display: grid;
    grid-template-columns: 1fr 0.6fr;
    align-items: end;
    gap: 100px;

    margin-bottom: 70px;
}

.training-heading h2,
.professional-focus h2,
.continuing-education h2,
.license-section h2,
.profile-cta h2 {
    margin: 0;

    color: var(--forest-dark);

    font-family: var(--serif);
    font-size: clamp(2.7rem, 4.5vw, 4.2rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1;
}

.training-heading h2 span,
.professional-focus h2 span,
.continuing-education h2 span,
.license-section h2 span,
.profile-cta h2 span {
    display: block;

    color: var(--sage);
    font-style: italic;
}

.training-heading > p {
    max-width: 400px;

    margin: 0;

    color: var(--muted);

    font-size: 0.85rem;
    line-height: 1.8;
}

.training-list {
    border-top: 1px solid var(--border);
}

.training-item {
    display: grid;
    grid-template-columns: 60px 1fr 0.8fr;
    align-items: center;
    gap: 35px;

    padding: 35px 0;

    border-bottom: 1px solid var(--border);
}

.training-number {
    color: var(--sage);

    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.training-type {
    margin: 0 0 7px;

    color: var(--muted);

    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.training-item h3 {
    margin: 0;

    color: var(--forest-dark);

    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 400;
}

.training-place {
    margin: 0;

    color: var(--muted);

    font-size: 0.78rem;
    line-height: 1.7;
}


/* PROFESSIONAL FOCUS */

.professional-focus {
    padding: 120px 0;

    background: var(--ivory);
}

.professional-focus-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 130px;
}

.focus-content > p {
    max-width: 570px;

    margin: 0 0 45px;

    color: var(--text);

    font-size: 0.92rem;
    line-height: 1.9;
}

.focus-list {
    border-top: 1px solid var(--border);
}

.focus-list span {
    display: block;

    padding: 15px 0;

    border-bottom: 1px solid var(--border);

    color: var(--forest);

    font-family: var(--serif);
    font-size: 1.05rem;
}


/* CONTINUING EDUCATION */

.continuing-education {
    padding: 120px 0;

    background: var(--white);
}

.continuing-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 130px;
}

.continuing-card {
    padding: 40px;

    background: var(--sage-light);
}

.continuing-card-header {
    display: flex;
    justify-content: space-between;

    padding-bottom: 20px;

    border-bottom: 1px solid rgba(41, 70, 61, 0.18);

    color: var(--forest);

    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.continuing-card h3 {
    max-width: 500px;

    margin: 35px 0 20px;

    color: var(--forest-dark);

    font-family: var(--serif);
    font-size: 1.9rem;
    font-weight: 400;
    line-height: 1.2;
}

.continuing-card p {
    max-width: 550px;

    margin: 0;

    color: var(--text);

    font-size: 0.85rem;
    line-height: 1.8;
}


/* LICENSES */

.license-section {
    padding: 110px 0;

    background: var(--ivory);
}

.license-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 130px;
}

.license-list {
    border-top: 1px solid var(--border);
}

.license-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    padding: 25px 0;

    border-bottom: 1px solid var(--border);
}

.license-item span {
    color: var(--text);

    font-size: 0.85rem;
}

.license-item strong {
    color: var(--forest);

    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 400;
}


/* CTA */

.profile-cta {
    padding: 110px 0;

    background: var(--sage-light);
}

.profile-cta-inner {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    align-items: end;
    gap: 120px;
}

.profile-cta-inner > div:last-child p {
    max-width: 400px;

    margin: 0 0 25px;

    color: var(--text);

    font-size: 0.9rem;
    line-height: 1.8;
}

/* ========================================
   MEDICINA MATERNO FETAL
======================================== */

.mfm-hero {
    padding: 120px 0;
    background: var(--ivory);
}

.mfm-hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 130px;
    align-items: end;
}

.mfm-hero h1 {
    max-width: 800px;
    margin: 0;

    color: var(--forest-dark);

    font-family: var(--serif);
    font-size: clamp(4rem, 7vw, 6.7rem);
    font-weight: 400;
    letter-spacing: -0.055em;
    line-height: 0.9;
}

.mfm-hero h1 span {
    display: block;
    margin-top: 14px;

    color: var(--sage);
    font-style: italic;
}

.mfm-hero-description {
    max-width: 630px;

    margin: 35px 0 0;

    color: var(--text);

    font-size: 1rem;
    line-height: 1.85;
}

/* ========================================
   PAGE HEADER
======================================== */

.page-header {
    padding: 90px 0 75px;
    background: var(--ivory);
}

.page-header-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
    gap: 100px;
}

.page-header h1 {
    max-width: 760px;
    margin: 0;

    color: var(--forest-dark);

    font-family: var(--serif);
    font-size: clamp(3.2rem, 5.5vw, 5.3rem);
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 0.95;
}

.page-header h1 span {
    display: block;

    margin-top: 10px;

    color: var(--sage);
    font-style: italic;
}

.page-header-intro {
    padding-bottom: 5px;
}

.page-header-intro p {
    max-width: 440px;

    margin: 0 0 25px;

    color: var(--text);

    font-size: 0.9rem;
    line-height: 1.85;
}

.page-header-link {
    display: inline-flex;
    align-items: center;
    gap: 20px;

    padding-bottom: 5px;

    border-bottom: 1px solid var(--forest);

    color: var(--forest);

    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
}

/* INTRO */

.mfm-intro {
    padding: 120px 0;

    color: var(--white);
    background: var(--forest);
}

.mfm-intro-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 130px;
}

.mfm-intro h2 {
    margin: 0;

    color: var(--white);

    font-family: var(--serif);
    font-size: clamp(2.8rem, 4.5vw, 4.3rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1;
}

.mfm-intro h2 span {
    display: block;

    color: var(--sage);
    font-style: italic;
}

.mfm-intro .eyebrow {
    color: var(--sage-light);
}

.mfm-intro-text {
    padding-top: 20px;
}

.mfm-intro-text p {
    max-width: 590px;

    margin: 0 0 25px;

    color: rgba(255,255,255,.72);

    font-size: 0.92rem;
    line-height: 1.9;
}


/* SERVICES */

.mfm-services {
    padding: 120px 0;

    background: var(--white);
}

.mfm-services-heading {
    display: grid;
    grid-template-columns: 1fr 0.6fr;
    align-items: end;
    gap: 100px;

    margin-bottom: 70px;
}

.mfm-services-heading h2,
.mfm-when h2,
.mfm-cta h2 {
    margin: 0;

    color: var(--forest-dark);

    font-family: var(--serif);
    font-size: clamp(2.8rem, 4.5vw, 4.3rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1;
}

.mfm-services-heading h2 span,
.mfm-when h2 span,
.mfm-cta h2 span {
    display: block;

    color: var(--sage);
    font-style: italic;
}

.mfm-services-heading > p {
    margin: 0;

    color: var(--muted);

    font-size: 0.85rem;
    line-height: 1.8;
}


/* SERVICE ROWS */

.mfm-service-list {
    border-top: 1px solid var(--border);
}

.mfm-service-item {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    align-items: center;
    gap: 25px;

    min-height: 125px;

    padding: 25px 15px 25px 0;

    border-bottom: 1px solid var(--border);

    color: inherit;
    text-decoration: none;

    transition:
        padding 0.25s ease,
        background 0.25s ease;
}

.mfm-service-number {
    color: var(--sage);

    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.mfm-service-item h3 {
    margin: 0 0 6px;

    color: var(--forest-dark);

    font-family: var(--serif);
    font-size: 1.55rem;
    font-weight: 400;
}

.mfm-service-item p {
    max-width: 650px;

    margin: 0;

    color: var(--muted);

    font-size: 0.78rem;
}

.mfm-service-arrow {
    color: var(--forest);

    font-size: 1.2rem;

    transition: transform 0.2s ease;
}

.mfm-service-item:hover {
    padding-left: 18px;
    padding-right: 18px;

    background: var(--sage-light);
}

.mfm-service-item:hover .mfm-service-arrow {
    transform: translate(4px, -4px);
}


/* WHEN */

.mfm-when {
    padding: 120px 0;

    background: var(--ivory);
}

.mfm-when-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 130px;
}

.mfm-when-content > p {
    margin: 0 0 35px;

    color: var(--text);

    font-size: 0.9rem;
    line-height: 1.9;
}

.mfm-when-content ul {
    margin: 0;
    padding: 0;

    list-style: none;

    border-top: 1px solid var(--border);
}

.mfm-when-content li {
    position: relative;

    padding: 15px 0 15px 25px;

    border-bottom: 1px solid var(--border);

    color: var(--forest-dark);

    font-family: var(--serif);
    font-size: 1rem;
}

.mfm-when-content li::before {
    content: "—";

    position: absolute;
    left: 0;

    color: var(--sage);
}


/* CTA */

.mfm-cta {
    padding: 110px 0;

    background: var(--sage-light);
}

.mfm-cta-inner {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    align-items: end;
    gap: 120px;
}

.mfm-cta-inner > div:last-child p {
    max-width: 430px;

    margin: 0 0 25px;

    color: var(--text);

    font-size: 0.9rem;
    line-height: 1.8;
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 760px) {

    .container {
        width: min(100% - 36px, var(--container));
    }

    .navbar {
        min-height: 78px;
    }

    .brand-name {
        font-size: 1.2rem;
    }

    .brand-specialty {
        font-size: 0.55rem;
    }

    .nav-cta {
        display: none;
    }

    .hero-grid {
        min-height: auto;

        grid-template-columns: 1fr;
        gap: 55px;

        padding-top: 65px;
        padding-bottom: 65px;
    }

    .hero-content {
        padding-left: 0;
    }

    .hero h1 {
        font-size: clamp(3rem, 14vw, 4.5rem);
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .hero-doctor {
        margin-top: 45px;
    }

    .hero-image {
        min-height: 460px;
    }

    .hero-image-placeholder {
        inset: 0 0 0 25px;
    }

    .hero-image-detail {
        bottom: 25px;

        width: 175px;
    }

    .services-section {
        padding: 80px 0;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 25px;

        margin-bottom: 45px;
    }

    .section-heading h2 {
        font-size: 2.7rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .service-card:first-child {
        min-height: 290px;

        border-left: 1px solid var(--border);
        border-right: 1px solid var(--border);
    }

    .services-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }
	
	.about-doctor {
		padding: 80px 0;
	}

	.about-grid {
		grid-template-columns: 1fr;
		gap: 65px;
	}

	.about-visual {
		min-height: 500px;
	}

	.about-photo {
		inset: 0 25px 0 0;
	}

	.about-accent {
		bottom: 30px;
		width: 165px;
	}

	.about-content h2 {
		font-size: 3.2rem;
	}

	.about-bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 30px;
	}

	.about-membership {
		align-items: flex-start;
	}
	
	.profile-hero {
		padding: 75px 0;
	}

	.profile-hero-grid,
	.profile-introduction-grid,
	.training-heading,
	.professional-focus-grid,
	.continuing-grid,
	.license-grid,
	.profile-cta-inner {
		grid-template-columns: 1fr;
		gap: 45px;
	}

	.profile-hero h1 {
		font-size: 3.5rem;
	}

	.profile-introduction {
		padding: 75px 0;
	}

	.profile-text {
		padding-top: 0;
	}

	.training-section,
	.professional-focus,
	.continuing-education,
	.license-section,
	.profile-cta {
		padding: 80px 0;
	}

	.training-heading {
		margin-bottom: 45px;
	}

	.training-item {
		grid-template-columns: 35px 1fr;
		gap: 15px;

		padding: 28px 0;
	}

	.training-place {
		grid-column: 2;
	}

	.continuing-card {
		padding: 28px;
	}

	.license-item {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}
	 .page-header {
        padding: 65px 0 55px;
    }

    .page-header-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-header h1 {
        font-size: 3.3rem;
    }
}