:root {
    --primary: #0D6B6E;
    --primary-dark: #095255;
    --secondary: #2A9D8F;
    --accent: #E9C46A;
    --accent-hover: #D4A84A;
    --white: #FFFFFF;
    --light-bg: #F0F9F8;
    --dark-text: #1B2A2F;
    --text-light: #5A6A6F;
    --success: #27AE60;
    --error: #E74C3C;
    --pending: #F39C12;
    --gray: #95A5A6;
    --border: #E0E8E7;
    --shadow-sm: 0 2px 15px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 15px 45px rgba(9, 82, 85, 0.1);
    --shadow-lg: 0 25px 70px rgba(9, 82, 85, 0.16);
    --radius: 12px;
    --radius-lg: 24px;
    --transition: 0.3s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    color: var(--dark-text);
    background: var(--white);
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

img {
    height: auto;
}

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

button,
select {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--dark-text);
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

p {
    color: var(--text-light);
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

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

.section {
    position: relative;
    padding: 100px 0;
}

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

.section-heading h2,
.timings-copy h2,
.appointment-intro h2 {
    margin: 10px 0 16px;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.035em;
}

.section-heading h2::after {
    display: block;
    width: 60px;
    height: 3px;
    margin: 18px auto 0;
    border-radius: 3px;
    background: var(--secondary);
    content: "";
}

.section-heading p {
    max-width: 610px;
    margin: 0 auto;
    font-size: 1.03rem;
}

.eyebrow,
.mini-label {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-family: "Poppins", sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 30px;
    height: 2px;
    margin-right: 10px;
    background: var(--accent-hover);
    content: "";
}

.eyebrow.light {
    color: var(--white);
}

.icon {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.svg-sprite {
    position: absolute;
    overflow: hidden;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 12px;
    left: 12px;
    padding: 10px 18px;
    color: var(--white);
    background: var(--primary-dark);
    border-radius: 8px;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 24px;
    border: 2px solid transparent;
    border-radius: 50px;
    font-family: "Poppins", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.button:hover {
    transform: translateY(-2px);
}

.button:focus-visible,
.nav-link:focus-visible,
.contact-card a:focus-visible,
.footer-links a:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.button-primary {
    color: var(--white);
    background: var(--primary);
    box-shadow: 0 8px 24px rgba(13, 107, 110, 0.2);
}

.button-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 12px 30px rgba(13, 107, 110, 0.3);
}

.button-accent {
    color: var(--dark-text);
    background: var(--accent);
    box-shadow: 0 8px 24px rgba(212, 168, 74, 0.25);
}

.button-accent:hover {
    background: var(--accent-hover);
    box-shadow: 0 12px 32px rgba(212, 168, 74, 0.38);
}

.button-outline {
    color: var(--primary);
    background: transparent;
    border-color: var(--primary);
}

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

.button-large {
    min-height: 56px;
    padding-inline: 29px;
}

.top-bar {
    position: relative;
    z-index: 102;
    color: var(--white);
    background: var(--primary-dark);
    font-size: 0.78rem;
}

.top-bar-inner {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
}

.top-bar a,
.top-bar span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.top-bar a:hover {
    color: var(--accent);
}

.clinic-status i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}

.clinic-status.is-open {
    color: var(--success);
}

.clinic-status.is-closed {
    color: var(--error);
}

.site-header {
    position: absolute;
    z-index: 100;
    top: 42px;
    right: 0;
    left: 0;
    height: 86px;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(224, 232, 231, 0.65);
    backdrop-filter: blur(12px);
    transition: height var(--transition), box-shadow var(--transition), transform var(--transition);
}

.site-header.sticky {
    position: fixed;
    top: 0;
    height: 74px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.navbar {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
}

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

.brand-mark {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: var(--white);
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(13, 107, 110, 0.2);
}

.brand-mark svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

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

.brand strong {
    color: var(--primary-dark);
    font-family: "Poppins", sans-serif;
    font-size: 1.02rem;
    line-height: 1.25;
}

.brand small {
    margin-top: 2px;
    color: var(--text-light);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 27px;
}

.nav-link {
    position: relative;
    padding: 10px 0;
    color: var(--dark-text);
    font-family: "Poppins", sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
}

.nav-link::after {
    position: absolute;
    right: 50%;
    bottom: 2px;
    left: 50%;
    height: 2px;
    background: var(--secondary);
    content: "";
    transition: right var(--transition), left var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    right: 0;
    left: 0;
}

.nav-cta {
    min-height: 44px;
    padding: 11px 19px;
    font-size: 0.7rem;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 11px;
    border: 0;
    background: transparent;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: var(--primary-dark);
    transition: transform var(--transition), opacity var(--transition);
}

.hero {
    position: relative;
    min-height: 770px;
    padding: 172px 0 86px;
    background: linear-gradient(120deg, var(--white) 0%, var(--light-bg) 100%);
    isolation: isolate;
    overflow: hidden;
}

.hero::before {
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    width: 43%;
    background: var(--primary);
    border-radius: 0 0 140px 0;
    content: "";
    opacity: 0.07;
}

.hero-shape {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(42, 157, 143, 0.15);
    border-radius: 50%;
}

.hero-shape-one {
    top: 95px;
    right: -190px;
    width: 470px;
    height: 470px;
}

.hero-shape-two {
    right: 90px;
    bottom: -250px;
    width: 520px;
    height: 520px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: clamp(50px, 7vw, 95px);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    order: 2;
}

.hero-content {
    order: 1;
}

.doctor-photo-wrap {
    position: relative;
    padding: 8px;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
}

.doctor-photo-wrap::after {
    position: absolute;
    inset: 19px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.doctor-photo-wrap img {
    width: 100%;
    aspect-ratio: 1;
    border: 8px solid var(--white);
    border-radius: 50%;
    object-fit: cover;
}

.hero-photo {
    width: min(100%, 470px);
}

.availability-card {
    position: absolute;
    right: -18px;
    bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px 14px 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
}

.availability-icon {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    color: var(--white);
    background: var(--success);
    border-radius: 50%;
}

.availability-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

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

.availability-card strong {
    color: var(--dark-text);
    font-family: "Poppins", sans-serif;
    font-size: 0.82rem;
}

.availability-card small {
    color: var(--text-light);
    font-size: 0.69rem;
}

.hero-content h1 {
    margin: 13px 0 13px;
    font-size: clamp(3rem, 5.2vw, 4.65rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 1.03;
}

.hero-content h1 em {
    color: var(--primary);
    font-style: normal;
}

.doctor-heading {
    margin: 0;
    color: var(--dark-text);
    font-family: "Poppins", sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
}

.qualification {
    margin: 2px 0 19px;
    color: var(--secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-lead {
    max-width: 610px;
    margin-bottom: 28px;
    font-size: 1.06rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 44px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.stat {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat > svg {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    fill: none;
    stroke: var(--secondary);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.stat strong,
.stat small {
    display: block;
}

.stat strong {
    color: var(--dark-text);
    font-family: "Poppins", sans-serif;
    font-size: 1.03rem;
    line-height: 1.1;
}

.stat small {
    margin-top: 4px;
    color: var(--text-light);
    font-size: 0.66rem;
    line-height: 1.3;
}

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

.about-card {
    display: grid;
    grid-template-columns: 390px 1fr;
    align-items: center;
    gap: 70px;
    padding: 52px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about-photo {
    position: relative;
}

.about-photo .doctor-photo-wrap {
    width: 100%;
}

.experience-seal {
    position: absolute;
    right: -13px;
    bottom: 15px;
    display: flex;
    width: 125px;
    height: 125px;
    align-items: center;
    justify-content: center;
    color: var(--dark-text);
    background: var(--accent);
    border: 7px solid var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.experience-seal strong,
.experience-seal span {
    display: block;
}

.experience-seal strong {
    margin-right: 5px;
    font-family: "Poppins", sans-serif;
    font-size: 1.8rem;
}

.experience-seal span {
    font-size: 0.6rem;
    font-weight: 500;
    line-height: 1.3;
    text-transform: uppercase;
}

.about-content h3 {
    margin: 12px 0 19px;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    letter-spacing: -0.035em;
}

.about-content > p {
    margin-bottom: 26px;
    line-height: 1.9;
}

.qualification-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.qualification-badges > span {
    display: grid;
    min-width: 205px;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 13px 17px;
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.qualification-badges svg {
    width: 28px;
    height: 28px;
    grid-row: span 2;
    fill: none;
    stroke: var(--primary);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.qualification-badges b {
    color: var(--dark-text);
    font-family: "Poppins", sans-serif;
    font-size: 0.82rem;
}

.qualification-badges small {
    color: var(--text-light);
    font-size: 0.67rem;
}

.text-link {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 20px;
    color: var(--white);
    background: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    box-shadow: 0 8px 22px rgba(13, 107, 110, 0.18);
    font-family: "Poppins", sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.text-link span {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    color: var(--primary-dark);
    background: var(--accent);
    border-radius: 50%;
    transition: transform var(--transition);
}

.text-link:hover {
    color: var(--white);
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 12px 28px rgba(13, 107, 110, 0.28);
    transform: translateY(-2px);
}

.text-link:hover span {
    transform: translateX(3px);
}

.services-section {
    background: var(--light-bg);
}

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

.service-card {
    position: relative;
    min-height: 295px;
    padding: 31px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    animation-delay: var(--delay);
}

.service-card::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--secondary);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 18px 40px rgba(13, 107, 110, 0.13);
    transform: translateY(-5px);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-number {
    position: absolute;
    top: 24px;
    right: 26px;
    color: var(--border);
    font-family: "Poppins", sans-serif;
    font-size: 2.1rem;
    font-weight: 700;
}

.service-icon {
    display: grid;
    width: 70px;
    height: 70px;
    margin-bottom: 23px;
    place-items: center;
    color: var(--primary);
    background: var(--light-bg);
    border-radius: 50%;
    transition: color var(--transition), background var(--transition), transform var(--transition);
}

.service-icon svg {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.service-card:hover .service-icon {
    color: var(--white);
    background: var(--primary);
    transform: rotate(-4deg) scale(1.04);
}

.service-card h3 {
    max-width: 270px;
    margin-bottom: 10px;
    font-size: 1.05rem;
    font-weight: 600;
}

.service-card p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.7;
}

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

.timings-grid {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    align-items: center;
    gap: 75px;
}

.timings-copy > p {
    margin-bottom: 26px;
    line-height: 1.85;
}

.status-panel {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 22px;
    padding: 15px 18px;
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.status-panel .status-dot {
    position: relative;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--error);
}

.status-panel.open .status-dot {
    background: var(--success);
}

.status-panel.open .status-dot::after {
    position: absolute;
    inset: -5px;
    border: 1px solid var(--success);
    border-radius: 50%;
    content: "";
    animation: heartbeatPulse 1.8s infinite;
}

.status-panel small,
.status-panel strong {
    display: block;
}

.status-panel small {
    color: var(--text-light);
    font-size: 0.65rem;
    text-transform: uppercase;
}

.status-panel strong {
    color: var(--dark-text);
    font-family: "Poppins", sans-serif;
    font-size: 0.88rem;
}

.holiday-note {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text-light);
    font-size: 0.82rem;
}

.schedule-card {
    padding: 40px;
    color: var(--white);
    background: linear-gradient(145deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.schedule-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 19px;
    margin-bottom: 31px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.schedule-time > svg {
    width: 50px;
    height: 50px;
    fill: none;
    stroke: var(--accent);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.4;
}

.schedule-time small,
.schedule-time strong {
    display: block;
}

.schedule-time small {
    margin-bottom: 4px;
    color: var(--accent);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.18em;
}

.schedule-time strong {
    color: var(--white);
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    letter-spacing: -0.04em;
}

.schedule-time strong i {
    margin: 0 6px;
    color: var(--accent);
    font-size: 0.7rem;
    font-style: normal;
    font-weight: 400;
    text-transform: uppercase;
}

.days-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 7px;
    margin-bottom: 28px;
}

.day {
    padding: 11px 4px;
    color: var(--primary-dark);
    background: var(--white);
    border-radius: 8px;
    text-align: center;
}

.day b,
.day span {
    display: block;
}

.day b {
    font-family: "Poppins", sans-serif;
    font-size: 0.72rem;
}

.day span {
    margin-top: 3px;
    color: var(--primary);
    font-size: 0.55rem;
    font-weight: 500;
}

.day.closed {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.day.closed span {
    color: var(--border);
    text-decoration: line-through;
}

.schedule-card .button {
    width: 100%;
    color: var(--dark-text);
    background: var(--accent);
}

.appointment-section {
    color: var(--white);
    background: var(--primary-dark);
    overflow: hidden;
}

.appointment-section::before,
.appointment-section::after {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    content: "";
}

.appointment-section::before {
    top: -260px;
    left: -250px;
    width: 620px;
    height: 620px;
}

.appointment-section::after {
    right: -130px;
    bottom: -340px;
    width: 600px;
    height: 600px;
}

.appointment-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    align-items: start;
    gap: 75px;
}

.appointment-intro {
    position: sticky;
    top: 110px;
    padding-top: 25px;
}

.appointment-intro h2 {
    color: var(--white);
}

.appointment-intro > p {
    color: var(--border);
}

.booking-benefits {
    margin: 32px 0;
}

.booking-benefits li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 19px 0;
}

.booking-benefits svg {
    width: 25px;
    height: 25px;
    flex: 0 0 auto;
    fill: none;
    stroke: var(--accent);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.booking-benefits strong,
.booking-benefits small {
    display: block;
}

.booking-benefits strong {
    color: var(--white);
    font-family: "Poppins", sans-serif;
    font-size: 0.84rem;
}

.booking-benefits small {
    color: var(--border);
    font-size: 0.7rem;
}

.help-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius);
}

.help-card > span {
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.help-card p {
    margin: 5px 0;
    color: var(--border);
    font-size: 0.8rem;
}

.help-card a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding: 9px 18px;
    color: var(--dark-text);
    background: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    font-family: "Poppins", sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.help-card a:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
}

.form-card {
    padding: 38px;
    color: var(--dark-text);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-header {
    margin-bottom: 27px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.form-header span {
    display: block;
    color: var(--dark-text);
    font-family: "Poppins", sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
}

.form-header p {
    margin: 3px 0 0;
    font-size: 0.76rem;
}

.form-alert {
    margin-bottom: 20px;
    padding: 13px 16px;
    color: var(--error);
    background: rgba(231, 76, 60, 0.08);
    border-left: 4px solid var(--error);
    border-radius: 6px;
    font-size: 0.82rem;
}

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

.form-group {
    position: relative;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group label:not(.file-upload),
.form-group legend {
    display: block;
    margin-bottom: 7px;
    color: var(--dark-text);
    font-family: "Poppins", sans-serif;
    font-size: 0.76rem;
    font-weight: 500;
}

.form-group label em,
.form-group legend em {
    color: var(--error);
    font-style: normal;
}

.form-group label > span {
    color: var(--text-light);
    font-family: "Inter", sans-serif;
    font-size: 0.68rem;
    font-weight: 400;
}

.form-group input:not([type="radio"]):not([type="file"]),
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--border);
    outline: 0;
    background: var(--white);
    border-radius: 8px;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-group input:not([type="radio"]):not([type="file"]),
.form-group select {
    height: 52px;
    padding: 0 14px;
}

.form-group textarea {
    min-height: 112px;
    padding: 13px 14px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13, 107, 110, 0.09);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
}

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
    border-color: var(--error);
    background: rgba(231, 76, 60, 0.025);
}

.field-hint {
    display: block;
    margin-top: 5px;
    color: var(--text-light);
    font-size: 0.65rem;
}

.field-hint.available {
    color: var(--success);
}

.field-hint.unavailable {
    color: var(--error);
}

.error-message {
    display: block;
    margin-top: 5px;
    color: var(--error);
    font-size: 0.67rem;
    line-height: 1.4;
}

.radio-pills {
    display: flex;
    gap: 10px;
}

.radio-pills label {
    margin: 0 !important;
}

.radio-pills input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-pills span {
    display: inline-flex;
    min-width: 105px;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    color: var(--text-light) !important;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50px;
    cursor: pointer;
    font-family: "Poppins", sans-serif !important;
    font-size: 0.76rem !important;
    font-weight: 500 !important;
    transition: var(--transition);
}

.radio-pills input:checked + span {
    color: var(--white) !important;
    background: var(--primary);
    border-color: var(--primary);
}

.radio-pills input:focus-visible + span {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.file-upload {
    display: flex;
    min-height: 76px;
    align-items: center;
    gap: 13px;
    padding: 13px 16px;
    background: var(--light-bg);
    border: 1px dashed var(--secondary);
    border-radius: 9px;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition);
}

.file-upload:hover {
    background: var(--white);
    border-color: var(--primary-dark);
}

.file-upload > svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: var(--primary);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.file-upload strong,
.file-upload small {
    display: block;
}

.file-upload strong {
    color: var(--primary);
    font-family: "Poppins", sans-serif;
    font-size: 0.77rem;
}

.file-upload small {
    color: var(--text-light);
    font-size: 0.65rem;
}

.file-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    color: var(--text-light);
    font-size: 0.7rem;
}

.file-preview img {
    width: 54px;
    height: 54px;
    border: 1px solid var(--border);
    border-radius: 6px;
    object-fit: cover;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.submit-button {
    width: 100%;
    min-height: 56px;
    margin-top: 25px;
    border: 0;
}

.button-loading,
.button-text {
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.button-text {
    display: flex;
}

.button-loading {
    display: none;
}

.submit-button.loading .button-text {
    display: none;
}

.submit-button.loading .button-loading {
    display: flex;
}

.submit-button:disabled {
    cursor: wait;
    opacity: 0.75;
}

.spinner {
    width: 19px;
    height: 19px;
    border: 2px solid rgba(27, 42, 47, 0.25);
    border-top-color: var(--dark-text);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.privacy-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 13px 0 0;
    font-size: 0.65rem;
}

.privacy-note svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: var(--success);
    stroke-width: 2;
}

.success-card {
    padding: 25px 5px 5px;
    text-align: center;
}

.success-check {
    display: grid;
    width: 74px;
    height: 74px;
    margin: 0 auto 20px;
    place-items: center;
    color: var(--white);
    background: var(--success);
    border: 8px solid rgba(39, 174, 96, 0.13);
    border-radius: 50%;
    background-clip: padding-box;
    font-size: 2rem;
}

.success-card > span {
    color: var(--success);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.success-card h3 {
    margin: 9px 0;
    font-size: 1.7rem;
}

.success-card dl {
    margin: 25px 0;
    padding: 5px 21px;
    background: var(--light-bg);
    border-radius: var(--radius);
    text-align: left;
}

.success-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.success-card dl div:last-child {
    border-bottom: 0;
}

.success-card dt {
    color: var(--text-light);
    font-size: 0.78rem;
}

.success-card dd {
    margin: 0;
    color: var(--dark-text);
    font-family: "Poppins", sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.contact-section {
    background: var(--light-bg);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 36px;
}

.contact-card {
    position: relative;
    padding: 31px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.contact-card::after {
    position: absolute;
    top: -35px;
    right: -35px;
    width: 100px;
    height: 100px;
    background: var(--light-bg);
    border-radius: 50%;
    content: "";
}

.contact-icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
    place-items: center;
    color: var(--primary);
    background: var(--light-bg);
    border-radius: 50%;
}

.contact-icon svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.contact-card > span {
    color: var(--secondary);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-card h3 {
    margin: 7px 0;
    font-size: 1.13rem;
}

.contact-card p {
    margin-bottom: 17px;
    font-size: 0.8rem;
}

.contact-card > a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 9px 16px;
    color: var(--primary);
    background: var(--light-bg);
    border: 1px solid var(--primary);
    border-radius: 50px;
    font-family: "Poppins", sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-card > a:hover {
    color: var(--white);
    background: var(--primary);
    box-shadow: 0 8px 20px rgba(13, 107, 110, 0.18);
    transform: translateY(-2px);
}

.contact-card > a:hover b {
    transform: translateX(4px);
}

.contact-card > a b {
    transition: transform var(--transition);
}

.whatsapp-card .contact-icon {
    color: var(--white);
    background: #25D366;
}

.whatsapp-card > a {
    color: var(--white);
    background: #25D366;
    border-color: #25D366;
}

.whatsapp-card > a:hover {
    color: var(--white);
    background: var(--success);
    border-color: var(--success);
}

.map-wrap {
    position: relative;
    background: var(--white);
    border: 8px solid var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.map-wrap iframe {
    display: block;
    width: 100%;
    min-height: 400px;
    border-radius: 10px;
}

.map-label {
    position: absolute;
    bottom: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 17px;
    background: var(--white);
    border-radius: 9px;
    box-shadow: var(--shadow-md);
}

.map-label > svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: var(--primary);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.map-label small,
.map-label strong {
    display: block;
}

.map-label small {
    color: var(--text-light);
    font-size: 0.62rem;
}

.map-label strong {
    color: var(--dark-text);
    font-family: "Poppins", sans-serif;
    font-size: 0.78rem;
}

.site-footer {
    color: var(--border);
    background: var(--dark-text);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.75fr 1.1fr 1fr;
    gap: 55px;
    padding-top: 72px;
    padding-bottom: 62px;
}

.footer-brand .brand-mark {
    background: var(--secondary);
}

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

.footer-brand small {
    color: var(--border);
}

.footer-about p {
    max-width: 300px;
    margin: 21px 0 0;
    color: var(--gray);
    font-size: 0.82rem;
}

.site-footer h3 {
    margin-bottom: 20px;
    color: var(--white);
    font-size: 0.94rem;
}

.site-footer h3::after {
    display: block;
    width: 33px;
    height: 2px;
    margin-top: 9px;
    background: var(--accent);
    content: "";
}

.footer-links {
    columns: 2;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a,
.footer-contact,
.footer-hours {
    color: var(--gray);
    font-size: 0.76rem;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--accent);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 11px;
}

.footer-contact .icon {
    width: 16px;
    height: 16px;
    margin-top: 4px;
    color: var(--secondary);
    flex: 0 0 auto;
}

.at-symbol {
    display: grid;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    place-items: center;
    color: var(--secondary);
    font-weight: 600;
}

.footer-hours p {
    margin-bottom: 13px;
    padding-bottom: 13px;
    border-bottom: 1px solid rgba(224, 232, 231, 0.1);
}

.footer-hours span,
.footer-hours strong {
    display: block;
}

.footer-hours strong {
    margin-top: 2px;
    color: var(--white);
    font-size: 0.74rem;
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid rgba(224, 232, 231, 0.1);
}

.footer-bottom .container {
    display: flex;
    min-height: 65px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: var(--gray);
    font-size: 0.68rem;
}

.whatsapp-float {
    position: fixed;
    z-index: 90;
    right: 30px;
    bottom: 30px;
    display: grid;
    width: 60px;
    height: 60px;
    place-items: center;
    color: var(--white);
    background: #25D366;
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
    animation: heartbeatPulse 2.6s ease-in-out infinite;
}

.whatsapp-float svg {
    width: 31px;
    height: 31px;
}

.whatsapp-float span {
    position: absolute;
    right: 68px;
    width: max-content;
    padding: 7px 11px;
    color: var(--white);
    background: var(--dark-text);
    border-radius: 6px;
    font-size: 0.68rem;
    opacity: 0;
    pointer-events: none;
    transform: translateX(8px);
    transition: opacity var(--transition), transform var(--transition);
}

.whatsapp-float:hover {
    color: var(--white);
    transform: translateY(-4px);
}

.whatsapp-float:hover span {
    opacity: 1;
    transform: translateX(0);
}

.back-to-top {
    position: fixed;
    z-index: 89;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    color: var(--white);
    background: var(--primary);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    font-size: 1.3rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity var(--transition), transform var(--transition), background var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
}

[hidden] {
    display: none !important;
}

@media print {
    .top-bar,
    .site-header,
    .hero,
    .about-section,
    .services-section,
    .timings-section,
    .appointment-intro,
    .contact-section,
    .site-footer,
    .whatsapp-float,
    .back-to-top,
    .form-header,
    #appointmentForm,
    .success-actions {
        display: none !important;
    }

    body,
    .appointment-section {
        color: #1B2A2F;
        background: #FFFFFF;
    }

    .appointment-section {
        padding: 20px;
    }

    .appointment-layout {
        display: block;
    }

    .form-card {
        max-width: 650px;
        margin: 0 auto;
        padding: 25px;
        border: 1px solid #E0E8E7;
        box-shadow: none;
    }

    .success-card {
        display: block !important;
    }
}
