:root {
    --primary: #176b87;
    --primary-dark: #0e4e64;
    --accent: #f2b84b;
    --ink: #17242a;
    --muted: #60717a;
    --paper: #ffffff;
    --soft: #f4f7f6;
    --line: #dfe7e5;
    --primary-soft: #e8f4f1;
    --hero-overlay: linear-gradient(90deg, rgba(11, 31, 38, 0.88), rgba(11, 31, 38, 0.68), rgba(11, 31, 38, 0.18));
    --modal-header-bg: linear-gradient(135deg, rgba(23, 107, 135, 0.94), rgba(14, 78, 100, 0.98)), radial-gradient(circle at right top, rgba(242, 184, 75, 0.35), transparent 38%);
    --modal-surface-bg: #0e4e64;
    --modal-stage-bg: linear-gradient(135deg, #0e4e64, #17242a);
    --modal-header-text: #ffffff;
    --modal-border: rgba(255, 255, 255, 0.16);
    --modal-muted-text: rgba(255, 255, 255, 0.68);
    --focus-ring: rgba(23, 107, 135, 0.18);
    --font-body: "Satoshi", "Inter", "Switzer", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-heading: "General Sans", "Satoshi", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    color: var(--ink);
    font-family: var(--font-body);
    letter-spacing: 0;
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.btn,
.eyebrow,
.wizard-step,
.footer-links a {
    font-family: var(--font-heading);
}

img,
iframe,
video {
    max-width: 100%;
}

.navbar {
    min-height: 66px;
}

.navbar-brand {
    color: var(--ink);
    font-size: 1.35rem;
    font-weight: 800;
}

.brand-mark {
    align-items: center;
    background: var(--primary);
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.brand-logo {
    background: transparent;
    object-fit: contain;
}

.nav-link {
    color: var(--ink);
    font-weight: 700;
}

.btn {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    font-weight: 800;
    gap: 8px;
    justify-content: center;
    min-height: 44px;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

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

.hero-section {
    min-height: calc(100vh - 66px);
    overflow: hidden;
    position: relative;
}

.hero-media {
    background-image: url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1800&q=80");
    background-position: center;
    background-size: cover;
    inset: 0;
    position: absolute;
    transform: scale(1.02);
}

.hero-overlay {
    background: var(--hero-overlay);
    inset: 0;
    position: absolute;
}

.hero-content {
    color: #fff;
    position: relative;
    z-index: 1;
}

.hero-row {
    min-height: calc(100vh - 124px);
    padding: 96px 0 88px;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 3.8vw, 3.6rem);
    font-weight: 900;
    line-height: 1.04;
    max-width: 760px;
}

.lead {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.08rem;
    max-width: 640px;
}

.eyebrow {
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.quick-panel {
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    display: grid;
    gap: 14px;
    padding: 22px;
}

.stat-number {
    color: var(--accent);
    display: block;
    font-size: 2.35rem;
    font-weight: 900;
    line-height: 1;
}

.stat-label {
    color: rgba(255, 255, 255, 0.86);
    display: block;
    font-weight: 700;
    margin-top: 6px;
}

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

.news-ticker {
    align-items: center;
    background: var(--ink);
    bottom: 0;
    color: #fff;
    display: flex;
    left: 0;
    overflow: hidden;
    position: absolute;
    right: 0;
    z-index: 2;
}

.ticker-label {
    align-items: center;
    background: var(--primary);
    display: inline-flex;
    font-weight: 900;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    position: relative;
    z-index: 1;
}

.ticker-track {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.ticker-content {
    animation: tickerMove 28s linear infinite;
    display: inline-flex;
    gap: 34px;
    min-width: max-content;
    padding-left: 32px;
}

.ticker-content a {
    color: #fff;
    font-weight: 800;
    line-height: 46px;
    text-decoration: none;
    white-space: nowrap;
}

.ticker-content a::before {
    color: var(--accent);
    content: "•";
    margin-right: 16px;
}

.news-ticker:hover .ticker-content {
    animation-play-state: paused;
}

.ticker-content a::before {
    content: "\2022";
}

@keyframes tickerMove {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.section-heading {
    margin-bottom: 24px;
    max-width: 720px;
}

h2 {
    font-size: clamp(1.85rem, 3.2vw, 2.85rem);
    font-weight: 900;
    line-height: 1.06;
}

.service-card,
.destination-card,
.consult-form {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(23, 36, 42, 0.08);
}

.service-card {
    padding: 20px;
}

.service-icon {
    align-items: center;
    background: var(--primary-soft);
    border-radius: 8px;
    color: var(--primary);
    display: inline-flex;
    font-size: 34px;
    height: 56px;
    justify-content: center;
    margin-bottom: 20px;
    width: 56px;
}

.service-card h3,
.destination-card h3,
.process-step h3 {
    font-size: 1.18rem;
    font-weight: 900;
    margin-top: 16px;
}

.service-card p,
.destination-card p,
.process-step p,
.contact-copy {
    color: var(--muted);
}

.destination-band,
.contact-band,
.reviews-band {
    background: var(--soft);
}

.about-band {
    background: #fff;
}

.about-image {
    aspect-ratio: 4 / 3;
    background-color: #dfe7e5;
    background-position: center;
    background-size: cover;
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(23, 36, 42, 0.12);
    min-height: 320px;
}

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

.about-points {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.about-points div {
    align-items: center;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    font-weight: 900;
    gap: 10px;
    padding: 12px 14px;
}

.about-points .material-icons-outlined {
    color: var(--primary);
}

.colleges-band {
    background: #fff;
}

.gallery-band {
    background: var(--soft);
}

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

.gallery-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(23, 36, 42, 0.08);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gallery-card:hover {
    box-shadow: 0 20px 48px rgba(23, 36, 42, 0.13);
    transform: translateY(-3px);
}

.gallery-media {
    aspect-ratio: 4 / 3;
    background: #dfe7e5;
    overflow: hidden;
    position: relative;
}

.gallery-media img,
.gallery-media video,
.gallery-media iframe {
    border: 0;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.gallery-open {
    align-items: center;
    background: var(--primary);
    border: 0;
    border-radius: 8px;
    bottom: 12px;
    color: #fff;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    position: absolute;
    right: 12px;
    width: 42px;
    z-index: 2;
}

.gallery-open:hover,
.gallery-open:focus {
    background: var(--primary);
}

.gallery-body {
    padding: 16px;
}

.gallery-body h3 {
    font-size: 1rem;
    font-weight: 900;
    margin: 0 0 6px;
}

.gallery-body time {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 800;
}

.gallery-empty {
    align-items: center;
    color: var(--muted);
    display: flex;
    font-weight: 900;
    height: 100%;
    justify-content: center;
    padding: 18px;
    text-align: center;
}

.gallery-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 28px;
}

.gallery-actions .btn {
    align-items: center;
    display: inline-flex;
    gap: 8px;
}

.gallery-page-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.gallery-page-button {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    display: inline-flex;
    font-weight: 900;
    height: 42px;
    justify-content: center;
    min-width: 42px;
}

.gallery-page-button.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.gallery-modal .modal-content {
    background: var(--modal-surface-bg);
    border: 1px solid var(--modal-border);
    border-radius: 8px;
    color: var(--modal-header-text);
    overflow: hidden;
}

.gallery-modal .modal-header {
    align-items: center;
    background: var(--modal-header-bg);
    border-color: var(--modal-border);
    color: var(--modal-header-text);
    gap: 16px;
    justify-content: space-between;
    padding: 18px 22px;
}

.gallery-modal .modal-header .eyebrow {
    color: var(--accent) !important;
}

.gallery-modal .modal-header > div:first-child {
    min-width: 0;
}

.gallery-modal .modal-title {
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1.25;
    margin: 0;
}

.gallery-modal small {
    color: var(--modal-muted-text);
    font-weight: 800;
}

.gallery-modal .modal-body {
    padding: 18px;
}

.gallery-modal-tools {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    margin-left: auto;
}

.gallery-modal-tools .btn {
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    display: inline-flex;
    height: 40px;
    justify-content: center;
    padding: 0;
    width: 40px;
}

.gallery-modal-tools .btn:hover,
.gallery-modal-tools .btn:focus {
    background: #fff;
    color: var(--ink);
}

.gallery-modal-tools .btn-close {
    filter: invert(1);
    height: 40px;
    margin: 0 0 0 2px;
    opacity: 0.75;
    padding: 0;
    width: 40px;
}

.gallery-preview-stage {
    align-items: center;
    background: var(--modal-stage-bg);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    min-height: min(70vh, 620px);
    overflow: auto;
    padding: 20px;
}

.gallery-preview-stage img {
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    display: block;
    max-height: 64vh;
    max-width: 100%;
    object-fit: contain;
    transform: scale(var(--gallery-zoom, 1));
    transform-origin: center;
    transition: transform 0.18s ease;
}

.gallery-preview-stage iframe,
.gallery-preview-stage video {
    aspect-ratio: 16 / 9;
    background: #000;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    display: block;
    max-height: 64vh;
    width: min(100%, 960px);
}

.gallery-preview-stage video {
    object-fit: contain;
}

.college-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(23, 36, 42, 0.08);
    overflow: hidden;
}

.college-image {
    aspect-ratio: 16 / 10;
    background-color: #dfe7e5;
    background-position: center;
    background-size: cover;
}

.college-body {
    padding: 24px;
}

.college-rank {
    background: #fff5db;
    border-radius: 8px;
    color: #795200;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 900;
    margin-bottom: 14px;
    padding: 7px 10px;
}

.college-card h3 {
    font-size: 1.22rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.college-card p {
    color: var(--muted);
}

.college-courses {
    align-items: flex-start;
    border-top: 1px solid var(--line);
    color: var(--ink);
    display: flex;
    font-weight: 800;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
}

.college-courses .material-icons-outlined {
    color: var(--primary);
}

.review-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(23, 36, 42, 0.08);
    padding: 20px;
}

.review-stars {
    color: var(--accent);
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.review-card p {
    color: var(--muted);
    min-height: 92px;
}

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

.review-card small {
    color: var(--muted);
    font-weight: 800;
    margin-top: 4px;
}

.slider-shell {
    position: relative;
}

.content-slider {
    align-items: start;
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.media-slider-shell .content-slider {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.slider-item {
    min-width: 0;
}

.slider-btn {
    align-items: center;
    background: var(--primary);
    border: 0;
    border-radius: 50%;
    color: #fff;
    display: none;
    height: 40px;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    z-index: 3;
}

.slider-prev {
    left: -12px;
}

.slider-next {
    right: -12px;
}

.media-posts-band {
    background: #fff;
}

.media-post-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(23, 36, 42, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    padding: 18px;
}

.media-post-card.h-100 {
    height: 100% !important;
}

.media-post-head {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.media-post-head > .material-icons-outlined {
    align-items: center;
    background: var(--primary-soft);
    border-radius: 8px;
    color: var(--primary);
    display: inline-flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.media-post-head small {
    color: var(--muted);
    display: block;
    font-weight: 900;
    text-transform: uppercase;
}

.media-post-head h3 {
    font-size: 1rem;
    font-weight: 900;
    margin: 0;
}

.media-embed {
    align-items: start;
    border-radius: 8px;
    display: flex;
    flex: 1;
    height: 330px;
    justify-content: center;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.media-embed iframe,
.media-embed blockquote,
.media-embed .fb-post {
    border: 0;
    display: block;
    height: 330px !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    width: 100% !important;
}

.media-embed iframe {
    min-height: 330px;
}

.media-embed .facebook-embed-frame {
    background: #f4f7f6;
    height: 330px !important;
    min-height: 330px;
    overflow: hidden;
}

.media-link-card,
.media-empty {
    align-items: center;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    display: flex;
    font-weight: 900;
    gap: 10px;
    justify-content: center;
    min-height: 180px;
    padding: 18px;
    text-align: center;
    text-decoration: none;
}

.media-link-card:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.media-empty {
    color: var(--muted);
    font-weight: 800;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-lg-end;
}

.filter-btn {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font-weight: 800;
    min-height: 42px;
    padding: 0 16px;
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.destination-card {
    min-height: 190px;
    padding: 20px;
}

.destination-card .material-icons-outlined {
    color: var(--accent);
    font-size: 34px;
}

.destination-card small {
    color: var(--muted);
    font-weight: 700;
}

.destination-item.is-hidden {
    display: none;
}

.process-line {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, 1fr);
}

.process-step {
    border-left: 4px solid var(--primary);
    padding: 6px 20px 10px;
}

.process-step span {
    color: var(--accent);
    font-size: 1.8rem;
    font-weight: 900;
}

.contact-list p {
    align-items: center;
    display: flex;
    font-weight: 800;
    gap: 10px;
    margin-bottom: 8px;
}

.contact-list .material-icons-outlined {
    color: var(--primary);
}

.contact-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 0;
}

.contact-socials a {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    display: inline-flex;
    font-weight: 900;
    gap: 8px;
    min-height: 42px;
    padding: 0 12px;
    text-decoration: none;
}

.contact-socials a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.contact-map {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(23, 36, 42, 0.1);
    margin-top: 14px;
    overflow: hidden;
}

.contact-map iframe {
    aspect-ratio: 16 / 10;
    border: 0;
    display: block;
    min-height: 220px;
    width: 100%;
}

.registration-visual {
    aspect-ratio: 16 / 10;
    background-color: #dfe7e5;
    background-position: center;
    background-size: cover;
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(23, 36, 42, 0.12);
    margin: 18px 0;
    min-height: 200px;
    overflow: hidden;
    position: relative;
}

.registration-visual::after {
    background: linear-gradient(180deg, rgba(23, 36, 42, 0.05), rgba(23, 36, 42, 0.72));
    content: "";
    inset: 0;
    position: absolute;
}

.registration-visual-badge {
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 8px;
    bottom: 16px;
    color: var(--ink);
    display: inline-flex;
    font-weight: 900;
    gap: 8px;
    left: 16px;
    padding: 10px 12px;
    position: absolute;
    z-index: 1;
}

.consult-form {
    padding: 24px;
}

.wizard-form {
    position: relative;
}

.wizard-head {
    align-items: flex-start;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 14px;
}

.wizard-head h3 {
    font-size: 1.45rem;
    font-weight: 900;
    margin: 0 0 4px;
}

.wizard-head p {
    color: var(--muted);
    margin: 0;
}

.wizard-badge {
    background: var(--primary-soft);
    border-radius: 8px;
    color: var(--primary-dark);
    flex: 0 0 auto;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 8px 10px;
}

.wizard-badge-stack {
    align-items: flex-end;
    display: grid;
    flex: 0 0 auto;
    gap: 8px;
    justify-items: end;
}

.referral-badge {
    background: #fff5db;
    color: #795200;
}

.wizard-steps {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 16px;
}

.wizard-step {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    display: flex;
    font-weight: 900;
    gap: 8px;
    min-height: 46px;
    padding: 0 12px;
    text-align: left;
}

.wizard-step span {
    align-items: center;
    background: var(--soft);
    border-radius: 50%;
    color: var(--primary-dark);
    display: inline-flex;
    font-size: 0.85rem;
    height: 28px;
    justify-content: center;
    width: 28px;
}

.wizard-step.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.wizard-step.active span {
    background: #fff;
    color: var(--primary);
}

.wizard-panel {
    display: none;
}

.wizard-panel.active {
    display: block;
}

.wizard-note {
    align-items: center;
    background: #fff5db;
    border-radius: 8px;
    color: #795200;
    display: flex;
    font-weight: 800;
    gap: 10px;
    padding: 14px;
}

.wizard-actions {
    border-top: 1px solid var(--line);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 16px;
    padding-top: 14px;
}

.success-modal {
    border: 0;
    border-radius: 8px;
}

.success-modal .modal-body {
    padding: 34px;
}

.success-icon {
    color: var(--primary);
    font-size: 58px;
    margin-bottom: 12px;
}

.appointment-modal {
    border: 0;
    border-radius: 8px;
    overflow: hidden;
}

.appointment-modal .modal-header {
    align-items: flex-start;
    background: var(--modal-header-bg);
    border-bottom: 0;
    color: var(--modal-header-text);
    gap: 18px;
    min-height: 150px;
    padding: 30px 34px 26px;
    position: relative;
}

.appointment-modal .modal-header .eyebrow {
    color: var(--accent) !important;
}

.appointment-modal .modal-header .modal-title {
    color: var(--modal-header-text) !important;
}

.appointment-modal .btn-close {
    background-color: rgba(255, 255, 255, 0.12);
    background-size: 0.85rem;
    border-radius: 8px;
    filter: invert(1);
    height: 42px;
    margin: 0;
    opacity: 0.92;
    padding: 12px;
    position: absolute;
    right: 22px;
    top: 22px;
    width: 42px;
}

.appointment-subtitle {
    display: none;
}

.appointment-modal .modal-body {
    background:
        linear-gradient(180deg, #ffffff, #f4f7f6);
    padding: 30px 34px;
}

.appointment-modal .modal-title {
    font-size: 20px;
    line-height: 1.2;
}

.appointment-modal .form-control,
.appointment-modal .form-select {
    background: #fff;
    min-height: 54px;
}

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

.appointment-ticket-wrap {
    margin-top: 0;
}

.appointment-ticket {
    background:
        linear-gradient(180deg, #ffffff, #f4f7f6);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(23, 36, 42, 0.12);
    margin-bottom: 14px;
    padding: 22px;
    text-align: center;
}

.appointment-ticket img {
    height: 74px;
    object-fit: contain;
    width: 74px;
}

.appointment-ticket h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.7rem;
    font-weight: 900;
    margin: 4px 0 10px;
}

.appointment-ticket svg {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    margin: 0 auto 16px;
    max-width: 100%;
    padding: 8px;
}

.appointment-ticket dl {
    display: grid;
    gap: 8px 14px;
    grid-template-columns: 150px 1fr;
    margin: 0;
    text-align: left;
}

.appointment-ticket dt {
    color: var(--muted);
    font-weight: 900;
}

.appointment-ticket dd {
    font-weight: 800;
    margin: 0;
}

.wizard-form {
    position: relative;
}

.wizard-head {
    align-items: flex-start;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 18px;
}

.wizard-head h3 {
    font-size: 1.45rem;
    font-weight: 900;
    margin: 0 0 4px;
}

.wizard-head p {
    color: var(--muted);
    margin: 0;
}

.wizard-badge {
    background: var(--primary-soft);
    border-radius: 8px;
    color: var(--primary-dark);
    flex: 0 0 auto;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 8px 10px;
}

.wizard-badge-stack {
    align-items: flex-end;
    display: grid;
    flex: 0 0 auto;
    gap: 8px;
    justify-items: end;
}

.referral-badge {
    background: #fff5db;
    color: #795200;
}

.wizard-steps {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 22px;
}

.wizard-step {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    display: flex;
    font-weight: 900;
    gap: 8px;
    min-height: 46px;
    padding: 0 12px;
    text-align: left;
}

.wizard-step span {
    align-items: center;
    background: var(--soft);
    border-radius: 50%;
    color: var(--primary-dark);
    display: inline-flex;
    font-size: 0.85rem;
    height: 28px;
    justify-content: center;
    width: 28px;
}

.wizard-step.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.wizard-step.active span {
    background: #fff;
    color: var(--primary);
}

.wizard-panel {
    display: none;
}

.wizard-panel.active {
    display: block;
}

.wizard-note {
    align-items: center;
    background: #fff5db;
    border-radius: 8px;
    color: #795200;
    display: flex;
    font-weight: 800;
    gap: 10px;
    padding: 14px;
}

.wizard-actions {
    border-top: 1px solid var(--line);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 22px;
    padding-top: 18px;
}

.form-section-title {
    border-bottom: 1px solid var(--line);
    color: var(--primary-dark);
    font-size: 1rem;
    font-weight: 900;
    margin: 8px 0 4px;
    padding-bottom: 10px;
}

.form-control,
.form-select {
    border-color: var(--line);
    border-radius: 8px;
    min-height: 48px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem var(--focus-ring);
}

.text-primary {
    color: var(--primary) !important;
}

.form-status {
    color: var(--primary-dark);
    font-weight: 800;
    margin: 16px 0 0;
    min-height: 24px;
}

.site-footer {
    background: linear-gradient(180deg, #17242a, #0f1b20);
    color: rgba(255, 255, 255, 0.78);
    padding: 34px 0;
}

.footer-inner {
    align-items: center;
    display: grid;
    gap: 18px;
    grid-template-columns: 1.2fr auto;
}

.footer-brand-block {
    min-width: 0;
}

.footer-brand {
    align-items: center;
    color: #fff;
    display: inline-flex;
    font-size: 1.15rem;
    font-weight: 900;
    gap: 10px;
    margin-bottom: 10px;
    text-decoration: none;
}

.footer-brand .brand-mark {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.footer-brand .brand-logo {
    background: transparent;
}

.site-footer p,
.footer-credit {
    margin: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: flex-end;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 800;
    text-decoration: none;
}

.footer-links a:hover,
.footer-credit a:hover {
    color: #fff;
}

.footer-credit {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.68);
    font-weight: 700;
    grid-column: 1 / -1;
    padding-top: 16px;
}

.footer-credit a {
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .hero-content {
        padding-top: 0;
    }

    .hero-row {
        min-height: calc(100vh - 112px);
        padding: 88px 0 76px;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 6vw, 2.85rem);
    }

    .quick-panel {
        display: none;
    }

    .process-line {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-slider,
    .media-slider-shell .content-slider {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 575.98px) {
    html,
    body {
        max-width: 100vw;
        overflow-x: clip;
    }

    body > *,
    main {
        max-width: 100vw;
        overflow-x: clip;
    }

    .row {
        margin-left: 0;
        margin-right: 0;
    }

    .navbar,
    .hero-section,
    .section-block,
    .site-footer {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .container {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

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

    .gallery-grid {
        gap: 14px;
        grid-template-columns: 1fr;
    }

    .gallery-body {
        padding: 14px;
    }

    .gallery-actions {
        margin-top: 18px;
    }

    .gallery-actions .btn {
        justify-content: center;
        flex: 1 1 130px;
    }

    .gallery-page-buttons {
        flex: 1 1 100%;
        order: 3;
    }

    .gallery-modal .modal-dialog {
        margin: 10px;
    }

    .gallery-modal .modal-header {
        align-items: flex-start;
        padding: 14px;
    }

    .gallery-modal-tools {
        flex-wrap: nowrap;
        gap: 6px;
        margin-left: 0;
        width: auto;
    }

    .gallery-modal-tools .btn,
    .gallery-modal-tools .btn-close {
        height: 36px;
        width: 36px;
    }

    .gallery-preview-stage {
        min-height: 58vh;
        padding: 10px;
    }

    .navbar {
        min-height: 60px;
    }

    .navbar-brand {
        font-size: 0.96rem;
        min-width: 0;
        max-width: calc(100vw - 116px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .brand-mark {
        flex: 0 0 auto;
        height: 34px;
        width: 34px;
    }

    .navbar-toggler {
        border-radius: 8px;
        min-height: 44px;
        padding: 6px 10px;
        width: 54px;
    }

    .navbar-toggler-icon {
        width: 1.35em;
    }

    .hero-section {
        min-height: calc(100svh - 60px);
        width: 100vw;
    }

    .hero-media {
        transform: none;
    }

    .hero-content {
        max-width: 100%;
        overflow: hidden;
    }

    .hero-row {
        min-height: calc(100svh - 100px);
        padding: 40px 0 56px;
    }

    .hero-overlay {
        background: rgba(11, 31, 38, 0.78);
    }

    .hero-content h1 {
        font-size: 1.72rem;
        line-height: 1.12;
        max-width: 100%;
    }

    .lead {
        font-size: 0.92rem;
        line-height: 1.55;
        margin-bottom: 1rem;
    }

    .eyebrow {
        font-size: 0.68rem;
        margin-bottom: 0.55rem;
    }

    .hero-content .btn-lg {
        font-size: 0.98rem;
        min-height: 46px;
        padding: 0 16px;
        width: auto;
    }

    .hero-content .d-flex {
        gap: 10px !important;
        max-width: 100%;
    }

    .process-line {
        grid-template-columns: 1fr;
    }

    #contact .col-lg-7 {
        width: 100%;
    }

    #contact .col-lg-7 {
        padding-left: 0;
        padding-right: 0;
    }

    .consult-form {
        border-left: 0;
        border-radius: 0;
        border-right: 0;
        box-shadow: none;
        padding: 18px 14px;
        width: 100%;
    }

    .registration-visual {
        min-height: 150px;
    }

    .about-image {
        min-height: 220px;
    }

    .about-copy {
        font-size: 0.95rem;
    }

    .wizard-head {
        display: block;
    }

    .wizard-badge {
        margin-top: 12px;
    }

    .wizard-badge-stack {
        align-items: start;
        justify-items: start;
    }

    .wizard-steps {
        gap: 8px;
        grid-template-columns: repeat(3, 1fr);
    }

    .wizard-step {
        font-size: 0.82rem;
        min-height: 40px;
        min-width: 0;
        padding: 0 6px;
    }

    .wizard-step span {
        height: 24px;
        width: 24px;
    }

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

    .appointment-modal .modal-body {
        padding: 18px;
    }

    .appointment-modal .modal-header {
        min-height: 0;
        padding: 22px 18px;
    }

    .appointment-modal .btn-close {
        height: 38px;
        right: 14px;
        top: 14px;
        width: 38px;
    }

    .appointment-ticket dl {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .appointment-ticket dt {
        margin-top: 4px;
    }

    .news-ticker {
        align-items: center;
        flex-direction: row;
        max-width: 100vw;
        width: 100%;
    }

    .ticker-label {
        font-size: 0.82rem;
        min-height: 40px;
        padding: 0 9px;
        white-space: nowrap;
    }

    .ticker-label .material-icons-outlined {
        font-size: 1rem;
    }

    .ticker-content a {
        font-size: 0.82rem;
        line-height: 40px;
    }

    .ticker-content {
        gap: 22px;
        min-width: 0;
        padding-left: 14px;
        width: max-content;
    }

    .content-slider,
    .media-slider-shell .content-slider {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .content-slider::-webkit-scrollbar {
        display: none;
    }

    .slider-item,
    .media-slider-item {
        flex: 0 0 86%;
        scroll-snap-align: start;
    }

    .slider-btn {
        display: inline-flex;
        height: 34px;
        width: 34px;
    }

    .slider-prev {
        left: 4px;
    }

    .slider-next {
        right: 4px;
    }

    .media-embed {
        height: 360px;
    }

    .media-embed iframe,
    .media-embed blockquote,
    .media-embed .fb-post {
        height: 360px !important;
    }

    .media-embed iframe {
        min-height: 360px;
    }

    .media-embed .facebook-embed-frame {
        height: 360px !important;
        min-height: 360px;
    }

    .site-footer {
        padding: 28px 0;
    }

    .footer-inner {
        align-items: stretch;
        gap: 18px;
        grid-template-columns: 1fr;
    }

    .footer-brand {
        align-items: center;
        display: flex;
        flex-direction: column;
        font-size: 1rem;
        justify-content: center;
        margin: 0 auto 10px;
        max-width: 100%;
        text-align: center;
        width: 100%;
    }

    .footer-brand .brand-logo {
        height: 150px;
        margin: 0 auto;
        width: 150px;
    }

    .footer-brand-block {
        text-align: center;
    }

    .footer-brand-block p {
        font-size: 0.9rem;
        line-height: 1.5;
        text-align: center;
    }

    .footer-links {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
    }

    .footer-links a {
        align-items: center;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 8px;
        display: flex;
        font-size: 0.9rem;
        justify-content: center;
        min-height: 42px;
        padding: 0 8px;
        text-align: center;
        white-space: normal;
    }

    .footer-credit {
        font-size: 0.86rem;
        line-height: 1.55;
        padding-top: 14px;
        text-align: center;
    }
}

@media (max-width: 430px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .navbar-brand {
        font-size: 0.9rem;
        max-width: calc(100vw - 100px);
    }

    .brand-mark {
        height: 30px;
        width: 30px;
    }

    .hero-content h1 {
        font-size: 1.48rem;
    }

    .hero-content .btn-lg {
        font-size: 0.9rem;
        min-height: 42px;
        max-width: 100%;
        padding: 0 12px;
    }

    .ticker-label {
        font-size: 0;
        gap: 0;
        min-width: 42px;
        justify-content: center;
    }

    .ticker-label .material-icons-outlined {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 1.75rem;
    }

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