:root {
    --bg: #050505;
    --bg-alt: #0a0d0a;
    --surface: rgba(16, 16, 16, 0.86);
    --surface-strong: #111111;
    --text: #f6efe6;
    --text-soft: #b2b2ac;
    --line: rgba(255, 255, 255, 0.08);
    --primary: #ff7a00;
    --secondary: #0f3d2e;
    --tertiary: #174d3b;
    --gold: #ff9c3d;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --container: 1180px;
    --transition-duration: 420ms;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: #020202;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    background:
        radial-gradient(circle at top right, rgba(255, 122, 0, 0.14), transparent 26%),
        radial-gradient(circle at top left, rgba(15, 61, 46, 0.22), transparent 30%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
    font: 500 16px/1.9 "Vazirmatn", sans-serif;
    transition: opacity var(--transition-duration) ease, transform var(--transition-duration) ease;
    overflow-x: hidden;
}

html.js body {
    opacity: 0;
    transform: translateY(14px);
}

html.js body.page-visible {
    opacity: 1;
    transform: translateY(0);
}

html.js body.is-leaving {
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

select {
    appearance: none;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 18px 0;
    backdrop-filter: blur(18px);
}

.header-bar,
.info-card,
.proof-grid article,
.content-card,
.service-panel,
.portfolio-card,
.contact-card,
.footer-bar,
.feature-list > div {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.header-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 18px;
    border-radius: 999px;
    background: rgba(10, 10, 10, 0.82);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1 1 auto;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), #ff9a3d);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 14px 32px rgba(255, 122, 0, 0.22);
}

.brand-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.brand-copy strong,
.hero h1,
.page-hero h1,
.section-heading h2,
.service-panel h2,
.content-card h2,
.portfolio-card h3,
.info-card h3,
.footer-title {
    font-weight: 900;
}

.brand-copy span {
    color: var(--text-soft);
    font-size: 0.88rem;
    overflow-wrap: anywhere;
}

.site-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.site-nav a {
    color: var(--text-soft);
    font-weight: 700;
    white-space: nowrap;
}

.site-nav a.active {
    color: var(--primary);
}

.site-nav .lang-switch {
    padding: 10px 14px;
    border: 1px solid rgba(255, 122, 0, 0.22);
    border-radius: 999px;
    background: rgba(255, 122, 0, 0.08);
    color: var(--text);
    font-size: 0.88rem;
    line-height: 1;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), #ff9a3d);
    color: #fff !important;
    box-shadow: 0 14px 34px rgba(255, 122, 0, 0.22);
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: #111111;
    cursor: pointer;
    border: 1px solid var(--line);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 5px auto;
    background: #ffffff;
}

.hero,
.section,
.page-main {
    padding: 56px 0 88px;
}

.hero-grid,
.proof-grid,
.card-grid,
.section-split,
.two-col,
.contact-grid {
    display: grid;
    gap: 24px;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.86rem;
    letter-spacing: 0.03em;
}

.hero h1,
.page-hero h1 {
    margin: 0;
    font-size: clamp(1.45rem, 3vw, 2.9rem);
    line-height: 1.45;
    letter-spacing: -0.01em;
    overflow-wrap: anywhere;
}

.hero-lead,
.page-hero p,
.section-heading p,
.content-card p,
.service-panel p,
.portfolio-card p,
.feature-list p,
.note-box {
    color: var(--text-soft);
    overflow-wrap: anywhere;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.button:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 16px 34px rgba(255, 122, 0, 0.14);
}

.button-primary {
    background: linear-gradient(135deg, var(--primary), #ff9a3d);
    color: #fff;
}

.button-secondary {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--line);
}

.button-full {
    width: 100%;
}

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

.hero-meta div,
.proof-grid article,
.feature-list > div {
    padding: 20px;
    border-radius: var(--radius-md);
}

.hero-meta strong {
    display: block;
    margin-bottom: 6px;
}

.hero-meta span {
    color: var(--text-soft);
    font-size: 0.95rem;
    overflow-wrap: anywhere;
}

.hero-visual {
    position: relative;
    padding: 6px;
    border-radius: var(--radius-xl);
    background: transparent;
    border: none;
    box-shadow:
        0 0 0 1px rgba(255, 122, 0, 0.08),
        0 28px 80px rgba(255, 122, 0, 0.16),
        0 18px 60px rgba(0, 0, 0, 0.42);
}

.hero-visual img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    object-position: center top;
    border-radius: 26px;
    box-shadow: 0 0 42px rgba(255, 122, 0, 0.14);
}

.status-card {
    position: absolute;
    display: grid;
    gap: 4px;
    max-width: 250px;
    padding: 18px;
    border-radius: 20px;
    color: #fff;
    box-shadow: 0 18px 44px rgba(86, 45, 130, 0.22);
}

.dark-card {
    left: -12px;
    bottom: 44px;
    background: rgba(15, 61, 46, 0.96);
}

.accent-card {
    right: -12px;
    top: 80px;
    background: linear-gradient(135deg, var(--primary), var(--gold));
}

.proof-strip {
    padding: 0 0 44px;
}

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

.proof-grid article span {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--primary);
    font-weight: 900;
}

.section-heading {
    margin-bottom: 30px;
}

.section-heading h2,
.service-panel h2,
.content-card h2 {
    margin: 0 0 10px;
    font-size: clamp(1.7rem, 3vw, 3rem);
    line-height: 1.35;
}

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

.info-card,
.content-card,
.service-panel,
.contact-card,
.portfolio-card {
    padding: 28px;
    border-radius: var(--radius-lg);
}

.info-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.14), rgba(15, 61, 46, 0.22));
    color: var(--primary);
    font-size: 1.5rem;
}

.section-highlight {
    padding-top: 0;
}

.section-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
}

.feature-list {
    display: grid;
    gap: 18px;
}

.feature-list strong {
    display: block;
    margin-bottom: 8px;
}

.page-hero {
    padding: 22px 0 24px;
}

.page-hero-inner {
    padding: 24px 28px;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(135deg, rgba(255, 122, 0, 0.1), rgba(15, 61, 46, 0.16)),
        rgba(12, 12, 12, 0.88);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.page-hero .eyebrow {
    margin-bottom: 8px;
    font-size: 0.8rem;
}

.page-hero p {
    font-size: 0.98rem;
    line-height: 1.85;
}

.two-col,
.contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.check-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-right: 24px;
    margin-bottom: 14px;
}

.check-list li::before {
    content: "";
    position: absolute;
    top: 12px;
    right: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.service-stack,
.portfolio-grid {
    display: grid;
    gap: 22px;
}

.service-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

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

.portfolio-card {
    display: grid;
    gap: 18px;
}

.portfolio-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center center;
    border-radius: 20px;
}

.portfolio-card img.drone-shot {
    object-position: center 38%;
}

.portfolio-card span {
    color: var(--primary);
    font-weight: 800;
}

.contact-card {
    display: grid;
    gap: 16px;
}

.contact-card label {
    display: grid;
    gap: 8px;
    font-weight: 700;
}

.contact-card input,
.contact-card textarea,
.contact-card select {
    width: 100%;
    max-width: 100%;
    padding: 15px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
}

.contact-card select,
.contact-card select option,
.project-select,
.project-select option {
    background: #000000;
    color: #ffffff;
    font-weight: 700;
}

.contact-card input:focus,
.contact-card textarea:focus,
.contact-card select:focus {
    outline: none;
    border-color: rgba(255, 122, 0, 0.4);
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.08);
}

.contact-card textarea {
    resize: vertical;
    min-height: 170px;
}

.note-box {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 122, 0, 0.12);
}

.site-footer {
    padding: 0 0 28px;
}

.footer-bar {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 28px;
    border-radius: 28px;
}

.footer-title {
    margin: 0 0 8px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links a,
.button,
.contact-card label,
.service-panel h2,
.content-card h2,
.portfolio-card h3,
.info-card h3 {
    overflow-wrap: anywhere;
}

.footer-links a {
    color: var(--text-soft);
}

body.locale-en {
    direction: ltr;
    font-family: "Poppins", sans-serif;
}

.locale-en .site-nav {
    gap: 18px;
}

.locale-en .nav-cta {
    padding-inline: 20px;
    font-size: 0.96rem;
}

.locale-en .brand-copy span,
.locale-en .hero-lead,
.locale-en .page-hero p,
.locale-en .section-heading p,
.locale-en .content-card p,
.locale-en .service-panel p,
.locale-en .portfolio-card p,
.locale-en .feature-list p,
.locale-en .note-box {
    letter-spacing: 0;
}

.locale-en .check-list li {
    padding-left: 24px;
    padding-right: 0;
}

.locale-en .check-list li::before {
    left: 0;
    right: auto;
}

.locale-en .dark-card {
    right: -12px;
    left: auto;
}

.locale-en .hero-visual img.drone-shot,
.locale-en .portfolio-card img.drone-shot {
    object-position: center 38%;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    body,
    .button {
        transition: none;
    }

    html.js body,
    html.js body.page-visible,
    html.js body.is-leaving {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1100px) {
    .hero-grid,
    .section-split,
    .two-col,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .hero h1,
    .page-hero h1 {
        max-width: none;
    }

    .hero-visual img {
        height: 520px;
    }
}

@media (max-width: 920px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 12px);
        right: 20px;
        left: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 20px;
        border-radius: 24px;
        background: rgba(14, 14, 14, 0.98);
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

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

    .site-nav .nav-cta,
    .site-nav .lang-switch {
        text-align: center;
    }

    .hero-meta,
    .proof-grid,
    .card-grid,
    .service-stack,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .status-card {
        position: static;
        max-width: none;
        margin-top: 16px;
    }

    .header-bar {
        gap: 14px;
        align-items: center;
    }

    .brand-copy strong {
        font-size: 1rem;
    }

    .button {
        width: 100%;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .page-hero-inner,
    .info-card,
    .content-card,
    .service-panel,
    .contact-card,
    .portfolio-card,
    .footer-bar {
        padding: 22px;
    }
}

@media (max-width: 680px) {
    .site-header {
        padding-top: 14px;
    }

    .header-bar {
        padding: 12px 14px;
        border-radius: 26px;
    }

    .brand-copy span {
        display: none;
    }

    .hero,
    .section,
    .page-main {
        padding: 38px 0 72px;
    }

    .container {
        width: min(calc(100% - 24px), var(--container));
    }

    .hero h1,
    .page-hero h1,
    .section-heading h2,
    .service-panel h2,
    .content-card h2 {
        font-size: clamp(1.35rem, 7vw, 2rem);
        line-height: 1.35;
    }

    .hero-visual {
        padding: 4px;
    }

    .hero-visual img {
        height: 360px;
    }

    .footer-bar {
        flex-direction: column;
    }

    .portfolio-card img {
        height: 220px;
    }

    .contact-card input,
    .contact-card textarea,
    .contact-card select {
        padding: 14px;
    }

    .page-hero-inner,
    .info-card,
    .content-card,
    .service-panel,
    .contact-card,
    .portfolio-card,
    .footer-bar {
        padding: 18px;
        border-radius: 20px;
    }
}

@media (max-width: 460px) {
    .brand {
        gap: 10px;
    }

    .brand-mark {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .header-bar {
        padding: 10px 12px;
    }

    .nav-toggle {
        width: 44px;
        height: 44px;
    }

    .hero-meta div,
    .proof-grid article,
    .feature-list > div {
        padding: 16px;
    }

    .portfolio-card img {
        height: 200px;
    }
}
