/* =====================================================================
   تخفیف‌داره — استایل اصلی لندینگ‌پیج
   ===================================================================== */

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Black.woff2') format('woff2');
    font-weight: 900; font-style: normal; font-display: swap;
}

:root {
    --bg: #0b0a0e;
    --bg-soft: #17151a;
    --card: #1b181d;
    --card-2: #221e24;
    --border: #2c2731;
    --primary: #e2a63d;
    --primary-2: #f4c369;
    --secondary: #35b8c9;
    --text: #f6f2ea;
    --muted: #a19c9a;
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --container: 1140px;
    --gap-sm: 14px;
    --gap-md: 20px;
    --gap-lg: 28px;
    --card-pad: 30px;
    --ease: cubic-bezier(.22,1,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    line-height: 1.9;
    overflow-x: hidden;
    position: relative;
}
body::before {
    content: '';
    position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(600px 400px at 15% 0%, rgba(226,166,61,.16), transparent 60%),
        radial-gradient(500px 380px at 90% 15%, rgba(53,184,201,.10), transparent 60%),
        radial-gradient(500px 500px at 50% 100%, rgba(226,166,61,.10), transparent 60%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-weight: 700; margin: 0 0 12px; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 5.2vw, 48px); font-weight: 900; line-height: 1.25; }
h2 { font-size: clamp(22px, 3.4vw, 28px); }
p { color: var(--muted); margin: 0 0 14px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 28px; border-radius: 999px; font-weight: 500;
    border: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .2s ease;
    font-size: 15px; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
.btn-primary {
    background: linear-gradient(135deg, var(--primary-2), var(--primary));
    color: #fff;
    box-shadow: 0 10px 26px -10px rgba(226,166,61,.65);
}
.btn-primary:hover { box-shadow: 0 16px 34px -10px rgba(226,166,61,.8); }
.btn-outline {
    background: rgba(255,255,255,.02);
    border: 1.5px solid var(--border); color: var(--text);
}
.btn-outline:hover { border-color: var(--secondary); color: var(--secondary); }
.btn-ghost { background: var(--bg-soft); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--card-2); }
.btn-whatsapp {
    background: linear-gradient(135deg, #2fe07a, #1fae60);
    color: #06301a;
    box-shadow: 0 10px 26px -10px rgba(47,214,122,.55);
}
.btn-whatsapp:hover { box-shadow: 0 16px 34px -10px rgba(47,214,122,.7); }
.btn-full { width: 100%; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 40;
    background: rgba(8,9,13,.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px; gap: 14px; position: relative;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 38px; height: 38px; object-fit: cover; border-radius: 10px; }
.brand-name { font-weight: 700; font-size: 17px; }
.main-nav { display: flex; gap: 26px; font-size: 14px; color: var(--muted); }
.main-nav a { position: relative; padding: 4px 0; transition: color .2s ease; }
.main-nav a::after {
    content: ''; position: absolute; right: 0; bottom: -2px; width: 0; height: 1.5px;
    background: var(--secondary); transition: width .25s var(--ease);
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { width: 100%; }

.nav-toggle {
    display: none; background: var(--bg-soft); border: 1px solid var(--border);
    width: 40px; height: 40px; border-radius: 12px; cursor: pointer;
    align-items: center; justify-content: center; color: var(--text); position: relative;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero {
    display: flex; flex-direction: column; align-items: center;
    gap: 30px; padding: 54px 20px 70px; text-align: center;
}
.hero-media { width: 100%; max-width: 340px; order: -1; }
.hero-arch {
    display: block;
    aspect-ratio: 3 / 3.6;
    border-radius: 50% 50% 20px 20px / 42% 42% 20px 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 70px -25px rgba(226,166,61,.55), 0 0 0 1px rgba(255,255,255,.04) inset;
    animation: float 6s ease-in-out infinite;
}
}
.hero-arch img { width: 100%; height: 100%; object-fit: cover; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--card); border: 1px solid var(--border);
    padding: 7px 18px; border-radius: 999px; font-size: 13px; color: var(--secondary); margin-bottom: 18px;
}
.eyebrow::before {
    content: ''; width: 7px; height: 7px; border-radius: 50%;
    background: var(--secondary); box-shadow: 0 0 0 3px rgba(47,214,200,.2);
}
.hero-lead { max-width: 480px; margin: 0 auto 26px; font-size: 16px; }
.hero-actions { display: flex; gap: var(--gap-sm); justify-content: center; flex-wrap: wrap; }

/* ---------- Section shared ---------- */
main section { padding: 56px 20px; }
.section-heading { text-align: center; margin-bottom: 38px; }
.section-subtitle { color: var(--muted); max-width: 480px; margin: 0 auto; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- About ---------- */
.about-card {
    background: linear-gradient(160deg, var(--card), var(--bg-soft));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--card-pad) 26px;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.about-card::before {
    content: ''; position: absolute; inset: 0; z-index: 0;
    background: radial-gradient(400px 200px at 100% 0%, rgba(226,166,61,.16), transparent 60%);
}
.about-heading, .about-body, .about-corner-icon { position: relative; z-index: 1; }
.about-corner-icon {
    position: absolute; top: 18px; left: 18px;
    width: 40px; height: 40px; border-radius: 12px;
    background: var(--bg-soft); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center; color: var(--secondary);
    transition: transform .3s var(--ease);
}
.about-corner-icon svg { width: 18px; height: 18px; }
.about-card:hover .about-corner-icon { transform: rotate(180deg); }
.about-body { max-width: 560px; margin: 0 auto; }

.gallery { padding-top: 50px; }

/* ---------- Gallery (چیدمان bento) ---------- */
.gallery-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-md);
    max-width: 920px; margin: 0 auto;
}
.gallery-item {
    margin: 0; border-radius: var(--radius-md); overflow: hidden; position: relative;
    border: 1px solid var(--border); aspect-ratio: 1;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.gallery-item:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item figcaption {
    position: absolute; inset-inline: 0; bottom: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.8), transparent);
    color: #fff; font-size: 13px; font-weight: 500; padding: 30px 14px 12px; text-align: center;
}
.gallery-item:nth-child(3):nth-last-child(1) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

.features { padding-top: 50px; }

/* ---------- Features ---------- */
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-md);
    max-width: 920px; margin: 0 auto;
}
.feature-card {
    display: block;
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md);
    padding: var(--card-pad) 20px; text-align: center;
    transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
	

}
.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(226,166,61,.4);
    box-shadow: 0 22px 40px -22px rgba(226,166,61,.5);
}
.feature-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 14px; margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary-2), var(--secondary));
    color: #0a0a10;
    transition: transform .35s var(--ease);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card:hover .feature-icon { transform: scale(1.1) rotate(-6deg); }
.feature-card h3 { font-size: 16px; margin-bottom: 8px; }
.feature-card p { font-size: 13.5px; margin-bottom: 10px; }
.feature-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--secondary); font-size: 13px; font-weight: 500;
}
.feature-link svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.feature-link:hover svg { transform: translateX(-4px); }

.contact { padding-top: 70px; }

.contact { padding-top: 100px; padding-bottom: 100px; }

/* ---------- Contact ---------- */
.contact-card {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: var(--card-pad) 26px; max-width: 920px; margin: 0 auto;
    position: relative; overflow: hidden;
}
.contact-card::before {
    content: ''; position: absolute; inset: 0; z-index: 0;
    background: radial-gradient(420px 220px at 0% 100%, rgba(47,214,200,.14), transparent 60%);
}
.contact-card > * { position: relative; z-index: 1; }
.contact-buttons { display: flex; flex-direction: column; gap: var(--gap-md); margin-bottom: var(--gap-lg); }
.contact-buttons .btn { width: 100%; }
.form-intro {
    text-align: center; color: var(--muted); font-size: 13px; margin: 20px 0 16px;
    display: flex; align-items: center; gap: 10px;
}
.form-intro::before, .form-intro::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.contact-form { display: flex; flex-direction: column; gap: var(--gap-md); }
.contact-form .field { display: flex; flex-direction: column; gap: 7px; }
.contact-form label { font-size: 13px; color: var(--muted); }
.contact-form input, .contact-form textarea {
    background: var(--bg-soft); border: 1.5px solid var(--border); border-radius: 14px;
    padding: 13px 16px; color: var(--text); font-family: inherit; font-size: 14.5px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--primary-2);
    box-shadow: 0 0 0 4px rgba(226,166,61,.15);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form button { margin-top: 4px; }

.hp-field {
    position: absolute !important;
    width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}

.form-alert { border-radius: 14px; padding: 13px 18px; font-size: 14px; margin-bottom: 18px; }
.form-alert-success { background: rgba(47,214,200,.12); border: 1px solid rgba(47,214,200,.4); color: #8bf3e8; }
.form-alert-error { background: rgba(229,72,77,.12); border: 1px solid rgba(229,72,77,.4); color: #f39a9d; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 34px 20px; text-align: center; }
.footer-inner p { font-size: 13px; margin: 0; }
.social-links { display: flex; gap: 18px; justify-content: center; margin-bottom: 14px; font-size: 13px; }
.social-links a:hover { color: var(--secondary); }

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
    position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 50;
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, #2fe07a, #1fae60); color: #06301a;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 26px rgba(37,211,102,.45);
    animation: pulse-wa 2.6s ease-in-out infinite;
}
@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 10px 26px rgba(37,211,102,.45); }
    50% { box-shadow: 0 10px 26px rgba(37,211,102,.45), 0 0 0 10px rgba(37,211,102,.12); }
}

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
    .hero { flex-direction: row; text-align: right; padding: 80px 20px 100px; }
    .hero-media { order: 0; }
    .hero-content { flex: 1; }
    .hero-media { flex: 1; max-width: 420px; }
    .hero-actions { justify-content: flex-start; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-item:nth-child(3):nth-last-child(1) { grid-column: auto; aspect-ratio: 1; }
    .contact-buttons { flex-direction: row; flex-wrap: wrap; }
    .contact-buttons .btn { flex: 1; min-width: 160px; }
}
@media (max-width: 860px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: absolute; top: calc(100% + 1px); right: 0; left: 0;
        background: var(--card); border-bottom: 1px solid var(--border);
        flex-direction: column; gap: 0; padding: 8px;
        max-height: 0; overflow: hidden; opacity: 0;
        transition: max-height .3s var(--ease), opacity .25s ease;
    }
    .main-nav.open { max-height: 320px; opacity: 1; }
    .main-nav a { padding: 12px 14px; border-radius: 10px; }
    .main-nav a:hover { background: var(--bg-soft); }
    .main-nav a::after { display: none; }
}
@media (max-width: 720px) {
    .features-grid { grid-template-columns: 1fr; }
}

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