:root {
    --ink: #1E2D3D;
    --ink-soft: #4B6280;
    --paper: #F8FAFF;
    --card: #FFFFFF;
    --line: #DDE8F8;
    --pine: #1557B0;
    --pine-deep: #0D2F57;
    --gold: #0D9488;
    --gold-soft: #5EEAD4;
    --clay: #4F46E5;


    --font-display: "Fraunces", Georgia, serif;
    --font-body: "IBM Plex Sans", Arial, sans-serif;
    --font-mono: "IBM Plex Mono", "Courier New", monospace;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

/* ---------- Header ---------- */

.header {
    position: relative;
    background: linear-gradient(135deg, #f0f6ff 0%, #e8f0fe 40%, #f0f9f4 100%);
    color: var(--pine);
    text-align: center;
    padding: 3rem 1.5rem 2.5rem;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    bottom: -80px;
    left: -80px;
    background-repeat: repeat;
    background-size: 160px 160px;
    pointer-events: none;
    z-index: 0;
}

.header-glow {
    position: absolute;
    inset: -40% -10% auto -10%;
    height: 70%;
    background: radial-gradient(ellipse at top, rgba(13, 148, 136, 0.32), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.header .container {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--pine);
    margin-bottom: 1.75rem;
}

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

.brand-name {
    font-family: var(--font-mono);
    letter-spacing: 0.14em;
    font-size: 0.85rem;
    text-transform: uppercase;
    text-align: start;
}

.header h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.9rem, 4.2vw, 2.75rem);
    line-height: 1.18;
    margin: 0 auto;
    max-width: 620px;
    letter-spacing: -0.01em;
    text-wrap: balance;
}
.header-signature {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.25rem;
    color: var(--pine);
    opacity: 0.75;
}

.header-signature svg {
    width: 22px;
    height: 22px;
}

.header-signature span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.subtitle {
    font-family: var(--font-body);
    font-size: 1.4rem;
    margin: 0.8rem 0 0;
}

.pulse-divider {
    width: 100%;
    max-width: 420px;
    height: 20px;
    color: var(--pine);
    margin: 2rem auto 1.75rem;
    display: block;
}

.lang-switch {
    margin-bottom: 1.75rem;
}

.lang-switch h2 {
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--pine);
    margin: 1.5rem 0 0.9rem;
}

.btn-group {
    display: inline-flex;
    justify-content: center;
    gap: 4px;
    border-radius: 999px;
    padding: 5px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 156px;
    padding: 0.65rem 1.8rem;
    background: var(--card);
    border: none;
    color: var(--pine);
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    border-radius: 999px;
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--pine-deep) 30%, transparent);

}

.btn:hover {
    background: var(--pine);
    color: var(--card);
    box-shadow: 0 8px 20px var(--pine);
}

.preheader {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(244, 246, 242, 0.15);
}

.preheader-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem 1.75rem;
}

.preheader-numbers p {
    margin: 0;
}

.preheader-numbers p a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--pine);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 1rem;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
}

.preheader-numbers p a:hover {
    color: var(--gold-soft);
}

.preheader-numbers p a img {
    width: 18px;
    filter: brightness(0) saturate(100%) invert(25%) sepia(91%) saturate(2035%) hue-rotate(204deg) brightness(92%) contrast(91%);
}

/* ---------- Main ---------- */

main {
    padding: 0 1.5rem;
    max-width: 900px;
    margin: auto;
}

section {
    margin: 4rem 0;
}

h2 {
    text-align: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 2rem;
    color: var(--pine-deep);
    margin: 0 0 2.25rem;
}

/* Services Cards */

.services-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.service-card {
    width: 260px;
    flex: 1 1 240px;
    max-width: 280px;
    background: var(--card);
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: 0 1px 2px rgba(22, 33, 30, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px rgba(14, 38, 34, 0.1);
    border-color: var(--gold-soft);
}

.service-card__image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.service-card__title {
    padding: 1.5rem 1.25rem;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--pine-deep);
    text-align: center;
    line-height: 1.4;
}

/* Services/Advantages - icons style */

.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.services div {
    text-align: center;
    width: 260px;
    flex: 1 1 240px;
    max-width: 280px;
    background: var(--card);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: 0 1px 2px rgba(22, 33, 30, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.services div:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px rgba(14, 38, 34, 0.1);
    border-color: var(--gold-soft);
}

.icon-ring {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #E8F0FE;
    color: var(--pine);
    margin-bottom: 1.1rem;
}

.services div svg.image {
    width: 30px;
    height: 30px;
}

.services div span {
    font-size: 1.02rem;
    color: var(--ink);
    font-weight: 500;
    line-height: 1.4;
}

/* Advantages */

.advantages-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.advantage-item {
    background: var(--card);
    padding: 1.75rem 1.25rem;
    border-radius: 16px;
    border: 1px solid var(--line);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.advantage-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px rgba(14, 38, 34, 0.1);
    border-color: var(--gold-soft);
}

.advantage-icon {
    width: 40px;
    height: 40px;
    color: var(--clay);
}

.advantage-item span {
    font-size: 0.98rem;
    color: var(--ink);
    font-weight: 500;
    line-height: 1.35;
}

.advantage-stat {
    background: var(--pine);
    border-color: var(--pine);
}

.advantage-item .stat-number {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 2.75rem;
    line-height: 1;
    color: var(--gold-soft);
}

.advantage-item .stat-percent {
    font-size: 1.6rem;
    color: var(--gold-soft);
}

.advantage-stat span:last-child {
    color: #DCE6F7;
}

/* ---------- Footer ---------- */

footer {
    background: var(--pine-deep);
    color: #9FB4D9;
    text-align: center;
    padding: 1.5rem;
    font-size: 0.85rem;
    font-family: var(--font-mono);
    margin-top: 5rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
    .advantages-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .header {
        padding: 1rem 1rem 2rem;
        min-height: 100dvh;
        height: 100dvh;
        overflow:hidden;
        display: flex;
        align-items: stretch;
        justify-content: center;
        box-sizing: border-box;
    }
    .header .container {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .preheader {
         margin-top: auto;
    }
    .service-card {
        width: 100%;
        max-width: none;
        transition: none;
    }
    .service-card:hover {
        transform: none;
        box-shadow: 0 1px 2px rgba(22, 33, 30, 0.04);
        border-color: var(--line);
    }
    .services div {
        width: 100%;
        max-width: none;
        transition: none;
    }
    .advantages-list {
        grid-template-columns: 1fr;
    }
    .advantage-item {
        transition: none;
    }
    .btn {
        transition: none;
    }
    .preheader-numbers p a {
        transition: none;
    }
    .preheader-numbers {
        flex-direction: column;
        gap: 0.6rem;
    }

    .btn:hover {
        background: var(--card);
        color: var(--pine);
        box-shadow: 0 4px 12px color-mix(in srgb, var(--pine-deep) 30%, transparent);
    }

    .preheader-numbers p a:hover {
        color: var(--pine);
    }

    .services div:hover {
        transform: none;
        box-shadow: 0 1px 2px rgba(22, 33, 30, 0.04);
        border-color: var(--line);
    }

    .advantage-item:hover {
        transform: none;
        box-shadow: none;
        border-color: var(--line);
    }
}

/* ---------- Accessibility ---------- */

a:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}