:root {
    --green: #078c49;
    --green-dark: #046838;
    --orange: #ef6c1a;
    --red: #c8101e;
    --navy: #0c2340;
    --ink: #172133;
    --muted: #667085;
    --cream: #f8faf7;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(12, 35, 64, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    font-family: "Montserrat", Arial, sans-serif;
    background:
        radial-gradient(circle at 8% 10%, rgba(7, 140, 73, .10), transparent 27%),
        radial-gradient(circle at 94% 90%, rgba(239, 108, 26, .12), transparent 30%),
        #f4f7f3;
    overflow-x: hidden;
}

.page-shell {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    min-height: calc(100vh - 48px);
    margin: 24px auto;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(7, 140, 73, .10);
    border-radius: 28px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.topbar {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) 90px;
    align-items: center;
    gap: 16px;
    padding: 24px 42px 20px;
    border-bottom: 1px solid #edf0ec;
    position: relative;
}

.brand-line {
    display: flex;
    width: 120px;
    height: 50px;
    border-radius: 999px;
    overflow: hidden;
    margin-right: 6px;
}
.brand-line span { flex: 1; }
.line-green { background: var(--green); }
.line-orange { background: var(--orange); }
.line-red { background: var(--red); }

.welcome {
    margin: 0;
    text-align: center;
    font-size: clamp(.88rem, 1.6vw, 1.14rem);
    font-weight: 800;
    letter-spacing: .015em;
    color: var(--navy);
}
.welcome span {
    font-weight: 600;
}
.language-switcher {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 9px;
}
.language-switcher a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 30px;
    border: 1px solid #dce5df;
    border-radius: 7px;
    background: var(--white);
    font-size: 1.35rem;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 5px 14px rgba(12, 35, 64, .08);
    transition: transform .2s ease, box-shadow .2s ease;
}
.language-switcher a:hover,
.language-switcher a:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(12, 35, 64, .14);
}

.main-content { padding: 64px 72px 52px; }
.hero { max-width: 100%; text-align: center; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--green-dark);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .16em;
}
.eyebrow span {
    width: 34px;
    height: 2px;
    background: var(--orange);
}

h1 {
    margin: 8px auto 24px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.7rem, 6.5vw, 6rem);
    line-height: 1;
    letter-spacing: -.045em;
    color: var(--navy);
}
h1 em {
    font-style: normal;
    color: var(--green);
}

.intro {
    max-width: 720px;
    margin: 0;
    font-size: 1.03rem;
    line-height: 1.8;
    color: var(--muted);
}
.status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #eef8f2;
    color: var(--green-dark);
    font-size: .82rem;
    font-weight: 700;
}
.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(7,140,73,.45);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    70% { box-shadow: 0 0 0 9px rgba(7,140,73,0); }
    100% { box-shadow: 0 0 0 0 rgba(7,140,73,0); }
}

.branches {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 54px;
}
.branch-card {
    min-height: 220px;
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
    gap: 25px;
    padding: 24px;
    border: 1px solid #e5ebe6;
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 14px 35px rgba(12,35,64,.06);
    transition: transform .25s ease, box-shadow .25s ease;
    position: relative;
    overflow: hidden;
}
.branch-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: var(--green);
}
.branch-card.bf::before { background: var(--red); }
.branch-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(12,35,64,.11);
}
.logo-wrap {
    width: 200px;
    height: 180px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #fbfcfa;
    overflow: hidden;
}
.logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}
.branch-card.bf .logo-wrap img { padding: 4px; }
.country-label {
    display: block;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .7rem;
    font-weight: 800;
}
.bf .country-label { color: var(--red); }
.branch-info h2 {
    margin: 7px 0 18px;
    font-size: 1.25rem;
    color: var(--navy);
}
.contact-link {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--muted);
    text-decoration: none;
    font-size: .82rem;
    line-height: 1.6;
}
.contact-link:hover { color: var(--green-dark); }
.contact-link svg, .mail-button svg {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.contact-band {
    margin-top: 24px;
    padding: 28px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-radius: 20px;
    color: white;
    background: linear-gradient(125deg, var(--navy), #153c67);
}
.small-title {
    display: block;
    margin-bottom: 7px;
    color: #a9d8bf;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .68rem;
    font-weight: 800;
}
.contact-band p {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 600;
}
.mail-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 18px;
    border-radius: 12px;
    background: var(--white);
    color: var(--navy);
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.mail-button:hover { background: #f0f5f2; }

footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 42px;
    border-top: 1px solid #edf0ec;
    color: #7a8493;
    font-size: .72rem;
}
footer p { margin: 0; }

.decor {
    position: fixed;
    z-index: 1;
    border-radius: 50%;
    filter: blur(4px);
    pointer-events: none;
}
.decor-one {
    width: 230px; height: 230px;
    left: -100px; top: 40%;
    background: rgba(7,140,73,.08);
}
.decor-two {
    width: 300px; height: 300px;
    right: -150px; bottom: -80px;
    background: rgba(239,108,26,.09);
}

@media (max-width: 900px) {
    .main-content { padding: 52px 34px 40px; }
    .branches { grid-template-columns: 1fr; }
    .branch-card { grid-template-columns: 155px 1fr; }
    .logo-wrap { width: 155px; height: 145px; }
}

@media (max-width: 640px) {
    .page-shell { width: calc(100% - 18px); margin: 9px auto; border-radius: 20px; }
    .topbar {
        grid-template-columns: 1fr auto;
        padding: 18px 20px;
    }
    .brand-line { display: none; }
    .welcome { text-align: left; font-size: .83rem; }
    .language-switcher { gap: 6px; }
    .language-switcher a { width: 32px; height: 28px; font-size: 1.18rem; }
    .main-content { padding: 40px 20px 30px; }
    h1 { font-size: clamp(3.1rem, 17vw, 5.2rem); }
    .intro { font-size: .94rem; }
    .branches { margin-top: 38px; }
    .branch-card { grid-template-columns: 1fr; text-align: center; padding: 22px 18px; }
    .logo-wrap { width: 190px; height: 160px; margin: 0 auto; }
    .contact-link { justify-content: center; }
    .contact-band { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
    .mail-button { width: 100%; justify-content: center; }
    footer { padding: 20px; flex-direction: column; text-align: center; }
}
