:root {
    --clinic-blue: #0b6eb7;
    --clinic-blue-dark: #123e66;
    --clinic-gold: #f3c83a;
    --ink: #10232f;
    --muted: #526270;
    --surface: #ffffff;
    --soft: #f5f8fa;
    --line: #dce5ea;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        linear-gradient(180deg, #f7fbfd 0, #ffffff 360px),
        var(--surface);
    color: var(--ink);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    margin: 0;
}

a {
    color: var(--clinic-blue);
}

.btn {
    align-items: center;
    border-radius: 6px;
    display: inline-flex;
    gap: 0.45rem;
    font-weight: 700;
    justify-content: center;
    padding-inline: 1rem;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-icon {
    display: inline-block;
    fill: currentColor;
    flex: 0 0 auto;
    height: 1.05em;
    width: 1.05em;
}

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

.btn-primary {
    background: var(--clinic-blue);
    border-color: var(--clinic-blue);
    box-shadow: 0 12px 30px rgba(11, 110, 183, 0.22);
}

.btn-primary:hover {
    background: var(--clinic-blue-dark);
    border-color: var(--clinic-blue-dark);
}

.btn-outline-primary {
    border-color: var(--clinic-blue);
    color: var(--clinic-blue);
}

.btn-outline-primary:hover {
    background: var(--clinic-blue);
    border-color: var(--clinic-blue);
}

.site-shell main {
    overflow-x: hidden;
}

.banner-section {
    background:
        linear-gradient(180deg, rgba(232, 246, 253, 0.92), rgba(255, 255, 255, 0.96));
    border-bottom: 1px solid var(--line);
    padding: clamp(1rem, 1.8vw, 1.45rem) clamp(1rem, 2.4vw, 2rem);
    position: relative;
}

.banner-viewport {
    border: 1px solid rgba(12, 45, 61, 0.08);
    border-radius: 8px;
    box-shadow: 0 22px 60px rgba(16, 35, 47, 0.14);
    overflow: hidden;
}

.banner-track {
    display: flex;
    transition: transform 0.55s ease;
    will-change: transform;
}

.banner-arrow {
    align-items: center;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(12, 45, 61, 0.16);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(16, 35, 47, 0.18);
    color: var(--clinic-blue-dark);
    display: flex;
    height: clamp(2.8rem, 5vw, 4.2rem);
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    width: clamp(2.8rem, 5vw, 4.2rem);
    z-index: 3;
}

.banner-arrow::before {
    border-color: currentColor;
    border-style: solid;
    content: "";
    display: block;
    height: clamp(0.8rem, 1.4vw, 1.15rem);
    width: clamp(0.8rem, 1.4vw, 1.15rem);
}

.banner-arrow-left::before {
    border-width: 0 0 3px 3px;
    margin-left: 0.25rem;
    transform: rotate(45deg);
}

.banner-arrow-right::before {
    border-width: 3px 3px 0 0;
    margin-right: 0.25rem;
    transform: rotate(45deg);
}

.banner-arrow:hover,
.banner-arrow:focus {
    background: var(--clinic-blue);
    color: #fff;
    outline: none;
    transform: translateY(-50%) scale(1.04);
}

.banner-arrow-left {
    left: clamp(0.8rem, 2.4vw, 2rem);
}

.banner-arrow-right {
    right: clamp(0.8rem, 2.4vw, 2rem);
}

.banner-slide {
    background: #fff;
    flex: 0 0 100%;
    margin: 0;
    min-width: 100%;
}

.banner-slide img {
    display: block;
    height: clamp(390px, 41vw, 720px);
    width: 100%;
}

.banner-cover img {
    object-fit: cover;
    object-position: center;
}

.banner-contain img {
    background: #f8fbfd;
    object-fit: contain;
    object-position: center;
}

.banner-controls {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 0.8rem;
}

.banner-controls button {
    background: #bfd6e7;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(16, 35, 47, 0.14);
    display: block;
    height: 0.8rem;
    width: 0.8rem;
}

.banner-controls button:hover,
.banner-controls button:focus,
.banner-controls button.active {
    background: var(--clinic-blue);
    outline: none;
}

.hero-section {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 244, 251, 0.9)),
        linear-gradient(90deg, #f7fbfd, #edf6fb);
    display: block;
    position: relative;
}

.page-hero {
    background:
        linear-gradient(135deg, rgba(18, 62, 102, 0.98), rgba(11, 110, 183, 0.86)),
        #123e66;
    color: #fff;
    padding: clamp(3.5rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
    position: relative;
}

.page-hero::after {
    background: linear-gradient(90deg, var(--clinic-gold), rgba(243, 200, 58, 0));
    bottom: 0;
    content: "";
    height: 5px;
    left: clamp(1rem, 5vw, 5rem);
    position: absolute;
    width: min(320px, 50vw);
}

.page-hero h1 {
    font-size: clamp(2.35rem, 5vw, 4.75rem);
    font-weight: 800;
    line-height: 1.06;
    margin: 0 0 1rem;
    max-width: 13ch;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.08rem, 2vw, 1.35rem);
    line-height: 1.6;
    max-width: 760px;
}

.page-hero .eyebrow {
    color: var(--clinic-gold);
}

.hero-copy {
    margin: 0 auto;
    max-width: 960px;
    padding: clamp(2.2rem, 6vw, 6rem);
    text-align: center;
}

.eyebrow,
.section-kicker {
    color: var(--clinic-blue);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 0.85rem;
    text-transform: uppercase;
}

.hero-copy h1,
.section h2 {
    color: var(--ink);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.08;
    margin: 0;
}

.hero-copy h1 {
    font-size: clamp(2.25rem, 5vw, 4.75rem);
    margin-inline: auto;
    max-width: 15ch;
}

.hero-lede {
    color: #243947;
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    line-height: 1.5;
    margin: 1.7rem auto;
    max-width: 36rem;
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero-actions {
    justify-content: center;
}

.trust-strip {
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 1.2rem;
}

.trust-strip span {
    color: var(--muted);
}

.trust-strip strong {
    color: var(--ink);
    display: block;
    font-size: 1.45rem;
}

.quick-access-section {
    background: #ffffff;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 1.5rem clamp(1rem, 5vw, 5rem) 2rem;
}

.quick-access-section article {
    background: linear-gradient(180deg, #ffffff, #f7fbfd);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(16, 35, 47, 0.06);
    padding: 1.1rem;
}

.quick-access-section span {
    color: var(--muted);
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.quick-access-section strong {
    color: var(--clinic-blue-dark);
    display: block;
    font-size: 1.35rem;
    margin-top: 0.25rem;
}

.quick-access-section p {
    color: var(--muted);
    margin: 0.2rem 0 0;
}

.home-intro-section {
    background:
        radial-gradient(circle at 88% 10%, rgba(243, 200, 58, 0.16), transparent 28rem),
        #fff;
}

.intro-copy {
    max-width: 760px;
}

.intro-actions,
.appointment-preview-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.4rem;
}

.doctor-spotlight {
    background: #fff;
    border: 1px solid rgba(12, 45, 61, 0.1);
    border-radius: 8px;
    box-shadow: 0 22px 58px rgba(16, 35, 47, 0.12);
    overflow: hidden;
}

.doctor-spotlight img {
    aspect-ratio: 16 / 11;
    display: block;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.doctor-spotlight div {
    padding: 1.4rem;
}

.doctor-spotlight span,
.home-stat-card span,
.specialty-card span,
.appointment-preview-card span {
    color: var(--clinic-blue);
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 0.55rem;
    text-transform: uppercase;
}

.doctor-spotlight h3,
.specialty-card h3,
.journey-grid h3 {
    color: var(--ink);
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 0.65rem;
}

.doctor-spotlight p {
    margin: 0;
}

.profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1.25rem 0;
}

.profile-badges span {
    background: #e8f4fb;
    border: 1px solid rgba(11, 110, 183, 0.14);
    border-radius: 999px;
    color: var(--clinic-blue-dark);
    font-size: 0.86rem;
    font-weight: 800;
    padding: 0.45rem 0.75rem;
}

.doctor-credentials-section,
.contact-cards-section {
    background: #f7fbfd;
    padding-block: clamp(2.5rem, 5vw, 4.25rem);
}

.credential-grid,
.contact-card-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.credential-grid article,
.contact-card-grid article {
    background: linear-gradient(180deg, #fff, #fbfdfe);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 38px rgba(16, 35, 47, 0.07);
    padding: 1.4rem;
}

.credential-grid h3,
.contact-card-grid h3 {
    color: var(--ink);
    font-size: 1.22rem;
    font-weight: 800;
    margin: 0 0 0.65rem;
}

.credential-grid p,
.contact-card-grid p {
    font-size: 0.98rem;
    margin: 0;
}

.about-story-section {
    background: #fff;
    padding-block: clamp(2.5rem, 5vw, 4.25rem);
}

.home-stats-section {
    background:
        linear-gradient(135deg, #082032, #123e66 56%, #0b6eb7);
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-block: clamp(1.75rem, 3vw, 2.5rem);
}

.home-stat-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    padding: 1.25rem;
}

.home-stat-card span {
    color: var(--clinic-gold);
}

.home-stat-card strong {
    color: #fff;
    display: block;
    font-size: clamp(2rem, 4vw, 3.15rem);
    font-weight: 900;
    line-height: 1;
}

.home-stat-card p {
    color: rgba(255, 255, 255, 0.86);
    margin: 0.8rem 0 0;
}

.section {
    padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem);
}

.section:nth-of-type(even) {
    background: #fbfdfe;
}

.section-split,
.appointment-section,
.contact-section,
.reviews-section {
    align-items: start;
    display: grid;
    gap: clamp(1.5rem, 4vw, 4rem);
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
}

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

.content-panel {
    background: linear-gradient(180deg, #fff, #fbfdfe);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 42px rgba(16, 35, 47, 0.08);
    padding: 1.4rem;
}

.content-panel h2 {
    font-size: 1.45rem;
    margin-bottom: 0.85rem;
}

.section h2 {
    font-size: clamp(1.9rem, 3vw, 3rem);
    margin-bottom: 1.25rem;
}

.section p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.section .home-stat-card p {
    color: rgba(255, 255, 255, 0.86);
}

.section-heading {
    margin: 0 auto 2.2rem;
    max-width: 760px;
    text-align: center;
}

.info-panel,
.service-card,
.appointment-form,
.review-card,
.location-card {
    background: linear-gradient(180deg, #ffffff, #fbfdfe);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 42px rgba(16, 35, 47, 0.08);
}

.info-panel {
    padding: 1.5rem;
}

.info-panel h3 {
    font-weight: 800;
    margin-bottom: 1rem;
}

.info-panel dl {
    margin: 0;
}

.info-panel dl div {
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    padding: 0.85rem 0;
}

.info-panel dt {
    color: var(--muted);
}

.info-panel dd {
    font-weight: 800;
    margin: 0;
    text-align: right;
}

.note {
    background: #fff8d8;
    border-radius: 6px;
    color: #6d5820 !important;
    font-size: 0.95rem !important;
    margin: 1rem 0 0;
    padding: 0.85rem;
}

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

.service-card {
    min-height: 260px;
    padding: 1.35rem;
    position: relative;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card::before {
    background: linear-gradient(90deg, var(--clinic-gold), rgba(243, 200, 58, 0));
    content: "";
    height: 4px;
    left: 1.35rem;
    position: absolute;
    right: 1.35rem;
    top: 0;
}

.service-card:hover,
.service-card:focus {
    border-color: rgba(11, 110, 183, 0.38);
    box-shadow: 0 22px 54px rgba(16, 35, 47, 0.14);
    outline: none;
    transform: translateY(-4px);
}

.service-icon {
    align-items: center;
    background: linear-gradient(135deg, #e8f4fb, #fff8d8);
    border: 1px solid rgba(11, 110, 183, 0.12);
    border-radius: 8px;
    color: var(--clinic-blue-dark);
    display: inline-flex;
    height: 3.3rem;
    justify-content: center;
    margin-bottom: 1rem;
    width: 3.3rem;
}

.service-icon svg {
    display: block;
    fill: currentColor;
    height: 1.65rem;
    width: 1.65rem;
}

.services-overview-section {
    background:
        radial-gradient(circle at 6% 12%, rgba(11, 110, 183, 0.1), transparent 24rem),
        #fff;
}

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

.services-highlight-grid article {
    background: linear-gradient(180deg, #fff, #f7fbfd);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 38px rgba(16, 35, 47, 0.07);
    padding: 1.4rem;
}

.services-highlight-grid h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 0.65rem;
}

.services-highlight-grid p {
    font-size: 0.98rem;
    margin: 0;
}

.service-catalog-section {
    background: #f7fbfd;
}

.service-guidance-grid .content-panel {
    border-top: 4px solid var(--clinic-gold);
}

.service-card span {
    background: #e8f4fb;
    border-radius: 999px;
    color: var(--clinic-blue-dark);
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 1rem;
    padding: 0.35rem 0.7rem;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.98rem;
    margin-bottom: 1rem;
}

.service-card strong {
    color: var(--clinic-blue-dark);
    display: block;
    margin-bottom: 0.75rem;
}

.service-card em {
    color: var(--clinic-blue);
    display: inline-block;
    font-style: normal;
    font-weight: 800;
}

.specialty-section {
    background:
        linear-gradient(180deg, #f7fbfd, #fff);
}

.specialty-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1.15fr 0.85fr 0.85fr;
}

.specialty-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(16, 35, 47, 0.08);
    min-height: 300px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.specialty-card::after {
    background: linear-gradient(135deg, rgba(11, 110, 183, 0.12), rgba(243, 200, 58, 0.16));
    border-radius: 999px;
    content: "";
    height: 9rem;
    position: absolute;
    right: -4.5rem;
    top: -4.5rem;
    width: 9rem;
}

.specialty-card-large {
    background:
        linear-gradient(135deg, rgba(18, 62, 102, 0.94), rgba(11, 110, 183, 0.84)),
        #123e66;
    color: #fff;
}

.specialty-card-large h3,
.specialty-card-large p,
.specialty-card-large span,
.specialty-card-large a {
    color: #fff;
}

.specialty-card h3 {
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.16;
}

.specialty-card p {
    font-size: 1rem;
    margin: 0 0 1.2rem;
}

.specialty-card a,
.media-story-copy a {
    font-weight: 800;
    text-decoration: none;
}

.patient-journey-section {
    background: #fff;
}

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

.journey-grid article {
    background: linear-gradient(180deg, #fff, #f7fbfd);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(16, 35, 47, 0.06);
    padding: 1.25rem;
}

.journey-grid span {
    align-items: center;
    background: #e8f4fb;
    border-radius: 999px;
    color: var(--clinic-blue-dark);
    display: inline-flex;
    font-weight: 900;
    height: 2.75rem;
    justify-content: center;
    margin-bottom: 1rem;
    width: 2.75rem;
}

.journey-grid p {
    font-size: 0.98rem;
    margin: 0;
}

.media-story-section {
    align-items: center;
    background:
        linear-gradient(180deg, #f7fbfd, #ffffff);
    display: grid;
    gap: clamp(1.5rem, 4vw, 4rem);
    grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
}

.media-story-copy {
    max-width: 680px;
}

.home-image-mosaic {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: 1fr 0.8fr;
}

.home-image-mosaic img {
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(16, 35, 47, 0.12);
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.home-image-mosaic img:first-child {
    aspect-ratio: 4 / 5;
    grid-row: span 2;
}

.home-image-mosaic img:not(:first-child) {
    aspect-ratio: 4 / 3;
}

.reviews-strip-section {
    background: #fff;
}

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

.home-review-grid article {
    background: linear-gradient(180deg, #fff, #fbfdfe);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(16, 35, 47, 0.07);
    padding: 1.4rem;
}

.home-review-grid p {
    color: #243947;
    font-size: 1.05rem;
    margin: 0;
}

.appointment-preview-section {
    align-items: center;
    background:
        linear-gradient(135deg, #071927, #123e66 58%, #0b6eb7);
    color: #fff;
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
}

.appointment-preview-section h2,
.appointment-preview-section p,
.appointment-preview-section .section-kicker {
    color: #fff;
}

.appointment-preview-section p {
    max-width: 760px;
    opacity: 0.9;
}

.appointment-preview-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 20px 50px rgba(0, 0, 0, 0.12);
    padding: 1.5rem;
}

.appointment-preview-card span {
    color: var(--clinic-gold);
}

.appointment-preview-card strong {
    color: #fff;
    display: block;
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
}

.appointment-preview-card p {
    margin: 0;
}

.section.accent-band {
    align-items: center;
    background:
        linear-gradient(135deg, #0b2236, #123e66 58%, #0b6eb7);
    color: #fff;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    padding-block: clamp(2.4rem, 4.5vw, 4rem);
}

.section.accent-band h2,
.section.accent-band p,
.section.accent-band .section-kicker {
    color: #fff;
}

.section.accent-band p {
    max-width: 720px;
    opacity: 0.9;
}

.section.accent-band .btn-light {
    background: #fff;
    border-color: #fff;
    color: #071927;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.section.accent-band .btn-outline-light {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.72);
    color: #fff;
}

.section.accent-band .btn-outline-light:hover,
.section.accent-band .btn-outline-light:focus {
    background: #fff;
    border-color: #fff;
    color: #071927;
}

.accent-actions,
.fast-lane-actions,
.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.appointment-section,
.contact-section {
    background: var(--soft);
}

.appointment-fast-lane {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(232, 244, 251, 0.92));
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding-block: clamp(2rem, 4vw, 3.25rem);
}

.appointment-fast-lane h2 {
    max-width: 780px;
}

.appointment-fast-lane p {
    max-width: 760px;
}

.fast-lane-actions {
    justify-content: flex-end;
}

.appointment-support-section {
    background: #fff;
}

.check-list {
    color: #314958;
    line-height: 1.8;
    padding-left: 1.2rem;
}

.appointment-form {
    display: grid;
    gap: 1rem;
    padding: 1.4rem;
}

.form-heading {
    border-bottom: 1px solid var(--line);
    margin-bottom: 0.4rem;
    padding-bottom: 0.85rem;
}

.form-heading h2 {
    font-size: 1.45rem;
    margin-bottom: 0.45rem;
}

.form-heading p {
    font-size: 0.96rem;
    margin: 0;
}

.appointment-form label {
    color: var(--ink);
    display: grid;
    font-weight: 800;
    gap: 0.4rem;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
    border: 1px solid #cfdce3;
    border-radius: 6px;
    font: inherit;
    padding: 0.8rem 0.9rem;
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
    border-color: var(--clinic-blue);
    box-shadow: 0 0 0 0.2rem rgba(11, 110, 183, 0.14);
    outline: none;
}

.form-status {
    background: #eaf7ee;
    border: 1px solid #bfe5ca;
    border-radius: 6px;
    color: #1d6636 !important;
    font-size: 0.95rem !important;
    margin: 0;
    padding: 0.85rem;
}

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

.gallery-grid img {
    aspect-ratio: 4 / 5;
    border-radius: 8px;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.gallery-grid figure {
    margin: 0;
}

.gallery-grid figcaption {
    color: var(--muted);
    font-weight: 800;
    margin-top: 0.55rem;
}

.gallery-grid-large {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid-large figure:first-child {
    grid-column: span 2;
}

.contact-info-panel {
    box-shadow: none;
    margin-top: 1.5rem;
}

.contact-alert {
    background: #fff8d8;
    border: 1px solid rgba(243, 200, 58, 0.48);
    border-radius: 8px;
    margin-top: 1.2rem;
    padding: 1rem;
}

.contact-alert strong {
    color: #604a0b;
    display: block;
    font-weight: 900;
    margin-bottom: 0.25rem;
}

.contact-alert p {
    color: #6d5820;
    font-size: 0.98rem;
    margin: 0;
}

.reviews-section {
    background: #fbfcfd;
}

.review-card {
    padding: 1.5rem;
}

.stars {
    color: #f0b400;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

address {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.location-card {
    overflow: hidden;
}

.location-card img {
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: cover;
    width: 100%;
}

.location-card iframe {
    aspect-ratio: 16 / 10;
    border: 0;
    display: block;
    width: 100%;
}

.service-detail-hero {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(18, 62, 102, 0.94), rgba(11, 110, 183, 0.88)),
        #123e66;
    color: #fff;
    display: grid;
    gap: clamp(1.5rem, 4vw, 4rem);
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
    padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem);
}

.service-detail-hero h1 {
    font-size: clamp(2.25rem, 5vw, 4.75rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.06;
    margin: 0 0 1.2rem;
    max-width: 12ch;
}

.service-detail-hero p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.12rem;
    line-height: 1.7;
    max-width: 760px;
}

.service-detail-hero .eyebrow {
    color: var(--clinic-gold);
}

.service-detail-hero .btn-outline-primary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.72);
    color: #fff;
}

.back-link {
    color: #fff;
    display: inline-block;
    font-weight: 800;
    margin-bottom: 1.2rem;
    text-decoration: none;
}

.service-detail-card,
.service-contact-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(16, 35, 47, 0.18);
    color: var(--ink);
    padding: 1.5rem;
}

.service-detail-card span {
    color: var(--muted);
    display: block;
    font-weight: 800;
    text-transform: uppercase;
}

.service-detail-card strong {
    color: var(--clinic-blue-dark);
    display: block;
    font-size: 1.6rem;
    margin: 0.4rem 0 0.8rem;
}

.service-detail-card p,
.service-contact-panel p {
    color: var(--muted);
}

.service-detail-content {
    display: grid;
    gap: clamp(1.5rem, 4vw, 4rem);
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
}

.feature-list {
    display: grid;
    gap: 0.8rem;
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
}

.feature-list li {
    background: #f3f8fb;
    border-left: 4px solid var(--clinic-gold);
    border-radius: 6px;
    color: #263d4b;
    font-weight: 700;
    padding: 0.9rem 1rem;
}

.service-contact-panel {
    align-self: start;
    display: grid;
    gap: 0.75rem;
}

.service-contact-panel h3 {
    font-weight: 800;
    margin: 0;
}

.service-detail-missing {
    display: block;
    min-height: 60vh;
}

.location-card a {
    display: block;
    font-weight: 800;
    padding: 1rem;
    text-decoration: none;
}

.mobile-action-bar {
    display: none;
}

.faq-section {
    align-items: start;
    background:
        radial-gradient(circle at 8% 8%, rgba(11, 110, 183, 0.1), transparent 24rem),
        #fff;
    display: grid;
    gap: clamp(1.5rem, 4vw, 4rem);
    grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
}

.faq-intro {
    position: sticky;
    top: 6.5rem;
}

.faq-list {
    display: grid;
    gap: 0.8rem;
}

.faq-list details {
    background: linear-gradient(180deg, #fff, #fbfdfe);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(16, 35, 47, 0.06);
    overflow: hidden;
}

.faq-list summary {
    color: var(--ink);
    cursor: pointer;
    font-size: 1.04rem;
    font-weight: 900;
    list-style: none;
    padding: 1.1rem 3rem 1.1rem 1.2rem;
    position: relative;
}

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

.faq-list summary::after {
    align-items: center;
    background: #e8f4fb;
    border-radius: 50%;
    color: var(--clinic-blue-dark);
    content: "+";
    display: flex;
    font-size: 1.2rem;
    font-weight: 900;
    height: 1.75rem;
    justify-content: center;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.75rem;
}

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

.faq-list details[open] summary {
    color: var(--clinic-blue);
}

.faq-list details p {
    border-top: 1px solid var(--line);
    font-size: 1rem;
    margin: 0;
    padding: 1rem 1.2rem 1.15rem;
}

.site-footer {
    background:
        linear-gradient(135deg, #071927, #0b2236 64%, #123e66);
    color: #dce8f0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: space-between;
    padding: 1.4rem clamp(1rem, 5vw, 5rem);
}

.site-footer div {
    display: grid;
    gap: 0.35rem;
}

.site-footer strong {
    color: #fff;
}

.site-footer span {
    color: #dce8f0;
}

.site-footer a {
    color: var(--clinic-gold);
    font-weight: 800;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

@media (max-width: 980px) {
    .hero-section,
    .section-split,
    .appointment-section,
    .contact-section,
    .reviews-section {
        grid-template-columns: 1fr;
    }

    .hero-section {
        background: #f7fbfd;
    }

    .hero-copy h1 {
        max-width: 14ch;
    }

    .service-grid,
    .gallery-grid,
    .home-stats-section,
    .home-review-grid,
    .services-highlight-grid,
    .credential-grid,
    .contact-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quick-access-section,
    .service-detail-hero,
    .service-detail-content,
    .content-grid,
    .specialty-grid,
    .media-story-section,
    .appointment-preview-section,
    .appointment-fast-lane,
    .faq-section {
        grid-template-columns: 1fr;
    }

    .faq-intro {
        position: static;
    }

    .fast-lane-actions {
        justify-content: flex-start;
    }

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

    .gallery-grid-large figure:first-child {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    body {
        padding-bottom: 58px;
    }

    .hero-copy {
        padding: 2rem 1rem 2.5rem;
    }

    .banner-section {
        padding: 0.65rem 0.5rem;
    }

    .banner-arrow {
        background: rgba(255, 255, 255, 0.78);
        height: 2.35rem;
        width: 2.35rem;
    }

    .banner-arrow::before {
        height: 0.72rem;
        width: 0.72rem;
    }

    .banner-arrow-left {
        left: 0.8rem;
    }

    .banner-arrow-right {
        right: 0.8rem;
    }

    .banner-viewport {
        border-radius: 6px;
    }

    .banner-slide img {
        aspect-ratio: 1920 / 900;
        background: #fff;
        height: auto;
        object-fit: contain;
        object-position: center;
    }

    .hero-copy h1 {
        font-size: 2.35rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .section {
        padding: 3rem 1rem;
    }

    .service-grid,
    .gallery-grid,
    .quick-access-section,
    .content-grid,
    .home-stats-section,
    .journey-grid,
    .home-review-grid,
    .home-image-mosaic,
    .services-highlight-grid,
    .credential-grid,
    .contact-card-grid {
        grid-template-columns: 1fr;
    }

    .doctor-spotlight img,
    .home-image-mosaic img:first-child,
    .home-image-mosaic img:not(:first-child) {
        aspect-ratio: 16 / 11;
    }

    .service-card {
        min-height: auto;
    }

    .accent-band,
    .appointment-preview-section {
        align-items: stretch;
        flex-direction: column;
    }

    .accent-actions .btn,
    .fast-lane-actions .btn,
    .form-actions .btn {
        width: 100%;
    }

    .specialty-card {
        min-height: auto;
    }

    .info-panel dl div {
        display: block;
    }

    .info-panel dd {
        margin-top: 0.2rem;
        text-align: left;
    }

    .mobile-action-bar {
        background: rgba(255, 255, 255, 0.96);
        border-top: 1px solid var(--line);
        box-shadow: 0 -12px 34px rgba(16, 35, 47, 0.12);
        bottom: 0;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        left: 0;
        position: fixed;
        right: 0;
        z-index: 30;
    }

    .mobile-action-bar a {
        align-items: center;
        color: #fff;
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        font-weight: 800;
        justify-content: center;
        min-height: 4.15rem;
        padding: 0.55rem 0.4rem;
        text-align: center;
        text-decoration: none;
    }

    .mobile-action-bar svg {
        display: block;
        fill: currentColor;
        height: 1.25rem;
        width: 1.25rem;
    }

    .mobile-action-bar span {
        display: block;
        font-size: 0.86rem;
        line-height: 1;
    }

    .mobile-action-bar .mobile-action-call {
        background: #0b6eb7;
    }

    .mobile-action-bar a:nth-child(2) {
        background: #108141;
        color: #fff;
    }

    .mobile-action-bar a:nth-child(3) {
        background: linear-gradient(135deg, #123e66, #0b6eb7);
        border-left: 1px solid rgba(255, 255, 255, 0.18);
        color: #fff;
    }

    .mobile-action-bar a:hover,
    .mobile-action-bar a:focus {
        filter: brightness(1.05);
    }

    .site-footer {
        padding-bottom: 4.75rem;
    }
}
