:root {
    --doctor-primary: #145f93;
    --doctor-primary-deep: #0d4167;
    --doctor-primary-soft: #eaf4fa;
    --doctor-accent: #47b88f;
    --doctor-accent-soft: #eaf8f2;
    --doctor-soft: #f4f8fb;
    --doctor-ink: #183449;
    --doctor-muted: #627789;
    --doctor-white: #ffffff;
    --doctor-border: #d9e6ee;
    --doctor-shadow: 0 24px 60px rgba(17, 64, 96, 0.13);
    --doctor-shadow-soft: 0 14px 34px rgba(17, 64, 96, 0.10);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Poppins', 'Open Sans', Arial, sans-serif;
    color: var(--doctor-ink);
    background:
        radial-gradient(circle at 8% 12%, rgba(33, 150, 243, 0.13), transparent 28%),
        radial-gradient(circle at 88% 4%, rgba(71, 184, 143, 0.16), transparent 30%),
        radial-gradient(circle at 72% 58%, rgba(13, 65, 103, 0.08), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f7fbfd 38%, #edf5fa 100%);
    text-rendering: geometricPrecision;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(20, 95, 147, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 95, 147, 0.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.08) 55%, transparent 100%);
}

body::after {
    content: "";
    position: fixed;
    inset: auto -10% -24% -10%;
    height: 42vh;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 26% 50%, rgba(33, 150, 243, 0.14), transparent 58%),
        radial-gradient(ellipse at 72% 42%, rgba(71, 184, 143, 0.12), transparent 60%);
    filter: blur(18px);
}

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

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

.doctor-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(217, 230, 238, 0.85);
    box-shadow: 0 10px 30px rgba(13, 65, 103, 0.06);
    transition: box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

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

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--doctor-primary-deep);
}

.brand-logo-image {
    width: 340px;
    max-height: 78px;
    object-fit: contain;
}

.brand-logo-stack,
.footer-brand-stack {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.brand-emblem {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--doctor-white);
    background: linear-gradient(135deg, var(--doctor-primary-deep), var(--doctor-primary));
    box-shadow: 0 12px 26px rgba(20, 95, 147, 0.22);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
}

.brand-logo-stack small {
    color: var(--doctor-primary-deep);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.015em;
    line-height: 1.15;
    text-align: center;
}

.doctor-mini-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
}

.doctor-mini-nav a {
    color: var(--doctor-muted);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.doctor-mini-nav a:hover {
    color: var(--doctor-primary);
}

.hero-section {
    padding: 118px 0 86px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(71, 184, 143, 0.16), transparent 26%),
        radial-gradient(circle at 74% 24%, rgba(20, 95, 147, 0.14), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(244, 248, 251, 0.78) 52%, rgba(234, 244, 250, 0.72) 100%);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(20, 95, 147, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 95, 147, 0.04) 1px, transparent 1px);
    background-size: 76px 76px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 72%);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--doctor-primary);
    background: var(--doctor-primary-soft);
    border: 1px solid rgba(20, 95, 147, 0.12);
}

.hero-section h1 {
    margin: 22px 0 12px;
    font-size: clamp(2rem, 3vw, 3.15rem);
    line-height: 1.05;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: var(--doctor-primary-deep);
}

.doctor-title-row {
    display: grid;
    gap: 14px;
    justify-items: start;
}

.verified-badge,
.reputation-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    border-radius: 999px;
    color: #7a5512;
    background: linear-gradient(135deg, rgba(255, 214, 102, 0.26), rgba(255, 255, 255, 0.86));
    border: 1px solid rgba(214, 164, 49, 0.28);
    box-shadow: 0 12px 28px rgba(122, 85, 18, 0.08);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.verified-badge {
    padding: 9px 14px;
}

.verified-badge i,
.reputation-badge i {
    color: #d6a431;
}

.hero-specialty {
    margin: 0 0 16px;
    color: var(--doctor-primary-deep);
    font-size: 1.2rem;
    font-weight: 600;
}

.hero-text,
.section-heading p,
.doctor-footer p,
.contact-card p,
.contact-list,
.testimonial-card p,
.service-card p,
.info-panel li,
.form-note {
    color: var(--doctor-muted);
    line-height: 1.75;
}

.hero-text {
    max-width: 640px;
    font-size: 1.04rem;
}

.hero-trust-list {
    display: grid;
    gap: 11px;
    margin: 28px 0 0;
    padding: 0;
    max-width: 620px;
    list-style: none;
}

.hero-trust-list li {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--doctor-ink);
    font-size: 0.98rem;
    font-weight: 600;
}

.hero-trust-list i {
    color: var(--doctor-accent);
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 34px 0 26px;
}

.premium-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 14px;
    padding: 0.92rem 1.28rem;
    border: 1px solid transparent;
    font-weight: 700;
    box-shadow: var(--doctor-shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.premium-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(17, 64, 96, 0.16);
}

.premium-btn-success {
    background: linear-gradient(135deg, #25a96f, var(--doctor-accent));
    color: var(--doctor-white);
}

.premium-btn-success:hover {
    color: var(--doctor-white);
    background: linear-gradient(135deg, #209961, #3cae83);
}

.premium-btn-outline {
    background: var(--doctor-white);
    color: var(--doctor-primary);
    border-color: rgba(20, 95, 147, 0.25);
}

.premium-btn-outline:hover {
    color: var(--doctor-primary-deep);
    background: var(--doctor-primary-soft);
    border-color: rgba(20, 95, 147, 0.35);
}

.hero-mini-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
    color: var(--doctor-muted);
    font-weight: 500;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 650px;
    margin-top: 10px;
    padding-top: 22px;
    border-top: 1px solid rgba(217, 230, 238, 0.9);
}

.hero-stat {
    min-width: 0;
}

.hero-stat strong {
    display: block;
    color: var(--doctor-primary-deep);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1;
}

.hero-stat span {
    display: block;
    margin-top: 8px;
    color: var(--doctor-muted);
    font-size: 0.86rem;
    font-weight: 600;
}

.hero-carousel,
.about-image-card,
.map-card,
.contact-card,
.contact-form-card,
.service-card,
.testimonial-card,
.gallery-card,
.info-panel {
    border-radius: 22px;
    border: 1px solid var(--doctor-border);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--doctor-shadow);
}

.hero-carousel {
    overflow: hidden;
    position: relative;
    height: 560px;
    border: 0;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.28);
    box-shadow: 0 36px 80px rgba(13, 65, 103, 0.16);
    isolation: isolate;
}

.hero-carousel::before {
    content: "";
    position: absolute;
    inset: auto 9% -9% 9%;
    height: 18%;
    background: rgba(20, 95, 147, 0.18);
    filter: blur(34px);
    z-index: -1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.035);
    transition: opacity 0.9s ease, transform 5.5s ease;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    display: inline-flex;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    transform: translateX(-50%);
    backdrop-filter: blur(10px);
}

.hero-carousel-dots span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(13, 65, 103, 0.24);
    transition: width 0.25s ease, background-color 0.25s ease;
}

.hero-carousel-dots span.is-active {
    width: 24px;
    background: var(--doctor-primary);
}

.section-block {
    padding: 44px 0;
}

.section-soft {
    background:
        radial-gradient(circle at 12% 24%, rgba(33, 150, 243, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(238, 247, 251, 0.82));
    border-top: 1px solid rgba(217, 230, 238, 0.55);
    border-bottom: 1px solid rgba(217, 230, 238, 0.55);
}

.reputation-section {
    padding-top: 28px;
}

.reputation-card {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 30px;
    align-items: center;
    padding: clamp(26px, 4vw, 42px);
    border: 1px solid rgba(217, 230, 238, 0.92);
    border-radius: 28px;
    background:
        radial-gradient(circle at 92% 8%, rgba(214, 164, 49, 0.16), transparent 28%),
        radial-gradient(circle at 12% 90%, rgba(33, 150, 243, 0.12), transparent 32%),
        rgba(255, 255, 255, 0.94);
    box-shadow: 0 30px 80px rgba(17, 64, 96, 0.14);
}

.reputation-badge {
    padding: 10px 15px;
}

.reputation-main h2 {
    margin: 18px 0 10px;
    color: var(--doctor-primary-deep);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    line-height: 1.1;
}

.reputation-main p {
    max-width: 620px;
    margin: 0;
    color: var(--doctor-muted);
    line-height: 1.75;
}

.reputation-notice {
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 14px;
    color: var(--doctor-primary-deep);
    background: var(--doctor-primary-soft);
    font-weight: 700;
}

.reputation-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 24px;
}

.reputation-button,
.rating-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 14px;
    padding: 0.88rem 1.1rem;
    color: var(--doctor-white);
    background: linear-gradient(135deg, var(--doctor-primary-deep), var(--doctor-primary));
    box-shadow: 0 16px 34px rgba(13, 65, 103, 0.18);
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.reputation-button:hover,
.rating-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 44px rgba(13, 65, 103, 0.22);
}

.reputation-button:disabled,
.rating-submit:disabled,
.rating-form input:disabled + label {
    cursor: not-allowed;
    opacity: 0.58;
}

.rating-form {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 8px 8px 14px;
    border: 1px solid var(--doctor-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.84);
}

.rating-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 2px;
}

.rating-stars input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rating-stars label {
    cursor: pointer;
    color: #d8dee7;
    font-size: 1.25rem;
    line-height: 1;
    transition: color 0.16s ease, transform 0.16s ease;
}

.rating-stars label:hover,
.rating-stars label:hover ~ label,
.rating-stars input:checked ~ label {
    color: #d6a431;
}

.rating-stars label:hover {
    transform: translateY(-1px);
}

.rating-submit {
    padding: 0.7rem 0.9rem;
    font-size: 0.88rem;
}

.reputation-metrics {
    display: grid;
    gap: 14px;
}

.reputation-metric {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border: 1px solid rgba(217, 230, 238, 0.92);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 16px 34px rgba(17, 64, 96, 0.08);
    animation: reputationFadeUp 0.7s ease both;
}

.reputation-metric:nth-child(2) {
    animation-delay: 0.08s;
}

.reputation-metric:nth-child(3) {
    animation-delay: 0.16s;
}

.reputation-metric i {
    color: var(--doctor-primary);
    font-size: 1.3rem;
}

.reputation-metric strong {
    display: block;
    margin-top: 8px;
    color: var(--doctor-primary-deep);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    line-height: 1;
}

.reputation-metric small {
    display: block;
    margin-top: 8px;
    color: var(--doctor-muted);
    font-weight: 700;
}

.metric-stars {
    color: #d6a431;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
}

@keyframes reputationFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.section-heading h2 {
    margin: 18px 0 12px;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.16;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: var(--doctor-primary-deep);
}

.about-image-card {
    overflow: hidden;
}

.about-image-card img {
    width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.info-panels {
    display: grid;
    gap: 18px;
}

.info-panel {
    padding: 26px 28px;
}

.info-panel h3 {
    margin: 0 0 14px;
    font-size: 1.15rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--doctor-primary-deep);
}

.info-panel ul {
    margin: 0;
    padding-left: 20px;
}

.service-card {
    padding: 28px 26px;
}

.service-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--doctor-primary), var(--doctor-accent));
    color: var(--doctor-white);
    font-size: 1.25rem;
    font-weight: 800;
}

.service-card h3,
.testimonial-card strong,
.contact-card h3 {
    margin: 0 0 10px;
    font-size: 1.18rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--doctor-primary-deep);
}

.gallery-card {
    overflow: hidden;
}

.gallery-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-card:hover img {
    transform: scale(1.04);
}

.schedule-grid,
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.schedule-card,
.stat-card {
    border-radius: 18px;
    border: 1px solid var(--doctor-border);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--doctor-shadow);
    padding: 24px;
}

.schedule-card strong,
.stat-card strong {
    display: block;
    color: var(--doctor-primary-deep);
    font-size: 1.35rem;
}

.schedule-card span,
.stat-card span {
    color: var(--doctor-muted);
    font-weight: 600;
}

.stat-card strong {
    margin-top: 8px;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.testimonial-card {
    padding: 30px 28px;
}

.testimonial-card strong {
    display: inline-block;
    margin-top: 18px;
    color: var(--doctor-primary-deep);
}

.map-card {
    overflow: hidden;
}

.contact-card,
.contact-form-card {
    padding: 30px 28px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.contact-list li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: flex-start;
}

.contact-list i {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--doctor-primary);
    background: var(--doctor-primary-soft);
    font-size: 1.05rem;
}

.contact-list span {
    min-width: 0;
}

.contact-list strong {
    display: block;
    color: var(--doctor-primary-deep);
    font-size: 0.82rem;
    line-height: 1.2;
}

.contact-list a {
    display: inline-block;
    color: var(--doctor-primary);
    font-weight: 600;
    overflow-wrap: anywhere;
}

.contact-actions {
    margin-top: 24px;
}

.contact-form-card .form-control {
    min-height: 52px;
    border-radius: 14px;
    border-color: var(--doctor-border);
    padding: 0.85rem 1rem;
}

.contact-form-card textarea.form-control {
    min-height: 160px;
}

.contact-form-card .form-control:focus {
    border-color: rgba(26, 108, 168, 0.5);
    box-shadow: 0 0 0 0.25rem rgba(73, 182, 199, 0.16);
}

.doctor-footer {
    padding: 56px 0 24px;
    background: linear-gradient(180deg, #123d5d 0%, #0d2c45 100%);
    color: rgba(255, 255, 255, 0.9);
}

.doctor-footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.9fr 1fr;
    gap: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.doctor-footer h3,
.doctor-footer h4 {
    margin: 0 0 14px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.footer-brand-logo {
    width: 320px;
    max-height: 78px;
    object-fit: contain;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.16));
}

.footer-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--doctor-white);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
}

.footer-brand h3 {
    margin: 0;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
}

.footer-brand-stack p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.015em;
    line-height: 1.35;
    text-align: center;
}

.footer-brand-text {
    max-width: 420px;
}

.footer-social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.footer-social-links li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.82);
}

.footer-social-links i {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.footer-social-links a {
    color: rgba(255, 255, 255, 0.84);
    overflow-wrap: anywhere;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.footer-links a,
.footer-powered {
    color: rgba(255, 255, 255, 0.84);
}

.doctor-footer a:hover {
    color: #ffffff;
}

.doctor-footer-bottom {
    padding-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 991.98px) {
    .doctor-topbar-inner {
        min-height: auto;
        padding-top: 14px;
        padding-bottom: 14px;
        flex-direction: column;
        align-items: flex-start;
    }

    .brand-logo-image {
        width: 280px;
    }

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

    .doctor-mini-nav {
        justify-content: flex-start;
    }

    .hero-section {
        padding-top: 72px;
    }

    .hero-carousel {
        min-height: auto;
        height: 420px;
    }

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

    .doctor-footer-grid {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 575.98px) {
    .hero-section {
        padding: 58px 0 42px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn,
    .contact-actions .btn,
    .contact-form-card .btn {
        width: 100%;
    }

    .section-block {
        padding: 34px 0;
    }

    .hero-carousel {
        height: 340px;
    }

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

    .schedule-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .reputation-actions,
    .rating-form {
        align-items: stretch;
        flex-direction: column;
    }

    .reputation-button,
    .rating-submit {
        width: 100%;
    }
}
