/* =====================================================================
   Atyaf Alalwan — Professional promotional-gifts theme
   ===================================================================== */

:root {
    --primary: #1a1f5e;
    --primary-light: #2b3080;
    --accent: #c8a44e;
    --accent-light: #dbb95f;
    --accent-dark: #a88832;
    --teal: #2a9d8f;
    --teal-dark: #21796e;
    --wa: #25d366;
    --ink: #1c1f33;
    --body: #4a4d62;
    --muted: #7b7e95;
    --bg: #f8f8fc;
    --paper: #ffffff;
    --surface: #f2f2f8;
    --line: #e4e5ef;
    --grad: linear-gradient(135deg, #1a1f5e 0%, #2b3080 50%, #3d44a5 100%);
    --grad-accent: linear-gradient(135deg, #c8a44e, #dbb95f);
    --shadow-xs: 0 1px 3px rgba(26, 31, 94, .06);
    --shadow-sm: 0 4px 16px -4px rgba(26, 31, 94, .10);
    --shadow: 0 12px 40px -12px rgba(26, 31, 94, .15);
    --shadow-lg: 0 24px 56px -16px rgba(26, 31, 94, .20);
    --shadow-accent: 0 12px 28px -8px rgba(200, 164, 78, .35);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --container: 1180px;
    --header-h: 72px;
    --ease: cubic-bezier(.25, .46, .45, .94);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --sans: "Cairo", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*, *::before, *::after { min-width: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
    font-family: var(--sans);
    color: var(--body);
    background: var(--bg);
    line-height: 1.75;
    font-size: 15px;
    overflow-x: hidden;
    max-width: 100%;
    -webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; }
img { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--primary); color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

/* ---------- Section scaffolding ---------- */
.section { padding: 80px 0; }
.section.lav { background: var(--surface); }
.section.indigo { background: var(--primary); color: #fff; }

.section-head { text-align: center; max-width: 600px; margin: 0 auto 48px; }
.section-head.start { text-align: start; margin-inline: 0; }
.eyebrow {
    display: inline-block;
    color: var(--accent-dark);
    font-size: 13px; font-weight: 700; letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.indigo .eyebrow { color: var(--accent-light); }
h1, h2, h3, h4 { line-height: 1.35; font-weight: 800; color: var(--ink); }
.section-title { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; letter-spacing: -.02em; }
.section-title .hl { color: var(--primary); }
.indigo .section-title { color: #fff; }
.indigo .section-title .hl { color: var(--accent); }
.section-sub { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.indigo .section-sub { color: rgba(255, 255, 255, .65); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--sans); font-weight: 700; font-size: 14px;
    padding: 13px 26px; border-radius: 10px; border: 2px solid transparent;
    cursor: pointer; white-space: nowrap;
    transition: all .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-coral { background: var(--teal); color: #fff; }
.btn-coral:hover { background: var(--teal-dark); transform: translateY(-2px); }
.btn-gold { background: var(--accent); color: #fff; }
.btn-gold:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-accent); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1ebe5a; transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .4); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-ghost:hover { background: #fff; color: var(--primary); border-color: #fff; }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--line); }
.btn-outline:hover { border-color: var(--primary); background: var(--surface); }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s, border-color .3s;
}
.header.scrolled { box-shadow: 0 2px 20px -4px rgba(26, 31, 94, .12); border-color: var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 42px; height: 42px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; flex: none; }
.brand-mark img { width: 28px; height: 28px; }
.brand-mark span { color: #fff; font-weight: 800; font-size: 18px; }
.brand-word { display: flex; flex-direction: column; line-height: 1.2; }
.brand-word b { font-size: 16px; font-weight: 800; color: var(--primary); }
.brand-word small { font-size: 10.5px; color: var(--muted); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav > a { padding: 8px 14px; font-weight: 600; font-size: 14px; color: var(--body); border-radius: 8px; transition: .2s; }
.nav > a:hover { color: var(--primary); background: var(--surface); }
.nav > a.active { color: var(--primary); font-weight: 700; }
.header-side { display: flex; align-items: center; gap: 10px; }
.lang-pill { padding: 7px 14px; border-radius: 8px; border: 1.5px solid var(--line); font-weight: 700; font-size: 12px; color: var(--primary); transition: .2s; }
.lang-pill:hover { border-color: var(--primary); background: var(--surface); }
.nav-mobile { display: none; }

.menu-toggle { display: none; width: 40px; height: 40px; border: 0; background: var(--surface); border-radius: 10px; cursor: pointer; flex-direction: column; gap: 4px; align-items: center; justify-content: center; }
.menu-toggle span { width: 18px; height: 2px; background: var(--primary); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--grad); color: #fff; overflow: hidden; padding: 64px 0 80px; }
.hero::before { content: ""; position: absolute; width: 500px; height: 500px; background: radial-gradient(circle, rgba(200,164,78,.18), transparent 60%); top: -200px; inset-inline-end: -100px; z-index: 0; }
.hero .dots { position: absolute; inset: 0; z-index: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 32px 32px; }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.9); font-weight: 700; font-size: 13px; padding: 7px 16px; border-radius: 8px; margin-bottom: 20px; }
.hero-badge b { color: var(--accent); }
.hero h1 { font-size: clamp(30px, 4.5vw, 48px); font-weight: 800; line-height: 1.25; letter-spacing: -.02em; color: #fff; }
.hero h1 .u { color: var(--accent); }
.hero-sub { margin-top: 18px; font-size: clamp(15px, 1.8vw, 17px); color: rgba(255, 255, 255, .7); max-width: 48ch; line-height: 1.8; }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-points { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .8); }
.hero-points svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 2.5; flex: none; }

/* hero collage */
.hero-visual { position: relative; height: 400px; }
.hero-visual .blob { position: absolute; inset: 10% 8%; background: rgba(255, 255, 255, .05); border-radius: 42% 58% 55% 45% / 50% 45% 55% 50%; }
.hero-card {
    position: absolute; background: #fff; border-radius: 14px; overflow: hidden;
    box-shadow: 0 20px 50px -16px rgba(10, 12, 40, .45); border: 4px solid #fff;
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card.c1 { width: 56%; height: 60%; top: 6%; inset-inline-end: 2%; z-index: 3; }
.hero-card.c2 { width: 42%; height: 44%; bottom: 4%; inset-inline-start: 4%; z-index: 4; }
.hero-card.c3 { width: 32%; height: 32%; top: 4%; inset-inline-start: 10%; z-index: 2; transform: rotate(-4deg); }
.hero-chip { position: absolute; z-index: 5; background: #fff; color: var(--primary); font-weight: 700; font-size: 12px; padding: 9px 14px; border-radius: 10px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 6px; }
.hero-chip svg { width: 18px; height: 18px; }
.hero-chip.h1 { bottom: 18%; inset-inline-end: -1%; }
.hero-chip.h2 { top: 8%; inset-inline-start: -2%; background: var(--accent); color: #fff; }

/* ---------- Stats ---------- */
.stats { margin-top: -40px; position: relative; z-index: 5; }
.stats .wrap { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.stat { padding: 28px 16px; text-align: center; border-inline-start: 1px solid var(--line); }
.stat:first-child { border: 0; }
.stat b { display: block; font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: var(--primary); line-height: 1; }
.stat span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
@media (max-width: 680px) { .stats .wrap { grid-template-columns: 1fr 1fr; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } .stat:nth-child(odd) { border-inline-start: 0; } }

/* ---------- Features (why us) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: var(--paper); border-radius: var(--radius); padding: 28px 22px; text-align: center; border: 1px solid var(--line); transition: all .25s var(--ease); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature-ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin: 0 auto 14px; }
.feature:nth-child(1) .feature-ico { background: rgba(26,31,94,.08); }
.feature:nth-child(1) .feature-ico svg { fill: var(--primary); }
.feature:nth-child(2) .feature-ico { background: rgba(42,157,143,.10); }
.feature:nth-child(2) .feature-ico svg { fill: var(--teal); }
.feature:nth-child(3) .feature-ico { background: rgba(200,164,78,.12); }
.feature:nth-child(3) .feature-ico svg { fill: var(--accent-dark); }
.feature:nth-child(4) .feature-ico { background: rgba(26,31,94,.08); }
.feature:nth-child(4) .feature-ico svg { fill: var(--primary-light); }
.feature-ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 13.5px; line-height: 1.7; }

/* ---------- Categories (tiles) ---------- */
.cats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-tile { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 240px; display: flex; align-items: flex-end; transition: all .3s var(--ease); }
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(26,31,94,.85) 0%, rgba(26,31,94,.15) 50%, transparent 100%); }
.cat-body { position: relative; z-index: 2; padding: 20px; color: #fff; width: 100%; }
.cat-body b { font-size: 17px; font-weight: 700; display: block; }
.cat-body span { font-size: 12px; color: rgba(255,255,255,.65); display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; font-weight: 600; }
.cat-body span svg { width: 14px; height: 14px; fill: var(--accent); transition: transform .3s; }
.cat-tile:hover .cat-body span svg { transform: translateX(-3px); }
html[dir="ltr"] .cat-tile:hover .cat-body span svg { transform: translateX(3px); }
.cat-count { position: absolute; z-index: 3; top: 12px; inset-inline-start: 12px; background: var(--accent); color: #fff; font-weight: 700; font-size: 11px; padding: 4px 10px; border-radius: var(--radius-xs); }

/* ---------- Product cards ---------- */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pcard { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: all .25s var(--ease); display: flex; flex-direction: column; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.pcard-media { position: relative; aspect-ratio: 1 / 1; background: var(--surface); overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease-out); }
.pcard:hover .pcard-media img { transform: scale(1.04); }
.pcard-fav { position: absolute; top: 10px; inset-inline-start: 10px; background: var(--primary); color: #fff; font-weight: 700; font-size: 11px; padding: 4px 10px; border-radius: var(--radius-xs); }
.pcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.pcard-cat { color: var(--accent-dark); font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: .02em; }
.pcard h3 { font-size: 15px; font-weight: 700; margin: 3px 0 0; line-height: 1.5; }
.pcard h3 a:hover { color: var(--primary); }
.pcard-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pcard-price { font-weight: 700; font-size: 12px; color: var(--muted); }
.wa-mini { display: inline-flex; align-items: center; gap: 5px; background: var(--wa); color: #fff; font-weight: 700; font-size: 12px; padding: 8px 12px; border-radius: 8px; transition: .2s; }
.wa-mini:hover { background: #1ebe5a; }
.wa-mini svg { width: 14px; height: 14px; fill: #fff; }

/* ---------- How to order (steps) ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { position: relative; background: var(--paper); border-radius: var(--radius); padding: 28px 22px; border: 1px solid var(--line); }
.step-num { width: 46px; height: 46px; border-radius: 12px; background: var(--primary); color: #fff; font-weight: 800; font-size: 20px; display: grid; place-items: center; margin-bottom: 14px; }
.step:nth-child(2) .step-num { background: var(--accent); }
.step:nth-child(3) .step-num { background: var(--teal); }
.step:nth-child(4) .step-num { background: var(--primary-light); }
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 13.5px; line-height: 1.7; }

/* ---------- About ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.about-figure { position: relative; }
.about-figure .main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; }
.about-figure .main img { width: 100%; height: 100%; object-fit: cover; }
.about-figure .blob2 { position: absolute; width: 120px; height: 120px; background: var(--accent); border-radius: 42% 58% 55% 45% / 50% 45% 55% 50%; inset-inline-start: -20px; bottom: -20px; z-index: -1; opacity: .2; }
.about-badge { position: absolute; top: -16px; inset-inline-end: -12px; background: var(--primary); color: #fff; border-radius: 14px; padding: 14px 20px; box-shadow: var(--shadow); text-align: center; }
.about-badge b { display: block; font-size: 22px; font-weight: 800; line-height: 1; color: #fff; }
.about-badge span { font-size: 11px; color: rgba(255,255,255,.8); }
.about-lead { font-size: 17px; font-weight: 600; color: var(--ink); margin: 4px 0 12px; line-height: 1.7; }
.about-text p { color: var(--muted); margin-bottom: 12px; }
.check-list { margin: 20px 0; display: grid; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; font-size: 14.5px; }
.check-list .tick { flex: none; width: 24px; height: 24px; border-radius: var(--radius-xs); background: rgba(42,157,143,.12); display: grid; place-items: center; margin-top: 3px; }
.check-list .tick svg { width: 14px; height: 14px; stroke: var(--teal); fill: none; stroke-width: 3; }

/* ---------- Clients ---------- */
.clients-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.client { display: grid; place-items: center; min-height: 80px; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: .25s var(--ease); }
.client:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: transparent; }
.client img { max-height: 40px; width: auto; filter: grayscale(1); opacity: .55; transition: .3s; }
.client:hover img { filter: none; opacity: 1; }
.client .name { font-weight: 700; color: var(--muted); font-size: 13px; text-align: center; }
@media (max-width: 860px) { .clients-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .clients-row { grid-template-columns: 1fr 1fr; } }

/* ---------- CTA band ---------- */
.cta { position: relative; background: var(--grad); border-radius: 20px; padding: 52px 36px; text-align: center; color: #fff; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta::before { content: ""; position: absolute; width: 260px; height: 260px; background: radial-gradient(circle, rgba(200,164,78,.25), transparent 60%); top: -100px; inset-inline-end: -50px; }
.cta::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 28px 28px; }
.cta > * { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(24px, 3.5vw, 34px); font-weight: 800; color: #fff; }
.cta p { margin: 12px auto 24px; font-size: 16px; color: rgba(255,255,255,.7); max-width: 44ch; }
.cta-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Inner page header ---------- */
.page-head { position: relative; background: var(--grad); color: #fff; padding: 48px 0; overflow: hidden; }
.page-head::before { content: ""; position: absolute; width: 280px; height: 280px; background: radial-gradient(circle, rgba(200,164,78,.2), transparent 60%); top: -120px; inset-inline-end: -50px; }
.page-head .dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 28px 28px; }
.page-head .container { position: relative; z-index: 2; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 10px; }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { opacity: .4; }
.crumbs .cur { color: var(--accent); }
.page-head h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; color: #fff; }
.page-head .lead { margin-top: 8px; color: rgba(255,255,255,.65); font-size: 15px; max-width: 56ch; }

/* ---------- Toolbar / filters ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 16px; border-radius: 8px; border: 1.5px solid var(--line); font-weight: 700; font-size: 13px; color: var(--muted); background: var(--paper); transition: .2s; }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.search-box { display: flex; align-items: center; gap: 6px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 4px 5px 4px 16px; }
.search-box input { border: 0; outline: 0; font-family: var(--sans); font-size: 14px; background: transparent; min-width: 160px; color: var(--ink); }
.search-box button { border: 0; background: var(--primary); color: #fff; width: 36px; height: 36px; border-radius: 8px; cursor: pointer; display: grid; place-items: center; }
.search-box button svg { width: 16px; height: 16px; fill: #fff; }

/* ---------- Product detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: flex-start; }
.gallery-main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 1 / 1; background: var(--surface); border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { width: 68px; height: 68px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; cursor: pointer; padding: 0; background: none; }
.thumbs button.active { border-color: var(--primary); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-info .pill { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); color: var(--primary); font-weight: 700; font-size: 12px; padding: 6px 14px; border-radius: 8px; margin-bottom: 12px; }
.detail-info h1 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; line-height: 1.35; }
.detail-desc { margin: 14px 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.detail-price { display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: var(--radius-sm); padding: 16px 20px; margin: 16px 0; }
.detail-price .tag { font-size: 13px; color: var(--muted); }
.detail-price .val { font-size: 18px; font-weight: 800; color: var(--primary); }
.detail-actions { display: grid; gap: 10px; }

.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; }
.stars .on { fill: var(--accent); }
.stars .off { fill: #dcdce8; }

/* ---------- Reviews ---------- */
.reviews-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; }
.review { padding: 20px 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); margin-bottom: 14px; }
.review-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.review-head b { font-weight: 700; }
.review p { color: var(--muted); font-size: 14px; }
.review-form { background: var(--surface); border-radius: var(--radius); padding: 24px; position: sticky; top: 92px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-family: var(--sans); font-size: 14px; background: #fff; color: var(--ink); transition: border-color .2s; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--primary); }
.rating-input { display: inline-flex; flex-direction: row-reverse; gap: 3px; }
.rating-input input { display: none; }
.rating-input label { cursor: pointer; }
.rating-input label svg { width: 28px; height: 28px; fill: #dcdce8; transition: fill .15s; }
.rating-input label:hover svg, .rating-input label:hover ~ label svg, .rating-input input:checked ~ label svg { fill: var(--accent); }
.alert-ok { background: rgba(42,157,143,.10); color: #167a6a; border: 1px solid rgba(42,157,143,.25); padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-weight: 600; font-size: 14px; }

/* ---------- Contact ---------- */
.contact-single { max-width: 520px; }
.contact-cards { display: grid; gap: 12px; }
.ccard { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: .25s; }
.ccard:hover { border-color: var(--primary); box-shadow: var(--shadow-xs); }
.ccard .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--surface); display: grid; place-items: center; }
.ccard .ico svg { width: 22px; height: 22px; fill: var(--primary); }
.ccard b { display: block; font-size: 14px; margin-bottom: 1px; }
.ccard a, .ccard span { color: var(--muted); font-size: 14px; }
.ccard a:hover { color: var(--primary); }

/* ---------- Article ---------- */
.article { max-width: 760px; margin-inline: auto; }
.article p { margin-bottom: 14px; color: var(--body); font-size: 15.5px; line-height: 1.8; }
.article h2 { margin: 24px 0 10px; font-size: 21px; color: var(--primary); }
.article ul { margin: 0 0 14px; display: grid; gap: 8px; }
.article ul li { position: relative; padding-inline-start: 22px; color: var(--body); }
.article ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: 11px; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }

/* ---------- Footer ---------- */
.footer { background: #151838; color: rgba(255,255,255,.6); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; }
.footer .brand-word b { color: #fff; }
.footer .brand-word small { color: rgba(255,255,255,.45); }
.footer .fbrand p { margin: 14px 0; max-width: 38ch; font-size: 13.5px; line-height: 1.8; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 700; }
.footer ul { display: grid; gap: 9px; }
.footer ul a { font-size: 14px; transition: color .2s; }
.footer ul a:hover, .footer .contact-li a:hover { color: var(--accent); }
.footer .contact-li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; }
.footer .contact-li svg { width: 16px; height: 16px; fill: var(--accent); flex: none; margin-top: 3px; }
.socials { display: flex; gap: 8px; margin-top: 4px; }
.socials a { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.06); display: grid; place-items: center; font-weight: 700; font-size: 12px; transition: .2s; }
.socials a:hover { background: var(--accent); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; text-align: center; font-size: 12.5px; color: rgba(255,255,255,.35); }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; inset-block-end: 22px; inset-inline-end: 22px; z-index: 70; width: 54px; height: 54px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 8px 24px -6px rgba(37,211,102,.5); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(15,16,40,.92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lb.open { display: flex; }
.lb img { max-width: 90vw; max-height: 86vh; border-radius: 8px; }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,.1); border: 0; cursor: pointer; border-radius: 50%; display: grid; place-items: center; transition: .2s; }
.lb-close { top: 20px; inset-inline-end: 20px; width: 42px; height: 42px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; }
.lb-nav svg, .lb-close svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; }
.lb-prev { inset-inline-start: 20px; }
.lb-next { inset-inline-end: 20px; }
.lb-close:hover, .lb-nav:hover { background: var(--accent); }
.lb-close:hover svg, .lb-nav:hover svg { stroke: #fff; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state svg { width: 48px; height: 48px; stroke: var(--primary); fill: none; stroke-width: 1.4; margin-bottom: 14px; }

.pager { display: flex; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1.5px solid var(--line); font-weight: 700; background: var(--paper); padding: 0 10px; font-size: 14px; }
.pager a:hover { border-color: var(--primary); color: var(--primary); }
.pager .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- Responsive ---------- */

/* ---- Tablet landscape / small desktop ---- */
@media (max-width: 1024px) {
    .feature-grid, .cats-grid, .products-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
    .hero .container, .about-split, .detail-grid, .reviews-wrap { grid-template-columns: 1fr; gap: 32px; }
    .hero-visual { height: 300px; max-width: 400px; margin-inline: auto; }
    .about-figure { max-width: 400px; }
    .clients-row { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ---- Tablet portrait / large phones ---- */
@media (max-width: 820px) {
    .menu-toggle { display: flex; }
    .nav {
        position: fixed; inset: 0 0 0 auto; width: min(82vw, 320px);
        background: #fff; flex-direction: column; align-items: stretch;
        padding: 80px 20px 28px; gap: 2px; z-index: 65;
        box-shadow: -12px 0 40px rgba(20,20,45,.15);
        opacity: 0; visibility: hidden; pointer-events: none;
        transition: opacity .25s, visibility .25s;
    }
    .nav.open { opacity: 1; visibility: visible; pointer-events: auto; }
    .nav > a { padding: 12px 14px; border-radius: 10px; font-size: 15px; }
    .nav-desktop { display: none !important; }
    .nav .nav-mobile { display: block; }
    .header-side .lang-pill { display: none; }

    .hero { padding: 48px 0 64px; }
    .hero-visual { height: 260px; max-width: 340px; }
    .hero-chip { font-size: 11px; padding: 7px 10px; }

    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer .fbrand p { max-width: 100%; }

    .section { padding: 64px 0; }
    .section-head { margin-bottom: 36px; }

    .detail-price { flex-direction: column; align-items: flex-start; gap: 6px; }
    .review-form { position: static; }

    .about-badge { top: -10px; inset-inline-end: 10px; padding: 10px 14px; }
    .about-badge b { font-size: 18px; }

    .clients-row { grid-template-columns: repeat(3, 1fr); }

    .contact-single { max-width: 100%; }
}

/* ---- Phones ---- */
@media (max-width: 560px) {
    .section { padding: 48px 0; }
    .section-head { margin-bottom: 28px; }
    .section-sub { font-size: 14px; }

    .feature-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
    .cats-grid { grid-template-columns: 1fr 1fr; }
    .cats-grid .cat-tile { min-height: 180px; }
    .products-grid { grid-template-columns: 1fr 1fr; }

    .toolbar { flex-direction: column; align-items: stretch; gap: 10px; }
    .chips { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
    .chips::-webkit-scrollbar { display: none; }
    .chip { flex: none; }
    .search-box { justify-content: space-between; }
    .search-box input { min-width: 0; flex: 1; }

    .hero-visual { height: 220px; max-width: 280px; }
    .hero-chip.h1 { bottom: 10%; inset-inline-end: 2%; }
    .hero-chip.h2 { top: 4%; inset-inline-start: 0; }

    .hero-points { gap: 6px 14px; }
    .hero-points li { font-size: 12.5px; }

    .brand-word small { display: none; }

    .page-head { padding: 36px 0; }
    .page-head h1 { font-size: clamp(22px, 6vw, 30px); }
    .page-head .lead { font-size: 13.5px; }

    .cta { padding: 36px 20px; border-radius: 14px; }
    .cta p { font-size: 14px; }
    .cta-actions { flex-direction: column; }
    .cta-actions .btn { width: 100%; }

    .thumbs button { width: 56px; height: 56px; }

    .reviews-wrap { gap: 24px; }

    .lb-nav { width: 40px; height: 40px; }
    .lb-close { width: 36px; height: 36px; top: 14px; inset-inline-end: 14px; }
    .lb-prev { inset-inline-start: 10px; }
    .lb-next { inset-inline-end: 10px; }

    .wa-float { width: 48px; height: 48px; inset-block-end: 16px; inset-inline-end: 16px; }
    .wa-float svg { width: 24px; height: 24px; }
}

/* ---- Small phones ---- */
@media (max-width: 430px) {
    .container { padding-inline: 14px; }

    .header .container { height: 60px; gap: 10px; }
    .brand-word b { font-size: 14px; }

    .hero { padding: 36px 0 52px; }
    .hero h1 { font-size: clamp(24px, 7.5vw, 30px); }
    .hero-sub { font-size: 14px; margin-top: 12px; }
    .hero-actions { flex-direction: column; align-items: stretch; gap: 8px; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-badge { font-size: 12px; padding: 6px 12px; }
    .hero-visual { height: 180px; max-width: 240px; }
    .hero-card { border-width: 3px; border-radius: 10px; }
    .hero-chip { font-size: 10px; padding: 6px 8px; border-radius: 8px; gap: 4px; }
    .hero-chip svg { width: 14px; height: 14px; }

    .stats .wrap { border-radius: 12px; }
    .stat { padding: 20px 12px; }
    .stat b { font-size: clamp(22px, 6vw, 28px); }
    .stat span { font-size: 11.5px; }

    .products-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .pcard-body { padding: 10px 12px 12px; }
    .pcard h3 { font-size: 13.5px; }
    .pcard-cat { font-size: 10px; }
    .pcard-price { font-size: 11px; }
    .wa-mini { padding: 6px 10px; font-size: 11px; gap: 3px; }
    .wa-mini svg { width: 12px; height: 12px; }

    .cats-grid { grid-template-columns: 1fr; }
    .cats-grid .cat-tile { min-height: 200px; }

    .feature-grid, .steps-grid { grid-template-columns: 1fr; }
    .feature { padding: 22px 18px; }
    .step { padding: 22px 18px; }

    .section-title { font-size: clamp(20px, 6vw, 26px); }
    .eyebrow { font-size: 11px; }

    .about-split { gap: 24px; }
    .about-lead { font-size: 15px; }
    .about-badge { padding: 8px 12px; border-radius: 10px; }
    .about-badge b { font-size: 16px; }
    .about-badge span { font-size: 10px; }
    .check-list li { font-size: 13px; gap: 8px; }
    .check-list .tick { width: 20px; height: 20px; }
    .check-list .tick svg { width: 12px; height: 12px; }

    .clients-row { grid-template-columns: 1fr 1fr; gap: 10px; }
    .client { min-height: 64px; padding: 12px; }

    .ccard { padding: 14px 16px; gap: 10px; }
    .ccard .ico { width: 38px; height: 38px; border-radius: 10px; }
    .ccard .ico svg { width: 18px; height: 18px; }
    .ccard b { font-size: 13px; }
    .ccard a, .ccard span { font-size: 13px; }

    .detail-info h1 { font-size: clamp(20px, 5.5vw, 26px); }
    .detail-desc { font-size: 14px; }
    .detail-price .tag { font-size: 12px; }
    .detail-price .val { font-size: 16px; }

    .review { padding: 16px; }
    .review-form { padding: 18px; }
    .field input, .field textarea { padding: 10px 12px; font-size: 14px; }

    .footer { padding-top: 40px; }
    .footer-grid { gap: 20px; padding-bottom: 32px; }
    .footer h4 { font-size: 14px; margin-bottom: 12px; }
    .footer ul { gap: 7px; }
    .footer ul a { font-size: 13px; }
    .footer .contact-li { font-size: 12.5px; }
    .footer-bottom { padding: 16px 0; font-size: 11.5px; }

    .pager a, .pager span { min-width: 36px; height: 36px; font-size: 13px; border-radius: 8px; }

    .article p { font-size: 14.5px; }
    .article h2 { font-size: 18px; }

    .crumbs { font-size: 12px; }
}
