/* Homepage redesign inspired by the supplied reference mockup. */

:root {
    --home-navy: #10184d;
    --home-navy-deep: #0b123f;
    --home-ink: #121a54;
    --home-pink: #ff5f9b;
    --home-pink-soft: #fff0f6;
    --home-line: rgba(18, 26, 84, 0.12);
    --home-muted: #606784;
    --home-green: #25d366;
    --home-bg: #fbfcff;
}

.home-template {
    background: var(--home-navy);
}

html:has(body.home-template) {
    background: var(--home-navy);
}

.home-template .preloader {
    background: var(--home-navy);
}

.home-template header.main-header.bg-section {
    max-width: none;
    margin: 0;
    border-radius: 0;
    background: var(--home-navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-template header.main-header .header-sticky {
    max-width: none;
}

.home-template .navbar {
    padding: 16px 0;
}

.dr-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 235px;
    color: var(--white-color);
}

.dr-brand:hover,
.dr-brand:focus {
    color: var(--white-color);
}

.dr-brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    color: var(--white-color);
    background: var(--home-pink);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0;
}

.dr-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    line-height: 1;
}

.dr-brand-copy strong {
    color: var(--white-color);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0;
    white-space: nowrap;
}

.dr-brand-copy small {
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0;
    white-space: nowrap;
}

.home-template .main-menu .nav-menu-wrapper {
    margin: 0 12px;
}

.home-template .main-menu ul li a {
    font-size: 13px;
    font-weight: 700;
    padding: 12px 13px !important;
}

.home-template .main-menu ul ul {
    width: 245px;
    border-radius: 8px;
    background: var(--white-color);
    box-shadow: 0 22px 55px rgba(6, 10, 40, 0.18);
}

.home-template .main-menu ul ul li a {
    color: var(--home-ink);
    padding: 11px 18px !important;
}

.home-template .main-menu ul ul li a:hover,
.home-template .main-menu ul ul li a:focus {
    color: var(--home-pink);
    padding: 11px 18px 11px 22px !important;
}

.home-template .header-btn .btn-default {
    border-radius: 8px;
    padding: 15px 26px;
    font-size: 14px;
    box-shadow: 0 12px 28px rgba(255, 95, 155, 0.28);
}

.home-template .header-btn .btn-default::before {
    display: none;
}

.home-template .header-btn .btn-default:hover {
    color: var(--home-ink);
}

.home-page {
    color: var(--home-muted);
    font-size: 15px;
    line-height: 1.6;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 44%, #ffffff 100%);
}

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

.home-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(13, 20, 70, 0.98), rgba(20, 31, 93, 0.94)),
        url("../images/hero-bg-2.jpg") center / cover no-repeat;
    padding: 82px 0 112px;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(16, 24, 77, 0.96) 0%, rgba(16, 24, 77, 0.84) 52%, rgba(21, 31, 90, 0.96) 100%);
    pointer-events: none;
}

.home-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 500px;
    align-items: center;
    gap: 70px;
}

.home-hero-copy {
    max-width: 620px;
}

.home-eyebrow {
    display: inline-block;
    color: var(--home-pink);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.home-hero h1 {
    color: var(--white-color);
    font-size: 55px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0;
}

.home-hero h1 span,
.home-section-head h2 span {
    color: var(--home-pink);
}

.home-hero p {
    max-width: 510px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.55;
    margin: 22px 0 0;
}

.hero-care-points {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
    margin: 24px 0 0;
}

.hero-care-points span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--home-pink);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
}

.hero-care-points i {
    font-size: 15px;
}

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

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    border-radius: 8px;
    padding: 14px 26px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0;
    border: 1px solid transparent;
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.home-btn:hover,
.home-btn:focus {
    transform: translateY(-2px);
}

.home-btn-primary {
    color: var(--white-color);
    background: var(--home-pink);
    box-shadow: 0 16px 35px rgba(255, 95, 155, 0.26);
}

.home-btn-primary:hover,
.home-btn-primary:focus {
    color: var(--white-color);
    background: #ff4f91;
}

.home-btn-whatsapp {
    color: var(--white-color);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.55);
}

.home-btn-whatsapp i {
    color: var(--home-green);
    font-size: 20px;
}

.home-btn-whatsapp:hover,
.home-btn-whatsapp:focus {
    color: var(--white-color);
    border-color: var(--home-green);
    background: rgba(37, 211, 102, 0.12);
}

.home-btn-sm {
    min-height: 42px;
    padding: 12px 20px;
    font-size: 13px;
}

.home-hero-visual {
    display: flex;
    justify-content: center;
}

.hero-family-frame {
    position: relative;
    width: min(100%, 470px);
    aspect-ratio: 1 / 1.05;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-family-frame::before {
    content: "";
    position: absolute;
    inset: 3%;
    border: 1px solid rgba(255, 95, 155, 0.72);
    border-radius: 44% 44% 36% 36%;
}

.hero-family-frame img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 32px 52px rgba(0, 0, 0, 0.22));
}

.home-stats-wrap {
    position: relative;
    z-index: 4;
    margin-top: -52px;
}

.home-stats-card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--white-color);
    border: 1px solid var(--home-line);
    border-radius: 8px;
    box-shadow: 0 20px 55px rgba(13, 22, 70, 0.14);
    overflow: hidden;
}

.home-stat {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 26px 32px;
    min-height: 106px;
    border-right: 1px solid var(--home-line);
}

.home-stat:last-child {
    border-right: 0;
}

.home-stat > span {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 54px;
    color: var(--home-pink);
    background: var(--home-pink-soft);
    font-size: 25px;
}

.home-stat strong {
    display: block;
    color: var(--home-ink);
    font-size: 25px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0;
}

.home-stat small {
    display: block;
    color: #27305f;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 5px;
}

.home-section {
    padding: 78px 0;
}

.home-about {
    padding-top: 60px;
}

.home-about-grid {
    position: relative;
    display: grid;
    grid-template-columns: 430px minmax(0, 1fr) 160px;
    align-items: center;
    gap: 60px;
}

.doctor-collage {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.doctor-photo {
    width: 310px;
    height: 360px;
    object-fit: cover;
    object-position: center 36%;
    border-radius: 0 0 130px 130px;
    filter: drop-shadow(0 18px 30px rgba(18, 26, 84, 0.15));
}

.experience-tile {
    position: absolute;
    left: 0;
    top: 26px;
    width: 104px;
    min-height: 104px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 8px;
    background: #ffd4e6;
    color: var(--home-pink);
    padding: 14px;
    box-shadow: 0 16px 30px rgba(255, 95, 155, 0.16);
}

.experience-tile strong {
    color: var(--home-pink);
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
}

.experience-tile span {
    color: var(--home-ink);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
    margin-top: 6px;
}

.doctor-inset {
    position: absolute;
    right: 10px;
    bottom: 22px;
    width: 150px;
    height: 132px;
    object-fit: cover;
    border: 6px solid var(--white-color);
    border-radius: 8px;
    box-shadow: 0 18px 36px rgba(18, 26, 84, 0.16);
}

.home-copy {
    max-width: 565px;
}

.home-copy h2,
.home-section-head h2,
.cta-copy h2 {
    color: var(--home-ink);
    font-size: 38px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0;
    margin: 0;
}

.home-copy p,
.home-section-head p {
    color: var(--home-muted);
    font-size: 15px;
    line-height: 1.7;
    margin: 22px 0 0;
}

.home-check-list {
    display: grid;
    gap: 10px;
    margin: 24px 0 28px;
    padding: 0;
    list-style: none;
}

.home-check-list li {
    position: relative;
    color: #252d5a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    padding-left: 28px;
}

.home-check-list li::before {
    content: "\f00c";
    position: absolute;
    left: 0;
    top: 1px;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--home-pink);
    color: var(--white-color);
    font-family: "Font Awesome 6 Free";
    font-size: 10px;
    font-weight: 900;
}

.experience-seal {
    width: 142px;
    height: 142px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    background: radial-gradient(circle at 35% 35%, #273274, var(--home-navy-deep));
    box-shadow: 0 18px 35px rgba(18, 26, 84, 0.24);
}

.experience-seal span {
    display: block;
    color: var(--white-color);
    font-size: 38px;
    font-weight: 900;
    line-height: 1;
}

.experience-seal small {
    max-width: 88px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.35;
    text-transform: uppercase;
    margin-top: 8px;
}

.home-soft-panel {
    width: min(100% - 48px, 1340px);
    margin: 0 auto;
    padding: 38px 0;
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(255, 240, 246, 0.92), rgba(255, 255, 255, 0.96)),
        url("../images/section-bg-imgae.png") center / cover no-repeat;
}

.home-section-head {
    margin-bottom: 30px;
}

.home-section-head.split {
    display: grid;
    grid-template-columns: 1fr 470px;
    align-items: end;
    gap: 44px;
}

.home-section-head.compact {
    align-items: center;
    margin-bottom: 24px;
}

.home-section-head.compact h2 {
    font-size: 31px;
}

.home-section-head p {
    margin-top: 0;
}

.home-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--home-pink);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
    margin-top: 12px;
}

.home-text-link:hover,
.home-text-link:focus {
    color: var(--home-ink);
}

.home-text-link i {
    font-size: 12px;
}

.treatment-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.treatment-card {
    min-height: 202px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 12px;
    color: var(--home-ink);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--home-line);
    border-radius: 8px;
    padding: 24px 15px 20px;
    box-shadow: 0 12px 24px rgba(18, 26, 84, 0.05);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.treatment-card:hover,
.treatment-card:focus {
    color: var(--home-ink);
    transform: translateY(-5px);
    border-color: rgba(255, 95, 155, 0.42);
    box-shadow: 0 18px 36px rgba(18, 26, 84, 0.1);
}

.treatment-card span {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--home-pink-soft);
}

.treatment-card img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.treatment-card strong {
    color: var(--home-ink);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.25;
}

.treatment-card small {
    color: #26305f;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}

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

.review-card,
.article-card {
    border: 1px solid var(--home-line);
    border-radius: 8px;
    background: var(--white-color);
    box-shadow: 0 16px 36px rgba(18, 26, 84, 0.06);
}

.review-card {
    position: relative;
    min-height: 218px;
    padding: 28px 28px 24px;
}

.review-card::after {
    content: "\f10e";
    position: absolute;
    top: 28px;
    right: 28px;
    color: rgba(255, 95, 155, 0.18);
    font-family: "Font Awesome 6 Free";
    font-size: 38px;
    font-weight: 900;
}

.stars {
    color: #ffc300;
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 1;
}

.review-card p {
    color: #1e2755;
    font-size: 15px;
    line-height: 1.55;
    margin: 22px 0 22px;
}

.review-person {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.review-person strong {
    display: block;
    color: var(--home-ink);
    font-size: 14px;
    font-weight: 900;
}

.review-person small {
    color: #34406e;
    font-size: 12px;
    font-weight: 700;
}

.review-person img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.home-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.home-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cfd3df;
}

.home-dots span.active {
    background: var(--home-pink);
}

.home-articles {
    padding-top: 42px;
}

.article-card {
    overflow: hidden;
}

.article-card > a {
    display: block;
}

.article-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.article-body {
    padding: 18px 20px 22px;
}

.article-body span {
    display: block;
    color: #7d849c;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
}

.article-body h3 {
    min-height: 54px;
    margin: 0;
}

.article-body h3 a {
    color: var(--home-ink);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.35;
}

.article-body h3 a:hover,
.article-body h3 a:focus {
    color: var(--home-pink);
}

.home-faq {
    padding-top: 40px;
    padding-bottom: 44px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 26px;
}

.faq-grid details {
    border-radius: 8px;
    background: #f1f3f8;
    border: 1px solid transparent;
    overflow: hidden;
}

.faq-grid details[open] {
    background: var(--white-color);
    border-color: var(--home-line);
    box-shadow: 0 14px 30px rgba(18, 26, 84, 0.06);
}

.faq-grid summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    color: var(--home-ink);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.25;
    padding: 14px 46px 14px 20px;
}

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

.faq-grid summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--home-ink);
    font-size: 20px;
    font-weight: 700;
}

.faq-grid details[open] summary::after {
    content: "-";
}

.faq-grid p {
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    padding: 0 20px 18px;
}

.home-final-cta {
    padding: 0 0 24px;
}

.cta-band {
    min-height: 178px;
    display: grid;
    grid-template-columns: 148px 1fr auto;
    align-items: center;
    gap: 28px;
    color: var(--white-color);
    background: linear-gradient(95deg, var(--home-navy-deep), var(--home-navy));
    border-radius: 8px;
    padding: 0 32px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(18, 26, 84, 0.16);
}

.cta-band > img {
    align-self: end;
    width: 142px;
    height: 172px;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 70px 70px 0 0;
}

.cta-copy h2 {
    color: var(--white-color);
    font-size: 28px;
}

.cta-copy p {
    max-width: 520px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.65;
    margin: 12px 0 0;
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cta-meta {
    grid-column: 2 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 18px 34px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    margin-top: -34px;
}

.cta-meta span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-meta i {
    color: var(--home-pink);
    font-size: 17px;
}

.compact-footer {
    background: var(--white-color);
    border-top: 1px solid var(--home-line);
    padding: 0;
}

.footer-main {
    padding: 28px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr) 1.3fr;
    gap: 34px;
}

.footer-brand {
    max-width: 280px;
}

.footer-brand .dr-brand {
    color: var(--home-ink);
    min-width: 0;
}

.footer-brand .dr-brand-copy strong,
.footer-brand .dr-brand-copy small {
    color: var(--home-ink);
}

.footer-brand .dr-brand-copy small {
    opacity: 0.75;
}

.footer-brand p,
.footer-links li,
.footer-contact li {
    color: var(--home-muted);
    font-size: 13px;
    line-height: 1.65;
}

.footer-brand p {
    margin: 16px 0 18px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--home-ink);
    background: #f1f3f8;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.footer-social a:hover,
.footer-social a:focus {
    color: var(--white-color);
    background: var(--home-pink);
}

.footer-links h3,
.footer-contact h3 {
    color: var(--home-ink);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 15px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    color: var(--home-muted);
    margin-bottom: 8px;
}

.compact-footer .footer-links ul li a,
.compact-footer .footer-contact ul li a,
.compact-footer .footer-contact ul li span {
    color: inherit;
    opacity: 1;
    visibility: visible;
}

.compact-footer .footer-links ul li a {
    color: var(--home-muted);
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.compact-footer .footer-links ul li a:hover,
.compact-footer .footer-links ul li a:focus,
.compact-footer .footer-contact ul li a:hover,
.compact-footer .footer-contact ul li a:focus {
    color: var(--home-pink);
}

.footer-contact li {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-contact i {
    color: var(--home-ink);
    width: 16px;
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--home-line);
    padding: 16px 0;
}

.footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.footer-bottom p {
    color: var(--home-muted);
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 22px;
}

.footer-legal a {
    color: var(--home-muted);
    font-size: 12px;
    font-weight: 700;
}

.footer-legal a:hover,
.footer-legal a:focus {
    color: var(--home-pink);
}

@media only screen and (max-width: 1199px) {
    .home-template .main-menu ul li a {
        padding: 12px 9px !important;
    }

    .home-template .header-btn .btn-default {
        padding: 14px 18px;
    }

    .home-hero-grid {
        grid-template-columns: 1fr 430px;
        gap: 42px;
    }

    .home-hero h1 {
        font-size: 47px;
    }

    .home-stat {
        padding: 22px;
    }

    .home-about-grid {
        grid-template-columns: 390px minmax(0, 1fr);
    }

    .experience-seal {
        display: none;
    }

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

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

    .footer-brand,
    .footer-contact {
        grid-column: span 3;
        max-width: none;
    }
}

@media only screen and (max-width: 991px) {
    .home-template .navbar {
        padding: 14px 0;
    }

    .home-template .header-btn {
        display: none;
    }

    .home-template .slicknav_menu {
        background: var(--white-color);
        box-shadow: 0 22px 50px rgba(6, 10, 40, 0.16);
    }

    .home-template .slicknav_nav .slicknav_row,
    .home-template .slicknav_nav li a {
        color: var(--home-ink);
    }

    .home-template .slicknav_arrow::after {
        color: var(--home-ink);
    }

    .home-hero {
        padding: 70px 0 96px;
    }

    .home-hero-grid,
    .home-about-grid,
    .home-section-head.split {
        grid-template-columns: 1fr;
    }

    .home-hero-copy {
        max-width: none;
        text-align: center;
    }

    .home-hero-copy p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-care-points,
    .hero-actions {
        justify-content: center;
    }

    .hero-family-frame {
        max-width: 390px;
    }

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

    .home-stat:nth-child(2) {
        border-right: 0;
    }

    .home-stat:nth-child(-n + 2) {
        border-bottom: 1px solid var(--home-line);
    }

    .doctor-collage {
        max-width: 430px;
        margin: 0 auto;
    }

    .home-copy {
        max-width: none;
        text-align: center;
    }

    .home-check-list {
        max-width: 460px;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .home-section-head {
        text-align: center;
    }

    .home-section-head p {
        max-width: 620px;
        margin-left: auto;
        margin-right: auto;
    }

    .review-grid,
    .article-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .cta-band {
        grid-template-columns: 110px 1fr;
        padding: 0 24px 24px;
    }

    .cta-band > img {
        width: 110px;
        height: 150px;
    }

    .cta-actions,
    .cta-meta {
        grid-column: 2;
        margin-top: 0;
    }

    .cta-actions {
        flex-wrap: wrap;
    }
}

@media only screen and (max-width: 767px) {
    .home-container {
        width: min(100% - 28px, 1220px);
    }

    .dr-brand {
        min-width: 0;
    }

    .dr-brand-copy strong {
        font-size: 16px;
    }

    .dr-brand-copy small {
        font-size: 10px;
    }

    .home-hero {
        padding: 54px 0 82px;
    }

    .home-hero h1 {
        font-size: 38px;
    }

    .home-hero p {
        font-size: 16px;
    }

    .hero-care-points {
        gap: 12px;
    }

    .home-btn {
        width: 100%;
    }

    .home-stats-wrap {
        margin-top: -40px;
    }

    .home-stats-card {
        grid-template-columns: 1fr;
    }

    .home-stat,
    .home-stat:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--home-line);
    }

    .home-stat:last-child {
        border-bottom: 0;
    }

    .home-section {
        padding: 54px 0;
    }

    .home-copy h2,
    .home-section-head h2,
    .home-section-head.compact h2 {
        font-size: 30px;
    }

    .doctor-collage {
        min-height: 330px;
    }

    .doctor-photo {
        width: 270px;
        height: 330px;
    }

    .experience-tile {
        left: 6px;
        width: 88px;
        min-height: 88px;
    }

    .doctor-inset {
        right: 2px;
        width: 120px;
        height: 106px;
    }

    .home-soft-panel {
        width: min(100% - 20px, 1340px);
        padding: 34px 0;
    }

    .treatment-strip {
        grid-template-columns: 1fr;
    }

    .article-card img {
        height: 175px;
    }

    .cta-band {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 22px;
    }

    .cta-band > img {
        display: none;
    }

    .cta-actions,
    .cta-meta {
        grid-column: auto;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .footer-brand,
    .footer-contact {
        grid-column: auto;
    }

    .footer-bottom-row {
        flex-direction: column;
        text-align: center;
    }
}

@media only screen and (max-width: 420px) {
    .dr-brand-mark {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        font-size: 13px;
    }

    .dr-brand-copy strong {
        font-size: 14px;
    }

    .dr-brand-copy small {
        display: none;
    }

    .home-hero h1 {
        font-size: 34px;
    }

    .home-stat {
        padding: 20px;
    }
}
