:root {
    --navy: #123f6d;
    --dark-navy: #071f3b;
    --blue: #1f5fa8;
    --bright-blue: #4fa3dc;
    --green: #2d6fae;
    --dark-green: #174f87;
    --lime: #c7a64a;
    --light-blue: #f4f9fd;
    --light-green: #edf4fb;
    --soft-blue: #e5f1fb;
    --soft-green: #e9f2fa;
    --text: #2f475f;
    --muted: #6e776f;
    --white: #ffffff;
    --border: #dbe6f0;
    --shadow: 0 18px 50px rgba(18, 63, 109, 0.15);
    --shadow-soft: 0 12px 35px rgba(18, 63, 109, 0.10);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    overflow-x: hidden;
    background: #ffffff;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

/* =========================================================
   HEADER
   ========================================================= */

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(90deg, rgba(255,255,255,0.99) 0%, rgba(248,250,253,0.99) 65%, rgba(243,248,252,0.99) 100%);
    border-top: 5px solid var(--green);
    border-bottom: 1px solid #e8e0cf;
    box-shadow: 0 7px 24px rgba(18, 63, 109, 0.10);
}

.main-header::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--green) 0%, var(--bright-blue) 48%, var(--blue) 100%);
    content: "";
    opacity: 0.7;
}

.header-container {
    width: min(1460px, calc(100% - 54px));
    min-height: 116px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.logo-container {
    position: relative;
    width: 620px;
    flex: 0 0 620px;
    overflow: visible;
}

.logo-container a {
    display: block;
    width: 100%;
}

.logo-container img {
    width: 620px;
    height: 124px;
    object-fit: contain;
    object-position: left center;
    transform: scale(1.38);
    transform-origin: left center;
    filter: drop-shadow(0 5px 10px rgba(18, 63, 109, 0.08));
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    color: var(--navy);
    font-size: 15px;
    font-weight: 700;
}

.main-nav > a:not(.header-appointment-button) {
    position: relative;
    padding: 45px 0 37px;
    white-space: nowrap;
    transition: color 0.22s ease;
}

.main-nav > a:not(.header-appointment-button)::after {
    position: absolute;
    right: 0;
    bottom: 29px;
    left: 0;
    height: 4px;
    border-radius: 20px;
    background: linear-gradient(90deg, var(--green), var(--bright-blue));
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.24s ease;
}

.main-nav > a:not(.header-appointment-button):hover,
.main-nav > a.active {
    color: var(--blue);
}

.main-nav > a:not(.header-appointment-button):hover::after,
.main-nav > a.active::after {
    transform: scaleX(1);
}

.header-appointment-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 23px;
    border: 1px solid rgba(199,166,74,0.45);
    border-radius: 9px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 70%);
    color: #ffffff !important;
    white-space: nowrap;
    box-shadow: 0 9px 24px rgba(18, 63, 109, 0.23);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.header-appointment-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 13px 28px rgba(18, 63, 109, 0.30);
}

.mobile-menu-button {
    display: none;
    width: 46px;
    height: 42px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--blue), var(--navy));
    cursor: pointer;
    box-shadow: 0 7px 18px rgba(18, 63, 109, 0.18);
}

.menu-line {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: #ffffff;
}

/* =========================================================
   HERO
   ========================================================= */

.hero-section {
    position: relative;
    min-height: 675px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 12% 22%, rgba(199,166,74,0.09), transparent 29%),
        radial-gradient(circle at 92% 78%, rgba(45,111,174,0.08), transparent 25%),
        #ffffff;
}

.hero-section::before,
.hero-section::after {
    display: none;
    content: none;
}

.hero-background {
    position: absolute;
    z-index: 0;
    inset: 0;
    background-image: url("../images/back.png");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: min(1320px, calc(100% - 54px));
    margin: auto;
    padding: 94px 0 106px;
}

.hero-text {
    width: 48%;
    max-width: 650px;
}

.hero-small-title {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding: 9px 14px 9px 12px;
    border: 1px solid rgba(199,166,74,0.22);
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(199,166,74,0.10), rgba(45,111,174,0.08));
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    box-shadow: 0 7px 18px rgba(18,63,109,0.05);
}

.hero-small-title::before {
    width: 29px;
    height: 4px;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--green), var(--bright-blue));
    content: "";
}

.hero-text h1 {
    margin-bottom: 24px;
    color: var(--navy);
    font-size: clamp(52px, 5.2vw, 78px);
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 1.01;
    text-shadow: 0 2px 0 rgba(255,255,255,0.85);
}

.hero-text h1 span {
    color: var(--bright-blue);
    background: linear-gradient(90deg, #b8943b, #d4b65b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    max-width: 570px;
    margin-bottom: 34px;
    color: #59685f;
    font-size: 18px;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-button,
.section-button,
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 27px;
    border-radius: 8px;
    font-weight: 800;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.primary-button,
.section-button {
    background: linear-gradient(135deg, var(--blue), var(--navy));
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(18, 63, 109, 0.22);
}

.primary-button:hover,
.section-button:hover,
.cta-button:hover {
    transform: translateY(-3px);
}

.secondary-button {
    border: 2px solid var(--bright-blue);
    background: rgba(255, 255, 255, 0.93);
    color: var(--navy);
    box-shadow: 0 9px 22px rgba(18,63,109,0.08);
}

.secondary-button:hover {
    border-color: #b8943b;
    color: var(--blue);
}

/* =========================================================
   INFORMATION STRIP
   ========================================================= */

.information-strip {
    position: relative;
    z-index: 5;
    width: min(1180px, calc(100% - 50px));
    margin: -42px auto -42px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    border: 1px solid rgba(31,95,168,0.10);
    border-radius: 17px;
    background: #ffffff;
    box-shadow: 0 22px 55px rgba(18, 63, 109, 0.17);
}

.information-strip::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--green) 0%, var(--bright-blue) 48%, var(--green) 100%);
    content: "";
}

.information-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 124px;
    padding: 24px 28px;
    border-right: 1px solid var(--border);
    background: linear-gradient(180deg, #ffffff, #fffdf7);
}

.information-box:nth-child(2) {
    background: linear-gradient(180deg, #ffffff, #f5f9fd);
}

.information-box:last-child {
    border-right: 0;
    background: linear-gradient(180deg, #ffffff, #fffaf0);
}

.information-icon,
.service-icon {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    border-radius: 18px;
    background: linear-gradient(145deg, var(--soft-green), #ffffff);
    border: 1px solid rgba(45,111,174,0.22);
    color: var(--dark-green);
    font-size: 26px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(23,79,135,0.10);
}

.information-box:nth-child(2) .information-icon {
    background: linear-gradient(145deg, var(--soft-blue), #ffffff);
    border-color: rgba(199,166,74,0.18);
    color: #b8943b;
}

.information-box:nth-child(3) .information-icon {
    background: linear-gradient(145deg, #f5ead0, #ffffff);
    border-color: rgba(199,166,74,0.25);
    color: #b8943b;
}

.information-box h3 {
    margin-bottom: 3px;
    color: var(--navy);
    font-size: 18px;
}

.information-box p {
    color: var(--muted);
    font-size: 14px;
}

.information-box p a {
    color: var(--blue);
    font-size: 18px;
    font-weight: 900;
}

/* =========================================================
   GLOBAL SECTIONS
   ========================================================= */

.section-container {
    width: min(1180px, calc(100% - 50px));
    margin: auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 15px;
    color: #a9842f;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 2px;
}

.section-label::before {
    width: 24px;
    height: 4px;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--green), var(--bright-blue));
    content: "";
}

.welcome-content h2,
.section-heading h2,
.doctor-content h2 {
    margin-bottom: 22px;
    color: var(--navy);
    font-size: clamp(36px, 4vw, 54px);
    letter-spacing: -2px;
    line-height: 1.08;
}

.welcome-content p,
.doctor-content p {
    max-width: 650px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 17px;
}

/* =========================================================
   WELCOME
   ========================================================= */

.welcome-section {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding: 168px 0 108px;
    background:
        radial-gradient(circle at 0% 100%, rgba(45,111,174,0.10), transparent 24%),
        radial-gradient(circle at 100% 0%, rgba(199,166,74,0.09), transparent 27%),
        linear-gradient(180deg, #fbf7ec 0%, #ffffff 34%);
}

.welcome-section::after {
    position: absolute;
    right: -100px;
    top: 80px;
    width: 245px;
    height: 245px;
    border-radius: 50%;
    background: rgba(199,166,74,0.04);
    content: "";
}

.welcome-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.82fr;
    align-items: center;
    gap: 90px;
}

.welcome-features {
    margin: 30px 0 34px;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.welcome-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
    font-size: 16px;
}

.welcome-feature span {
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--dark-green));
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 6px 14px rgba(23,79,135,0.20);
}

.welcome-card {
    position: relative;
    overflow: hidden;
    padding: 58px 46px;
    border: 1px solid rgba(199,166,74,0.30);
    border-radius: 26px;
    background:
        radial-gradient(circle at 88% 18%, rgba(199,166,74,0.18), transparent 25%),
        linear-gradient(145deg, var(--dark-navy), var(--navy));
    color: #ffffff;
    box-shadow: 0 24px 55px rgba(18,63,109,0.24);
    text-align: center;
}

.welcome-card::before {
    position: absolute;
    width: 255px;
    height: 255px;
    top: -135px;
    right: -100px;
    border: 40px solid rgba(199,166,74,0.12);
    border-radius: 50%;
    content: "";
}

.welcome-card::after {
    position: absolute;
    width: 190px;
    height: 190px;
    left: -115px;
    bottom: -115px;
    border: 34px solid rgba(45,111,174,0.13);
    border-radius: 50%;
    content: "";
}

.welcome-card-accent {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 7px;
    background: linear-gradient(90deg, var(--green), var(--bright-blue), var(--green));
}

.welcome-card img {
    position: relative;
    z-index: 2;
    width: 330px;
    max-height: 150px;
    margin: 0 auto 28px;
    object-fit: contain;
    filter: drop-shadow(0 6px 13px rgba(0,0,0,0.15));
}

.welcome-card h3 {
    position: relative;
    z-index: 2;
    margin-bottom: 12px;
    color: #d6b75a;
    font-size: 30px;
}

.welcome-card p {
    position: relative;
    z-index: 2;
    margin-bottom: 24px;
    color: #ece5d4;
}

.welcome-card a {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 17px;
    border-radius: 999px;
    background: #b8943b;
    color: #ffffff;
    font-weight: 800;
    transition: background 0.22s ease, color 0.22s ease;
}

.welcome-card a:hover {
    background: #997527;
    color: #ffffff;
}

/* =========================================================
   SERVICES
   ========================================================= */

.services-preview {
    position: relative;
    overflow: hidden;
    padding: 108px 0;
    background:
        linear-gradient(135deg, rgba(199,166,74,0.055), transparent 42%),
        linear-gradient(315deg, rgba(45,111,174,0.06), transparent 42%),
        #f7f5ed;
}

.services-preview::before,
.services-preview::after {
    position: absolute;
    border-radius: 50%;
    content: "";
}

.services-preview::before {
    width: 270px;
    height: 270px;
    left: -130px;
    top: -90px;
    border: 40px solid rgba(199,166,74,0.045);
}

.services-preview::after {
    width: 225px;
    height: 225px;
    right: -105px;
    bottom: -85px;
    border: 34px solid rgba(45,111,174,0.055);
}

.services-preview .section-container {
    position: relative;
    z-index: 2;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 54px;
    text-align: center;
}

.section-heading .section-label {
    justify-content: center;
}

.section-heading p {
    color: var(--muted);
    font-size: 17px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.service-card {
    position: relative;
    overflow: hidden;
    min-height: 286px;
    padding: 34px 27px;
    border: 1px solid rgba(31,95,168,0.12);
    border-radius: 19px;
    background: rgba(255,255,255,0.96);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--green), var(--bright-blue));
    content: "";
}

.service-card:nth-child(even)::before {
    background: linear-gradient(90deg, var(--bright-blue), var(--green));
}

.service-card::after {
    position: absolute;
    right: -58px;
    bottom: -58px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(45,111,174,0.055);
    content: "";
    transition: transform 0.25s ease;
}

.service-card:nth-child(even)::after {
    background: rgba(199,166,74,0.055);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(199,166,74,0.40);
    box-shadow: 0 20px 42px rgba(18,63,109,0.15);
}

.service-card:hover::after {
    transform: scale(1.16);
}

.service-card .service-icon {
    position: relative;
    z-index: 2;
    width: 58px;
    height: 58px;
    border-radius: 17px;
    background: linear-gradient(145deg, var(--soft-green), #ffffff);
}

.service-card:nth-child(even) .service-icon {
    background: linear-gradient(145deg, var(--soft-blue), #ffffff);
    border-color: rgba(199,166,74,0.22);
    color: #b8943b;
}

.service-card h3 {
    position: relative;
    z-index: 2;
    margin: 22px 0 12px;
    color: var(--navy);
    font-size: 21px;
}

.service-card p {
    position: relative;
    z-index: 2;
    color: var(--muted);
    font-size: 15px;
}

.services-button-container {
    margin-top: 44px;
    text-align: center;
}

/* =========================================================
   FEATURE SECTION
   ========================================================= */

.doctor-preview {
    position: relative;
    overflow: hidden;
    padding: 108px 0;
    background:
        radial-gradient(circle at 15% 45%, rgba(199,166,74,0.07), transparent 28%),
        radial-gradient(circle at 92% 30%, rgba(45,111,174,0.07), transparent 23%),
        #ffffff;
}

.doctor-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 85px;
}

.doctor-photo {
    position: relative;
}

.doctor-photo::before {
    position: absolute;
    top: -19px;
    left: -19px;
    width: 112px;
    height: 112px;
    border-top: 7px solid var(--green);
    border-left: 7px solid var(--green);
    border-radius: 21px 0 0;
    content: "";
}

.doctor-photo::after {
    position: absolute;
    right: -18px;
    bottom: -18px;
    width: 112px;
    height: 112px;
    border-right: 7px solid var(--bright-blue);
    border-bottom: 7px solid var(--bright-blue);
    border-radius: 0 0 21px;
    content: "";
}

.doctor-photo-placeholder {
    position: relative;
    z-index: 2;
    min-height: 470px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 30px;
    border: 1px solid rgba(199,166,74,0.22);
    border-radius: 23px;
    background:
        radial-gradient(circle at 20% 10%, rgba(45,111,174,0.12), transparent 30%),
        radial-gradient(circle at 85% 80%, rgba(199,166,74,0.12), transparent 33%),
        linear-gradient(145deg, #f6f3e8, #e8f1f9);
    box-shadow: var(--shadow);
}

.doctor-photo-placeholder span {
    padding: 11px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(18,63,109,0.96), rgba(31,95,168,0.94));
    color: #e7ce7a;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 8px 18px rgba(18,63,109,0.20);
}

.doctor-title {
    margin: -10px 0 24px;
    color: #a9842f;
    font-size: 16px;
    font-weight: 800;
}

.doctor-content .section-button {
    margin-top: 13px;
}

/* =========================================================
   CTA
   ========================================================= */

.call-to-action {
    position: relative;
    overflow: hidden;
    padding: 72px 0;
    background:
        radial-gradient(circle at 82% 20%, rgba(199,166,74,0.20), transparent 25%),
        linear-gradient(115deg, var(--dark-navy) 0%, var(--navy) 52%, var(--blue) 100%);
}

.call-to-action::before {
    position: absolute;
    width: 260px;
    height: 260px;
    right: -90px;
    top: -130px;
    border: 42px solid rgba(199,166,74,0.07);
    border-radius: 50%;
    content: "";
}

.cta-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
}

.cta-label {
    margin-bottom: 6px;
    color: #e5cd7f;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
}

.cta-container h2 {
    margin-bottom: 8px;
    color: #ffffff;
    font-size: clamp(30px, 4vw, 44px);
}

.cta-container p {
    color: #e7e0d0;
}

.cta-buttons {
    display: flex;
    align-items: center;
    gap: 22px;
    flex: 0 0 auto;
}

.cta-button {
    background: linear-gradient(135deg, #d0ad50, #a9822d);
    color: #ffffff;
    box-shadow: 0 9px 24px rgba(0,0,0,0.16);
}

.cta-phone {
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    white-space: nowrap;
}

.cta-phone:hover {
    color: #e5cd7f;
}

/* =========================================================
   FOOTER
   ========================================================= */

.main-footer {
    position: relative;
    padding: 70px 0 0;
    background:
        linear-gradient(135deg, rgba(199,166,74,0.06), transparent 38%),
        #071f3b;
    color: #d8d0bb;
}

.main-footer::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--green), var(--bright-blue), var(--green));
    content: "";
}

.footer-container {
    width: min(1180px, calc(100% - 50px));
    margin: auto;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: 70px;
}

.footer-brand img {
    width: 305px;
    max-height: 125px;
    margin-bottom: 20px;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,0.16));
}

.footer-brand p {
    max-width: 390px;
}

.footer-column h3 {
    margin-bottom: 20px;
    color: #e0c56d;
}

.footer-column a {
    display: block;
    width: fit-content;
    margin-bottom: 9px;
    color: #d8d0bb;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-column a:hover {
    color: #e0c56d;
    transform: translateX(3px);
}

.footer-column p {
    line-height: 1.9;
}

.footer-appointment {
    margin-top: 18px;
    padding: 10px 17px;
    border: 1px solid rgba(224,197,109,0.55);
    border-radius: 7px;
    color: #ffffff !important;
    font-weight: 700;
}

.footer-bottom {
    width: min(1180px, calc(100% - 50px));
    margin: 52px auto 0;
    padding: 21px 0;
    border-top: 1px solid rgba(224,197,109,0.20);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #aaa18c;
    font-size: 13px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1320px) {

    .header-container {
        width: min(1260px, calc(100% - 40px));
    }

    .logo-container {
        width: 460px;
        flex-basis: 460px;
    }

    .logo-container img {
        width: 460px;
        transform: scale(1.28);
    }

    .main-nav {
        gap: 18px;
        font-size: 14px;
    }

    .header-appointment-button {
        padding: 0 17px;
    }
}

@media (max-width: 1180px) {

    .logo-container {
        width: 390px;
        flex-basis: 390px;
    }

    .logo-container img {
        width: 390px;
        transform: scale(1.22);
    }

    .main-nav {
        gap: 14px;
        font-size: 13px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 980px) {

    .header-container {
        min-height: 88px;
    }

    .logo-container {
        width: 255px;
        flex-basis: 255px;
    }

    .logo-container img {
        width: 255px;
        height: 74px;
        transform: scale(1.08);
    }

    .mobile-menu-button {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 93px;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 25px 25px;
        border-bottom: 1px solid var(--border);
        background: #ffffff;
        box-shadow: 0 15px 30px rgba(18,63,109,0.14);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav > a:not(.header-appointment-button) {
        padding: 13px 4px;
    }

    .main-nav > a:not(.header-appointment-button)::after {
        display: none;
    }

    .header-appointment-button {
        margin-top: 10px;
    }

    .hero-section {
        min-height: 760px;
        align-items: flex-end;
    }

    .hero-background {
        top: 0;
        bottom: auto;
        height: 390px;
        background-position: 68% top;
        background-size: auto 100%;
    }

    .hero-content {
        padding: 350px 0 72px;
    }

    .hero-text {
        width: 100%;
        max-width: 620px;
    }

    .welcome-container,
    .doctor-container {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .doctor-photo {
        max-width: 520px;
        margin: auto;
        width: 100%;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {

    .header-container,
    .hero-content,
    .section-container,
    .information-strip,
    .footer-container,
    .footer-bottom {
        width: calc(100% - 30px);
    }

    .main-header {
        border-top-width: 4px;
    }

    .logo-container {
        width: 220px;
        flex-basis: 220px;
    }

    .logo-container img {
        width: 220px;
        height: 68px;
        transform: scale(1.06);
    }

    .hero-section {
        min-height: 790px;
    }

    .hero-background {
        top: 0;
        height: 335px;
        background-position: 70% top;
        background-size: auto 100%;
    }

    .hero-content {
        padding: 315px 0 58px;
    }

    .hero-small-title {
        font-size: 10px;
        letter-spacing: 1.45px;
    }

    .hero-text h1 {
        font-size: 47px;
        letter-spacing: -2px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-button,
    .section-button {
        width: 100%;
    }

    .information-strip {
        margin-top: 0;
        grid-template-columns: 1fr;
        border-radius: 0;
        box-shadow: none;
    }

    .information-box {
        justify-content: flex-start;
        min-height: 108px;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .welcome-section,
    .services-preview,
    .doctor-preview {
        padding: 78px 0;
    }

    .welcome-container,
    .doctor-container {
        gap: 45px;
    }

    .welcome-card {
        padding: 45px 25px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .doctor-photo-placeholder {
        min-height: 390px;
    }

    .cta-container {
        align-items: flex-start;
        flex-direction: column;
    }

    .cta-buttons {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================================
   HERO TEXT SLIDER
   ========================================================= */

.hero-slides {
    position: relative;
    min-height: 355px;
}

.hero-slide {
    display: none;
}

.hero-slide.active {
    display: block;
    animation: heroSlideFade 0.9s ease;
}

@keyframes heroSlideFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-slider-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
}

.hero-dot {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(199,166,74,0.25);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    color: #b4a88c;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.22s ease;
}

.hero-dot:hover {
    border-color: var(--bright-blue);
    color: #b8943b;
}

.hero-dot.active {
    border-color: transparent;
    background: linear-gradient(135deg, var(--green), var(--bright-blue));
    color: #ffffff;
    box-shadow: 0 7px 18px rgba(18,63,109,0.18);
}

@media (max-width: 980px) {
    .hero-slides {
        min-height: 300px;
    }
}

@media (max-width: 700px) {
    .hero-slides {
        min-height: 315px;
    }

    .hero-slider-indicator {
        margin-top: 22px;
    }
}

/* =========================================================
   HERO SLIDER - FINAL TYPOGRAPHY
   ========================================================= */

.hero-text,
.hero-slide,
.hero-slide * {
    font-family: "Helvetica Neue", Arial, sans-serif;
}

.hero-small-title {
    color: #a9842f !important;
    font-size: 14.7px !important;
    letter-spacing: 2px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
}

.hero-slide h1 {
    color: #222222 !important;
    font-size: 65px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    letter-spacing: -1.5px !important;
}

.hero-slide h1 span {
    color: #b8943b !important;
    -webkit-text-fill-color: #b8943b !important;
    background: none !important;
}

.hero-slide p {
    color: #666666 !important;
    font-size: 20px !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
    max-width: 650px;
}

.hero-slider-indicator {
    gap: 12px;
}

.hero-dot {
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #a99d84 !important;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 16px !important;
    font-weight: 600 !important;
}

.hero-dot:hover,
.hero-dot.active {
    color: #b8943b !important;
    background: transparent !important;
    box-shadow: none !important;
}

@media (max-width: 980px) {

    .hero-slide h1 {
        font-size: 48px !important;
    }

    .hero-slide p {
        font-size: 18px !important;
    }
}

@media (max-width: 700px) {

    .hero-slide h1 {
        font-size: 42px !important;
        letter-spacing: -0.8px !important;
    }

    .hero-slide p {
        font-size: 17px !important;
    }
}

/* =========================================================
   HERO SLIDER - FIXED FRAME
   ========================================================= */

.hero-text {
    width: 100%;
    max-width: 720px;
}

.hero-slides {
    position: relative;
    height: 335px !important;
    min-height: 335px !important;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
}

.hero-slide h1 {
    font-size: 56px !important;
    line-height: 1.12 !important;
    letter-spacing: -1.2px !important;
}

.hero-slide p {
    font-size: 18px !important;
    line-height: 1.5 !important;
    max-width: 620px;
}

@media (max-width: 980px) {

    .hero-slides {
        height: 300px !important;
        min-height: 300px !important;
    }

    .hero-slide h1 {
        font-size: 44px !important;
    }

    .hero-slide p {
        font-size: 17px !important;
    }
}

@media (max-width: 700px) {

    .hero-slides {
        height: 315px !important;
        min-height: 315px !important;
    }

    .hero-slide h1 {
        font-size: 38px !important;
    }

    .hero-slide p {
        font-size: 16px !important;
    }
}

/* =========================================================
   HERO SLIDER - BUTTON SPACING
   ========================================================= */

.hero-buttons {
    margin-top: 26px !important;
}

/* =========================================================
   WELCOME CARD - FINAL
   ========================================================= */

.welcome-card,
.welcome-highlight-card {
    background: #f6eed8 !important;
    background-image: none !important;
    color: #123f6d !important;
}

.welcome-card::before,
.welcome-card::after,
.welcome-highlight-card::before,
.welcome-highlight-card::after {
    display: none !important;
    content: none !important;
}

.welcome-card-logo {
    width: 340px !important;
    max-width: 84% !important;
    height: auto !important;
    object-fit: contain !important;
    filter: none !important;
    opacity: 1 !important;
}

.welcome-card h3,
.welcome-highlight-card h3,
.welcome-card-title,
.welcome-highlight-card .welcome-card-title {
    color: #123f6d !important;
    text-shadow: none !important;
}

.welcome-card p,
.welcome-highlight-card p,
.welcome-card-text,
.welcome-highlight-card .welcome-card-text {
    color: #5f665f !important;
    text-shadow: none !important;
}

.welcome-card a,
.welcome-highlight-card a,
.welcome-card .card-button,
.welcome-highlight-card .card-button,
.welcome-card .welcome-card-button,
.welcome-highlight-card .welcome-card-button {
    color: #ffffff !important;
    background: #b8943b !important;
    border-color: #b8943b !important;
    text-shadow: none !important;
}

.welcome-card a:hover,
.welcome-highlight-card a:hover,
.welcome-card .card-button:hover,
.welcome-highlight-card .card-button:hover,
.welcome-card .welcome-card-button:hover,
.welcome-highlight-card .welcome-card-button:hover {
    background: #987225 !important;
    border-color: #987225 !important;
    color: #ffffff !important;
}

/* =========================================================
   IMAGE FRAME
   ========================================================= */

.doctor-photo-placeholder {
    position: relative !important;
    overflow: hidden !important;
}

.doctor-photo-placeholder img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block !important;
    z-index: 1 !important;
}

.doctor-photo-placeholder span {
    position: absolute !important;
    left: 50% !important;
    bottom: 30px !important;
    transform: translateX(-50%) !important;
    z-index: 2 !important;
    white-space: nowrap !important;
}

/* =========================================================
   FOOTER LOGO
   ========================================================= */

.footer-brand {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    overflow: visible !important;
}

.footer-brand img {
    width: auto !important;
    height: 150px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    transform: none !important;
    display: block !important;
    margin: 0 auto 28px !important;
}

.footer-brand p {
    width: 100% !important;
    text-align: left !important;
}

@media (max-width: 980px) {

    .footer-brand img {
        width: auto !important;
        height: 125px !important;
        max-width: 100% !important;
        margin: 0 auto 24px !important;
    }
}

@media (max-width: 700px) {

    .footer-brand img {
        width: auto !important;
        height: 105px !important;
        max-width: 100% !important;
        margin: 0 auto 22px !important;
    }
}

/* =========================================================
   COMPANY FEATURE LOGO - TAX & SERVICES
   ========================================================= */

.doctor-photo-placeholder .company-feature-logo {
    position: absolute !important;
    inset: 0 !important;
    width: 82% !important;
    height: 82% !important;
    margin: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    z-index: 1 !important;
    filter: drop-shadow(0 10px 24px rgba(18,63,109,0.14)) !important;
}

