/* Reset ساده */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #050814;
    color: #f7f7f7;
    line-height: 1.8;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    display: block;
}

/* لایه کلی صفحه */
.page-wrapper {
    min-height: 100vh;
    background: radial-gradient(circle at top, #1b2545 0, #050814 55%, #02030a 100%);
}

/* عرض ثابت محتوا */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* هدر و منو */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: rgba(5, 8, 20, 0.92);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .8rem 0;
}
.brand-group {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: radial-gradient(circle at 20% 20%, #ffd58a, #b97724 55%, #3b2208 100%);
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 999px;
    background:#fff;
}
.brand-text {
    display: flex;
    flex-direction: column;
    gap: .1rem;
}
.brand-text-main {
    font-weight: 700;
    font-size: 1rem;
}
.brand-text-sub {
    font-size: .8rem;
    opacity: .8;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: .8rem;
    font-size: .9rem;
}
.nav-links a {
    padding: .4rem .8rem;
    border-radius: 999px;
    transition: background .2s, color .2s;
}
.nav-links a:hover {
    background: rgba(255,255,255,.08);
}
.nav-links .nav-cta {
    background: linear-gradient(135deg,#ffb347,#ff7b54);
    color:#141414;
    font-weight:600;
}

/* هدر کوچک تماس */
.top-contact {
    font-size: .75rem;
    opacity: .85;
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .75rem;
}

/* سکشن هرو مشترک */
.hero {
    padding: 2.5rem 0 3.5rem;
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}
.hero-copy h1 {
    font-size: 2rem;
    margin-bottom: .75rem;
}
.hero-copy h1 span {
    color: #ffb347;
}
.hero-copy p {
    font-size: .95rem;
    opacity: .9;
    margin-bottom: 1.5rem;
}
.hero-tags {
    display:flex;
    flex-wrap:wrap;
    gap:.5rem;
    margin-bottom:1.8rem;
}
.tag-pill{
    border-radius:999px;
    border:1px solid rgba(255,255,255,.18);
    padding:.25rem .7rem;
    font-size:.8rem;
    opacity:.9;
}
.hero-actions {
    display:flex;
    flex-wrap:wrap;
    gap:.75rem;
}
.btn-primary, .btn-outline {
    padding:.75rem 1.4rem;
    border-radius:999px;
    font-size:.9rem;
    border:none;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    gap:.4rem;
}
.btn-primary {
    background: linear-gradient(135deg,#ffb347,#ff7b54);
    color:#141414;
    font-weight:600;
}
.btn-outline {
    background:transparent;
    border:1px solid rgba(255,255,255,.25);
    color:#f7f7f7;
}

/* باکس عکس هدر */
.hero-media {
    border-radius: 1.5rem;
    position: relative;
    overflow:hidden;
    box-shadow: 0 22px 60px rgba(0,0,0,.75);
    min-height: 260px;
}
.hero-media::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(to top, rgba(0,0,0,.55), transparent 40%);
    z-index:1;
}
.hero-media img{
    height:100%;
    width:100%;
    object-fit:cover;
    transform:scale(1.03);
}
.hero-badge {
    position:absolute;
    left:1rem;
    bottom:1rem;
    z-index:2;
    padding:.5rem .9rem;
    border-radius:1rem;
    background:rgba(5,8,20,.84);
    border:1px solid rgba(255,255,255,.12);
    font-size:.8rem;
    display:flex;
    flex-direction:column;
    gap:.15rem;
}
.hero-badge strong {
    color:#ffb347;
}

/* سکشن‌های عمومی */
.section {
    padding: 0 0 3rem;
}
.section + .section {
    border-top:1px solid rgba(255,255,255,.04);
}
.section-header {
    margin-bottom: 1.75rem;
}
.section-title {
    font-size: 1.2rem;
    margin-bottom: .3rem;
}
.section-subtitle {
    font-size: .85rem;
    opacity:.8;
}

/* شبکه کارت‌ها */
.grid-2 {
    display:grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap:1.5rem;
}
.card {
    border-radius: 1.1rem;
    background: rgba(9,13,30,0.92);
    border:1px solid rgba(255,255,255,.05);
    padding:1.2rem 1.3rem;
}
.card h3 {
    font-size:1rem;
    margin-bottom:.5rem;
}
.card p {
    font-size:.85rem;
    opacity:.9;
}

/* گالری */
.gallery-grid {
    display:grid;
    grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
    gap: .75rem;
}
.gallery-grid img {
    border-radius:.9rem;
    height:140px;
    width:100%;
    object-fit:cover;
}

/* باکس تماس / فوتر */
.contact-box {
    border-radius: 1.1rem;
    background: rgba(9,13,30,0.95);
    border:1px solid rgba(255,255,255,.08);
    padding:1.3rem 1.4rem;
    margin-bottom: 1.5rem;
    font-size:.85rem;
}
.contact-box strong {
    color:#ffb347;
}
.contact-row {
    display:flex;
    flex-direction:column;
    gap:.25rem;
    margin-top:.5rem;
}

footer {
    border-top:1px solid rgba(255,255,255,.06);
    padding:1.5rem 0 2rem;
    font-size:.8rem;
    opacity:.85;
}
.footer-cols {
    display:grid;
    grid-template-columns:minmax(0,2fr) minmax(0,1.5fr);
    gap:1.5rem;
}
.footer-links {
    display:flex;
    flex-wrap:wrap;
    gap:.6rem 1.2rem;
    font-size:.8rem;
}
.footer-links a {
    opacity:.9;
}
.footer-links a:hover {
    opacity:1;
    text-decoration:underline;
}

/* ریسپانسیو */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: minmax(0,1fr);
    }
    .nav-links {
        display:none;
    }
}
@media (max-width: 720px) {
    .grid-2 {
        grid-template-columns:minmax(0,1fr);
    }
    .hero {
        padding:1.8rem 0 2.6rem;
    }
    .footer-cols {
        grid-template-columns:minmax(0,1fr);
    }
}