/* ============================================
   TOHFEH & MASTANEH — B2B Landing Page
   Premium Sesame Products from Iran
   ============================================ */

/* --- Reset & Variables --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Core palette */
    --bg-main: #f8f3e8;
    --bg-alt: #fffaf0;
    --ink: #1e293b;
    --muted: #4b5563;
    --panel: #ffffff;
    --line: rgba(30, 41, 59, 0.14);

    /* Accent colors */
    --hot: #ef6c3f;
    --hot-2: #ff9f45;
    --mint: #1f9f83;
    --mint-2: #6ec7b2;
    --sand: #f0d7a8;
    --deep: #10203a;

    /* Brand-specific */
    --gold: #d4af37;
    --gold-light: #f5d78e;
    --tohfeh-bg: linear-gradient(145deg, #0f0f0f 0%, #2a2a2a 40%, #3d3d3d 100%);
    --mastaneh-bg: linear-gradient(145deg, #fff7ea, #fce6be 58%, #f5d093 100%);

    /* Typography */
    --font-fa: 'Vazirmatn', sans-serif;
    --font-display: 'Lalezar', cursive;
    --font-en: 'Manrope', sans-serif;

    /* Spacing & Radius */
    --radius-sm: 14px;
    --radius-md: 24px;
    --radius-lg: 36px;
    --shadow-sm: 0 8px 24px rgba(16, 32, 58, 0.09);
    --shadow-lg: 0 28px 70px rgba(16, 32, 58, 0.16);
    --ease: 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-fa);
    background: linear-gradient(180deg, #fffef9 0%, var(--bg-main) 45%, #f5ecdc 100%);
    color: var(--ink);
    line-height: 1.9;
    overflow-x: hidden;
}

::selection {
    background: var(--hot);
    color: #fff;
}

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

ul {
    list-style: none;
}

/* --- Grain Overlay --- */
.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(16, 32, 58, 0.05) 0.5px, transparent 0.5px);
    background-size: 5px 5px;
    mix-blend-mode: multiply;
    opacity: 0.35;
    z-index: -1;
}

/* --- Container --- */
.container {
    width: min(1180px, 92vw);
    margin: 0 auto;
}

/* --- Loader --- */
.loader {
    position: fixed;
    inset: 0;
    background: var(--bg-main);
    z-index: 2000;
    display: grid;
    place-items: center;
    gap: 1rem;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader p {
    font: 700 0.95rem/1 var(--font-en);
    letter-spacing: 0.16em;
    color: var(--deep);
}

.loader-orbit {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    border: 4px solid rgba(16, 32, 58, 0.2);
    border-top-color: var(--hot);
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- Header / Navbar --- */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1200;
    padding-top: 14px;
    transition: var(--ease);
}

.site-header.scrolled {
    background: rgba(255, 250, 240, 0.86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding-top: 8px;
    padding-bottom: 8px;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
}

.brand-dot {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: linear-gradient(140deg, var(--gold), var(--gold-light));
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

.brand strong {
    display: block;
    font: 800 0.8rem/1.1 var(--font-fa);
    letter-spacing: 0.02em;
}

.brand small {
    display: block;
    font: 700 0.72rem/1.2 var(--font-en);
    color: var(--muted);
    letter-spacing: 0.17em;
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 1.2rem;
}

.desktop-nav a {
    font-weight: 700;
    font-size: 0.92rem;
    color: #243349;
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--hot), var(--mint));
    transition: width var(--ease);
}

.desktop-nav a:hover::after {
    width: 100%;
}

.header-cta {
    display: none;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--hot), var(--hot-2));
    color: #fff;
    font: 800 0.82rem/1 var(--font-fa);
    padding: 12px 22px;
    cursor: pointer;
    transition: var(--ease);
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(239, 108, 63, 0.35);
}

.menu-btn {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.84);
    display: grid;
    place-items: center;
    gap: 4px;
    cursor: pointer;
}

.menu-btn span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--deep);
    transition: var(--ease);
}

.menu-btn.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* --- Mobile Menu --- */
.mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(16, 32, 58, 0.34);
    backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: var(--ease);
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-panel {
    margin-right: auto;
    width: min(340px, 84vw);
    min-height: 100%;
    background: #fff8e9;
    border-left: 1px solid var(--line);
    padding: 100px 28px 36px;
    display: grid;
    gap: 14px;
    transform: translateX(100%);
    transition: transform var(--ease);
}

.mobile-overlay.active .mobile-panel {
    transform: translateX(0);
}

.mobile-panel a {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    padding: 12px;
    font-weight: 700;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding-top: 130px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-aurora {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.25), transparent 42%),
        radial-gradient(circle at 92% 12%, rgba(239, 108, 63, 0.3), transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(255, 159, 69, 0.33), transparent 44%);
    filter: blur(10px);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2rem;
}

.kicker {
    font: 800 0.72rem/1 var(--font-en);
    letter-spacing: 0.2em;
    color: var(--mint);
    margin-bottom: 1rem;
}

.hero-copy h1 {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 7vw, 4.6rem);
    line-height: 1.08;
    letter-spacing: 0.01em;
    margin-bottom: 1.1rem;
    color: #0f233f;
}

.hero-copy h1 span {
    color: var(--hot);
}

.hero-copy h1 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--gold), #b8941f);
    color: #fff;
    border-radius: 16px;
    padding: 0 10px;
}

.hero-lead {
    max-width: 560px;
    color: #324157;
    font-size: 1.03rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1.4rem;
}

.btn-solid,
.btn-ghost {
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 800;
    font-size: 0.92rem;
    transition: var(--ease);
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-solid {
    background: linear-gradient(135deg, var(--hot), var(--hot-2));
    color: #fff;
}

.btn-solid:hover {
    box-shadow: 0 14px 26px rgba(239, 108, 63, 0.32);
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(16, 32, 58, 0.2);
}

.btn-ghost:hover {
    border-color: var(--mint);
    color: var(--mint);
}

.ticker {
    margin-top: 1.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ticker span {
    border-radius: 999px;
    border: 1px dashed rgba(16, 32, 58, 0.25);
    background: rgba(255, 255, 255, 0.66);
    padding: 7px 12px;
    font-size: 0.78rem;
    font-weight: 700;
}

/* --- Hero Experience Slider --- */
.hero-slider-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
    height: 340px;
}

.hero-swiper {
    width: 100%;
    border-radius: var(--radius-lg);
    height: 100%;
}

.hero-swiper .swiper-wrapper {
    height: 100%;
}

.hero-swiper .swiper-slide {
    position: relative;
    height: 100%;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.hero-swiper .swiper-slide picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
}

.slide-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
}

.slide-product-img {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 52%;
    max-width: 260px;
    opacity: 0.82;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.2));
}

.slide-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(239, 108, 63, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.08) 56%, rgba(0, 0, 0, 0.02) 100%);
    pointer-events: none;
}

.slide-content {
    position: relative;
    z-index: 2;
    padding: 28px 24px;
    color: #fff;
    width: 100%;
}

.slide-number {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 2rem;
    color: rgba(212, 175, 55, 0.5);
    margin-bottom: 6px;
    line-height: 1;
}

.slide-content h3 {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    line-height: 1.4;
    color: #fff;
    margin-bottom: 4px;
}

.slide-content p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 500;
}

.slide-bg-img-evolution {
    object-position: 20% center;
}

.slide-bg-img-shipping {
    object-position: 38% center;
}

/* Swiper Pagination Override */
.hero-swiper .swiper-pagination {
    bottom: 10px !important;
}

.hero-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
    transition: var(--ease);
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--gold);
    width: 26px;
    border-radius: 5px;
}

/* --- Signal / Story Band --- */
section {
    padding: 82px 0;
}

.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4.4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #112540;
}

.section-head p {
    color: var(--muted);
    max-width: 600px;
}

.signal-band {
    padding-top: 36px;
}

.signal-grid {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(140deg, #fff4df, #fff8ef);
    padding: 30px;
    display: grid;
    gap: 18px;
}

.signal-grid h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: #10213a;
    margin-bottom: 10px;
}

.signal-grid p {
    color: #324157;
}

.signal-codes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.signal-codes span {
    font-family: var(--font-en);
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    border-radius: 999px;
    padding: 8px 12px;
    background: #10203a;
    color: #fff;
}

/* --- Features Grid --- */
.features {
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.5));
}

.feature-grid {
    margin-top: 1.4rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.feature-card {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.86);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--ease);
}

.feature-card:hover {
    transform: translateY(-4px) rotate(-0.4deg);
    border-color: rgba(212, 175, 55, 0.5);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.feature-card h3 {
    font-size: 1.26rem;
    margin-bottom: 8px;
    color: #122846;
}

.feature-card p {
    color: #324157;
    font-size: 0.92rem;
}

/* --- Brand Lines Section --- */
.lines {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.65)),
        repeating-linear-gradient(-45deg, rgba(16, 32, 58, 0.02) 0 16px, transparent 16px 34px);
}

.line-grid {
    display: grid;
    gap: 18px;
    margin-top: 1.4rem;
}

.line-card {
    border-radius: var(--radius-lg);
    padding: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
}

.line-card::before {
    content: '';
    position: absolute;
    inset: auto -32% -42% auto;
    width: 72%;
    aspect-ratio: 1;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.32), transparent 65%);
    pointer-events: none;
}

/* Tohfeh Premium Card */
.line-card.premium {
    background: linear-gradient(145deg, #0f0f0f, #2a2a2a 45%, #444 100%);
    color: #fff;
}

.line-card.premium h3 {
    color: var(--gold);
}

.line-card.premium .line-tag {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold-light);
}

/* Mastaneh Economic Card */
.line-card.economic {
    background: linear-gradient(145deg, #fff7ea, #fce6be 58%, #f5d093 100%);
    border-color: rgba(16, 32, 58, 0.15);
    color: #1f2d40;
}

.line-card.economic .line-tag {
    background: rgba(16, 32, 58, 0.12);
}

.line-tag {
    display: inline-block;
    border-radius: 999px;
    padding: 6px 12px;
    margin-bottom: 10px;
    font: 800 0.7rem/1 var(--font-en);
    letter-spacing: 0.12em;
}

.line-card h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 8px;
    line-height: 1.2;
}

.line-card > p {
    margin-bottom: 16px;
}

.line-card ul {
    display: grid;
    gap: 8px;
    margin-bottom: 20px;
}

.line-card ul li {
    position: relative;
    padding-right: 24px;
}

.line-card ul li::before {
    content: '✅';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 0.8rem;
}

.line-card .line-cta {
    display: inline-block;
    border-radius: 999px;
    padding: 11px 18px;
    font-weight: 800;
    transition: var(--ease);
}

.premium .line-cta {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #1a1a1a;
}

.economic .line-cta {
    background: #153257;
    color: #fff;
}

.line-cta:hover {
    transform: translateY(-2px);
}

/* --- Product Catalog --- */
.catalog-section {
    background: var(--bg-alt);
}

.catalog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 1.4rem;
}

.product-item {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
    padding: 20px;
    display: grid;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--ease);
}

.product-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.product-item-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.product-item-img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 2px solid var(--sand);
    flex-shrink: 0;
}

.product-item-info h3 {
    font-size: 1.15rem;
    color: #122846;
    margin-bottom: 2px;
}

.product-item-info p {
    font-size: 0.85rem;
    color: var(--muted);
}

.product-item .line-cta {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border-radius: 14px;
    padding: 12px 16px;
    font-weight: 800;
    font-size: 0.88rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--hot), var(--hot-2));
    color: #fff;
    border: 1px solid rgba(239, 108, 63, 0.28);
    box-shadow: 0 10px 22px rgba(239, 108, 63, 0.26);
    transition: var(--ease);
}

.product-item .line-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 26px rgba(239, 108, 63, 0.34);
}

.product-item .line-cta:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.95),
        0 0 0 6px rgba(239, 108, 63, 0.38);
}

.variant-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.variant-badge {
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.72rem;
    font-weight: 700;
}

.variant-badge.tohfeh {
    background: linear-gradient(135deg, #1a1a1a, #333);
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.variant-badge.mastaneh {
    background: linear-gradient(135deg, #fff7ea, #fce6be);
    color: #6b4c1a;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.variant-details {
    display: grid;
    gap: 6px;
}

.variant-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 0.85rem;
}

.variant-row .brand-label {
    font-weight: 800;
    min-width: 60px;
}

.variant-row .brand-label.tohfeh {
    color: var(--gold);
}

.variant-row .brand-label.mastaneh {
    color: #b8860b;
}

.weight-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.weight-tag {
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 0.72rem;
    background: #fef8ea;
    color: #324157;
    border: 1px solid var(--line);
}

/* --- Comparison Matrix --- */
.compare {
    background: linear-gradient(180deg, var(--bg-alt), #fff);
}

.matrix-wrap {
    margin-top: 1.3rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    overflow-x: auto;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.compare-matrix {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

.compare-matrix th,
.compare-matrix td {
    padding: 15px 20px;
    text-align: right;
    border-bottom: 1px solid rgba(16, 32, 58, 0.1);
}

.compare-matrix th {
    background: #112540;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    vertical-align: middle;
}

.compare-matrix th:nth-child(2) {
    background: linear-gradient(135deg, #1a1a1a, #333);
    color: var(--gold);
}

.compare-matrix th:nth-child(3) {
    background: linear-gradient(135deg, #b8860b, #d4af37);
    color: #fff;
}

.compare-matrix .brand-name {
    display: block;
    font-size: 1rem;
    font-weight: 900;
}

.compare-matrix .brand-sub {
    display: block;
    margin-top: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    opacity: 0.95;
}

.compare-matrix td {
    font-size: 0.9rem;
    color: #324157;
    transition: background-color 0.2s ease;
}

.compare-matrix td:first-child {
    font-weight: 700;
    color: #122846;
    background: #fdf7ea;
}

.compare-matrix td:nth-child(2) {
    background: rgba(16, 32, 58, 0.03);
}

.compare-matrix td:nth-child(3) {
    background: rgba(212, 175, 55, 0.11);
}

.compare-matrix th:nth-child(2),
.compare-matrix td:nth-child(2) {
    border-left: 2px solid rgba(16, 32, 58, 0.16);
}

.compare-matrix tbody tr:nth-child(even) td:first-child {
    background: #f9f0dc;
}

.compare-matrix tbody tr:nth-child(even) td:nth-child(2) {
    background: rgba(16, 32, 58, 0.06);
}

.compare-matrix tbody tr:nth-child(even) td:nth-child(3) {
    background: rgba(212, 175, 55, 0.16);
}

.compare-matrix tbody tr:hover td {
    filter: brightness(0.98);
}

.compare-mobile {
    display: none;
    margin-top: 1.3rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-sm);
    padding: 14px;
}

.compare-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.compare-tab {
    border: 1px solid rgba(16, 32, 58, 0.2);
    border-radius: 12px;
    background: #f8f1e5;
    color: #243349;
    font: 800 0.88rem/1 var(--font-fa);
    padding: 10px 12px;
    cursor: pointer;
    transition: var(--ease);
}

.compare-tab.is-active {
    background: #112540;
    color: #fff;
    border-color: #112540;
}

.compare-tab:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(17, 37, 64, 0.2);
}

.compare-panel {
    border: 1px solid rgba(16, 32, 58, 0.14);
    border-radius: 14px;
    padding: 12px;
    background: linear-gradient(145deg, #fff, #fff8ed);
}

.compare-panel h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #10213a;
}

.compare-panel[data-panel="tohfeh"] h3 {
    color: #0f233f;
}

.compare-panel[data-panel="mastaneh"] h3 {
    color: #9a6d09;
}

.compare-list {
    display: grid;
    gap: 8px;
}

.compare-list li {
    border: 1px solid rgba(16, 32, 58, 0.1);
    border-radius: 10px;
    background: #fff;
    padding: 10px;
    display: grid;
    gap: 4px;
}

.compare-list li span {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 700;
}

.compare-list li strong {
    font-size: 0.9rem;
    color: #122846;
}

/* --- Stats Section --- */
.stats {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.07), rgba(239, 108, 63, 0.07));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.stat {
    border-radius: var(--radius-md);
    border: 1px solid rgba(16, 32, 58, 0.15);
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
    padding: 20px;
}

.count {
    font: 800 clamp(2.2rem, 5vw, 3rem)/1 var(--font-en);
    color: var(--hot);
    margin-bottom: 8px;
}

.stat span {
    font-weight: 700;
    color: #2a3b52;
}

/* --- Agency Form --- */
.agency-wrap {
    display: grid;
    gap: 1.2rem;
}

.agency-form {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    background: linear-gradient(140deg, #fff, #fff7eb);
    box-shadow: var(--shadow-sm);
}

.agency-form label {
    display: grid;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
}

.agency-form input,
.agency-form select,
.agency-form textarea {
    width: 100%;
    border: 1px solid rgba(16, 32, 58, 0.2);
    border-radius: 12px;
    padding: 12px;
    font: 500 0.9rem/1.7 var(--font-fa);
    background: #fff;
    outline: none;
    transition: var(--ease);
}

.agency-form textarea {
    min-height: 110px;
    resize: vertical;
}

.agency-form input:focus,
.agency-form select:focus,
.agency-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16);
}

.agency-form button[type="submit"] {
    border: none;
    border-radius: 14px;
    padding: 13px;
    font: 800 1rem/1 var(--font-fa);
    background: linear-gradient(135deg, var(--gold), #b8941f);
    color: #fff;
    cursor: pointer;
    transition: var(--ease);
}

.agency-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(212, 175, 55, 0.35);
}

/* --- FAQ Section --- */
.faq {
    background: linear-gradient(180deg, #fff, var(--bg-alt));
}

.faq-list {
    margin-top: 1.4rem;
    display: grid;
    gap: 10px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    overflow: hidden;
    transition: var(--ease);
}

.faq-item[open] {
    box-shadow: var(--shadow-sm);
    border-color: rgba(212, 175, 55, 0.35);
}

.faq-item summary {
    padding: 16px 20px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #122846;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: var(--ease);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '◂';
    font-size: 0.9rem;
    color: var(--muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    transform: rotate(-90deg);
    color: var(--gold);
}

.faq-item[open] summary {
    background: linear-gradient(135deg, #fef8ea, #fff7eb);
    border-bottom: 1px solid var(--line);
}

.faq-answer {
    padding: 16px 20px;
    line-height: 1.9;
    color: #324157;
    font-size: 0.92rem;
}

.faq-answer a {
    color: var(--mint);
    font-weight: 700;
    border-bottom: 1px dashed var(--mint);
}

.faq-answer a:hover {
    color: var(--hot);
    border-color: var(--hot);
}

/* --- Wholesale Aside --- */
.wholesale-aside {
    margin-top: 2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: linear-gradient(140deg, #fef8ea, #fff7eb);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.wholesale-aside h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: #122846;
    margin-bottom: 12px;
}

.wholesale-aside ul {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.wholesale-aside li {
    font-size: 0.92rem;
    color: #324157;
    padding-right: 4px;
}

.wholesale-aside .btn-solid {
    display: inline-block;
    margin-top: 4px;
}


/* --- Contact CTA --- */
.contact {
    padding-top: 26px;
}

.contact-card {
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, #0f0f0f, #1a1a1a 50%, #2a2a2a 100%);
    color: #fff;
    text-align: center;
    padding: 46px 24px;
    position: relative;
    overflow: hidden;
}

.contact-card::before,
.contact-card::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.contact-card::before {
    width: 240px;
    height: 240px;
    right: -60px;
    top: -80px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.35), transparent 70%);
}

.contact-card::after {
    width: 280px;
    height: 280px;
    left: -70px;
    bottom: -120px;
    background: radial-gradient(circle, rgba(239, 108, 63, 0.3), transparent 70%);
}

.contact-card > * {
    position: relative;
    z-index: 1;
}

.contact-card h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.3;
    margin-bottom: 10px;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.84);
    margin-bottom: 16px;
}

.contact-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.contact .btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
    background: transparent;
}

.contact .btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* --- Footer --- */
.site-footer {
    margin-top: 74px;
    padding-top: 60px;
    background: #0f1f37;
    color: rgba(255, 255, 255, 0.78);
    padding-bottom: 84px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
}

.site-footer h3,
.site-footer h4 {
    color: #fff;
    margin-bottom: 10px;
}

.site-footer a {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.82);
    transition: color var(--ease);
}

.site-footer a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    margin-top: 26px;
    padding-top: 12px;
    text-align: center;
    font-size: 0.84rem;
}

/* --- Mobile Sticky Bar --- */
.mobile-sticky {
    position: fixed;
    inset: auto 0 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 -10px 26px rgba(16, 32, 58, 0.2);
}

.mobile-sticky a {
    text-align: center;
    padding: 14px;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--ease);
}

.mobile-sticky a:first-child {
    background: linear-gradient(135deg, var(--hot), var(--hot-2));
    color: #fff;
}

.mobile-sticky a:last-child {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
}

/* --- Scroll Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive: Tablet (760px+) --- */
@media (min-width: 760px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .agency-form {
        grid-template-columns: repeat(2, 1fr);
    }

    .agency-form .wide,
    .agency-form button[type="submit"] {
        grid-column: 1 / -1;
    }

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

    .product-item .line-cta {
        width: auto;
        min-width: 170px;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* --- Responsive: Desktop (980px+) --- */
@media (min-width: 980px) {
    .desktop-nav,
    .header-cta {
        display: inline-flex;
    }

    .menu-btn {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1.04fr 0.96fr;
        align-items: center;
        gap: 2.6rem;
    }

    .line-grid {
        grid-template-columns: 1fr 1fr;
    }

    .signal-grid {
        grid-template-columns: 2fr 1fr;
        align-items: center;
    }

    .mobile-sticky {
        display: none;
    }

    body {
        padding-bottom: 0;
    }
}

/* --- Responsive: Large Desktop / Monitor (1024px+) --- */
@media (min-width: 1024px) {
    .hero-copy h1 em {
        display: inline-block;
        white-space: nowrap;
        line-height: 1.2;
        padding: 0 12px 3px;
    }

    .compare-matrix {
        min-width: 0;
        table-layout: fixed;
    }

    .compare-matrix th:nth-child(1),
    .compare-matrix td:nth-child(1) {
        width: 24%;
    }

    .compare-matrix th:nth-child(2),
    .compare-matrix td:nth-child(2),
    .compare-matrix th:nth-child(3),
    .compare-matrix td:nth-child(3) {
        width: 38%;
    }

    .compare-matrix th:nth-child(2),
    .compare-matrix td:nth-child(2) {
        border-left-color: rgba(16, 32, 58, 0.28);
    }

    .line-grid {
        max-width: 1060px;
        margin-left: auto;
        margin-right: auto;
        gap: 24px;
    }

    .line-card {
        padding: 36px;
    }
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .compare-matrix th,
    .compare-matrix td {
        padding: 13px 14px;
    }

    .compare-matrix th {
        font-size: 0.84rem;
    }

    .compare-matrix td {
        font-size: 0.84rem;
    }

    .compare-matrix .brand-name {
        font-size: 0.93rem;
    }

    .compare-matrix .brand-sub {
        font-size: 0.66rem;
    }
}

/* --- Responsive: Ultra-wide Monitor (1440px+) --- */
@media (min-width: 1440px) {
    .line-grid {
        max-width: 1200px;
        gap: 32px;
    }

    .line-card {
        padding: 42px;
    }

    .hero-slider-wrap {
        height: 420px;
    }

    .hero-swiper .swiper-slide {
        height: 420px;
    }
}

/* Mobile bottom padding for sticky bar */
@media (max-width: 759px) {
    .hero-slider-wrap {
        height: 260px;
    }

    .hero-swiper .swiper-slide {
        height: 260px;
        min-height: 200px;
    }

    .slide-content {
        padding: 16px 14px;
    }

    .slide-number {
        font-size: 1.2rem;
        margin-bottom: 2px;
    }

    .slide-content h3 {
        font-size: 0.95rem;
        line-height: 1.3;
        margin-bottom: 2px;
    }

    .slide-content p {
        font-size: 0.78rem;
        line-height: 1.4;
    }

    .slide-product-img {
        width: 40%;
        max-width: 140px;
        right: 4%;
    }

    .matrix-wrap {
        display: none;
    }

    .compare-mobile {
        display: block;
    }
}

@media (max-width: 979px) {
    body {
        padding-bottom: 64px;
    }
}
