/* ==========================================================================
   SMF — Core Stylesheet
   Colors match the SMF logo (blue / orange / green)
   ========================================================================== */

:root {
    --primary-color: #1768A8;
    --primary-dark: #082A4A;
    --primary-light: #e8f1f9;
    --secondary-color: #082A4A;
    --accent-color: #F58220;
    --accent-dark: #d6690f;
    --green: #45B454;
    --green-light: #eaf7ec;
    --white: #FFFFFF;
    --light-bg: #F5F8FC;
    --text-color: #172333;
    --muted: #657386;
    --border: #E2E8F0;

    --font-heading: 'Sora', 'Manrope', system-ui, sans-serif;
    --font-body: 'Manrope', system-ui, -apple-system, sans-serif;

    --container-w: 1240px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 2px 10px rgba(8, 42, 74, 0.06);
    --shadow-md: 0 10px 30px rgba(8, 42, 74, 0.10);
    --shadow-lg: 0 24px 60px rgba(8, 42, 74, 0.16);
    --header-h: 96px;
}

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

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
    margin: 0;
}

ul {
    padding: 0;
    list-style: none;
}

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

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

button {
    font: inherit;
    cursor: pointer;
    background: none;
    border: none;
    color: inherit;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
}

h3 {
    font-size: clamp(1.15rem, 2vw, 1.4rem);
}

p {
    color: var(--muted);
}

.container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--primary-dark);
    color: #fff;
    padding: 12px 18px;
    z-index: 999;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    left: 0;
}

:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

section {
    padding: clamp(56px, 8vw, 96px) 0;
}

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

.section--dark {
    background: var(--primary-dark);
    color: #fff;
}

.section--dark h2,
.section--dark h3 {
    color: #fff;
}

.section--dark p {
    color: #cdd9e6;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 12px;
}

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

.section-head p {
    font-size: 1.05rem;
    margin-top: 14px;
}

.section-head--left {
    text-align: left;
    margin-left: 0;
}

/* ---------------------------------- Buttons ---------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
    white-space: nowrap;
    border: 2px solid transparent;
}

.btn--primary {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 8px 20px rgba(245, 130, 32, 0.28);
}

.btn--primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(245, 130, 32, 0.36);
}

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

.btn--secondary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

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

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

.btn--outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}

.btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

.btn--block {
    width: 100%;
}

.btn--sm {
    padding: 10px 18px;
    font-size: 0.85rem;
}

.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.link-arrow svg {
    transition: transform .18s ease;
}

.link-arrow:hover svg {
    transform: translateX(4px);
}

/* ---------------------------------- Top bar ---------------------------------- */
.topbar {
    background: var(--primary-dark);
    color: #cfe0ee;
    font-size: 0.85rem;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    gap: 16px;
}

.topbar__contact {
    display: flex;
    gap: 22px;
}

.topbar__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #cfe0ee;
    transition: color .15s;
}

.topbar__link:hover {
    color: var(--accent-color);
}

.topbar__note {
    color: #9fb6cb;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------------------------------- Header ---------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 300;
    background: #fff;
    border-bottom: 1px solid var(--border);
    transition: box-shadow .2s ease;
}

.site-header.is-scrolled {
    box-shadow: var(--shadow-md);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 20px;
}

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

.brand__logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand__name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--primary-dark);
}

.brand__tagline {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    font-weight: 700;
    color: var(--accent-color);
}

.main-nav__list {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    color: var(--text-color);
    transition: color .15s, background .15s;
}

.main-nav__link:hover,
.main-nav__link.active {
    color: var(--primary-color);
    background: var(--primary-light);
}

.chevron {
    transition: transform .2s ease;
}

.has-dropdown {
    position: relative;
}

.has-dropdown:hover .chevron,
.has-dropdown.open .chevron {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 240px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    border: 1px solid var(--border);
}

.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
}

.dropdown li a:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------------------------------- Mobile nav ---------------------------------- */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 88vw);
    height: 100vh;
    background: #fff;
    z-index: 500;
    transform: translateX(100%);
    transition: transform .28s ease;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    padding: 18px;
}

.mobile-nav.is-open {
    transform: translateX(0);
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 42, 74, 0.5);
    z-index: 400;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.mobile-nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.mobile-nav__close {
    font-size: 1.8rem;
    line-height: 1;
    color: var(--primary-dark);
}

.mobile-nav__list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.mobile-nav__list>li>a {
    display: block;
    padding: 14px 8px;
    font-weight: 700;
    font-family: var(--font-heading);
    border-bottom: 1px solid var(--border);
}

.mobile-nav__group-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 14px 8px;
    font-weight: 700;
    font-family: var(--font-heading);
    border-bottom: 1px solid var(--border);
}

.mobile-nav__group-toggle svg {
    transition: transform .2s ease;
}

.mobile-nav__group.open .mobile-nav__group-toggle svg {
    transform: rotate(180deg);
}

.mobile-nav__submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
    padding-left: 12px;
}

.mobile-nav__group.open .mobile-nav__submenu {
    max-height: 400px;
}

.mobile-nav__submenu li a {
    display: block;
    padding: 10px 8px;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.92rem;
}

.mobile-nav__cta {
    margin-top: 16px;
}

/* ---------------------------------- Hero Slider ---------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--primary-light) 0%, #fff 100%);
}

.hero-slider {
    position: relative;
}

.hero-slide {
    display: none;
    align-items: center;
    gap: 48px;
    padding: 56px 0 40px;
}

.hero-slide.is-active {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
}

.hero-slide__content .eyebrow {
    color: var(--accent-color);
}

.hero-slide__content h1 {
    margin-bottom: 18px;
}

.hero-slide__content p {
    font-size: 1.1rem;
    max-width: 520px;
    margin-bottom: 30px;
}

.hero-slide__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-slide__visual {
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--primary-color);
}

.hero-slide__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 8px;
    pointer-events: none;
    z-index: 5;
}

.hero-arrow {
    pointer-events: all;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    transition: background .15s, color .15s;
}

.hero-arrow:hover {
    background: var(--accent-color);
    color: #fff;
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-bottom: 28px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    transition: background .2s, width .2s;
}

.hero-dot.is-active {
    background: var(--accent-color);
    width: 26px;
    border-radius: 6px;
}

/* ---------------------------------- Trust stats ---------------------------------- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.stat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 18px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-card__value {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.9rem;
    color: var(--primary-color);
    display: block;
}

.stat-card__label {
    font-weight: 600;
    color: var(--muted);
    font-size: 0.92rem;
    margin-top: 4px;
}

/* ---------------------------------- Two-column ---------------------------------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.split__visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.split__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checklist li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--text-color);
}

.checklist li svg {
    flex-shrink: 0;
    color: var(--green);
    margin-top: 3px;
}

/* ---------------------------------- Cards grid ---------------------------------- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

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

.cards-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.cards-grid--6 {
    grid-template-columns: repeat(3, 1fr);
}

.loan-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    box-shadow: var(--shadow-sm);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.loan-card__icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 18px;
}

.loan-card h3 {
    margin-bottom: 10px;
}

.loan-card p {
    flex: 1;
    margin-bottom: 18px;
}

.loan-card__benefits {
    margin-bottom: 20px;
}

.loan-card__benefits li {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    gap: 8px;
    margin-bottom: 6px;
}

.loan-card__benefits li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-color);
    margin-top: 8px;
    flex-shrink: 0;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 26px 22px;
    transition: transform .2s ease, box-shadow .2s ease;
}

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

.feature-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--green-light);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.92rem;
}

/* ---------------------------------- Timeline / process ---------------------------------- */
.timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 26px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.timeline-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.timeline-step__num {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.1rem;
    box-shadow: 0 8px 20px rgba(23, 104, 168, 0.32);
}

.timeline-step h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.timeline-step p {
    font-size: 0.86rem;
}

/* ---------------------------------- Branches ---------------------------------- */
.branch-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.branch-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
    text-align: center;
}

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

.branch-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.branch-card h3 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.branch-card__region {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 14px;
}

.branch-card__actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------------------------------- Benefit blocks ---------------------------------- */
.benefit-blocks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.benefit-block {
    text-align: center;
    padding: 26px 16px;
}

.benefit-block__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--accent-color);
}

.benefit-block h3 {
    font-size: 1rem;
}

/* ---------------------------------- FAQ ---------------------------------- */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-align: left;
    color: var(--primary-dark);
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform .22s ease;
    color: var(--accent-color);
}

.faq-item.is-open .faq-question svg {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease;
}

.faq-answer__inner {
    padding: 0 24px 20px;
    color: var(--muted);
}

/* ---------------------------------- Final CTA ---------------------------------- */
.final-cta {
    background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: #fff;
    text-align: center;
    border-radius: var(--radius-lg);
    padding: clamp(40px, 6vw, 72px);
    position: relative;
    overflow: hidden;
}

.final-cta h2 {
    color: #fff;
}

.final-cta p {
    color: #d7e6f3;
    max-width: 560px;
    margin: 14px auto 30px;
    font-size: 1.05rem;
}

.final-cta__actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ---------------------------------- Breadcrumbs ---------------------------------- */
.breadcrumb-bar {
    background: var(--light-bg);
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.breadcrumbs__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 0.88rem;
}

.breadcrumbs__item a {
    color: var(--primary-color);
    font-weight: 600;
}

.breadcrumbs__sep {
    margin: 0 8px;
    color: var(--muted);
}

.breadcrumbs__item span[aria-current] {
    color: var(--muted);
    font-weight: 600;
}

/* ---------------------------------- Page hero (inner pages) ---------------------------------- */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: #fff;
    padding: 64px 0;
    text-align: center;
}

.page-hero h1 {
    color: #fff;
    margin-bottom: 12px;
}

.page-hero p {
    color: #d7e6f3;
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.page-hero__actions {
    margin-top: 26px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ---------------------------------- Prose / content blocks ---------------------------------- */
.prose h2 {
    margin-bottom: 14px;
}

.prose h3 {
    margin: 26px 0 10px;
}

.prose p {
    margin-bottom: 14px;
}

.prose ul {
    margin: 10px 0 18px;
}

.prose ul li {
    padding-left: 22px;
    position: relative;
    margin-bottom: 8px;
    color: var(--muted);
}

.prose ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-color);
}

.note-box {
    background: var(--primary-light);
    border-left: 4px solid var(--primary-color);
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 0.92rem;
    color: var(--primary-dark);
    margin: 18px 0;
}

.note-box--warning {
    background: #fff4e8;
    border-left-color: var(--accent-color);
    color: #7a4406;
}

/* ---------------------------------- Values / mission-vision ---------------------------------- */
.mv-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.mv-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: var(--shadow-sm);
}

.mv-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--green-light);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

/* ---------------------------------- Job cards ---------------------------------- */
.job-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 26px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.job-card__meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 6px;
}

.job-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.job-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}

/* ---------------------------------- Forms ---------------------------------- */
.form-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: clamp(24px, 4vw, 40px);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

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

.form-label {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--primary-dark);
}

.form-label .req {
    color: var(--accent-color);
}

.form-input,
.form-select,
.form-textarea {
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(23, 104, 168, 0.12);
    outline: none;
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
    border-color: #d64545;
}

.form-error {
    font-size: 0.8rem;
    color: #d64545;
    min-height: 16px;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--muted);
}

.form-check input {
    margin-top: 4px;
}

.form-note {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 6px;
}

.form-status {
    padding: 14px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 18px;
}

.form-status.is-success {
    background: var(--green-light);
    color: #1f6d2c;
    border: 1px solid #b8e3bd;
}

.form-status.is-error {
    background: #fde8e8;
    color: #a52020;
    border: 1px solid #f5c2c2;
}

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

.contact-info-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 26px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.contact-info-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.map-frame {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.map-frame iframe {
    width: 100%;
    height: 340px;
    border: 0;
    display: block;
}

/* ---------------------------------- Steps checklist (documents) ---------------------------------- */
.doc-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.doc-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--light-bg);
    border-radius: 10px;
    padding: 14px 16px;
    font-weight: 600;
    font-size: 0.9rem;
}

.doc-checklist li svg {
    color: var(--green);
    flex-shrink: 0;
}

/* ---------------------------------- 404 / 500 ---------------------------------- */
.error-page {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
}

.error-page__code {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 14vw, 8rem);
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
}

.error-page h1 {
    margin: 6px 0 14px;
}

.error-page__actions {
    display: flex;
    gap: 14px;
    margin-top: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ---------------------------------- Footer ---------------------------------- */
.site-footer {
    background: var(--primary-dark);
    color: #cfe0ee;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 64px 0 40px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer__logo img {
    width: 52px;
    height: 52px;
}

.footer__logo strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #fff;
}

.footer__logo em {
    font-style: normal;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: var(--accent-color);
    font-weight: 700;
}

.footer__desc {
    font-size: 0.9rem;
    color: #9fb6cb;
    margin-bottom: 20px;
    max-width: 320px;
}

.footer__social {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cfe0ee;
    transition: background .15s, color .15s;
}

.social-icon:hover {
    background: var(--accent-color);
    color: #fff;
}

.footer__heading {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 18px;
    letter-spacing: 0.03em;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer__links a {
    font-size: 0.9rem;
    color: #9fb6cb;
    transition: color .15s;
}

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

.footer__links--branches li {
    font-size: 0.9rem;
    color: #9fb6cb;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.82rem;
    color: #8ba4bb;
}

.footer__legal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

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

/* ---------------------------------- Floating buttons ---------------------------------- */
.fab-stack {
    position: fixed;
    right: 22px;
    bottom: 26px;
    z-index: 250;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fab {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: transform .18s ease;
}

.fab:hover {
    transform: scale(1.08);
}

.fab--whatsapp {
    background: #25D366;
    color: #fff;
}

.fab--call {
    background: var(--primary-color);
    color: #fff;
}

.fab--top {
    background: #fff;
    color: var(--primary-dark);
    border: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

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

/* ---------------------------------- Utilities ---------------------------------- */
.text-center {
    text-align: center;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-child(2) {
    transition-delay: 0.06s;
}

.reveal:nth-child(3) {
    transition-delay: 0.12s;
}

.reveal:nth-child(4) {
    transition-delay: 0.18s;
}

.reveal:nth-child(5) {
    transition-delay: 0.24s;
}

.reveal:nth-child(6) {
    transition-delay: 0.3s;
}

/* ---------------------------------- Animations ---------------------------------- */
@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

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

.hero-slide.is-active .hero-slide__content>* {
    animation: fadeSlideIn 0.6s ease both;
}

.hero-slide.is-active .hero-slide__content .eyebrow {
    animation-delay: 0.02s;
}

.hero-slide.is-active .hero-slide__content h1 {
    animation-delay: 0.08s;
}

.hero-slide.is-active .hero-slide__content p {
    animation-delay: 0.14s;
}

.hero-slide.is-active .hero-slide__content .hero-slide__actions {
    animation-delay: 0.2s;
}

.hero-slide.is-active .hero-slide__visual {
    animation: fadeSlideIn 0.7s ease both;
    animation-delay: 0.1s;
}

@media (prefers-reduced-motion: reduce) {

    .hero-slide.is-active .hero-slide__content>*,
    .hero-slide.is-active .hero-slide__visual {
        animation: none;
    }
}