:root {
    --primary: #213448;
    --secondary: #547792;
    --accent: #94B4C1;
    --background: #EAE0CF;
    --white: #ffffff;
    --text-dark: #1f2a33;
    --muted: #6b7280;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --fs-h1: clamp(2.75rem, 4vw, 3.5rem);
    --fs-h2: clamp(2.1rem, 3vw, 2.5rem);
    --fs-h3: 1.75rem;
    --fs-body: 1rem;
    --fs-small: 0.875rem;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 5rem;

    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 12px;

    --transition: 0.25s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    transition:
        background-color var(--transition),
        color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

html,
body {
    overflow-x: hidden;
    max-width: 100%;
    padding-top: 3.82rem;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--text-dark);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
    image-rendering: auto;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    color: var(--primary);
    margin-top: 0;
    line-height: 1.25;
    font-weight: 800;
}

h1 {
    font-size: var(--fs-h1);
}

h2 {
    font-size: var(--fs-h2);
}

h3 {
    font-size: var(--fs-h3);
}

p {
    margin-bottom: var(--space-md);
    color: var(--text-dark);
}

small,
.small,
.text-muted {
    font-size: var(--fs-small);
    color: var(--muted);
}

a {
    color: var(--secondary);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

a:hover {
    color: var(--primary);
}

button {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding-inline: var(--space-md);
    margin-inline: auto;
}

.section {
    padding: var(--space-xl) 0;
}

.section--light {
    background-color: var(--white);
}

.section--beige {
    background-color: var(--background);
}

.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-warning {
    background-color: var(--primary);
    border: 1px solid var(--white);
    color: var(--white);
    padding: 14px;
    font-weight: 600;
}

.btn-warning:hover {
    background-color: var(--secondary);
}

[id] {
    scroll-margin-top: 100px;
}

input,
textarea,
select,
.form-control,
.form-select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid var(--accent);
    font-family: var(--font-body);
    font-size: var(--fs-body);
}

input:focus,
textarea:focus,
select:focus,
.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: none;
}

.divider {
    height: 1px;
    background-color: var(--accent);
    margin: var(--space-lg) 0;
}

.card {
    background-color: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
}

.card--outlined {
    border: 1px solid var(--accent);
}

.card--cta {
    border: 1px solid var(--secondary);
}

.nav {
    background-color: var(--white);
    padding: var(--space-sm) 0;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: var(--space-md);
    margin: 0;
    padding: 0;
}

.nav a {
    font-weight: 500;
    color: var(--primary);
}

header {
    background: var(--white);
}

.logo {
    width: 180px;
}

.hero-bg {
    /* background: linear-gradient(180deg, var(--white) 0%, var(--background) 100%); */
}

.hero-bg h1 {
    font-weight: 700;
}

.hero-bg h4 {
    color: var(--secondary);
}

.trust-bar {
    text-align: center;
    font-size: 0.95rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-md);
}

.check-list {
    padding-left: 0;
}

.check-list li {
    list-style: none;
    margin-bottom: 10px;
    font-weight: 500;
}

.check-list i {
    color: var(--secondary);
    margin-right: 8px;
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--accent);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.form-card h4 {
    color: var(--primary);
    font-weight: 600;
}

.sticky-form {
    position: sticky;
    top: 24px;
}

@media (max-width: 991px) {
    .sticky-form {
        position: static;
    }
}

.cases-section {
    background: var(--primary);
}

.cases-section h2 {
    color: var(--white);
}

.case-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.case-card p {
    margin-top: 12px;
    font-weight: 600;
    color: var(--primary);
}

.case-card:hover {
    transform: translateY(-6px);
    border-color: var(--secondary);
}

.case-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 24px;
    color: var(--primary);
}

.info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 26px;
    height: 100%;
    border: 2px solid var(--primary);
}

.info-card i {
    color: var(--secondary);
}

ul {
    padding-left: 1.25rem;
}

ul li {
    margin-bottom: 0.5rem;
}

.location-indicator {
    font-size: var(--fs-small);
    color: var(--secondary);
    margin-bottom: var(--space-sm);
}

footer,
.footer {
    background: var(--primary);
    color: var(--white);
    padding: var(--space-lg) 0;
}

footer p,
.footer p {
    color: var(--white);
}

footer a,
.footer a {
    color: var(--accent);
}

footer a:hover,
.footer a:hover {
    color: var(--white);
}

.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade {
    animation: fadeUp 0.6s ease both;
}

::selection {
    background-color: var(--primary);
    color: var(--white);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto;
    }
}