:root {
    color-scheme: light;
    --ink: #1b2030;
    --muted: #687083;
    --line: #e8eaf0;
    --surface: #fff;
    --soft: #f7f8fb;
    --pink: #f45183;
    --purple: #7136d8;
    --gradient: linear-gradient(120deg, var(--pink), var(--purple));
    font-family: Inter, "Segoe UI", Tahoma, Arial, sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; color: var(--ink); background: var(--surface); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }

.site-header { position: sticky; z-index: 10; top: 0; background: rgb(255 255 255 / 94%); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header-content { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 800; letter-spacing: -.04em; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 27px); font-size: .9rem; font-weight: 600; }
.desktop-nav > a { transition: color .2s ease; }
.desktop-nav > a:hover, .text-link:hover { color: var(--purple); }
.desktop-nav form, .mobile-nav form { margin: 0; }
.language-button { cursor: pointer; border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 8px 14px; color: var(--ink); font-size: .85rem; font-weight: 700; }
.language-button:hover { border-color: var(--purple); color: var(--purple); }
.mobile-nav { display: none; position: relative; }

.hero { position: relative; overflow: hidden; min-height: 590px; display: flex; align-items: center; background: linear-gradient(130deg, #faf9ff 0%, #fff8fa 100%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; padding-block: 84px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow, .section-kicker { margin: 0 0 14px; color: var(--purple); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { display: inline-block; border-radius: 999px; padding: 7px 13px; color: #fff; background: var(--gradient); letter-spacing: .02em; text-transform: none; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 700px; margin-bottom: 20px; font-size: clamp(2.7rem, 5vw, 4.6rem); line-height: 1.12; letter-spacing: -.055em; }
.gradient-text { color: var(--purple); background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-description { max-width: 610px; margin-bottom: 28px; color: var(--muted); font-size: 1.1rem; }
.hero-actions { display: flex; align-items: center; gap: 22px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; border: 0; border-radius: 999px; padding: 11px 22px; font-weight: 700; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--gradient); box-shadow: 0 9px 22px rgb(113 54 216 / 20%); }
.text-link { color: var(--purple); font-size: .9rem; font-weight: 700; }
.hero-art { position: relative; display: grid; min-height: 370px; place-items: center; }
.hero-logo-card { z-index: 1; display: grid; width: min(330px, 78vw); aspect-ratio: 1; place-items: center; border: 1px solid rgb(255 255 255 / 80%); border-radius: 34px; background: rgb(255 255 255 / 76%); box-shadow: 0 30px 80px rgb(41 30 80 / 12%); }
.hero-logo-card img { width: 48%; height: 48%; object-fit: contain; }
.hero-orbit { position: absolute; border-radius: 50%; filter: blur(1px); }
.orbit-one { width: 150px; height: 150px; inset-inline-start: 2%; bottom: 3%; background: rgb(244 81 131 / 13%); }
.orbit-two { width: 180px; height: 180px; inset-inline-end: 0; top: 2%; background: rgb(113 54 216 / 12%); }

.section { padding-block: 88px; }
.section-muted { background: var(--soft); }
.section-heading { max-width: 690px; margin: 0 auto 42px; text-align: center; }
.section-heading h2 { margin-bottom: 10px; font-size: clamp(2rem, 3.5vw, 2.8rem); line-height: 1.2; letter-spacing: -.04em; }
.section-heading > p:last-child { margin-bottom: 0; color: var(--muted); }
.section-kicker { margin-bottom: 8px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.content-card { min-width: 0; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgb(25 31 50 / 3%); }
.service-card, .reason-card, .partner-card { padding: 26px; }
.content-card h3 { margin-bottom: 8px; font-size: 1.1rem; line-height: 1.4; }
.content-card p { margin-bottom: 0; color: var(--muted); font-size: .93rem; }
.card-icon { display: grid; width: 44px; height: 44px; margin-bottom: 18px; place-items: center; border-radius: 13px; color: var(--purple); background: #f1ebff; font-size: 1.3rem; font-weight: 800; }
.reason-card { border-top: 2px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.reason-card:hover { border-top-color: var(--purple); box-shadow: 0 14px 32px rgb(25 31 50 / 8%); }
.empty-state { grid-column: 1 / -1; margin: 0; padding: 26px; color: var(--muted); text-align: center; }
.project-card { overflow: hidden; }
.project-image, .project-placeholder { display: block; width: 100%; height: 205px; object-fit: cover; }
.project-placeholder { display: grid; place-items: center; color: var(--purple); background: linear-gradient(135deg, #f1ebff, #fff0f5); font-size: 1.3rem; font-weight: 800; }
.project-content { padding: 22px; }
.card-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card-title-row h3 { margin-bottom: 12px; }
.status-badge { flex: 0 0 auto; border-radius: 999px; padding: 3px 9px; color: var(--purple); background: #f1ebff; font-size: .72rem; }
.project-content .text-link { display: inline-block; margin-top: 17px; }
.partner-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.partner-card { text-align: center; }
.partner-logo, .partner-monogram { display: grid; width: 100%; height: 78px; margin: 0 auto 18px; place-items: center; object-fit: contain; }
.partner-monogram { width: 78px; border-radius: 20px; color: var(--purple); background: #f1ebff; font-size: 1.8rem; font-weight: 800; }
.partner-card .text-link { display: inline-block; margin-top: 15px; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 64px; }
.contact-details { display: grid; gap: 25px; padding-top: 12px; }
.contact-details > a, .contact-details > div { display: flex; align-items: center; gap: 16px; }
.contact-details strong { font-size: 1rem; }
.contact-symbol { display: grid; flex: 0 0 46px; width: 46px; height: 46px; place-items: center; border-radius: 14px; color: var(--purple); background: #f1ebff; font-size: 1.3rem; }
.contact-form { display: grid; gap: 15px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 14px 40px rgb(25 31 50 / 5%); }
.form-field { display: grid; gap: 6px; }
.form-field label { font-size: .86rem; font-weight: 700; }
.form-field input, .form-field textarea { width: 100%; border: 1px solid #dfe2e9; border-radius: 10px; padding: 11px 13px; color: var(--ink); background: #fff; outline: none; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgb(113 54 216 / 10%); }
.form-field textarea { resize: vertical; }
.field-error { color: #b42318; font-size: .82rem; }
.form-success { margin: 0; border-radius: 10px; padding: 12px 14px; color: #17663a; background: #e9f8ef; }
.submit-button { width: 100%; margin-top: 2px; }

.site-footer { color: #fff; background: linear-gradient(120deg, #252036, #382353); }
.footer-content { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px 25px; padding-block: 30px; }
.footer-content p { margin: 0; color: rgb(255 255 255 / 75%); font-size: .85rem; }
.footer-brand { color: #fff; }
.footer-brand img { filter: brightness(0) invert(1); }

html[dir="rtl"] { font-family: Tahoma, Arial, sans-serif; }
html[dir="rtl"] h1 { letter-spacing: 0; }

@media (max-width: 900px) {
    .desktop-nav { gap: 12px; font-size: .82rem; }
    .desktop-nav .language-button { padding: 7px 10px; }
    .hero-grid { gap: 28px; }
    .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .container { width: min(100% - 36px, 560px); }
    .header-content { min-height: 66px; }
    .desktop-nav { display: none; }
    .mobile-nav { display: block; }
    .mobile-nav summary { display: grid; width: 42px; height: 42px; align-content: center; justify-items: center; gap: 5px; cursor: pointer; list-style: none; }
    .mobile-nav summary::-webkit-details-marker { display: none; }
    .mobile-nav summary span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--purple); }
    .mobile-nav nav { position: absolute; inset-block-start: calc(100% + 10px); inset-inline-end: 0; display: grid; min-width: 220px; gap: 2px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 16px 38px rgb(25 31 50 / 12%); }
    .mobile-nav nav a { border-radius: 8px; padding: 8px 10px; font-weight: 600; }
    .mobile-nav nav a:hover { background: var(--soft); }
    .mobile-nav .language-button { margin: 8px 10px 2px; }
    .hero { min-height: auto; }
    .hero-grid { grid-template-columns: 1fr; gap: 12px; padding-block: 64px 45px; }
    .hero-art { min-height: 275px; }
    .hero-logo-card { width: 245px; border-radius: 27px; }
    .section { padding-block: 65px; }
    .section-heading { margin-bottom: 30px; }
    .card-grid { grid-template-columns: 1fr; gap: 15px; }
    .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .contact-form { padding: 20px; }
    .footer-content { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
