:root {
    --bg: #f4eee3;
    --surface: #ffffff;
    --surface-soft: #eee5d8;
    --text: #102337;
    --muted: #6f675d;
    --accent: #102337;
    --accent-soft: #f1e8d8;
    --line: #ded4c4;
    --shadow: 0 20px 55px rgba(16, 35, 55, 0.14);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Noto Sans Armenian", "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

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

.container {
    width: min(1792px, calc(100% - 128px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(244, 238, 227, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 76px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--text);
    font-weight: 800;
    text-decoration: none;
}

.brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.site-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 15px;
}

.site-menu a {
    text-decoration: none;
}

.site-menu a:hover {
    color: var(--text);
}

.language-switcher,
.footer-languages {
    display: flex;
    align-items: center;
    color: var(--muted);
}

.language-flags {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-flag {
    display: grid;
    width: 51px;
    height: 51px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    font-size: 27px;
    line-height: 1;
    text-decoration: none;
}

.language-flag.is-current {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 8px 22px rgba(16, 35, 55, 0.10);
}

.social-block {
    display: grid;
    gap: 12px;
}

.social-block strong {
    display: block;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-link {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.62);
    color: var(--accent);
    text-decoration: none;
    transition: transform 0.16s ease, background 0.16s ease;
}

.social-link:hover {
    background: #fff;
    transform: translateY(-1px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.hero {
    min-height: calc(100vh - 76px);
    padding: clamp(64px, 10vh, 150px) 0;
}

.selected-hero {
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.94fr);
    gap: clamp(48px, 7vw, 120px);
    align-items: center;
}

.hero-logo {
    width: 140px;
    height: 140px;
    margin: 0 0 30px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0;
}

.hero-copy h1,
.page-hero h1 {
    max-width: 900px;
    margin: 0 0 24px;
    color: var(--text);
    font-size: clamp(44px, 5.4vw, 94px);
    line-height: 1.08;
    letter-spacing: 0;
}

.hero-description,
.lead {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.7;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.button.primary {
    background: var(--accent);
    color: #fff;
}

.button.secondary {
    border-color: var(--accent);
    color: var(--accent);
}

.hero-image {
    overflow: hidden;
    min-height: 552px;
    margin: 0;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

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

.page-hero {
    padding: 96px 0;
    background: var(--accent-soft);
}

.section {
    padding: 84px 0;
}

.section.muted {
    background: var(--surface-soft);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading h2,
.split h2,
.cta h2,
.content-box h2,
.service-card h2,
.service-card h3 {
    margin: 0;
    line-height: 1.25;
    letter-spacing: 0;
}

.section-heading h2,
.split h2,
.cta h2 {
    font-size: clamp(30px, 3vw, 48px);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-card,
.content-box,
.faq-item,
.contact-form {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 12px 34px rgba(16, 35, 55, 0.08);
}

.service-card {
    min-height: 164px;
    padding: 24px;
}

.service-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.leaf {
    display: block;
    width: 16px;
    height: 16px;
    margin-bottom: 18px;
    border-radius: 16px 0 16px 0;
    background: var(--accent);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

.split p {
    margin: 0;
    color: var(--muted);
    font-size: 19px;
}

.cta {
    padding: 60px 0;
    background: var(--accent);
    color: #fff;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.cta .button.primary {
    background: #fff;
    color: var(--accent);
}

.page-content {
    padding: 64px 0 88px;
}

.content-box {
    padding: 30px;
}

.content-box p:first-child,
.content-box h2:first-child {
    margin-top: 0;
}

.content-box p:last-child {
    margin-bottom: 0;
}

.stack {
    display: grid;
    gap: 18px;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 28px;
}

.check-list li::before {
    position: absolute;
    left: 0;
    color: var(--accent);
    content: "";
    width: 8px;
    height: 8px;
    margin-top: 10px;
    border-radius: 50%;
    background: var(--accent);
}

.faq-item {
    padding: 20px 24px;
}

.faq-item summary {
    color: var(--text);
    cursor: pointer;
    font-weight: 800;
}

.faq-item p {
    color: var(--muted);
}

.faq-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.faq-preview-action {
    margin-top: 24px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.blog-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 12px 34px rgba(16, 35, 55, 0.08);
}

.blog-card figure {
    height: 230px;
    margin: 0;
    background: var(--accent-soft);
}

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

.blog-card-body {
    padding: 24px;
}

.blog-card time {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.blog-card h2 {
    margin: 0 0 12px;
    line-height: 1.25;
}

.blog-card p {
    margin: 0;
    color: var(--muted);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.contact-form {
    display: grid;
    gap: 16px;
    max-width: 680px;
    padding: 28px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 12px 14px;
    color: var(--text);
    font: inherit;
}

.text-link {
    display: inline-flex;
    margin-top: 14px;
    color: var(--text);
    font-weight: 800;
}

.site-footer {
    padding: 42px 0;
    background: #102337;
    color: #fff;
}

.site-footer p {
    color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 28px;
}

@media (max-width: 1100px) {
    .container {
        width: min(100% - 48px, 1120px);
    }

    .hero-grid,
    .split,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-image {
        min-height: 420px;
    }
}

@media (max-width: 920px) {
    .header-inner,
    .site-menu,
    .language-switcher,
    .social-links,
    .cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .header-inner {
        padding: 16px 0;
    }

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

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

@media (max-width: 620px) {
    .container {
        width: min(100% - 32px, 1120px);
    }

    .hero {
        min-height: auto;
        padding: 48px 0 56px;
    }

    .hero-copy h1,
    .page-hero h1 {
        font-size: 42px;
    }

    .hero-logo {
        width: 112px;
        height: 112px;
    }

    .hero-image {
        min-height: 300px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .faq-preview-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .site-menu {
        gap: 10px;
    }

    .actions {
        align-items: stretch;
        flex-direction: column;
    }
}
