:root {
    --green-950: #002f29;
    --green-900: #00433a;
    --green-800: #005246;
    --green-700: #0c6a5b;
    --cream: #fffaf0;
    --sand: #f4ead7;
    --gold: #b99043;
    --gold-dark: #8a672d;
    --ink: #0d2b2a;
    --muted: #63716f;
    --line: rgba(13, 43, 42, 0.14);
    --shadow: 0 18px 50px rgba(0, 47, 41, 0.13);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fffdf8;
    font-family: "B Nazanin", "BNazanin", "Nazanin", Tahoma, Arial, sans-serif;
    line-height: 1.9;
    text-align: right;
}

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

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

.container {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.main-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    color: #fff;
    background: linear-gradient(90deg, var(--green-950), var(--green-800));
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 30px rgba(0, 47, 41, 0.16);
}

.main-nav__inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
}

.brand-logo-wrap,
.footer-logo-wrap {
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(185, 144, 67, 0.45);
    border-radius: 8px;
    display: inline-flex;
    flex: 0 0 auto;
    justify-content: center;
    overflow: hidden;
}

.brand-logo-wrap {
    height: 64px;
    width: 76px;
}

.brand-logo,
.footer-logo {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.brand-text {
    display: grid;
    line-height: 1.5;
}

.brand-text strong {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 500;
}

.brand-text b {
    font-size: 22px;
}

.primary-nav {
    flex: 1;
}

.site-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    font-weight: 700;
}

.site-menu a {
    position: relative;
    padding-block: 10px;
}

.site-menu a::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    bottom: 2px;
    height: 2px;
    scale: 0 1;
    transform-origin: right;
    background: var(--gold);
    transition: scale 160ms ease;
}

.site-menu a:hover::after {
    scale: 1 1;
}

.nav-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 24px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
}

.nav-cta,
.button-gold {
    color: #fff;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    box-shadow: 0 10px 24px rgba(137, 101, 44, 0.22);
}

.button-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--green-800), var(--green-950));
}

.button-outline {
    color: var(--green-900);
    background: #fffdf8;
    border-color: var(--gold);
}

.button-light {
    color: var(--green-950);
    background: #fff;
}

.menu-toggle {
    width: 46px;
    height: 46px;
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    display: block;
    margin: 4px auto;
    background: #fff;
}

.mobile-menu {
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    background: var(--green-950);
}

.hero {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(255, 250, 240, 0.95), rgba(255, 250, 240, 0.86));
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.22;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 250, 240, 0.5), rgba(255, 250, 240, 0.96) 42%, rgba(255, 250, 240, 0.72));
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 42px;
    padding-block: 44px;
}

.hero-copy {
    max-width: 610px;
    margin-right: auto;
    text-align: center;
}

.eyebrow,
.section-kicker {
    display: inline-block;
    color: var(--green-800);
    font-size: 15px;
    font-weight: 700;
}

.hero .eyebrow {
    font-size: clamp(20px, 1.9vw, 28px);
    font-weight: 900;
    line-height: 1.5;
}

.hero h1 {
    margin: 12px 0 8px;
    color: var(--green-950);
    font-size: clamp(36px, 5vw, 66px);
    line-height: 1.25;
}

.hero-degree {
    color: var(--gold-dark);
    font-size: 20px;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-photo {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
}

.hero-slider {
    height: min(520px, 54vw);
    min-height: 420px;
    position: relative;
}

.hero-slide {
    animation: heroSlideFade 15s infinite;
    height: 100%;
    inset: 0;
    opacity: 0;
    position: absolute;
}

.hero-slide--two {
    animation-delay: 5s;
}

.hero-slide--three {
    animation-delay: 10s;
}

.hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 62%;
}

@keyframes heroSlideFade {
    0%,
    28% {
        opacity: 1;
    }

    34%,
    94% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.service-ribbon {
    padding: 26px 0;
    background: linear-gradient(90deg, var(--green-950), var(--green-800));
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    direction: ltr;
}

.service-card {
    position: relative;
    aspect-ratio: 1 / 1;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    text-align: center;
    background: var(--green-950);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    box-shadow: 0 14px 30px rgba(0, 47, 41, 0.22);
    isolation: isolate;
    animation: serviceFloat 4.8s ease-in-out infinite;
    direction: rtl;
}

.service-card__link {
    display: block;
    width: 100%;
    height: 100%;
}

.service-card:nth-child(2n) {
    animation-delay: -1.4s;
}

.service-card:nth-child(3n) {
    animation-delay: -2.7s;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease, filter 260ms ease;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 47, 41, 0.03), rgba(0, 47, 41, 0.78));
    pointer-events: none;
}

.service-card:hover img {
    transform: scale(1.06);
    filter: saturate(1.08) contrast(1.04);
}

.service-card h2,
.shop-grid h3,
.article-card h3 {
    margin: 0 0 8px;
    color: var(--green-950);
    font-size: 18px;
    line-height: 1.6;
}

.service-card h2 {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 2;
    min-height: 52px;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 9px 10px;
    color: #fff;
    background: rgba(0, 67, 58, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    backdrop-filter: blur(8px);
    font-size: clamp(11px, 1vw, 15px);
    line-height: 1.45;
}

@keyframes serviceFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

.about-section,
.shop-section,
.service-details-section,
.faq-section,
.articles-section,
.content-page {
    padding: 62px 0;
}

.service-details-section {
    background: #fffdf8;
}

.service-detail-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: -4px auto 30px;
}

.service-detail-nav a {
    padding: 10px 18px;
    color: var(--green-950);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(0, 47, 41, 0.06);
}

.service-detail-card {
    display: grid;
    grid-template-columns: 0.42fr 1fr;
    gap: 28px;
    align-items: start;
    margin-bottom: 24px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 47, 41, 0.07);
    scroll-margin-top: 110px;
}

.service-detail-card figure {
    position: sticky;
    top: 110px;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
}

.service-detail-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.service-detail-card__body {
    max-height: 720px;
    overflow: auto;
    padding-left: 8px;
}

.service-detail-card__body h2 {
    margin: 0 0 8px;
    color: var(--green-950);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.45;
}

.service-detail-card__body h3 {
    margin: 26px 0 8px;
    color: var(--green-800);
    font-size: 22px;
    line-height: 1.55;
}

.service-detail-card__body p,
.service-detail-card__body li {
    color: #334947;
    font-size: 17px;
    line-height: 2.1;
}

.service-detail__lead {
    color: var(--gold-dark);
    font-weight: 800;
}

.service-detail-card__body ul {
    margin: 12px 0 18px;
    padding-right: 24px;
}

.service-single-page {
    background:
        linear-gradient(180deg, rgba(250, 246, 237, 0.88), rgba(255, 253, 248, 0.98)),
        var(--cream);
    padding: 58px 0 72px;
}

.service-back-link {
    color: var(--green-900);
    display: inline-flex;
    font-weight: 800;
    margin-bottom: 18px;
    text-decoration: none;
}

.service-back-link::before {
    content: "→";
    margin-left: 8px;
}

.service-single-card {
    align-items: start;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(260px, 0.36fr) minmax(0, 1fr);
    padding: 30px;
}

.service-single-card--not-found {
    display: block;
    max-width: 760px;
    margin: 0 auto;
}

.service-single-media {
    border-radius: var(--radius);
    margin: 0;
    overflow: hidden;
    position: sticky;
    top: 110px;
}

.service-single-media img {
    aspect-ratio: 1 / 1;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.service-single-content h1 {
    color: var(--green-950);
    font-size: clamp(1.7rem, 2.8vw, 2.55rem);
    line-height: 1.55;
    margin: 6px 0 16px;
}

.service-readable {
    color: var(--ink);
    font-size: 1.22rem;
    line-height: 2.25;
}

.service-readable h2 {
    color: var(--green-950);
    font-size: clamp(1.35rem, 2.1vw, 1.85rem);
    line-height: 1.55;
    margin: 0 0 14px;
}

.service-readable h3 {
    border-top: 1px solid rgba(0, 74, 62, 0.14);
    color: var(--green-900);
    font-size: 1.55rem;
    line-height: 1.6;
    margin: 30px 0 10px;
    padding-top: 22px;
}

.service-readable p {
    margin: 0 0 16px;
}

.service-readable ul {
    background: rgba(0, 84, 69, 0.05);
    border: 1px solid rgba(0, 84, 69, 0.1);
    border-radius: var(--radius-sm);
    margin: 14px 0 22px;
    padding: 18px 30px 18px 18px;
}

.related-articles {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}

.related-articles__heading h2 {
    margin: 0.35rem 0 1.25rem;
    font-size: 1.55rem;
}

.related-articles__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.related-article-card {
    display: block;
    min-height: 12rem;
    padding: 1.25rem;
    color: var(--ink);
    background: #fffdfa;
    border: 1px solid var(--line);
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.related-article-card:hover,
.related-article-card:focus-visible {
    color: var(--ink);
    border-color: var(--gold);
    box-shadow: 0 12px 28px rgba(0, 59, 52, 0.10);
    transform: translateY(-2px);
}

.related-article-card > span {
    color: var(--gold-dark);
    font-size: 0.85rem;
    font-weight: 700;
}

.related-article-card h3 {
    margin: 0.5rem 0;
    font-size: 1.08rem;
    line-height: 1.75;
}

.related-article-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.8;
}

.article-single-page {
    padding: 3.5rem 0 5rem;
    background: var(--cream);
}

.articles-archive-page {
    padding: 4rem 0 5.5rem;
    background: var(--cream);
}

.articles-archive-heading {
    margin-bottom: 2.25rem;
}

.articles-archive-heading h1 {
    margin: 0.4rem 0 0.8rem;
    color: var(--green-dark);
    font-size: clamp(2rem, 4vw, 3rem);
}

.articles-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
}

.articles-archive-card {
    overflow: hidden;
    background: #fffdfa;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 59, 52, 0.07);
}

.articles-archive-card__image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.articles-archive-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.articles-archive-card:hover .articles-archive-card__image img {
    transform: scale(1.04);
}

.articles-archive-card__body {
    padding: 1.15rem 1.2rem 1.25rem;
}

.articles-archive-card__body > span {
    color: var(--gold-dark);
    font-size: 0.84rem;
    font-weight: 700;
}

.articles-archive-card h2 {
    margin: 0.45rem 0 0.65rem;
    font-size: 1.14rem;
    line-height: 1.7;
}

.articles-archive-card h2 a,
.articles-archive-card__link {
    color: var(--green-dark);
    text-decoration: none;
}

.articles-archive-card p {
    min-height: 3.6rem;
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.9;
}

.articles-archive-card__link {
    font-weight: 700;
}

.educational-article {
    max-width: 920px;
    margin: 1.25rem auto 0;
    padding: clamp(1.4rem, 4vw, 3.25rem);
    background: #fffdfa;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.educational-article h1 {
    margin: 0.4rem 0 1rem;
    color: var(--green-dark);
    font-size: clamp(1.65rem, 3vw, 2.5rem);
    line-height: 1.55;
}

.educational-article__lead {
    margin: 0 0 2rem;
    color: var(--gold-dark);
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.9;
}

.educational-article__section {
    padding: 1.45rem 0;
    border-top: 1px solid var(--line);
}

.educational-article__section h2,
.educational-article__faq h2 {
    margin: 0 0 0.8rem;
    color: var(--green-dark);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    line-height: 1.75;
}

.educational-article__section p,
.educational-article__section li {
    color: var(--muted);
    font-size: 1rem;
    line-height: 2.05;
}

.educational-article__section p {
    margin: 0 0 0.85rem;
}

.educational-article__section ul {
    margin: 0;
    padding-right: 1.3rem;
}

.educational-article__faq {
    margin-top: 0.7rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.article-internal-links {
    margin-top: 0.7rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--line);
}

.article-internal-links h2 {
    margin: 0 0 0.8rem;
    color: var(--green-dark);
    font-size: 1.28rem;
}

.article-internal-links__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.article-internal-links__grid a {
    display: flex;
    align-items: center;
    min-height: 4.4rem;
    padding: 0.85rem 1rem;
    color: var(--green-dark);
    background: rgba(0, 84, 69, 0.06);
    border: 1px solid rgba(0, 84, 69, 0.14);
    border-radius: 7px;
    font-weight: 700;
    line-height: 1.7;
    text-decoration: none;
}

.article-internal-links__grid a:hover,
.article-internal-links__grid a:focus-visible {
    background: rgba(183, 137, 51, 0.13);
    border-color: var(--gold);
}

.service-readable li {
    margin: 6px 0;
}

.service-faq {
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.service-faq h2 {
    margin: 0 0 16px;
    color: var(--green-950);
    font-size: clamp(1.35rem, 2.1vw, 1.85rem);
}

.service-faq .faq-list {
    max-width: none;
}

.service-faq-item summary,
.service-faq-item p {
    font-size: 1rem;
}

.service-single-actions {
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
    padding-top: 22px;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 40px;
}

.about-copy h2,
.section-heading h2,
.faq-page .section-heading h1,
.appointment-form h2,
.contact-card h2,
.content-page h1 {
    margin: 8px 0 16px;
    color: var(--green-950);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.5;
}

.about-copy p,
.section-heading p,
.appointment-form p,
.contact-card p,
.entry-content,
.post-card p {
    color: #354947;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 26px 0;
}

.stats-row span {
    min-height: 74px;
    display: grid;
    align-content: center;
    padding: 12px;
    text-align: center;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.stats-row b {
    display: block;
    color: var(--green-900);
}

.about-photo,
.appointment-photo {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-photo img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    object-position: center 66%;
}

.about-profile-page {
    padding: 68px 0;
    background: #fffdf8;
}

.about-profile-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    align-items: start;
    gap: 36px;
    max-width: 1080px;
    margin: 0 auto;
    padding-bottom: 42px;
}

.about-profile-intro h1 {
    margin: 8px 0 10px;
    color: var(--green-950);
    font-size: clamp(30px, 3.4vw, 46px);
    line-height: 1.45;
}

.about-profile-subtitle {
    margin: 0 0 24px;
    color: var(--gold-700);
    font-size: 19px;
    font-weight: 800;
}

.about-profile-intro p {
    color: #354947;
    font-size: 18px;
    line-height: 2.05;
}

.about-profile-photo {
    width: 240px;
    justify-self: start;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-profile-photo img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center 62%;
    transform: scale(1.4);
    transform-origin: center 72%;
}

.about-profile-section {
    padding: 32px 0;
    border-top: 1px solid var(--line);
}

.about-profile-section h2 {
    margin: 0 0 16px;
    color: var(--green-950);
    font-size: 25px;
}

.about-profile-section ul {
    margin: 0;
    padding-right: 24px;
    color: #354947;
    font-size: 17px;
    line-height: 2;
}

.about-profile-section li {
    margin: 5px 0;
}

.profile-list-grid,
.profile-compact-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 34px;
}

.profile-compact-section > div + div {
    padding-right: 34px;
    border-right: 1px solid var(--line);
}

.faq-section {
    background: #fff7e9;
}
.article-card,
.shop-grid article,
.post-card {
    background: #fffdf8;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(0, 47, 41, 0.06);
}

.article-card,
.shop-grid article,
.post-card {
    padding: 22px;
}

.article-card a {
    color: var(--green-800);
    font-weight: 800;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 28px;
    text-align: center;
}

.shop-grid,
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.shop-grid article {
    min-height: 160px;
}

.appointment-section {
    padding: 62px 0;
    background: linear-gradient(135deg, #fffdf8, #f7edda);
}

.appointment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
    align-items: stretch;
}

.legacy-section {
    display: none;
}

.appointment-form {
    padding: 28px;
    color: var(--ink);
    background: #fffdf8;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 8px 26px rgba(0, 47, 41, 0.06);
}

.appointment-form h2,
.appointment-form p {
    color: var(--green-950);
    text-align: center;
}

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

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    margin: 0 0 12px;
    padding: 10px 14px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font: inherit;
}

textarea {
    min-height: 94px;
    resize: vertical;
}

.appointment-photo img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

.bottom-panel {
    padding: 28px;
    background: #fffdf8;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 8px 26px rgba(0, 47, 41, 0.06);
}

.bottom-panel h2 {
    margin: 4px 0 6px;
    color: var(--green-950);
    text-align: center;
    font-size: 26px;
}

.bottom-panel > p {
    margin-top: 0;
    color: var(--muted);
    text-align: center;
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0 18px;
}

.product-tabs span {
    padding: 6px 14px;
    color: var(--green-900);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.mini-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.mini-products article {
    min-height: 150px;
    padding: 10px;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(13, 43, 42, 0.08);
    border-radius: var(--radius);
}

.mini-products img {
    width: 100%;
    aspect-ratio: 1.45 / 1;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 8px;
}

.mini-products b,
.mini-products small {
    display: block;
}

.mini-products small {
    color: var(--gold-dark);
    font-weight: 700;
}

.article-list {
    display: grid;
    gap: 12px;
    margin: 18px 0;
}

.article-list article {
    display: grid;
    grid-template-columns: 112px 1fr;
    align-items: center;
    gap: 12px;
    min-height: 78px;
    padding: 8px;
    background: #fff;
    border: 1px solid rgba(13, 43, 42, 0.08);
    border-radius: var(--radius);
}

.article-list img {
    width: 112px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
}

.article-list a {
    color: var(--ink);
    font-weight: 800;
    line-height: 1.6;
}

.article-list--headlines article {
    display: block;
    min-height: 0;
    padding: 12px 14px;
}

.article-list--headlines a {
    display: block;
    padding-right: 14px;
    border-right: 3px solid var(--gold);
    font-size: 0.98rem;
}

.contact-map-row {
    display: grid;
    grid-template-columns: 0.45fr 1fr;
    gap: 18px;
    grid-column: 1 / -1;
}

.contact-card {
    padding: 28px;
    color: var(--ink);
    background: #f8f1e3;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.contact-card h2,
.contact-card p,
.contact-card a {
    color: var(--green-950);
}

.phone-number {
    display: inline-block;
    direction: ltr;
    unicode-bidi: isolate;
}

.map-panel {
    position: relative;
    min-height: 250px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.map-frame {
    display: block;
    width: 100%;
    min-height: 250px;
    border: 0;
}

.map-route-action {
    position: absolute;
    bottom: 18px;
    left: 18px;
    z-index: 2;
    padding: 9px 17px;
    color: #fff;
    background: var(--green-900);
    border-radius: 6px;
    font-size: 14px;
}

.faq-list {
    display: grid;
    gap: 12px;
    max-width: 920px;
    margin: 0 auto;
}

.faq-item {
    overflow: hidden;
    background: #fffdf8;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.faq-item[open] {
    border-color: rgba(7, 79, 66, 0.38);
    box-shadow: 0 10px 24px rgba(7, 79, 66, 0.08);
}

.faq-item summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 68px;
    padding: 16px 70px 16px 24px;
    color: var(--green-950);
    font-weight: 800;
    font-size: 18px;
    line-height: 1.8;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    position: absolute;
    top: 50%;
    right: 22px;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid rgba(7, 79, 66, 0.28);
    border-radius: 50%;
    color: var(--green-900);
    content: "+";
    font-family: Arial, sans-serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-50%);
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.faq-item[open] summary::after {
    background: var(--green-900);
    color: #fff;
    content: "-";
}

.faq-item p {
    margin: 0;
    padding: 2px 24px 21px;
    border-top: 1px solid rgba(7, 79, 66, 0.1);
    color: #334c47;
    font-size: 17px;
    line-height: 2;
}

.faq-group-title {
    margin: 21px 0 2px;
    color: var(--green-950);
    font-size: 22px;
}

.article-card img,
.content-page img {
    width: 100%;
    border-radius: var(--radius);
}

.site-footer {
    color: #eaf5f2;
    background: radial-gradient(circle at top right, #0b6b5c, var(--green-950) 45%);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.55fr);
    gap: 34px;
    padding: 54px 0 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-logo-wrap {
    height: 58px;
    width: 70px;
}

.footer-grid h3 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 17px;
}

.footer-grid p {
    color: rgba(255, 255, 255, 0.78);
}

.footer-grid a {
    display: block;
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.82);
}

.copyright {
    padding: 16px;
    text-align: center;
    color: rgba(255, 255, 255, 0.72);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
}

.content-narrow {
    max-width: 860px;
}

.post-card {
    margin-bottom: 18px;
}

.post-meta {
    color: var(--muted);
    margin-bottom: 18px;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1060px) {
    .primary-nav,
    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: block;
        margin-right: auto;
    }

    .mobile-menu.is-open {
        display: block;
    }

    .mobile-menu .site-menu {
        display: grid;
        justify-content: stretch;
        gap: 0;
        padding: 8px 24px 18px;
    }

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

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

    .contact-map-row {
        grid-template-columns: 1fr;
        grid-column: 1 / -1;
    }

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

@media (max-width: 820px) {
    .main-nav__inner {
        min-height: 74px;
    }

    .brand {
        min-width: 0;
    }

    .brand-text b {
        font-size: 15px;
    }

    .hero-grid,
    .split-layout,
    .about-profile-intro,
    .service-detail-card,
    .service-single-card,
    .shop-grid,
    .article-grid,
    .appointment-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-card figure {
        position: static;
    }

    .service-single-media {
        position: static;
    }

    .about-profile-photo {
        width: 220px;
        justify-self: center;
    }

    .service-detail-card__body {
        max-height: none;
        overflow: visible;
    }

    .hero-copy {
        margin: 0;
        text-align: right;
    }

    .hero-actions {
        justify-content: flex-start;
    }

    .about-photo img {
        height: 420px;
        min-height: 0;
    }

    .hero-slider {
        height: 420px;
        min-height: 0;
    }

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

    .related-articles__grid {
        grid-template-columns: 1fr;
    }

    .articles-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-internal-links__grid {
        grid-template-columns: 1fr;
    }

    .mini-products,
    .article-list article {
        grid-template-columns: 1fr;
    }

    .article-list img {
        width: 100%;
        height: 150px;
    }

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

@media (max-width: 540px) {
    .container {
        width: min(100% - 22px, 1180px);
    }

    .service-single-page {
        padding: 34px 0 48px;
    }

    .article-single-page {
        padding: 28px 0 44px;
    }

    .educational-article {
        padding: 1.25rem;
    }

    .educational-article h1 {
        font-size: 1.55rem;
    }

    .service-single-card {
        gap: 22px;
        padding: 18px;
    }

    .service-readable {
        font-size: 1.08rem;
        line-height: 2.05;
    }

    .brand-logo-wrap {
        height: 48px;
        width: 58px;
    }

    .brand-text strong {
        font-size: 12px;
    }

    .brand-text b {
        font-size: 15px;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        padding-block: 28px;
    }

    .hero-degree {
        font-size: 16px;
    }

    .hero-photo img,
    .about-photo img,
    .appointment-photo img {
        height: 340px;
    }

    .service-cards,
    .stats-row,
    .form-row,
    .mini-products,
    .profile-list-grid,
    .profile-compact-section {
        grid-template-columns: 1fr;
    }

    .articles-archive-grid {
        grid-template-columns: 1fr;
    }

    .profile-compact-section > div + div {
        padding: 26px 0 0;
        border-top: 1px solid var(--line);
        border-right: 0;
    }

    .button,
    .nav-cta {
        width: 100%;
    }
}
