/* === COLOR PALETTE === */
:root {
    --primary: #0F2B46;
    --primary-light: #163a5c;
    --accent: #2E86AB;
    --accent-hover: #247A9D;
    --accent-light: rgba(46, 134, 171, 0.08);
    --gradient: linear-gradient(135deg, #2E86AB 0%, #1B6B93 50%, #0F2B46 100%);
    --gradient-accent: linear-gradient(135deg, #2E86AB, #4ECDC4);
    --success: #28A745;
    --text-dark: #0f172a;
    --text-body: #475569;
    --text-muted: #94a3b8;
    --bg-body: #f0f1f3;
    --bg-light: #f8fafc;
    --bg-white: #FFFFFF;
    --border: #e2e8f0;
    --border-light: rgba(0,0,0,0.04);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.08);
    --shadow-xl: 0 24px 64px rgba(0,0,0,0.1);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;

    --bs-primary: #0F2B46;
    --bs-primary-rgb: 15, 43, 70;
    --bs-secondary: #2E86AB;
    --bs-secondary-rgb: 46, 134, 171;
}

/* === BASE === */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.7;
    background-color: var(--bg-body);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
    color: var(--text-dark);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: 3.25rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

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

::selection {
    background: rgba(46, 134, 171, 0.2);
}

/* === NAVBAR — glassmorphism === */
.navbar {
    background: rgba(255,255,255,0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 0.75rem 0;
    transition: all 0.3s;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.07);
    background: rgba(255,255,255,0.95) !important;
}

.navbar-brand {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    color: var(--primary) !important;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand span {
    font-size: 1.1rem;
}

.navbar .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    position: relative;
}

.navbar .nav-link:hover {
    color: var(--accent) !important;
}

.navbar .nav-link.active {
    color: var(--accent) !important;
    background-color: var(--accent-light);
}

.navbar .dropdown-menu {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    backdrop-filter: blur(20px);
    background: rgba(255,255,255,0.98);
}

.navbar .dropdown-item {
    border-radius: var(--radius-sm);
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    transition: all 0.15s;
}

.navbar .dropdown-item:hover {
    background-color: var(--accent-light);
    color: var(--accent);
}

.navbar .btn-phone {
    background: var(--gradient-accent);
    color: white !important;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s;
    box-shadow: 0 2px 12px rgba(46, 134, 171, 0.3);
}

.navbar .btn-phone:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(46, 134, 171, 0.4);
}

/* === HERO === */
.hero-section {
    background: var(--primary);
    color: white;
    padding: 45px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(46,134,171,0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(78,205,196,0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -20px); }
}

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

.hero-section h1 {
    color: white;
    font-weight: 800;
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.hero-section .lead {
    font-size: 1.25rem;
    opacity: 0.8;
    max-width: 550px;
    line-height: 1.7;
}

.hero-section .text-center .lead {
    margin-left: auto;
    margin-right: auto;
}

.hero-section .btn-light {
    background: white;
    color: var(--primary);
    font-weight: 600;
    border-radius: 50px;
    padding: 0.875rem 2.25rem;
    border: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.hero-section .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: var(--primary);
}

.hero-section .btn-outline-light {
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    padding: 0.875rem 2.25rem;
    font-weight: 600;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}

.hero-section .btn-outline-light:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.6);
}

/* === SECTIONS === */
section {
    position: relative;
}

.section-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.bg-light {
    background-color: var(--bg-white) !important;
}

/* === CARDS — modern clean style === */
.card {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    background: white;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Service card icon */
.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    color: white;
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 14px rgba(46, 134, 171, 0.25);
}

/* === BUTTONS — pill style === */
.btn {
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.btn-primary {
    background: var(--gradient-accent);
    border: none;
    box-shadow: 0 2px 10px rgba(46, 134, 171, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(46, 134, 171, 0.35);
    background: var(--gradient-accent);
}

.btn-outline-primary {
    color: var(--accent);
    border: 2px solid var(--accent);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(46, 134, 171, 0.25);
}

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

.btn-lg {
    padding: 0.875rem 2.25rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.375rem 1.25rem;
    font-size: 0.875rem;
}

/* === PAGE HEADER — light style === */
.page-header {
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 70px 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.page-header::before,
.page-header::after {
    display: none;
}

.page-header h1 {
    color: var(--text-dark);
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-size: 2.75rem;
}

.page-header p {
    color: var(--text-muted);
    opacity: 1;
    font-size: 1.15rem;
}

/* === CTA SECTION === */
.cta-section {
    background: linear-gradient(135deg, #0F2B46 0%, #0d3b5c 50%, #0a4a6b 100%);
    color: white;
    padding: 100px 0;
    border-radius: var(--radius-lg);
    margin: 0 1rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(46,134,171,0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 12s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -8%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(78,205,196,0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

.cta-section h2 {
    color: white;
    font-weight: 800;
    font-size: 2.5rem;
}

.cta-section p {
    opacity: 0.8;
    font-size: 1.15rem;
}

/* === STAR RATING === */
.star-rating .bi-star-fill {
    color: #fbbf24;
}

.star-rating .bi-star {
    color: var(--border);
}

/* === SPEC TABLE === */
.spec-table {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.spec-table th {
    background-color: var(--bg-light);
    width: 40%;
    font-weight: 600;
    color: var(--text-dark);
}

.spec-table td,
.spec-table th {
    padding: 0.875rem 1.25rem;
    border-color: var(--border);
}

/* === FOOTER === */
footer {
    background: var(--text-dark);
    color: #94a3b8;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.3;
}

footer h5 {
    color: white;
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

footer a {
    color: #94a3b8 !important;
    transition: all 0.2s;
}

footer a:hover {
    color: white !important;
}

footer .text-muted {
    color: #64748b !important;
}

footer hr {
    border-color: rgba(255,255,255,0.06);
}

footer .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: #94a3b8 !important;
    font-size: 1.1rem;
    transition: all 0.3s;
}

footer .social-link:hover {
    background: var(--gradient-accent);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 134, 171, 0.3);
}

/* === BREADCRUMBS === */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: var(--accent);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--accent-hover);
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

/* === GALLERY === */
.gallery-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--radius-md);
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 43, 70, 0);
    transition: background 0.3s;
    border-radius: var(--radius-md);
}

.gallery-item:hover::after {
    background: rgba(15, 43, 70, 0.15);
}

.gallery-item img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* === TEAM === */
.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--bg-light);
}

/* === FAQ === */
.accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: border-color 0.2s;
}

.accordion-item:has(.accordion-button:not(.collapsed)) {
    border-color: var(--accent);
}

.accordion-button {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    padding: 1.125rem 1.5rem;
    transition: all 0.2s;
}

.accordion-button:not(.collapsed) {
    background-color: var(--accent-light);
    color: var(--accent);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--border);
}

.accordion-body {
    padding: 1.25rem 1.5rem;
    color: var(--text-body);
    line-height: 1.7;
}

/* === FORMS === */
.form-control,
.form-select {
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    padding: 0.7rem 1rem;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(46, 134, 171, 0.1);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.375rem;
    font-size: 0.9rem;
}

/* === PAGINATION === */
.page-link {
    color: var(--accent);
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    margin: 0 0.125rem;
    font-weight: 500;
    transition: all 0.2s;
}

.page-link:hover {
    background-color: var(--accent-light);
    color: var(--accent);
    border-color: var(--accent);
}

.page-item.active .page-link {
    background: var(--gradient-accent);
    border-color: transparent;
}

/* === BADGES === */
.badge-category {
    background-color: var(--accent-light);
    color: var(--accent);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    display: inline-block;
}

/* === ACCENT UNDERLINE (Motorica-style) === */
.accent-underline {
    position: relative;
    display: inline;
}
.accent-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 100%;
    height: 8px;
    background: var(--accent);
    border-radius: 4px;
    opacity: 0.35;
    z-index: -1;
}

/* === STATISTICS SECTION === */
.stats-section {
    padding: 80px 0;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-family: 'Manrope', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* === UTILITIES === */
.text-accent {
    color: var(--accent);
}

.bg-accent-light {
    background-color: var(--accent-light);
}

/* === SCROLL ANIMATIONS === */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* stagger children */
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* === LIST GROUP (catalog sidebar) === */
.list-group-item {
    border-color: var(--border);
    transition: all 0.2s;
}

.list-group-item:hover {
    background: var(--bg-light);
    color: var(--accent);
}

.list-group-item.active {
    background: var(--accent);
    border-color: var(--accent);
}

/* === SCROLL PROGRESS BAR === */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-accent);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* === BACK TO TOP BUTTON === */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: white;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(46, 134, 171, 0.35);
    z-index: 1000;
}

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

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(46, 134, 171, 0.5);
}

/* === TYPEWRITER CURSOR === */
.typewriter-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--accent);
    margin-left: 4px;
    animation: blink 0.8s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* === ANIMATED GRADIENT HERO === */
.hero-section.animated-gradient {
    background: linear-gradient(-45deg, #0F2B46, #163a5c, #1B6B93, #2E86AB, #0F2B46);
    background-size: 400% 400%;
    animation: gradientShift 12s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 0%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

/* === 3D CARD TILT === */
.card-tilt {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-tilt .card {
    transform-style: preserve-3d;
    will-change: transform;
}

.card-tilt .card-body,
.card-tilt .service-icon {
    transform: translateZ(30px);
}

/* === MARQUEE / TICKER === */
.marquee-section {
    padding: 2.5rem 0;
    overflow: hidden;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.marquee-track {
    display: flex;
    gap: 3rem;
    animation: marqueeScroll 25s linear infinite;
    width: max-content;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-muted);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    background: var(--bg-body);
    transition: all 0.3s;
}

.marquee-item:hover {
    color: var(--accent);
    background: var(--accent-light);
}

.marquee-item i {
    color: var(--accent);
    font-size: 1.25rem;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* === BEFORE/AFTER SLIDER === */
.before-after-section {
    padding: 80px 0;
}

.before-after-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    max-width: 700px;
    margin: 0 auto;
    cursor: col-resize;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16/10;
    background: var(--bg-body);
}

.before-after-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}

.before-after-container .before-img {
    clip-path: inset(0 50% 0 0);
    z-index: 2;
}

.before-after-container .after-img {
    z-index: 1;
}

.before-after-slider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: white;
    z-index: 10;
    cursor: col-resize;
    transform: translateX(-50%);
}

.before-after-slider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.before-after-slider::after {
    content: '\F284\00a0\F285';
    font-family: 'bootstrap-icons';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary);
    font-size: 0.9rem;
    z-index: 1;
    letter-spacing: 6px;
}

.before-after-label {
    position: absolute;
    bottom: 1rem;
    padding: 0.375rem 1rem;
    background: rgba(0,0,0,0.6);
    color: white;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 5;
    pointer-events: none;
}

.before-after-label.label-before { left: 1rem; }
.before-after-label.label-after { right: 1rem; }

/* === ABOUT PAGE === */
.about-highlight-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-highlight-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.about-highlight-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius-sm);
    font-size: 1.3rem;
}

.about-highlight-number {
    font-family: 'Manrope', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.1;
}

.about-highlight-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* About Timeline */
.about-timeline {
    position: relative;
    padding: 2rem 0;
}

.about-timeline-line {
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent), var(--border));
    border-radius: 3px;
}

.about-timeline-item {
    position: relative;
    padding-left: 80px;
    padding-bottom: 3rem;
}

.about-timeline-item:last-child {
    padding-bottom: 0;
}

.about-timeline-dot {
    position: absolute;
    left: 12px;
    top: 0;
    width: 36px;
    height: 36px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    box-shadow: 0 3px 12px rgba(46, 134, 171, 0.3);
    z-index: 1;
}

.about-timeline-content {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s;
}

.about-timeline-content:hover {
    box-shadow: var(--shadow-md);
}

.about-timeline-date {
    display: inline-block;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--accent);
    background: var(--accent-light);
    padding: 0.25rem 0.875rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.about-timeline-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.about-timeline-content p {
    color: var(--text-body);
    margin-bottom: 0;
    line-height: 1.75;
}

/* About Summary Card */
.about-summary-card {
    text-align: center;
    background: linear-gradient(135deg, var(--primary), #163a5c);
    color: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.about-summary-card::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(46,134,171,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.about-summary-icon {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
    backdrop-filter: blur(4px);
}

.about-summary-card p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 0;
    opacity: 0.95;
}

@media (max-width: 991px) {
    .about-timeline-line { left: 20px; }
    .about-timeline-dot { left: 4px; width: 34px; height: 34px; }
    .about-timeline-item { padding-left: 64px; }
}

@media (max-width: 768px) {
    .about-timeline-line { left: 16px; }
    .about-timeline-dot { left: 0; width: 34px; height: 34px; }
    .about-timeline-item { padding-left: 56px; padding-bottom: 2rem; }
    .about-timeline-content { padding: 1.25rem; }
    .about-highlight-card { padding: 1.5rem; }
}

/* === CONTACTS PAGE === */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-light);
}

.contact-info-item:first-of-type {
    padding-top: 0;
}

.contact-info-item:last-of-type {
    border-bottom: none;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 1.15rem;
    box-shadow: 0 3px 12px rgba(46, 134, 171, 0.25);
}

.contact-info-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.contact-info-value {
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.5;
}

.contact-info-value a {
    color: var(--text-dark);
    transition: color 0.2s;
}

.contact-info-value a:hover {
    color: var(--accent);
}

.contact-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent) !important;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.contact-social-link:hover {
    background: var(--gradient-accent);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 134, 171, 0.3);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 21/9;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* === RESPONSIVE === */
@media (max-width: 991px) {
    .navbar .nav-link {
        padding: 0.625rem 1rem !important;
    }

    .navbar {
        background: rgba(255,255,255,0.97) !important;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }

    .hero-section {
        padding: 70px 0;
    }

    .hero-section h1 {
        font-size: 2.25rem;
    }

    .hero-section .lead {
        font-size: 1.05rem;
    }

    .card-img-top {
        height: 180px;
    }

    .page-header {
        padding: 45px 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .cta-section {
        margin: 0;
        border-radius: 0;
    }

    .cta-section {
        padding: 60px 0;
    }

    section.py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
}

/* ============ Top utility bar (a11y only) ============ */
.topbar {
    background: var(--primary, #0F2B46);
    padding: 6px 0;
}

/* ============ Accessibility (A11y) Version ============ */
.a11y-toggle {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    border-radius: 999px;
    padding: 4px 14px;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    line-height: 1.4;
}
.a11y-toggle:hover {
    background: var(--accent, #2E86AB);
    border-color: var(--accent, #2E86AB);
    color: #fff;
}
.a11y-toggle i { font-size: 0.95rem; }

.a11y-panel {
    position: fixed;
    top: 64px;
    right: 16px;
    width: 320px;
    max-width: calc(100vw - 32px);
    background: #fff;
    color: #222;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    z-index: 1090;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
}
.a11y-panel.is-open {
    opacity: 1;
    transform: translateY(0);
}
.a11y-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.a11y-panel__title {
    font-weight: 600;
    color: var(--primary, #0F2B46);
}
.a11y-panel__close {
    background: transparent;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: #666;
    padding: 4px 8px;
    border-radius: 6px;
}
.a11y-panel__close:hover { background: rgba(0, 0, 0, 0.06); }
.a11y-panel__body { padding: 16px 18px; }
.a11y-panel__footer { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(0, 0, 0, 0.06); }

.a11y-group { margin-bottom: 14px; }
.a11y-group__label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    margin-bottom: 6px;
}
.a11y-group__controls {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.a11y-btn {
    flex: 1;
    min-width: 50px;
    padding: 8px 10px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #f7f9fb;
    color: #222;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}
.a11y-btn:hover {
    border-color: var(--accent, #2E86AB);
    background: #fff;
}
.a11y-btn.is-active {
    background: var(--primary, #0F2B46);
    color: #fff;
    border-color: var(--primary, #0F2B46);
}

/* --- Font size modifiers --- */
html[data-a11y-font="large"] { font-size: 18px; }
html[data-a11y-font="xlarge"] { font-size: 22px; }

/* --- Letter spacing --- */
html[data-a11y-spacing="wide"] body { letter-spacing: 0.08em; word-spacing: 0.15em; }

/* --- Images off --- */
html[data-a11y-images="off"] img:not(.a11y-keep),
html[data-a11y-images="off"] picture:not(.a11y-keep),
html[data-a11y-images="off"] video,
html[data-a11y-images="off"] iframe {
    display: none !important;
}
html[data-a11y-images="off"] .hero-section,
html[data-a11y-images="off"] .page-header {
    background-image: none !important;
}

/* --- Color schemes: Black on White --- */
html[data-a11y-scheme="bw"] body,
html[data-a11y-scheme="bw"] .hero-section,
html[data-a11y-scheme="bw"] .page-header,
html[data-a11y-scheme="bw"] nav.navbar,
html[data-a11y-scheme="bw"] footer,
html[data-a11y-scheme="bw"] .card,
html[data-a11y-scheme="bw"] section {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
}
html[data-a11y-scheme="bw"] *:not(button):not(.a11y-btn):not(.a11y-panel):not(.a11y-panel *) {
    color: #000 !important;
    border-color: #000 !important;
}
html[data-a11y-scheme="bw"] a { color: #000 !important; text-decoration: underline !important; }
html[data-a11y-scheme="bw"] .btn,
html[data-a11y-scheme="bw"] .btn-primary,
html[data-a11y-scheme="bw"] .btn-phone {
    background: #fff !important;
    color: #000 !important;
    border: 2px solid #000 !important;
}

/* --- Color schemes: White on Black --- */
html[data-a11y-scheme="wb"] body,
html[data-a11y-scheme="wb"] .hero-section,
html[data-a11y-scheme="wb"] .page-header,
html[data-a11y-scheme="wb"] nav.navbar,
html[data-a11y-scheme="wb"] footer,
html[data-a11y-scheme="wb"] .card,
html[data-a11y-scheme="wb"] section {
    background: #000 !important;
    color: #fff !important;
    box-shadow: none !important;
}
html[data-a11y-scheme="wb"] *:not(button):not(.a11y-btn):not(.a11y-panel):not(.a11y-panel *) {
    color: #fff !important;
    border-color: #fff !important;
}
html[data-a11y-scheme="wb"] a { color: #fff !important; text-decoration: underline !important; }
html[data-a11y-scheme="wb"] .btn,
html[data-a11y-scheme="wb"] .btn-primary,
html[data-a11y-scheme="wb"] .btn-phone {
    background: #000 !important;
    color: #fff !important;
    border: 2px solid #fff !important;
}

/* --- Color schemes: Blue on Light Blue (for low vision) --- */
html[data-a11y-scheme="blue"] body,
html[data-a11y-scheme="blue"] .hero-section,
html[data-a11y-scheme="blue"] .page-header,
html[data-a11y-scheme="blue"] nav.navbar,
html[data-a11y-scheme="blue"] footer,
html[data-a11y-scheme="blue"] .card,
html[data-a11y-scheme="blue"] section {
    background: #9DD1FF !important;
    color: #063462 !important;
    box-shadow: none !important;
}
html[data-a11y-scheme="blue"] *:not(button):not(.a11y-btn):not(.a11y-panel):not(.a11y-panel *) {
    color: #063462 !important;
    border-color: #063462 !important;
}
html[data-a11y-scheme="blue"] a { color: #063462 !important; text-decoration: underline !important; }
html[data-a11y-scheme="blue"] .btn,
html[data-a11y-scheme="blue"] .btn-primary,
html[data-a11y-scheme="blue"] .btn-phone {
    background: #9DD1FF !important;
    color: #063462 !important;
    border: 2px solid #063462 !important;
}

/* Ensure a11y panel stays readable regardless of scheme */
html.a11y-active .a11y-panel,
html.a11y-active .a11y-panel * {
    background: initial;
    color: initial;
}
html.a11y-active .a11y-panel {
    background: #fff !important;
    color: #222 !important;
}

@media (max-width: 767px) {
    .a11y-panel {
        top: 70px;
        right: 8px;
        left: 8px;
        width: auto;
    }
    .a11y-toggle span { display: none !important; }
}

/* ============ Footer bottom ============ */
.footer-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 1.5rem 0 1.25rem;
    opacity: 1;
}
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem 1rem;
}
.footer-bottom__links { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-bottom__sep { color: rgba(255, 255, 255, 0.25); }
.footer-bottom__link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-bottom__link:hover { color: var(--accent, #2E86AB); }

/* ============ Requisites card (contacts page) ============ */
.requisites-card {
    background: #fff;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: var(--radius-md, 20px);
    padding: 2rem 2.25rem;
    box-shadow: var(--shadow-md, 0 4px 24px rgba(0,0,0,0.06));
}
.requisites-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-light, rgba(0,0,0,0.04));
}
.requisites-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--accent-light, rgba(46,134,171,0.08));
    color: var(--accent, #2E86AB);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}
.requisites-card__eyebrow {
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--text-muted, #94a3b8);
    font-weight: 600;
    margin-bottom: 0.2rem;
}
.requisites-card__title {
    font-size: 1.4rem;
    color: var(--text-dark, #0f172a);
    font-weight: 700;
    letter-spacing: -0.01em;
}
.requisites-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 2rem;
}
.requisites-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.requisites-item--wide { grid-column: 1 / -1; }
.requisites-item__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted, #94a3b8);
    font-weight: 600;
}
.requisites-item__value {
    font-size: 0.98rem;
    color: var(--text-dark, #0f172a);
    font-weight: 500;
    line-height: 1.5;
}
.requisites-item__value--mono {
    font-family: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
    letter-spacing: 0.02em;
}
@media (max-width: 767px) {
    .requisites-card { padding: 1.5rem 1.25rem; }
    .requisites-grid { grid-template-columns: 1fr; gap: 1rem; }
    .requisites-card__icon { width: 44px; height: 44px; font-size: 1.35rem; border-radius: 12px; }
    .requisites-card__title { font-size: 1.15rem; }
}

/* ============ Legal Document Styles ============ */
.legal-doc h2 {
    color: var(--primary, #0F2B46);
    font-weight: 600;
}
.legal-doc p,
.legal-doc li {
    line-height: 1.7;
    color: #444;
}
.legal-doc ul {
    padding-left: 1.4rem;
}
.legal-doc address {
    font-style: normal;
    padding: 1rem 1.25rem;
    background: #f7f9fb;
    border-left: 3px solid var(--accent, #2E86AB);
    border-radius: 6px;
    line-height: 1.9;
}

/* ============ Site Notice (required by 152-ФЗ, named to avoid adblock filters) ============ */
.site-notice {
    position: fixed !important;
    left: 16px !important;
    right: 16px !important;
    bottom: 16px !important;
    z-index: 2147483000 !important;
    background: rgba(15, 43, 70, 0.97) !important;
    color: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25) !important;
    padding: 16px 20px !important;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: block !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.site-notice[hidden] {
    display: none !important;
}

.site-notice.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.site-notice__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.site-notice__text {
    flex: 1;
    font-size: 0.92rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
}

.site-notice__link {
    color: #fff;
    text-decoration: underline;
    font-weight: 500;
}

.site-notice__link:hover {
    color: #7ec5e0;
}

.site-notice__actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.site-notice__actions .btn-primary {
    padding: 8px 20px;
    font-weight: 500;
}

@media (max-width: 767px) {
    .site-notice {
        left: 8px !important;
        right: 8px !important;
        bottom: 8px !important;
        padding: 14px 16px !important;
    }
    .site-notice__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .site-notice__text {
        font-size: 0.85rem;
    }
    .site-notice__actions {
        justify-content: flex-end;
    }
}
