/* ============================================================
   CafeRoshdORG — INDEX PAGE
   Easy-to-edit static stylesheet
   ============================================================ */

:root {
    --bg: #050505;
    --bg-soft: #0b0b0f;
    --surface: #0e0e13;
    --surface-2: #121218;
    --gold: #d4af37;
    --gold-light: #f3e5ab;
    --gold-soft: #e5c365;
    --neon-gold: #ffd75a;
    --neon-gold-rgb: 255,215,90;
    --text: #f5f5f4;
    --muted: #a8a29e;
    --muted-2: #78716c;
    --line: rgba(255,255,255,.09);
    --line-gold: rgba(212,175,55,.35);
    --danger: #fda4af;
    --success: #86efac;
    --radius: 24px;
    --container: 1180px;
    --shadow: 0 25px 70px rgba(0,0,0,.62);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Vazirmatn", sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { border: 0; }
img { display: block; max-width: 100%; }

::selection { background: rgba(212,175,55,.28); color: var(--gold-light); }

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

.site-shell { position: relative; min-height: 100vh; background: var(--bg); }
.ambient { position: fixed; pointer-events: none; z-index: 0; border-radius: 50%; filter: blur(100px); }
.ambient-top { width: 480px; height: 480px; top: -220px; right: 15%; background: rgba(212,175,55,.07); }
.ambient-left { width: 430px; height: 430px; top: 42%; left: -260px; background: rgba(153,122,21,.045); }
.ambient-bottom { width: 500px; height: 420px; bottom: -250px; right: 30%; background: rgba(212,175,55,.055); }

.section { position: relative; z-index: 1; padding: 110px 0; }
.section-small { position: relative; z-index: 2; padding: 28px 0 20px; margin-top: -34px; }
.section-alt { background: rgba(10,10,14,.72); border-top: 1px solid rgba(255,255,255,.025); border-bottom: 1px solid rgba(255,255,255,.025); }

/* ================= HEADER ================= */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    padding: 15px 0;
    transition: .25s ease;
}
.site-header.scrolled {
    background: rgba(6,6,8,.93);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line-gold);
    box-shadow: 0 10px 40px rgba(0,0,0,.45);
}
.header-inner { display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark, .mini-mark {
    display: grid; place-items: center;
    border: 1px solid rgba(212,175,55,.55);
    background: linear-gradient(145deg,#2b2412,#0c0c10 65%);
    color: var(--gold-light);
    font-family: "Cinzel", serif;
    font-weight: 800;
    letter-spacing: .08em;
    box-shadow: inset 0 0 18px rgba(212,175,55,.07);
}
.brand-mark { width: 44px; height: 44px; border-radius: 13px; font-size: 14px; }
.brand-copy { display: flex; flex-direction: column; gap: 1px; }
.brand-copy strong { font: 800 12px/1.2 "Cinzel", serif; letter-spacing: .08em; }
.brand-copy small { color: var(--gold-light); font-size: 9px; font-weight: 600; }

.desktop-nav {
    margin-inline-start: auto;
    display: flex; align-items: center; gap: 4px;
    padding: 6px;
    background: rgba(16,16,21,.8);
    border: 1px solid var(--line);
    border-radius: 999px;
    backdrop-filter: blur(16px);
    white-space: nowrap;
}
.nav-link { color: #d6d3d1; font-size: 11px; padding: 8px 11px; border-radius: 999px; transition: .2s; }
.nav-link:hover, .nav-link.active { color: var(--gold-light); background: rgba(212,175,55,.08); }
.nav-pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 999px; padding: 8px 12px; font-size: 11px; font-weight: 800; transition: .2s; }
.nav-pricing { color: #f5f5f4; border: 1px solid rgba(212,175,55,.35); background: rgba(255,255,255,.025); }
.nav-auth { color: var(--gold-light); border: 1px solid rgba(212,175,55,.5); background: linear-gradient(135deg,rgba(212,175,55,.19),rgba(212,175,55,.05)); }
.nav-pill:hover { transform: translateY(-1px); box-shadow: 0 0 20px rgba(212,175,55,.15); border-color: rgba(212,175,55,.9); }

/* ⬇⬇⬇ دکمه همبرگری — بدون margin-inline-start:auto، order داخل media query موبایل ⬇⬇⬇ */
.mobile-menu-button {
    display: none;
    margin-inline-start: 0;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: #111116;
    border: 1px solid var(--line);
    cursor: pointer;
}
.mobile-menu-button span { display: block; width: 19px; height: 2px; margin: 4px auto; background: #e7e5e4; border-radius: 3px; transition: .25s; }

.mobile-menu { margin-top: 8px; background: rgba(8,8,12,.97); border-bottom: 1px solid var(--line-gold); backdrop-filter: blur(20px); }
.mobile-menu-inner { display: flex; flex-direction: column; gap: 7px; padding: 12px 0 18px; }
.mobile-menu-inner > a { padding: 11px 14px; border: 1px solid transparent; border-radius: 12px; color: #e7e5e4; font-size: 13px; }
.mobile-menu-inner > a:hover { background: #121218; border-color: var(--line); color: var(--gold-light); }
.mobile-pricing, .mobile-auth { text-align: center; border-color: var(--line-gold) !important; }
.mobile-auth { background: rgba(212,175,55,.07); color: var(--gold-light) !important; }

/* ================= HERO ================= */
.hero {
    min-height: 860px;
    display: flex;
    align-items: center;
    padding-top: 150px;
    overflow: hidden;
    isolation: isolate;
}
.hero::before {
    content: "";
    position: absolute;
    width: 760px;
    height: 760px;
    top: -250px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
    z-index: -2;
    background: radial-gradient(
        circle,
        rgba(var(--neon-gold-rgb),.16) 0%,
        rgba(var(--neon-gold-rgb),.07) 28%,
        rgba(var(--neon-gold-rgb),.025) 48%,
        transparent 72%
    );
    filter: blur(12px);
    animation: heroBackgroundPulse 4.8s ease-in-out infinite;
    transform-origin: center;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -3;
    background:
        radial-gradient(circle at 72% 37%, rgba(var(--neon-gold-rgb),.055), transparent 32%),
        radial-gradient(circle at 18% 74%, rgba(var(--neon-gold-rgb),.035), transparent 26%),
        linear-gradient(180deg, rgba(255,255,255,.012), transparent 35%, rgba(0,0,0,.16));
    animation: heroAmbientFlicker 5.5s ease-in-out infinite;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 55px; align-items: center; position: relative; z-index: 1; }
.hero-copy { text-align: right; position: relative; }
.eyebrow, .section-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 13px; border-radius: 999px;
    background: rgba(15,15,20,.9);
    border: 1px solid var(--line-gold);
    color: var(--gold-light);
    font-size: 12px; font-weight: 800;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-soft); box-shadow: 0 0 12px var(--gold); animation: pulse 1.8s infinite; }
.eyebrow-star { color: var(--gold-soft); }
.hero .eyebrow { animation: neonBadge 3.8s ease-in-out infinite; }
.hero h1 {
    margin: 24px 0 22px;
    max-width: 730px;
    font-size: clamp(42px,5.5vw,74px);
    line-height: 1.15;
    letter-spacing: -.04em;
    font-weight: 900;
    position: relative;
    color: #fffdf6;
    text-shadow:
        0 0 4px rgba(255,255,255,.16),
        0 0 16px rgba(var(--neon-gold-rgb),.10);
    animation: heroTitleNeon 3.4s ease-in-out infinite;
}
.hero h1::before {
    content: "";
    position: absolute;
    inset: 12% 4% 8% 4%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--neon-gold-rgb),.13), transparent 68%);
    filter: blur(30px);
    opacity: .55;
    animation: heroTitleHalo 3.4s ease-in-out infinite;
}
.hero h1 span, .section-heading span, .about-copy h2 span, .contact-hero h2 span {
    color: var(--gold-light);
    text-shadow:
        0 0 5px rgba(var(--neon-gold-rgb),.55),
        0 0 16px rgba(var(--neon-gold-rgb),.32),
        0 0 34px rgba(var(--neon-gold-rgb),.16);
}
.hero-lead { margin: 0; max-width: 650px; color: #d6d3d1; font-size: 17px; line-height: 2; }
.hero-actions { margin: 30px 0 35px; display: flex; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 13px 22px; border-radius: 13px; cursor: pointer; font-weight: 900; transition: .25s ease; }
.btn-primary { color: #100d05; background: linear-gradient(135deg,#e2c05d,#c99c35); box-shadow: 0 10px 35px rgba(212,175,55,.18); }
.hero .btn-primary { animation: heroButtonGlow 3.2s ease-in-out infinite; }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 14px 42px rgba(212,175,55,.28); }
.btn-outline { color: var(--gold-light); background: #0d0d11; border: 1px solid rgba(212,175,55,.42); }
.btn-outline:hover { background: rgba(212,175,55,.08); border-color: var(--gold); }
.btn-dark { color: #e7e5e4; background: #111116; border: 1px solid #2a2a31; }
.btn-dark:hover { border-color: rgba(212,175,55,.55); color: var(--gold-light); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; padding-top: 19px; border-top: 1px solid var(--line); color: #c9c4c0; font-size: 12px; }
.hero-trust span { color: var(--gold); margin-inline-end: 6px; }

.hero-visual { position: relative; min-height: 650px; display: grid; place-items: center; }
.portrait-frame { position: relative; width: min(100%,440px); padding: 9px; border-radius: 30px; background: linear-gradient(160deg,#3a3017,#131319 55%,#08080b); border: 1px solid rgba(212,175,55,.55); box-shadow: 0 32px 90px rgba(0,0,0,.75); }
.portrait-glow { position: absolute; inset: -25px; border-radius: 40px; background: linear-gradient(135deg,rgba(212,175,55,.23),transparent 45%,rgba(153,122,21,.13)); filter: blur(30px); z-index: -1; animation: portraitGlowPulse 4.8s ease-in-out infinite; }
.portrait-image-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: 23px; background: #07070a; }
.portrait-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: contrast(1.06) brightness(.95); }
.portrait-overlay { position: absolute; inset: 0; background: linear-gradient(180deg,transparent 55%,rgba(3,3,5,.9)); }
.portrait-caption { position: absolute; right: 14px; left: 14px; bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; background: rgba(8,8,12,.88); backdrop-filter: blur(14px); }
.portrait-caption strong { display: block; font: 800 12px "Cinzel",serif; letter-spacing: .08em; }
.portrait-caption small { color: var(--gold-light); font-size: 10px; font-weight: 700; }
.mini-mark { width: 33px; height: 33px; border-radius: 10px; font-size: 10px; }
.floating-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 13px; border-radius: 15px; background: rgba(13,13,18,.93); border: 1px solid var(--line-gold); backdrop-filter: blur(14px); box-shadow: 0 20px 45px rgba(0,0,0,.5); }
.floating-card strong { display: block; font-size: 11px; white-space: nowrap; }
.floating-card small { display: block; color: #9c958f; font-size: 9px; margin-top: 1px; }
.floating-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--gold-light); background: #121217; border: 1px solid rgba(212,175,55,.35); }
.floating-card-top { top: 8%; right: -4%; animation: float 5.5s ease-in-out infinite; }
.floating-card-middle { top: 47%; left: -9%; animation: float 7s .8s ease-in-out infinite; }
.floating-card-bottom { bottom: 10%; right: -2%; animation: float 6.2s 1.4s ease-in-out infinite; }

/* ================= STATS ================= */
.stats-panel { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line-gold); background: rgba(12,12,15,.94); border-radius: 25px; box-shadow: var(--shadow); overflow: hidden; }
.stat-item { text-align: center; padding: 28px 20px; position: relative; }
.stat-item + .stat-item::before { content: ""; position: absolute; inset: 20% auto 20% 0; width: 1px; background: var(--line); }
.stat-icon { width: 45px; height: 45px; margin: 0 auto 13px; display: grid; place-items: center; border-radius: 14px; border: 1px solid rgba(212,175,55,.38); background: linear-gradient(145deg,#2c2514,#09090d); color: var(--gold-light); }
.stat-item > strong { display: block; color: var(--gold-light); font-size: 28px; font-weight: 900; line-height: 1.1; }
.stat-item > strong small { font-size: 13px; color: #efe1ad; font-weight: 700; }
.stat-item h3 { margin: 10px 0 4px; font-size: 14px; }
.stat-item p { margin: 0 auto; max-width: 210px; color: #8f8a85; font-size: 11px; line-height: 1.8; }

/* ================= SECTION HEADINGS ================= */
.section-heading { max-width: 760px; margin: 0 auto 55px; text-align: center; }
.section-heading h2 { margin: 18px 0 14px; font-size: clamp(32px,4vw,54px); line-height: 1.2; font-weight: 900; }
.section-heading p { margin: 0; color: #b9b3ae; font-size: 15px; line-height: 2; }

/* ================= SERVICES ================= */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.service-card { display: flex; flex-direction: column; min-height: 100%; padding: 27px; border: 1px solid var(--line); background: linear-gradient(160deg,rgba(21,21,27,.97),rgba(10,10,14,.98)); border-radius: 23px; transition: .3s ease; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.service-card:hover { transform: translateY(-7px); border-color: rgba(212,175,55,.48); box-shadow: 0 25px 55px rgba(0,0,0,.42),0 0 25px rgba(212,175,55,.08); }
.service-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.service-number { font: 700 20px "Cinzel",serif; color: #57534e; }
.special-badge { font-size: 9px; color: var(--gold-light); padding: 4px 7px; border: 1px solid rgba(212,175,55,.33); border-radius: 7px; background: rgba(212,175,55,.1); }
.service-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 15px; color: var(--gold-light); background: linear-gradient(145deg,#292311,#0e0e12); border: 1px solid rgba(212,175,55,.42); font-size: 20px; }
.service-card h3 { margin: 0 0 5px; font-size: 19px; }
.service-subtitle { margin: 0 0 18px; color: var(--gold); font-size: 11px; }
.service-details { padding: 13px; border-radius: 13px; background: rgba(7,7,10,.72); border: 1px solid rgba(255,255,255,.055); }
.service-details p { margin: 0; color: #bbb4ae; font-size: 10.5px; line-height: 1.9; }
.service-details p + p { border-top: 1px solid rgba(255,255,255,.055); padding-top: 9px; margin-top: 9px; }
.service-details p:nth-child(1) b { color: #fecdd3; }
.service-details p:nth-child(2) b { color: #fde68a; }
.service-details p:nth-child(3) b { color: #bbf7d0; }
.service-card ul { margin: 18px 0 25px; padding: 0; list-style: none; display: grid; gap: 8px; }
.service-card li { color: #c9c4c0; font-size: 10.5px; }
.service-card li::before { content: "✓"; color: var(--gold); margin-inline-end: 7px; font-weight: 900; }
.service-cta { margin-top: auto; width: 100%; padding: 11px 13px; border-radius: 12px; background: #121218; border: 1px solid var(--line); color: #ddd8d3; font-size: 11px; font-weight: 900; text-align: right; cursor: pointer; display: flex; align-items: center; justify-content: space-between; transition: .2s; }
.service-cta:hover { color: var(--gold-light); border-color: rgba(212,175,55,.48); background: rgba(212,175,55,.06); }

/* ================= ABOUT ================= */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.about-image { position: relative; }
.image-card { position: relative; padding: 8px; border-radius: 26px; background: linear-gradient(160deg,#382d15,#0d0d12); border: 1px solid rgba(212,175,55,.42); box-shadow: var(--shadow); max-width: 470px; margin: auto; }
.image-card > img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; border-radius: 20px; }
.quote-card { position: absolute; right: 18px; left: 18px; bottom: 18px; padding: 14px; border-radius: 14px; background: rgba(8,8,12,.88); border: 1px solid rgba(255,255,255,.09); backdrop-filter: blur(14px); }
.quote-card p { margin: 0 0 7px; color: #e7e5e4; font-size: 11px; line-height: 1.9; font-style: italic; }
.quote-card strong { color: var(--gold-soft); font-size: 10px; }
.image-label { position: absolute; top: 10px; right: 2px; transform: translateY(-50%); padding: 8px 12px; border-radius: 11px; background: #111116; border: 1px solid var(--line-gold); color: #fff; font-size: 10px; font-weight: 800; box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.about-copy h2 { margin: 16px 0 18px; font-size: clamp(34px,4vw,55px); line-height: 1.2; }
.about-copy > p { margin: 0 0 13px; color: #c6c0bc; font-size: 14px; line-height: 2; }
.about-copy > p strong { color: var(--gold-light); }
.tabs { display: flex; gap: 4px; margin: 25px 0 17px; padding: 4px; overflow: auto; border: 1px solid var(--line); background: #111116; border-radius: 13px; }
.tab { flex: 0 0 auto; padding: 9px 12px; border-radius: 9px; background: transparent; color: #99928c; cursor: pointer; font-size: 10.5px; font-weight: 800; }
.tab.active { color: #0f0d06; background: linear-gradient(135deg,#e2c05d,#c99c35); box-shadow: 0 6px 16px rgba(212,175,55,.14); }
.about-tab-content { display: grid; gap: 10px; }
.info-box { padding: 13px 14px; border-radius: 13px; background: #0e0e12; border: 1px solid rgba(212,175,55,.19); }
.info-box b { display: block; color: var(--gold-soft); font-size: 11px; margin-bottom: 4px; }
.info-box p { margin: 0; color: #a8a29e; font-size: 10.5px; line-height: 1.9; }
.timeline-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 13px; background: #0e0e12; }
.timeline-item > span { flex: 0 0 auto; padding: 6px 8px; border-radius: 8px; background: rgba(212,175,55,.1); border: 1px solid rgba(212,175,55,.28); color: var(--gold-light); font: 800 10px "Cinzel",serif; }
.timeline-item b { font-size: 11px; }
.timeline-item p { margin: 4px 0 0; color: #918b85; font-size: 10px; line-height: 1.8; }

/* ================= TESTIMONIALS ================= */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; margin-bottom: 28px; }
.filter-btn { padding: 9px 14px; border-radius: 11px; border: 1px solid var(--line); background: #0c0c10; color: #8e8882; cursor: pointer; font-size: 11px; font-weight: 800; }
.filter-btn.active { color: var(--gold-light); border-color: var(--gold); box-shadow: 0 0 18px rgba(212,175,55,.12); }
.testimonial-wrap { max-width: 940px; margin: auto; }
.testimonial-card { display: grid; grid-template-columns: 190px 1fr; gap: 28px; padding: 38px; border: 1px solid rgba(212,175,55,.33); border-radius: 24px; background: linear-gradient(145deg,#111117,#0b0b0f); box-shadow: var(--shadow); transition: .3s; }
.testimonial-person { text-align: center; }
.testimonial-avatar { width: 92px; height: 92px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 24px; background: linear-gradient(145deg,#362b14,#111116); border: 1px solid var(--gold); color: var(--gold-light); font-size: 27px; }
.testimonial-person h3 { margin: 0 0 5px; font-size: 14px; }
.testimonial-person span { display: block; color: var(--gold); font-size: 10px; font-weight: 800; }
.testimonial-person small { display: block; margin-top: 4px; color: #77716b; font-size: 9px; }
.rating { color: var(--gold); letter-spacing: 2px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; margin-bottom: 14px; }
.rating span { color: rgba(212,175,55,.28); font-size: 28px; }
.testimonial-body p { margin: 0 0 18px; color: #e7e5e4; font-size: 15px; line-height: 2; font-style: italic; }
.highlight { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; padding: 12px 14px; border-radius: 13px; background: #121218; border: 1px solid var(--line); color: #e7e5e4; font-size: 10.5px; }
.highlight > span:first-child { color: var(--gold); }
.highlight b { color: #fff; }
.carousel-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.dots { display: flex; gap: 6px; }
.dot { width: 8px; height: 8px; padding: 0; border-radius: 99px; background: #3f3f46; cursor: pointer; }
.dot.active { width: 30px; background: linear-gradient(90deg,#dfba53,#c99c35); }
.carousel-buttons { display: flex; gap: 7px; direction: ltr; }
.carousel-buttons button { width: 42px; height: 42px; border-radius: 12px; background: #111116; border: 1px solid var(--line); color: #d6d3d1; cursor: pointer; font-size: 17px; }
.carousel-buttons button:hover { border-color: rgba(212,175,55,.55); color: var(--gold-light); }

/* ================= ARTICLES ================= */
.articles-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 23px; }
.article-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #0e0e13; transition: .3s; }
.article-card:hover { transform: translateY(-6px); border-color: rgba(212,175,55,.38); box-shadow: 0 24px 50px rgba(0,0,0,.35); }
.article-image { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #08080b; }
.article-image img { width: 100%; height: 100%; object-fit: cover; transition: .5s; filter: brightness(.82); }
.article-card:hover .article-image img { transform: scale(1.05); }
.article-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 35%,rgba(0,0,0,.72)); }
.article-image span { position: absolute; top: 12px; right: 12px; z-index: 1; padding: 5px 9px; border-radius: 8px; background: rgba(7,7,10,.84); border: 1px solid rgba(212,175,55,.33); color: var(--gold-light); font-size: 9px; font-weight: 800; }
.article-body { padding: 20px; }
.article-meta { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 10px; color: #77716b; font-size: 9px; }
.article-body h3 { margin: 0 0 10px; font-size: 17px; line-height: 1.6; }
.article-body p { margin: 0 0 18px; color: #a8a29e; font-size: 11px; line-height: 1.9; }
.article-cta { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: #121218; border: 1px solid var(--line); border-radius: 11px; color: #ddd6d0; cursor: pointer; font-size: 10.5px; font-weight: 900; }
.article-cta:hover { border-color: rgba(212,175,55,.4); color: var(--gold-light); }

/* ================= CONTACT ================= */
.contact-hero { text-align: center; padding: 60px 30px; margin-bottom: 25px; border-radius: 27px; border: 1px solid rgba(212,175,55,.42); background: linear-gradient(180deg,#1a181d,#101014 55%,#08080a); box-shadow: var(--shadow); }
.contact-hero h2 { margin: 18px auto 14px; max-width: 850px; font-size: clamp(33px,4.6vw,59px); line-height: 1.25; }
.contact-hero p { max-width: 720px; margin: 0 auto 26px; color: #bdb7b1; font-size: 14px; line-height: 2; }
.contact-hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.contact-note { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: #8d8781; font-size: 10px; }
.contact-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 22px; }
.contact-card { display: block; padding: 21px; text-align: right; border: 1px solid var(--line); border-radius: 18px; background: #0e0e13; transition: .2s; }
.contact-card:hover { transform: translateY(-4px); border-color: rgba(212,175,55,.43); }
.contact-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 12px; border-radius: 12px; color: var(--gold-light); background: #111116; border: 1px solid rgba(212,175,55,.35); }
.contact-card h3 { margin: 0 0 7px; font-size: 11px; }
.contact-card strong { display: block; margin-bottom: 4px; color: var(--gold-light); font-size: 14px; font-family: "Cinzel","Vazirmatn",sans-serif; }
.contact-card p { margin: 0; color: #847e78; font-size: 9.5px; line-height: 1.8; }
.social-bar { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #0a0a0e; }
.social-bar h3 { margin: 0 0 3px; font-size: 12px; }
.social-bar p { margin: 0; color: #7f7973; font-size: 10px; }
.social-links { display: flex; gap: 7px; flex-wrap: wrap; }
.social-links a { padding: 9px 11px; border-radius: 11px; border: 1px solid var(--line); background: #111116; color: #cfc9c4; font-size: 10px; }
.social-links a:hover { color: var(--gold-light); border-color: rgba(212,175,55,.45); }

/* ================= FOOTER ================= */
.site-footer { position: relative; z-index: 1; padding: 65px 0 25px; background: #030305; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .8fr 1fr; gap: 35px; padding-bottom: 35px; border-bottom: 1px solid var(--line); }
.footer-grid h3 { margin: 0 0 14px; font-size: 12px; color: #f5f5f4; }
.footer-brand p { max-width: 430px; margin: 17px 0; color: #817b75; font-size: 11px; line-height: 1.9; }
.footer-logo .brand-mark { width: 48px; height: 48px; }
.footer-badge { display: inline-flex; padding: 7px 10px; border-radius: 8px; background: #0d0d11; border: 1px solid rgba(212,175,55,.28); color: var(--gold-soft); font-size: 9px; }
.footer-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer-links a { color: #7f7973; font-size: 10px; }
.footer-links a:hover { color: var(--gold-light); }
.footer-help-text { margin: 0 0 12px; color: #7f7973; font-size: 10px; line-height: 1.8; }
.guide-form { display: grid; gap: 7px; }
.guide-form input { width: 100%; padding: 10px 11px; border-radius: 10px; border: 1px solid #2a2a31; outline: none; background: #101014; color: #fff; }
.guide-form input:focus { border-color: rgba(212,175,55,.6); }
.guide-form button { padding: 10px; border-radius: 10px; background: linear-gradient(135deg,#dfba53,#c99c35); color: #151006; font-weight: 900; cursor: pointer; }
.guide-success { margin-top: 10px; padding: 10px; border-radius: 10px; background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.25); color: var(--success); font-size: 10px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 25px; color: #57514c; font-size: 9.5px; }
.footer-bottom b { color: #aaa39d; }
.footer-bottom button { width: 38px; height: 38px; border-radius: 10px; background: #101014; border: 1px solid #23232a; color: #aaa39d; cursor: pointer; }
.footer-bottom button:hover { color: #fff; border-color: rgba(212,175,55,.4); }

/* ================= MODALS ================= */
.modal[hidden], .mobile-menu[hidden], [hidden] { display: none !important; }
.modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 18px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.84); backdrop-filter: blur(9px); }
.modal-card { position: relative; z-index: 1; width: min(100%,680px); max-height: 92vh; overflow: auto; padding: 30px; border: 1px solid rgba(212,175,55,.43); border-radius: 24px; background: #0d0d11; box-shadow: 0 30px 90px rgba(0,0,0,.82); }
.modal-close { position: absolute; top: 15px; left: 15px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: #111116; border: 1px solid #29292f; color: #cfc9c4; cursor: pointer; font-size: 25px; }
.modal-close:hover { color: #fff; border-color: rgba(212,175,55,.55); }
.modal-heading { padding-left: 35px; }
.modal-heading h2, .modal-article h2 { margin: 14px 0 6px; font-size: 28px; line-height: 1.4; }
.modal-heading p { margin: 0; color: #817b75; font-size: 11px; }
.booking-types { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 22px 0; }
.booking-type { padding: 12px; border-radius: 11px; border: 1px solid #2a2a31; background: #101014; color: #98908a; cursor: pointer; font-size: 11px; font-weight: 800; }
.booking-type.active { color: var(--gold-light); border-color: var(--gold); background: rgba(212,175,55,.08); }
.booking-form { display: grid; gap: 14px; }
.booking-form label { color: #cfc9c4; font-size: 10px; font-weight: 700; }
.booking-form input, .booking-form select, .booking-form textarea { width: 100%; margin-top: 6px; padding: 11px 12px; border-radius: 10px; border: 1px solid #2a2a31; outline: none; background: #111116; color: #fff; }
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus { border-color: rgba(212,175,55,.62); }
.booking-form textarea { resize: vertical; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.full-width { width: 100%; margin-top: 4px; }
.success-view { text-align: center; padding: 22px 5px 4px; }
.success-icon { width: 68px; height: 68px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--gold); background: rgba(212,175,55,.1); color: var(--gold-light); font-size: 30px; }
.success-view h2 { margin: 0 0 8px; font-size: 23px; }
.success-view p { max-width: 520px; margin: 0 auto 18px; color: #aaa39d; font-size: 11px; line-height: 1.9; }
.success-summary { display: grid; gap: 8px; margin-bottom: 20px; padding: 14px; border-radius: 13px; background: #111116; border: 1px solid var(--line); text-align: right; }
.success-summary div { display: flex; justify-content: space-between; gap: 12px; color: #7e7772; font-size: 10px; }
.success-summary b { color: #eee8df; font-weight: 800; }
.modal-article { width: min(100%,760px); }
.modal-article h2 { max-width: 650px; padding-left: 35px; color: #fff; }
.article-modal-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: #77716b; font-size: 9.5px; }
.article-modal-content { color: #ddd6d0; font-size: 13px; line-height: 2; }
.article-modal-content p { margin: 0 0 13px; }
.article-modal-cta { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px; border-radius: 13px; background: #111116; border: 1px solid var(--line); color: #aaa39d; font-size: 10px; }
.article-modal-cta .btn { min-height: 40px; padding: 9px 15px; }

/* ================= ANIMATION ================= */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease,transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay { transition-delay: .12s; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: .85 } 50% { transform: scale(1.35); opacity: 1 } }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-7px) } }

/* Neon hero effects */
@keyframes heroTitleNeon {
    0%, 100% {
        opacity: .98;
        text-shadow:
            0 0 4px rgba(255,255,255,.14),
            0 0 12px rgba(var(--neon-gold-rgb),.14),
            0 0 28px rgba(var(--neon-gold-rgb),.05);
    }
    45% {
        opacity: 1;
        text-shadow:
            0 0 5px rgba(255,255,255,.22),
            0 0 16px rgba(var(--neon-gold-rgb),.36),
            0 0 34px rgba(var(--neon-gold-rgb),.22),
            0 0 68px rgba(var(--neon-gold-rgb),.10);
    }
    48% {
        opacity: .92;
        text-shadow:
            0 0 3px rgba(255,255,255,.10),
            0 0 10px rgba(var(--neon-gold-rgb),.10);
    }
    50% {
        opacity: 1;
        text-shadow:
            0 0 7px rgba(255,255,255,.28),
            0 0 22px rgba(var(--neon-gold-rgb),.46),
            0 0 44px rgba(var(--neon-gold-rgb),.27),
            0 0 88px rgba(var(--neon-gold-rgb),.12);
    }
    53% {
        opacity: .96;
        text-shadow:
            0 0 4px rgba(255,255,255,.17),
            0 0 15px rgba(var(--neon-gold-rgb),.24),
            0 0 32px rgba(var(--neon-gold-rgb),.12);
    }
}

@keyframes heroTitleHalo {
    0%,100% { opacity: .34; transform: scale(.92); }
    50% { opacity: .86; transform: scale(1.08); }
}

@keyframes heroBackgroundPulse {
    0%,100% { opacity: .34; transform: scale(.86); }
    38% { opacity: .58; transform: scale(.98); }
    50% { opacity: .95; transform: scale(1.10); }
    64% { opacity: .60; transform: scale(1.02); }
}

@keyframes heroAmbientFlicker {
    0%,100% { opacity: .50; }
    48% { opacity: .72; }
    52% { opacity: .48; }
    54% { opacity: .78; }
    72% { opacity: .60; }
}

@keyframes neonBadge {
    0%,100% { box-shadow: 0 0 8px rgba(var(--neon-gold-rgb),.04), inset 0 0 10px rgba(var(--neon-gold-rgb),.02); }
    50% { box-shadow: 0 0 22px rgba(var(--neon-gold-rgb),.16), inset 0 0 14px rgba(var(--neon-gold-rgb),.045); }
}

@keyframes portraitGlowPulse {
    0%,100% { opacity: .58; transform: scale(.97); }
    50% { opacity: 1; transform: scale(1.03); }
}

@keyframes heroButtonGlow {
    0%,100% { box-shadow: 0 14px 35px rgba(212,175,55,.18), 0 0 0 rgba(var(--neon-gold-rgb),0); }
    50% { box-shadow: 0 16px 42px rgba(212,175,55,.25), 0 0 28px rgba(var(--neon-gold-rgb),.16); }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1120px) {
    .desktop-nav .nav-link { padding-inline: 8px; font-size: 10px; }
    .desktop-nav { gap: 2px; }
    .services-grid, .articles-grid { grid-template-columns: repeat(2,1fr); }
    .contact-grid { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 900px) {
    .desktop-nav { display: none; }

    /* ⬇⬇⬇ دکمه همبرگری: order:-1 → اولین آیتم flex → راست‌ترین (سمت راست لوگوی MB) ⬇⬇⬇ */
    .mobile-menu-button {
        display: block;
        order: -1;
    }

    .hero { min-height: auto; padding-top: 125px; }
    .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 45px; }
    .hero-copy { order: 1; text-align: center; }
    .hero-lead { margin-inline: auto; }
    .hero-actions, .hero-trust { justify-content: center; }
    .hero-visual { min-height: 590px; order: 2; }
    .about-image { max-width: 500px; margin: auto; }
    .about-copy { text-align: right; }
    .stats-panel { grid-template-columns: repeat(2,1fr); }
    .stat-item + .stat-item::before { display: none; }
    .stat-item:nth-child(odd)::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 0; height: 1px; background: var(--line); }
    .testimonial-card { grid-template-columns: 1fr; }
    .testimonial-person { display: grid; justify-items: center; }
}

@media (max-width: 640px) {
    .container { width: min(calc(100% - 22px),var(--container)); }
    .section { padding: 82px 0; }
    .section-small { padding: 18px 0; margin-top: -15px; }
    .hero { padding-top: 112px; }
    .brand-copy small { font-size: 8px; }
    .brand-mark { width: 40px; height: 40px; }
    .hero h1 { font-size: clamp(36px,11vw,53px); }
    .hero-lead { font-size: 14px; }
    .hero-trust { flex-direction: column; align-items: center; font-size: 10px; gap: 9px; }
    .hero-visual { min-height: 525px; }
    .portrait-frame { width: min(100%,340px); }
    .floating-card { transform: scale(.9); }
    .floating-card-top { right: -1%; top: 4%; }
    .floating-card-middle { left: -3%; top: 50%; }
    .floating-card-bottom { right: 0; bottom: 3%; }
    .stats-panel { grid-template-columns: 1fr; }
    .stat-item:nth-child(odd)::after { display: none; }
    .stat-item + .stat-item::before { display: block; inset: 0 20% auto; width: auto; height: 1px; }
    .services-grid, .articles-grid, .contact-grid { grid-template-columns: 1fr; }
    .testimonial-card { padding: 24px 18px; }
    .testimonial-body p { font-size: 13px; }
    .social-bar { flex-direction: column; align-items: stretch; text-align: center; }
    .social-links { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .contact-hero { padding: 44px 18px; }
    .modal-card { padding: 24px 16px; }
    .form-grid-2, .booking-types { grid-template-columns: 1fr; }
    .modal-heading { padding-left: 28px; }
    .article-modal-cta { flex-direction: column; align-items: stretch; text-align: center; }
    .article-modal-cta .btn { width: 100%; }
}

@media (max-width: 640px) {
    .hero::before { width: 520px; height: 520px; top: -120px; right: -180px; }
    .hero h1::before { inset: 15% -8% 5% -8%; filter: blur(24px); }
}

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

/* ============================================================
   PREMIUM HERO UPGRADE — credentials, gold neon & hover shine
   ============================================================ */

:root {
    --gold: #d6a83d;
    --gold-light: #f6d477;
    --gold-soft: #e8bd58;
    --neon-gold: #e8b94f;
    --neon-gold-rgb: 232,185,79;
    --line-gold: rgba(214,168,61,.35);
}

.hero h1 {
    margin: 20px 0 20px;
    max-width: 680px;
    font-size: clamp(38px, 4.6vw, 62px);
    line-height: 1.22;
    letter-spacing: -.035em;
    font-weight: 950;
    position: relative;
    color: #fffdf7;
    text-shadow:
        0 1px 0 rgba(255,255,255,.25),
        0 0 5px rgba(255,255,255,.18),
        0 0 14px rgba(232,185,79,.22),
        0 0 32px rgba(232,185,79,.12);
    animation: premiumHeroTitle 4.8s ease-in-out infinite;
}

.hero h1::before {
    content: "";
    position: absolute;
    inset: 8% -6% 5% -6%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(
        ellipse,
        rgba(232,185,79,.18) 0%,
        rgba(232,185,79,.08) 30%,
        transparent 70%
    );
    filter: blur(32px);
    opacity: .75;
    animation: titleAmbientGlow 4.8s ease-in-out infinite;
}

.hero h1 span,
.section-heading span,
.about-copy h2 span,
.contact-hero h2 span {
    color: #f0c35c;
    background: linear-gradient(
        110deg,
        #c9922e 0%,
        #f7d878 25%,
        #ffe7a1 45%,
        #e5ae43 70%,
        #bd8426 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter:
        drop-shadow(0 0 5px rgba(232,185,79,.45))
        drop-shadow(0 0 16px rgba(232,185,79,.22))
        drop-shadow(0 0 32px rgba(232,185,79,.12));
}

/* ============================================================
   PREMIUM CREDENTIAL CARDS
   ============================================================ */
.hero-credentials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0 28px;
    max-width: 700px;
}

.credential-item {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 70px;
    padding: 13px 15px;
    border-radius: 17px;
    background: linear-gradient(
        135deg,
        rgba(31,27,18,.96),
        rgba(13,13,17,.98) 65%,
        rgba(20,18,13,.98)
    );
    border: 1px solid rgba(214,168,61,.25);
    box-shadow:
        0 12px 28px rgba(0,0,0,.28),
        inset 0 1px 0 rgba(255,255,255,.025);
    transform: translateY(0) scale(1);
    transition:
        transform .42s cubic-bezier(.2,.8,.2,1),
        border-color .35s ease,
        box-shadow .42s ease,
        background .35s ease;
    cursor: default;
}

.credential-item::before {
    content: "";
    position: absolute;
    z-index: -2;
    left: 8%;
    right: 8%;
    bottom: -18px;
    height: 28px;
    border-radius: 50%;
    background: radial-gradient(
        ellipse,
        rgba(232,185,79,.65),
        rgba(232,185,79,.18) 40%,
        transparent 72%
    );
    filter: blur(15px);
    opacity: 0;
    transform: scaleX(.65);
    transition: opacity .4s ease, transform .4s ease;
}

.credential-item::after {
    content: "";
    position: absolute;
    z-index: 5;
    top: -60%;
    left: -90%;
    width: 45%;
    height: 220%;
    transform: rotate(22deg);
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,235,170,.06),
        rgba(255,240,190,.55),
        rgba(255,235,170,.06),
        transparent
    );
    filter: blur(5px);
    opacity: 0;
    pointer-events: none;
}

.credential-item:hover {
    transform: translateY(-8px) scale(1.015);
    border-color: rgba(232,185,79,.72);
    background: linear-gradient(
        135deg,
        rgba(43,35,19,.98),
        rgba(14,14,18,.98) 60%,
        rgba(30,25,15,.98)
    );
    box-shadow:
        0 24px 48px rgba(0,0,0,.42),
        0 8px 28px rgba(232,185,79,.13),
        0 0 0 1px rgba(232,185,79,.08),
        inset 0 1px 0 rgba(255,240,190,.08);
}

.credential-item:hover::before { opacity: 1; transform: scaleX(1.15); }
.credential-item:hover::after { opacity: 1; animation: credentialShine .85s cubic-bezier(.2,.7,.2,1); }

.credential-icon {
    position: relative;
    flex: 0 0 39px;
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #f3cb69;
    background: linear-gradient(145deg, rgba(232,185,79,.19), rgba(232,185,79,.035));
    border: 1px solid rgba(232,185,79,.34);
    font-size: 14px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 0 14px rgba(232,185,79,.05);
    transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease, background .4s ease;
}

.credential-item:hover .credential-icon {
    transform: scale(1.12) rotate(-4deg);
    background: linear-gradient(145deg, rgba(232,185,79,.28), rgba(232,185,79,.07));
    box-shadow: 0 0 12px rgba(232,185,79,.20), 0 0 26px rgba(232,185,79,.10);
}

.credential-item strong {
    display: block;
    color: #f3efe5;
    font-size: 12px;
    line-height: 1.7;
    font-weight: 900;
    transition: color .3s ease, text-shadow .3s ease;
}

.credential-item:hover strong {
    color: #ffe2a0;
    text-shadow: 0 0 10px rgba(232,185,79,.22);
}

.credential-item small {
    display: block;
    margin-top: 2px;
    color: #9c968d;
    font-size: 10px;
    line-height: 1.6;
    transition: color .3s ease;
}

.credential-item:hover small { color: #c6bda9; }

@keyframes credentialShine {
    0% { left: -90%; opacity: 0; }
    15% { opacity: .2; }
    45% { opacity: 1; }
    100% { left: 145%; opacity: 0; }
}

@keyframes premiumHeroTitle {
    0%, 100% {
        text-shadow:
            0 1px 0 rgba(255,255,255,.20),
            0 0 5px rgba(255,255,255,.12),
            0 0 14px rgba(232,185,79,.18),
            0 0 30px rgba(232,185,79,.08);
    }
    45% {
        text-shadow:
            0 1px 0 rgba(255,255,255,.30),
            0 0 7px rgba(255,255,255,.22),
            0 0 18px rgba(232,185,79,.34),
            0 0 38px rgba(232,185,79,.18),
            0 0 70px rgba(232,185,79,.08);
    }
    49% {
        text-shadow:
            0 1px 0 rgba(255,255,255,.38),
            0 0 9px rgba(255,255,255,.30),
            0 0 25px rgba(232,185,79,.48),
            0 0 52px rgba(232,185,79,.25),
            0 0 90px rgba(232,185,79,.12);
    }
    53% {
        text-shadow:
            0 1px 0 rgba(255,255,255,.20),
            0 0 5px rgba(255,255,255,.13),
            0 0 14px rgba(232,185,79,.20),
            0 0 30px rgba(232,185,79,.09);
    }
}

@keyframes titleAmbientGlow {
    0%, 100% { opacity: .42; transform: scale(.94); }
    50% { opacity: .9; transform: scale(1.07); }
}

.hero-credentials .credential-item:nth-child(1) { animation: credentialFloat1 5s ease-in-out infinite; }
.hero-credentials .credential-item:nth-child(2) { animation: credentialFloat2 5.5s ease-in-out infinite; }
.hero-credentials .credential-item:nth-child(3) { animation: credentialFloat3 5.2s ease-in-out infinite; }
.hero-credentials .credential-item:nth-child(4) { animation: credentialFloat4 5.7s ease-in-out infinite; }

@keyframes credentialFloat1 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes credentialFloat2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes credentialFloat3 { 0%,100% { transform: translateY(-1px); } 50% { transform: translateY(2px); } }
@keyframes credentialFloat4 { 0%,100% { transform: translateY(1px); } 50% { transform: translateY(-2px); } }

.hero-credentials .credential-item:hover { animation-play-state: paused; }

@media (max-width: 700px) {
    .hero-credentials { grid-template-columns: 1fr; gap: 9px; margin-top: 20px; }
    .credential-item { min-height: 63px; padding: 11px 12px; }
    .credential-item strong { font-size: 11px; }
    .credential-item small { font-size: 9px; }
    .credential-icon { width: 36px; height: 36px; flex-basis: 36px; }
}

@media (min-width: 641px) {
    .hero h1 { font-size: clamp(38px, 4.6vw, 62px); }
}

/* ============================================================
   MOBILE HERO OPTIMIZATION
   ============================================================ */
@media (max-width: 640px) {
    .hero-grid { display: flex; flex-direction: column; gap: 22px; }
    .hero-copy { display: contents; }
    .hero-visual { order: 1; min-height: 0; width: 100%; }
    .portrait-frame { width: min(100%, 310px); margin-inline: auto; }
    .hero-credentials {
        order: 2; width: 100%; max-width: none;
        grid-template-columns: 1fr; gap: 8px; margin: 0;
    }
    .eyebrow { order: 3; }
    .hero h1 { order: 4; }
    .hero-lead { order: 5; }
    .hero-actions { order: 6; }
    .hero-trust { order: 7; }
    .credential-item {
        min-height: 58px; padding: 9px 11px; gap: 10px;
        border-radius: 14px;
        box-shadow: 0 6px 16px rgba(0,0,0,.22);
        transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
        animation: none !important;
    }
    .credential-item::before, .credential-item::after { display: none; }
    .credential-item:hover, .credential-item:active {
        transform: translateY(-2px);
        border-color: rgba(232,185,79,.55);
        box-shadow: 0 9px 20px rgba(0,0,0,.26), 0 0 14px rgba(232,185,79,.08);
    }
    .credential-icon {
        width: 33px; height: 33px; flex-basis: 33px;
        border-radius: 10px; font-size: 12px;
        box-shadow: none; transition: transform .2s ease;
    }
    .credential-item:hover .credential-icon,
    .credential-item:active .credential-icon {
        transform: scale(1.06);
        box-shadow: 0 0 10px rgba(232,185,79,.12);
    }
    .credential-item strong { font-size: 10.5px; line-height: 1.55; }
    .credential-item small { margin-top: 1px; font-size: 8.5px; line-height: 1.5; }
    .hero h1 { animation: none; text-shadow: 0 0 8px rgba(232,185,79,.16); }
    .hero h1::before { animation: none; opacity: .35; filter: blur(18px); }
    .portrait-glow { animation: none !important; opacity: .55; filter: blur(18px); }
}

@media (max-width: 390px) {
    .portrait-frame { width: min(100%, 285px); }
    .credential-item { min-height: 56px; padding: 8px 10px; }
    .credential-item strong { font-size: 10px; }
    .credential-item small { font-size: 8px; }
}

@media (max-width: 700px) {
    .hero-grid { display: flex; flex-direction: column; gap: 22px; }
    .hero-copy { display: contents; }
    .hero-copy h1 { order: 1; text-align: center; margin: 0; }
    .hero-visual { order: 2; width: 100%; }
    .hero-credentials { order: 3; width: 100%; margin-top: 0; }
    .hero-copy .eyebrow { order: 4; text-align: center; }
    .hero-copy .hero-lead { order: 5; text-align: center; }
    .hero-copy .hero-actions { order: 6; justify-content: center; }
    .hero-copy .hero-trust { order: 7; }
}

/* ===== کادر طلایی نرم دور سه آیکون ===== */
.nav-actions-box {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(212,175,55,.14), rgba(212,175,55,.05));
    box-shadow:
        inset 0 0 0 1px rgba(212,175,55,.55),
        0 2px 10px rgba(212,175,55,.10);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: box-shadow .25s ease, background .25s ease;
}

.nav-actions-box:hover {
    box-shadow:
        inset 0 0 0 1px rgba(212,175,55,.85),
        0 4px 16px rgba(212,175,55,.20);
    background: linear-gradient(180deg, rgba(212,175,55,.18), rgba(212,175,55,.07));
}

.nav-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: #d4af37;
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .15s ease;
}

.nav-icon-btn:hover {
    background: rgba(212,175,55,.18);
    color: #f3d97a;
    transform: translateY(-1px);
}

.nav-icon-btn:active { transform: translateY(0) scale(.96); }

.nav-icon-btn svg {
    width: 18px; height: 18px;
    fill: none; stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-badge {
    position: absolute;
    top: -2px; left: -2px;
    min-width: 15px; height: 15px;
    padding: 0 4px;
    border-radius: 999px;
    background: #d4af37;
    color: #1a1a1a;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px var(--nav-bg, #fff);
}

.site-search-slot > * {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%; height: 100%;
    background: transparent !important;
    border: none !important;
    color: inherit !important;
    cursor: pointer;
    border-radius: 999px !important;
    transition: background .2s ease, color .2s ease !important;
}
.site-search-slot > *:hover { background: rgba(212,175,55,.18) !important; }
.site-search-slot svg {
    width: 18px; height: 18px;
    fill: none; stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ============================================================
   MOBILE DRAWER — opens from RIGHT, with golden emoji per item
   ============================================================ */
@media (max-width: 1024px) {
    #mobile-menu {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        bottom: auto !important;
        width: min(330px, 84vw) !important;
        max-width: none !important;
        height: 100dvh !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        background: #0B0B10 !important;
        border: none !important;
        border-left: 1px solid rgba(212,175,55,.28) !important;
        border-radius: 0 !important;
        box-shadow: -30px 0 70px rgba(0,0,0,.7) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        z-index: 999999 !important;
        transform: translateX(100%) !important;
        visibility: hidden;
        pointer-events: none;
        will-change: transform;
        -webkit-overflow-scrolling: touch;
        transition:
            transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0s linear 0.42s;
    }

    #mobile-menu:not([hidden]) {
        transform: translateX(0) !important;
        visibility: visible;
        pointer-events: auto;
        transition:
            transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0s linear 0s;
    }

    #mobile-menu .mobile-menu-inner {
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: calc(18px + env(safe-area-inset-top)) 16px
                 calc(28px + env(safe-area-inset-bottom)) !important;
        min-height: 100%;
    }

    #mobile-menu .drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 4px 14px;
        margin-bottom: 10px;
        border-bottom: 1px solid rgba(212,175,55,.22);
    }
    #mobile-menu .drawer-title {
        font-family: 'Cinzel', serif;
        font-size: 15px;
        font-weight: 700;
        letter-spacing: 1px;
        background: linear-gradient(135deg, #F3E5AB, #D4AF37, #A8842A);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
    #mobile-menu .drawer-close {
        width: 34px; height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(212,175,55,.28);
        color: #A1A1AA;
        font-size: 20px;
        line-height: 1;
        cursor: pointer;
        transition: all 0.2s;
    }
    #mobile-menu .drawer-close:hover {
        color: #F3E5AB;
        border-color: rgba(212,175,55,.6);
        background: rgba(212,175,55,.1);
    }

    /* Menu links: flex with icon + label */
    #mobile-menu .mobile-menu-inner > a,
    #mobile-menu .mobile-menu-inner > button:not(.drawer-close) {
        display: flex !important;
        align-items: center !important;
        gap: 11px !important;
        width: 100% !important;
        padding: 12px 14px !important;
        margin: 0 !important;
        border-radius: 10px !important;
        border: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.055) !important;
        font-size: 14.5px !important;
        font-weight: 600 !important;
        text-align: right !important;
        color: #E4E4E7 !important;
        background: transparent !important;
        transition: background 0.2s, color 0.2s, border-color 0.2s;
    }
    #mobile-menu .mobile-menu-inner > a:hover,
    #mobile-menu .mobile-menu-inner > a:active,
    #mobile-menu .mobile-menu-inner > button:not(.drawer-close):hover {
        background: rgba(212,175,55,0.09) !important;
        color: #F3E5AB !important;
    }

    /* Golden emoji icon */
    #mobile-menu .mobile-menu-inner .menu-emoji {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 26px !important;
        flex: 0 0 26px !important;
        font-size: 17px !important;
        line-height: 1 !important;
        text-align: center !important;
        filter: sepia(1) saturate(3.2) hue-rotate(-8deg) brightness(1.18) !important;
    }
    #mobile-menu .mobile-menu-inner .menu-label {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }
    #mobile-menu .mobile-menu-inner .cart-badge {
        margin-inline-start: auto !important;
    }

    /* Booking CTA: golden */
    #mobile-menu .mobile-menu-inner > button.mobile-booking-button:not(.drawer-close),
    #mobile-menu .mobile-menu-inner > a.mobile-booking-button {
        justify-content: center !important;
        margin-top: 10px !important;
        border-bottom: none !important;
        background: linear-gradient(135deg, #e2c05d, #c99c35) !important;
        color: #100d05 !important;
        font-weight: 800 !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 22px rgba(212,175,55,.22) !important;
        text-decoration: none !important;
    }
    #mobile-menu .mobile-menu-inner > button.mobile-booking-button .menu-emoji,
    #mobile-menu .mobile-menu-inner > a.mobile-booking-button .menu-emoji {
        filter: none !important;
    }
    #mobile-menu .mobile-menu-inner > a.mobile-booking-button:hover,
    #mobile-menu .mobile-menu-inner > a.mobile-booking-button:active {
        background: linear-gradient(135deg, #e8c96b, #d0a63c) !important;
        color: #100d05 !important;
    }

    /* Featured links stay gold */
    #mobile-menu .mobile-menu-inner > a.mobile-pricing,
    #mobile-menu .mobile-menu-inner > a.mobile-auth {
        border-bottom: 1px solid rgba(212,175,55,.28) !important;
        color: #D4AF37 !important;
    }

    .mobile-menu-backdrop {
        position: fixed;
        inset: 0;
        z-index: 999998;
        background: rgba(0, 0, 0, 0.55);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.35s ease, visibility 0s linear 0.35s;
    }
    .mobile-menu-backdrop.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: opacity 0.35s ease, visibility 0s linear 0s;
    }
}

html.menu-open,
body.menu-open { overflow: hidden !important; }

@media (prefers-reduced-motion: reduce) {
    #mobile-menu,
    #mobile-menu:not([hidden]),
    .mobile-menu-backdrop,
    .mobile-menu-backdrop.is-open,
    .search-dropdown,
    .site-search.is-open .search-dropdown {
        transition-duration: 0.01ms !important;
    }
}