:root {
    --navy: #16529c;
    --navy-dark: #083c78;
    --teal: #009eb5;
    --cyan: #43d7d0;
    --aqua-soft: #e8f7fa;
    --blue-soft: #f1f8fc;
    --ink: #263746;
    --muted: #687d8d;
    --white: #ffffff;
    --line: #d9e8f2;
    --gold: #f0b84f;
    --purple: #b65cff;
    --shadow: 0 25px 70px rgba(22, 82, 156, 0.14);
    --radius: 20px;
}

.form-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.form-message[hidden] {
    display: none;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--ink);
    background: var(--white);
    font-family: "Poppins", sans-serif;
    line-height: 1.7;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

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

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

.section-padding {
    padding: 80px 0;
}

h1,
h2,
h3,
h4,
p,
a,
button,
input,
select,
textarea {
    font-family: "Poppins", sans-serif;
}

h1,
h2,
h3 {
    color: var(--navy);
}

h1 {
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 700;
    line-height: 1.12;
}

h2 {
    font-size: clamp(34px, 4vw, 55px);
    font-weight: 700;
    line-height: 1.15;
}

.topbar {
    color: var(--white);
    background: var(--navy-dark);
    font-size: 12px;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    gap: 20px;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-icon {
    color: var(--cyan);
    font-size: 15px;
}

.topbar-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 15px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 30px;
    transition: 0.25s ease;
}

.topbar-whatsapp:hover {
    background: #128c50;
    border-color: #128c50;
}

.whatsapp-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
}

.navbar {
    position: relative;
    z-index: 20;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 92px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--navy);
}

.medicover-logo {
    width: 128px;
    height: auto;
    object-fit: contain;
}

.brand-divider {
    width: 1px;
    height: 38px;
    background: #d7e4ef;
}

.brand-doctor strong,
.brand-doctor small {
    display: block;
}

.brand-doctor strong {
    color: var(--navy);
    font-size: 12px;
    letter-spacing: 0.04em;
}

.brand-doctor small {
    margin-top: 5px;
    color: var(--teal);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.main-nav a {
    transition: 0.25s ease;
}

.main-nav a:hover {
    color: var(--teal);
}

.nav-button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    transition: 0.25s ease;
}

.nav-button {
    padding: 13px 19px;
    color: var(--white) !important;
    background: var(--teal);
}

.nav-button:hover,
.button-primary:hover {
    color: var(--white);
    background: var(--navy-dark);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    width: 40px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 7px 0;
    background: var(--navy);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 48px 0 54px;
    background:
        radial-gradient(
            circle at 87% 25%,
            rgba(67, 215, 208, 0.18),
            transparent 25%
        ),
        linear-gradient(120deg, #f5fcfc 0%, #eaf8f7 100%);
}

.hero-glow {
    position: absolute;
    border: 1px solid rgba(0, 169, 165, 0.12);
    border-radius: 50%;
}

.hero-glow-one {
    top: -180px;
    right: -120px;
    width: 600px;
    height: 600px;
}

.hero-glow-two {
    right: 40%;
    bottom: -250px;
    width: 450px;
    height: 450px;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 55px;
}

.eyebrow,
.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--teal);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.eyebrow-line {
    display: inline-block;
    width: 30px;
    height: 2px;
    background: var(--teal);
}

.hero h1 {
    max-width: 650px;
    margin: 22px 0;
    letter-spacing: -0.04em;
}

.hero h1 em,
h2 span {
    color: var(--teal);
    font-style: normal;
}

.hero-content > p {
    max-width: 560px;
    color: var(--muted);
    font-size: 16px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 35px;
}

.button {
    min-height: 52px;
    padding: 0 25px;
}

.button-primary {
    color: var(--white);
    background: var(--teal);
    box-shadow: 0 12px 25px rgba(0, 169, 165, 0.2);
}

.button-outline {
    color: var(--navy);
    border: 1px solid var(--navy);
}

.button-outline:hover {
    color: var(--white);
    background: var(--navy);
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 42px;
}

.trust-badge {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: var(--white);
    background: var(--navy);
    border-radius: 50%;
    font-size: 17px;
    font-weight: 800;
}

.hero-trust strong,
.hero-trust small {
    display: block;
}

.hero-trust strong {
    color: var(--navy);
    font-size: 12px;
}

.hero-trust small {
    color: var(--muted);
    font-size: 10px;
}

.hero-visual {
    position: relative;
    min-height: 410px;
}

.hero-image-frame {
    position: absolute;
    right: 4%;
    width: min(82%, 400px);
    height: 400px;
    overflow: hidden;
    border-radius: 220px 220px 15px 15px;
    box-shadow: var(--shadow);
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-card,
.specialist-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    background: var(--white);
    box-shadow: var(--shadow);
}

.experience-card {
    top: 42%;
    left: 0;
    gap: 10px;
    padding: 18px;
    border-radius: 14px;
}

.experience-number {
    color: var(--teal);
    font-size: 38px;
    font-weight: 700;
}

.experience-label {
    color: var(--navy);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.35;
}

.specialist-card {
    right: 0;
    bottom: 30px;
    gap: 10px;
    padding: 14px 17px;
    border-radius: 12px;
}

.specialist-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: var(--white);
    background: var(--teal);
    border-radius: 10px;
}

.specialist-card strong,
.specialist-card small {
    display: block;
}

.specialist-card strong {
    color: var(--navy);
    font-size: 11px;
}

.specialist-card small {
    color: var(--muted);
    font-size: 9px;
}

.intro-section {
    background: var(--white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 0.6fr 1.4fr;
    gap: 100px;
}

.section-label span {
    color: var(--muted);
}

.intro-content h2,
.doctor-copy h2,
.why-content h2,
.appointment-copy h2 {
    max-width: 700px;
    margin-bottom: 24px;
}

.intro-content p,
.doctor-copy > p,
.why-content > p,
.appointment-copy > p {
    max-width: 680px;
    margin-bottom: 17px;
    color: var(--muted);
    font-size: 15px;
}

.text-link {
    display: inline-flex;
    gap: 12px;
    margin-top: 13px;
    color: var(--teal);
    font-size: 12px;
    font-weight: 800;
}

.doctor-section {
    background: var(--blue-soft);
}

.doctor-grid {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    align-items: center;
    gap: 100px;
}

.doctor-image-wrap {
    position: relative;
    padding-right: 35px;
}

.doctor-image-wrap img {
    width: min(100%, 400px);
    height: 400px;
    margin: 0 auto;
    object-fit: cover;
    border-radius: 180px 180px 15px 15px;
}

.doctor-stamp {
    position: absolute;
    right: 0;
    bottom: 30px;
    display: grid;
    width: 105px;
    height: 105px;
    place-items: center;
    align-content: center;
    color: var(--white);
    background: var(--teal);
    border: 7px solid var(--blue-soft);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
}

.doctor-title {
    margin: -12px 0 25px;
    color: var(--teal) !important;
    font-size: 13px !important;
    font-weight: 700;
}

.qualification-list {
    margin-top: 32px;
    border-top: 1px solid var(--line);
}

.qualification-list div {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.qualification-list strong {
    min-width: 55px;
    color: var(--teal);
    font-size: 22px;
}

.qualification-list span {
    color: var(--muted);
    font-size: 12px;
}

.stats-section {
    padding: 60px 0;
    color: var(--white);
    background: var(--navy);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.stat-item {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

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

.stat-item strong {
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
}

.stat-item span {
    color: var(--cyan);
    font-size: 28px;
    font-weight: 700;
}

.stat-item small {
    display: block;
    margin-top: 9px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
}

.doctor-videos-section {
    background: var(--blue-soft);
}

.doctor-videos-heading {
    margin-bottom: 45px;
}

.doctor-videos-heading .section-label {
    justify-content: center;
    margin-bottom: 20px;
    color: var(--teal);
}

.doctor-videos-heading h2 {
    margin-bottom: 15px;
}

.doctor-videos-heading > p {
    color: var(--muted);
    font-size: 15px;
}

.doctor-videos-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: start;
    gap: 40px;
}

.doctor-video-player {
    width: min(100%, 420px);
    aspect-ratio: 9 / 16;
    margin: 0 auto;
    overflow: hidden;
    background: #101820;
    border: 5px solid var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.doctor-video-player iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.doctor-video-caption {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    max-width: 620px;
    margin: 25px auto 0;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.doctor-video-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    color: var(--white);
    background: var(--teal);
    border-radius: 10px;
    font-size: 15px;
}

.doctor-video-caption h3 {
    margin-bottom: 5px;
    color: var(--navy);
    font-size: 16px;
}

.doctor-video-caption p,
.doctor-video-status {
    color: var(--muted);
    font-size: 12px;
}

.doctor-video-status {
    min-height: 1.5em;
    margin: 10px auto 0;
    text-align: center;
}

.doctor-playlist {
    min-width: 0;
}

.doctor-playlist-title {
    margin-bottom: 18px;
    color: var(--navy);
    font-size: 18px;
}

.doctor-playlist-sidebar {
    max-height: 49rem;
    overflow-y: auto;
    padding: 2px 8px 2px 2px;
}

.instagram-reel-link {
    display: block;
    width: fit-content;
    margin: 12px auto 0;
    color: var(--navy);
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.video-playlist-btn {
    display: flex;
    width: 100%;
    gap: 14px;
    margin-bottom: 12px;
    padding: 12px;
    color: var(--ink);
    text-align: left;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(22, 82, 156, 0.06);
    cursor: pointer;
    transition: 0.25s ease;
}

.video-playlist-btn:hover,
.video-playlist-btn.video-btn-active {
    background: #e8f7fa;
    border-color: var(--teal);
}

.video-playlist-btn:focus-visible {
    outline: 3px solid rgba(0, 158, 181, 0.35);
    outline-offset: 2px;
}

.video-playlist-thumb {
    position: relative;
    display: grid;
    width: 64px;
    height: 96px;
    flex: 0 0 64px;
    place-items: center;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(145deg, var(--navy), var(--teal));
    border: 1px solid var(--line);
    border-radius: 9px;
}

.video-playlist-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-playlist-placeholder {
    font-size: 20px;
    font-weight: 700;
}

.video-playlist-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--white);
    background: rgba(8, 60, 120, 0.25);
    font-size: 23px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
    transition: background-color 0.2s ease;
}

.video-playlist-btn:hover .video-playlist-overlay,
.video-playlist-btn.video-btn-active .video-playlist-overlay {
    background: rgba(8, 60, 120, 0.45);
}

.video-playlist-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    gap: 8px;
    padding: 8px 0;
}

.video-playlist-name {
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.video-playlist-label {
    color: var(--teal);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.specialties-section {
    color: var(--white);
    background: #489aaa;
}

.specialties-heading {
    margin-bottom: 32px;
    text-align: center;
}

.specialties-heading .section-label {
    justify-content: center;
    color: var(--white);
}

.specialties-heading .section-label span {
    color: rgba(255, 255, 255, 0.7);
}

.specialties-heading h2 {
    margin-top: 15px;
    color: var(--white);
}

.specialties-heading h2 span {
    color: var(--white);
}

.specialties-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.4fr;
    gap: 40px;
    align-items: start;
}

.specialty-tabs {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.specialty-tab {
    display: flex;
    align-items: center;
    gap: 17px;
    min-height: 56px;
    padding: 0 20px;
    color: #18394c;
    background: var(--white);
    border: 1px solid var(--purple);
    border-radius: 35px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    transition: 0.25s ease;
}

.specialty-tab span {
    color: #00a9c3;
    font-size: 22px;
}

.specialty-tab:hover,
.specialty-tab.active {
    color: var(--white);
    background: linear-gradient(90deg, #16529c, #00a9b5);
    transform: translateX(6px);
}

.specialty-tab.active span {
    color: var(--white);
}

.specialty-description {
    padding-top: 3px;
    color: var(--white);
    font-size: 16px;
    line-height: 1.7;
}

.specialty-description h3 {
    margin-bottom: 12px;
    color: var(--white);
    font-size: clamp(22px, 3vw, 30px);
}

.specialty-description p {
    margin-bottom: 25px;
}

.specialty-description h4 {
    margin-bottom: 10px;
    color: var(--white);
    font-size: 15px;
}

.specialty-description ul {
    padding-left: 22px;
}

.specialty-description li {
    margin: 7px 0;
}

.specialty-description strong {
    font-weight: 700;
}

.specialty-image-wrap {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
}

.specialty-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.why-section {
    color: var(--white);
    background: var(--navy-dark);
}

.why-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
}

.why-content .section-label {
    color: var(--cyan);
}

.why-content .section-label span {
    color: rgba(255, 255, 255, 0.5);
}

.why-content h2 {
    color: var(--white);
}

.why-content > p {
    color: rgba(255, 255, 255, 0.68);
}

.why-content .button {
    margin-top: 18px;
}

.why-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.why-item {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 16px;
}

.why-icon {
    color: var(--cyan);
    font-size: 12px;
    font-weight: 800;
}

.why-item h3 {
    margin: 26px 0 9px;
    color: var(--white);
    font-size: 16px;
}

.why-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.reviews-section {
    background: var(--blue-soft);
}

.section-heading {
    margin-bottom: 40px;
}

.centered {
    text-align: center;
}

.centered .section-label {
    justify-content: center;
    margin-bottom: 20px;
}

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

.review-card {
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius);
}

.review-card-highlight {
    color: var(--white);
    background: var(--teal);
}

.stars {
    margin-bottom: 21px;
    color: var(--gold);
    letter-spacing: 3px;
}

.review-card p {
    min-height: 100px;
    color: var(--muted);
    font-size: 14px;
}

.review-card-highlight p {
    color: rgba(255, 255, 255, 0.8);
}

.review-card strong,
.review-card small {
    display: block;
}

.review-card strong {
    margin-top: 20px;
    color: var(--navy);
    font-size: 13px;
}

.review-card-highlight strong {
    color: var(--white);
}

.review-card small {
    color: var(--muted);
    font-size: 10px;
}

.review-card-highlight small {
    color: rgba(255, 255, 255, 0.65);
}

.appointment-section {
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(67, 215, 208, 0.15),
            transparent 27%
        ),
        var(--white);
}

.appointment-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
    align-items: center;
}

.appointment-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
    color: var(--teal);
    font-size: 13px;
    font-weight: 700;
}

.appointment-form {
    padding: 40px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

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

.appointment-form label {
    display: block;
    margin-bottom: 17px;
    color: var(--navy);
    font-size: 11px;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    margin-top: 7px;
    padding: 14px 16px;
    color: var(--ink);
    background: #f5fbfb;
    border: 1px solid var(--line);
    border-radius: 8px;
    outline: none;
    font-size: 12px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--teal);
}

textarea {
    resize: vertical;
}

.form-button {
    width: 100%;
    border: 0;
    cursor: pointer;
}

.form-button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.form-note {
    display: block;
    margin-top: 14px;
    color: var(--muted);
    font-size: 10px;
    text-align: center;
}

.form-message {
    margin-bottom: 20px;
    padding: 13px;
    border-radius: 8px;
    font-size: 12px;
}

.success-message {
    color: #116044;
    background: #e9f8ef;
}

.error-message {
    color: #8e3333;
    background: #fff0f0;
}

.site-footer {
    padding: 75px 0 20px;
    color: rgba(255, 255, 255, 0.65);
    background: var(--navy-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 55px;
}

.site-footer .brand {
    color: var(--white);
}

.footer-brand p {
    max-width: 290px;
    margin-top: 23px;
    font-size: 12px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 12px;
}

.footer-column h3 {
    margin-bottom: 8px;
    color: var(--white);
    font-size: 13px;
}

.footer-column a:hover {
    color: var(--cyan);
}

.footer-contact p {
    font-size: 12px;
    line-height: 1.8;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 10px;
}

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 30;
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    color: var(--white);
    background: #22b86a;
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    font-size: 24px;
}

.floating-whatsapp:hover {
    background: #128c50;
}

.floating-whatsapp .whatsapp-icon {
    width: 30px;
    height: 30px;
}

.floating-appointment {
    position: fixed;
    bottom: 22px;
    left: 22px;
    z-index: 30;
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    color: var(--white);
    background: var(--navy);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.floating-appointment:hover {
    background: var(--teal);
    transform: translateY(-2px);
}

.floating-appointment svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.thank-you-section {
    min-height: 54vh;
    display: grid;
    place-items: center;
    padding: 72px 0;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0, rgba(67, 215, 208, 0.18), transparent 42%),
        linear-gradient(120deg, #f5fcfc 0%, #eaf8f7 100%);
}

.thank-you-card {
    width: min(100%, 680px);
    margin: 0 auto;
    padding: 48px 38px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.thank-you-icon {
    display: grid;
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    place-items: center;
    color: var(--white);
    background: var(--teal);
    border-radius: 50%;
    font-size: 36px;
}

.thank-you-card h1 {
    margin-bottom: 16px;
    font-size: clamp(32px, 4vw, 48px);
}

.thank-you-card > .section-label {
    justify-content: center;
}

.thank-you-card p {
    max-width: 500px;
    margin: 0 auto 28px;
    color: var(--muted);
    font-size: 15px;
}

.thank-you-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

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

@media (max-width: 950px) {
    .main-nav {
        gap: 15px;
    }

    .hero-grid,
    .doctor-grid,
    .why-grid,
    .appointment-grid {
        gap: 50px;
    }

    .footer-grid {
        gap: 30px;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 30px, 600px);
    }

    .section-padding {
        padding: 55px 0;
    }

    .topbar-hours {
        display: none;
    }

    .topbar-inner {
        justify-content: center;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 92px;
        right: 15px;
        left: 15px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 12px;
        box-shadow: var(--shadow);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 12px;
    }

    .nav-button {
        text-align: center;
    }

    .hero {
        padding: 36px 0 42px;
    }

    .hero-grid,
    .intro-grid,
    .doctor-grid,
    .why-grid,
    .appointment-grid,
    .specialties-layout,
    .doctor-videos-layout {
        grid-template-columns: 1fr;
    }

    .doctor-videos-layout {
        gap: 30px;
    }

    .doctor-video-player {
        width: min(100%, 352px);
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-visual {
        min-height: 430px;
    }

    .hero-image-frame {
        width: 87%;
        height: 410px;
    }

    .doctor-image-wrap {
        padding-right: 22px;
    }

    .doctor-image-wrap img {
        height: 400px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 10px;
    }

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

    .specialties-layout {
        gap: 35px;
    }

    .specialty-description {
        font-size: 14px;
    }

    .specialty-image {
        height: 190px;
    }

    .specialty-tab {
        font-size: 13px;
    }

    .review-grid,
    .why-list,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .why-list {
        gap: 12px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .medicover-logo {
        width: 105px;
    }

    .brand-divider,
    .brand-doctor {
        display: none;
    }
}

@media (max-width: 480px) {
    .topbar {
        font-size: 11px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .hero-visual {
        min-height: 370px;
    }

    .hero-image-frame {
        height: 350px;
    }

    .experience-card {
        left: -5px;
    }

    .specialist-card {
        right: -5px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .appointment-form {
        padding: 25px 20px;
    }

    .thank-you-section {
        min-height: 48vh;
        padding: 46px 0;
    }

    .thank-you-card {
        padding: 36px 22px;
    }
}