/* ==========================================================================
   Liliet Pet — theme taken from the catalog (mint, teal, orange)
   ========================================================================== */
:root {
  --mint: #a8d3bf;
  --mint-50: #f1f8f4;
  --mint-100: #e2f1ea;
  --mint-200: #cde7db;
  --teal: #7cb6b8;
  --teal-600: #4f9497;
  --teal-800: #2f6466;
  --orange: #f1763a;
  --orange-600: #dc5f22;
  --orange-100: #fde7da;
  --peach: #f9d9bf;
  --ink: #233337;
  --ink-2: #44575c;
  --muted: #6c7e83;
  --line: #e3ece8;
  --white: #fff;
  --bg: #fbfdfc;
  --wa: #25d366;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 2px 10px rgba(35, 51, 55, .06);
  --shadow: 0 12px 34px rgba(35, 51, 55, .10);
  --shadow-lg: 0 24px 60px rgba(35, 51, 55, .18);
  --font: "Vazirmatn", "Nunito", system-ui, sans-serif;
  --header-h: 76px;
}
html[lang="en"], html[lang="tr"] { --font: "Nunito", "Vazirmatn", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body, html[lang="tr"] body { line-height: 1.65; }
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 800; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }

.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.ico { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }
[dir="rtl"] .flip { transform: scaleX(-1); }

.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 2000; background: var(--orange); color: #fff; padding: 8px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.5em; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 2px solid transparent; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px rgba(241, 118, 58, .35); }
.btn--primary:hover { background: var(--orange-600); box-shadow: 0 14px 30px rgba(241, 118, 58, .45); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange-600); }
.btn--light { background: #fff; color: var(--teal-800); }
.btn--light:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, .15); }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 22px rgba(37, 211, 102, .3); }
.btn--wa:hover { background: #1ebe5a; }
.btn--icon { width: 50px; height: 50px; padding: 0; border-color: var(--line); background: #fff; }
.btn--icon:hover { border-color: var(--teal); color: var(--teal-800); }

.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; transition: background .2s; }
.icon-btn svg { width: 24px; height: 24px; }
.icon-btn:hover { background: var(--mint-100); }

.badge {
  display: inline-flex; align-items: center; gap: .5em; padding: .4em 1em;
  background: #fff; color: var(--orange-600); border-radius: 999px; font-weight: 700; font-size: .92rem;
  box-shadow: var(--shadow-sm);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .4em; color: var(--orange-600);
  font-weight: 800; font-size: .9rem; letter-spacing: .02em; margin-bottom: .4rem;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--orange); }

/* ---------- topbar & header ---------- */
.topbar { background: var(--teal-800); color: #e6f3ef; font-size: .86rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__text { display: flex; align-items: center; gap: .4em; }
.topbar__text .ico { color: var(--peach); }
.topbar__links { display: flex; gap: 22px; }
.topbar__links a { display: inline-flex; align-items: center; gap: .4em; opacity: .9; transition: opacity .2s; }
.topbar__links a:hover { opacity: 1; color: #fff; }

.header {
  position: sticky; top: 0; z-index: 900; background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
.header.scrolled { box-shadow: 0 6px 24px rgba(35, 51, 55, .08); border-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav__head { display: none; }
.nav__link { position: relative; padding: .5em .95em; border-radius: 999px; font-weight: 700; color: var(--ink-2); transition: color .2s, background .2s; }
.nav__link:hover { color: var(--orange-600); background: var(--orange-100); }
.nav__link.active { color: var(--orange-600); }
.nav__link.active::after { content: ""; position: absolute; bottom: 2px; inset-inline: 40%; height: 3px; border-radius: 3px; background: var(--orange); }
.header__actions { display: flex; align-items: center; gap: 8px; }
.lang { display: flex; padding: 4px; border-radius: 999px; background: var(--mint-100); }
.lang button { min-width: 42px; padding: .3em .7em; border-radius: 999px; font-weight: 800; font-size: .85rem; color: var(--teal-800); transition: background .2s, color .2s; }
.lang button[lang="fa"] { font-family: "Vazirmatn", sans-serif; }
.lang button.active { background: var(--orange); color: #fff; box-shadow: 0 4px 10px rgba(241, 118, 58, .35); }
.menu-btn { display: none; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(20, 35, 38, .45); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 950; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(255, 255, 255, .55), transparent 60%),
    linear-gradient(160deg, var(--mint) 0%, #bfe0d1 45%, var(--teal) 100%);
  padding: 56px 0 120px;
}
.hero__paws svg { position: absolute; color: rgba(255, 255, 255, .35); }
.hero__paws .p1 { width: 120px; height: 120px; top: 8%; inset-inline-start: 4%; transform: rotate(-20deg); }
.hero__paws .p2 { width: 70px; height: 70px; bottom: 22%; inset-inline-start: 42%; transform: rotate(18deg); color: rgba(249, 217, 191, .7); }
.hero__paws .p3 { width: 54px; height: 54px; top: 12%; inset-inline-end: 44%; transform: rotate(30deg); }
.hero__paws .p4 { width: 90px; height: 90px; bottom: 16%; inset-inline-end: 3%; transform: rotate(-12deg); color: rgba(241, 118, 58, .25); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); margin: 18px 0 16px; color: var(--ink); letter-spacing: -.01em; }
.hero h1 span { color: var(--orange-600); position: relative; white-space: nowrap; }
.hero h1 span::after { content: ""; position: absolute; inset-inline: 0; bottom: .05em; height: .28em; background: rgba(255, 255, 255, .6); z-index: -1; border-radius: 6px; }
.hero__text { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--ink-2); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.stats { display: flex; gap: 14px; flex-wrap: wrap; }
.stats > div { background: rgba(255, 255, 255, .7); backdrop-filter: blur(6px); border-radius: 18px; padding: 12px 20px; min-width: 112px; box-shadow: var(--shadow-sm); }
.stats dt { font-size: 1.7rem; font-weight: 900; color: var(--teal-800); line-height: 1.2; }
.stats dd { font-size: .88rem; color: var(--ink-2); font-weight: 600; }
.hero__visual { position: relative; justify-self: center; width: min(520px, 100%); }
.hero__blob { position: absolute; inset: 6% 4% 0; background: #fff; border-radius: 42% 58% 55% 45% / 45% 40% 60% 55%; opacity: .5; filter: blur(2px); animation: blob 12s ease-in-out infinite alternate; }
.hero__img { position: relative; width: 100%; height: auto; border-radius: 34px; box-shadow: var(--shadow-lg); border: 6px solid #fff; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: .55em; padding: .7em 1.1em;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow); font-weight: 800; font-size: .92rem; color: var(--ink);
  animation: float 5s ease-in-out infinite;
}
.float-card .ico { color: var(--orange); width: 1.4em; height: 1.4em; }
.float-card--a { top: 10%; inset-inline-start: -28px; }
.float-card--b { bottom: 12%; inset-inline-end: -24px; animation-delay: -2.5s; }
.float-card--b .ico { color: var(--teal-600); }
.wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 70px; fill: var(--bg); }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes blob { to { border-radius: 55% 45% 40% 60% / 55% 60% 40% 45%; transform: rotate(6deg); } }

/* ---------- features ---------- */
.features { margin-top: -64px; position: relative; z-index: 2; }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { display: flex; gap: 14px; align-items: flex-start; background: #fff; padding: 22px; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature__icon { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--orange-100); color: var(--orange-600); }
.feature:nth-child(2n) .feature__icon { background: var(--mint-100); color: var(--teal-800); }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.02rem; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: .9rem; line-height: 1.6; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section--tint { background: linear-gradient(180deg, var(--mint-50), #fff 70%); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section__head h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 10px; }
.section__head p { color: var(--muted); }

/* ---------- categories ---------- */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.cat {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 20px 14px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s, border-color .3s; overflow: hidden; isolation: isolate;
}
.cat::before { content: ""; position: absolute; inset: auto -20% 52% -20%; height: 140%; background: var(--mint-100); border-radius: 50%; z-index: -1; transition: background .3s; }
.cat:nth-child(2n)::before { background: var(--orange-100); }
.cat:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.cat__img { width: 100%; height: 150px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.cat__img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s; }
.cat:hover .cat__img img { transform: scale(1.07) rotate(-2deg); }
.cat h3 { font-size: 1.02rem; margin-bottom: 2px; }
.cat p { font-size: .82rem; color: var(--muted); line-height: 1.5; min-height: 2.4em; }
.cat__count { margin-top: 10px; font-size: .78rem; font-weight: 800; color: var(--teal-800); background: var(--mint-100); padding: .2em .8em; border-radius: 999px; }

/* ---------- products ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: .5em 1.1em; border-radius: 999px; background: #fff; border: 1.5px solid var(--line);
  font-weight: 700; font-size: .92rem; color: var(--ink-2); transition: all .2s;
}
.chip:hover { border-color: var(--teal); color: var(--teal-800); }
.chip.active { background: var(--teal-800); border-color: var(--teal-800); color: #fff; }
.search { position: relative; display: flex; align-items: center; flex: 0 1 320px; }
.search .ico { position: absolute; inset-inline-start: 14px; color: var(--muted); }
.search input {
  width: 100%; padding: .75em 1em; padding-inline-start: 2.6em; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; outline: none; transition: border-color .2s, box-shadow .2s;
}
.search input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px var(--mint-100); }
.results { color: var(--muted); font-size: .9rem; margin-bottom: 18px; font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.card {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--line); overflow: hidden; text-align: start; transition: transform .3s, box-shadow .3s;
  animation: cardIn .45s both;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 4 / 3; background: #fff; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: contain; transition: opacity .35s, transform .5s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__tag { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--mint-100); color: var(--teal-800); font-size: .75rem; font-weight: 800; padding: .25em .8em; border-radius: 999px; }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; border-top: 1px solid var(--line); }
.card h3 { font-size: 1.02rem; line-height: 1.45; }
.swatches { display: flex; gap: 6px; align-items: center; }
.swatch { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); background: #fff; flex: none; transition: transform .2s, box-shadow .2s; }
.swatch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.9); }
.swatch:hover, .swatch.active { transform: scale(1.12); box-shadow: 0 0 0 2px var(--orange); }
.swatch-more { font-size: .78rem; font-weight: 800; color: var(--muted); }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.price { display: flex; flex-direction: column; line-height: 1.25; }
.price small { font-size: .74rem; color: var(--muted); font-weight: 600; }
.price strong { font-size: 1.12rem; color: var(--orange-600); font-weight: 900; }
.price strong em { font-style: normal; font-size: .72rem; color: var(--ink-2); font-weight: 700; margin-inline-start: .3em; }
.card__go { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-100); color: var(--orange-600); transition: background .2s, color .2s; flex: none; }
.card__go svg { width: 20px; height: 20px; }
.card:hover .card__go { background: var(--orange); color: #fff; }
.card__link { position: absolute; inset: 0; z-index: 1; }
.card .swatches { position: relative; z-index: 2; }
.empty { text-align: center; padding: 40px; color: var(--muted); }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } }

/* ---------- about ---------- */
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__collage { position: relative; aspect-ratio: 1; max-width: 520px; margin-inline: auto; }
.about__collage::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--mint-100), var(--mint) 75%); }
.about__collage::after { content: ""; position: absolute; width: 34%; height: 34%; inset-inline-end: 2%; top: 4%; border-radius: 50%; background: var(--orange-100); z-index: -1; }
.about__collage img { position: absolute; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .18)); }
.about__collage .c1 { width: 46%; top: 14%; inset-inline-start: 10%; }
.about__collage .c2 { width: 44%; bottom: 10%; inset-inline-end: 6%; }
.about__collage .c3 { width: 20%; top: 6%; inset-inline-end: 22%; }
.about__collage .c4 { width: 18%; bottom: 8%; inset-inline-start: 18%; }
.about__content h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 16px; }
.about__content p { color: var(--ink-2); margin-bottom: 14px; }
.checks { display: grid; gap: 10px; margin: 18px 0 22px; }
.checks li { display: flex; gap: .6em; align-items: flex-start; font-weight: 600; }
.checks .ico { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--mint-100); color: var(--teal-800); margin-top: .1em; }
.checks--sm { gap: 8px; margin: 8px 0 18px; }
.checks--sm li { font-size: .93rem; font-weight: 500; color: var(--ink-2); }
.quote { display: flex; align-items: center; gap: .7em; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--orange-100); color: var(--orange-600); font-weight: 800; border-inline-start: 4px solid var(--orange); }

/* ---------- catalog CTA ---------- */
.catalog { padding: 0 0 20px; }
.catalog__box {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 44px 48px; border-radius: 30px; color: #fff;
  background: linear-gradient(120deg, var(--teal-800), var(--teal-600) 55%, var(--teal));
  box-shadow: var(--shadow);
}
.catalog__box h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 6px; }
.catalog__box p { opacity: .92; max-width: 560px; }
.catalog__paw { position: absolute; width: 220px; height: 220px; inset-inline-end: -40px; bottom: -70px; color: rgba(255, 255, 255, .1); transform: rotate(-18deg); }
.catalog__btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ccard { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.ccard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.ccard:last-child { grid-column: 1 / -1; }
.ccard > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.ccard strong { font-size: .95rem; }
.ccard [dir="ltr"] { color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; text-align: start; }
[dir="rtl"] .ccard [dir="ltr"] { text-align: right; }
.ccard__icon { flex: none; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--orange-100); color: var(--orange-600); }
.ccard__icon svg { width: 24px; height: 24px; }
.ccard__icon--wa { background: #dcf8e7; color: #14a44d; }
.ccard__icon--ig { background: linear-gradient(135deg, #feda75, #fa7e1e 30%, #d62976 60%, #962fbf); color: #fff; }
.form { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: grid; gap: 14px; }
.form h3 { font-size: 1.2rem; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: .92rem; }
.form input, .form textarea { width: 100%; padding: .8em 1em; border-radius: 12px; border: 1.5px solid var(--line); background: var(--mint-50); outline: none; resize: vertical; transition: border-color .2s, box-shadow .2s, background .2s; }
.form input:focus, .form textarea:focus { border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px var(--mint-100); }
.form__btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer { background: #1f3236; color: #c9d8d6; padding-top: 64px; margin-top: 96px; position: relative; }
.footer::before { content: ""; position: absolute; top: -40px; left: 0; right: 0; height: 40px; background: #1f3236; clip-path: ellipse(60% 100% at 50% 100%); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 44px; }
.footer__brand img { height: 74px; width: auto; margin-bottom: 14px; }
.footer__brand p { font-size: .92rem; }
.footer__quote { margin-top: 10px; color: var(--peach); font-weight: 700; }
.footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 14px; }
.footer ul { display: grid; gap: 8px; font-size: .93rem; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--peach); }
.footer__contact li { display: flex; align-items: center; gap: .6em; }
.footer__contact .ico { color: var(--mint); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; font-size: .86rem; text-align: center; color: #9fb3b0; }

/* ---------- floating buttons ---------- */
.wa-float {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 800; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  transition: transform .25s;
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); animation: pulse 2.4s infinite; z-index: -1; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
.to-top {
  position: fixed; bottom: 90px; inset-inline-end: 28px; z-index: 800; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--teal-800); box-shadow: var(--shadow);
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s, transform .3s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; }
@keyframes pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 1500; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(20, 35, 38, .55); backdrop-filter: blur(4px); animation: fade .25s; }
.modal__dialog {
  position: relative; width: min(1080px, 100%); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow: auto;
  background: #fff; border-radius: 28px; box-shadow: var(--shadow-lg); animation: pop .3s cubic-bezier(.2, .9, .3, 1.2);
}
.modal__close { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 3; background: #fff; box-shadow: var(--shadow-sm); }
.modal__body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.modal__gallery { padding: 28px; background: linear-gradient(180deg, var(--mint-50), #fff); border-start-start-radius: 28px; border-end-start-radius: 28px; }
.modal__main { aspect-ratio: 4 / 3; background: #fff; border-radius: 20px; border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.modal__main img { width: 100%; height: 100%; object-fit: contain; animation: fade .3s; }
.modal__variant { margin: 12px 0 10px; font-weight: 700; font-size: .95rem; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.modal__variant .vname { color: var(--ink); }
.modal__variant .vcode { color: var(--muted); font-weight: 600; font-size: .86rem; }
.modal__variant .vcode b { color: var(--orange-600); font-weight: 800; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.thumb { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 2px solid var(--line); background: #fff; transition: border-color .2s, transform .2s; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb:hover { transform: translateY(-2px); }
.thumb.active { border-color: var(--orange); box-shadow: 0 4px 12px rgba(241, 118, 58, .25); }
.modal__info { padding: 34px 32px 28px; }
.modal__info h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 18px; padding-inline-end: 40px; }
.modal__sub { font-size: 1rem; margin: 6px 0 10px; color: var(--teal-800); }
.table-wrap { overflow-x: auto; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 16px; }
.models { width: 100%; border-collapse: collapse; font-size: .92rem; }
.models th, .models td { padding: 10px 12px; text-align: start; white-space: nowrap; }
.models th { background: var(--mint-50); font-size: .8rem; color: var(--muted); font-weight: 700; }
.models tr + tr td { border-top: 1px solid var(--line); }
.models td.p { color: var(--orange-600); font-weight: 900; }
.models td.p em { font-style: normal; font-size: .75rem; color: var(--ink-2); font-weight: 700; margin-inline-start: .25em; }
.models td.na { color: var(--muted); font-weight: 700; }
.models .code { font-family: "Nunito", sans-serif; font-weight: 800; }
.models tr.sel td { background: var(--orange-100); }
.modal__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.modal__note { font-size: .82rem; color: var(--muted); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }

.toast { position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 30px); z-index: 2000; background: var(--ink); color: #fff; padding: .7em 1.4em; border-radius: 999px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .cats { grid-template-columns: repeat(3, 1fr); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .float-card--a { inset-inline-start: -8px; }
  .float-card--b { inset-inline-end: -8px; }
}
@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .brand img { height: 46px; }
  .menu-btn { display: inline-grid; }
  .nav {
    position: fixed; top: 0; bottom: 0; inset-inline-end: 0; z-index: 1000; width: min(320px, 86vw);
    flex-direction: column; align-items: stretch; gap: 4px; padding: 18px; background: #fff; box-shadow: var(--shadow-lg);
    transform: translateX(110%); transition: transform .35s ease; margin: 0; overflow-y: auto;
  }
  [dir="rtl"] .nav { transform: translateX(-110%); }
  .nav.open { transform: none !important; }
  body.nav-open .header { z-index: 1001; }
  body.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }
  .nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .nav__head img { height: 46px; width: auto; }
  .nav__link { padding: .8em 1em; border-radius: 14px; font-size: 1.02rem; }
  .nav__link.active::after { display: none; }
  .nav__link.active { background: var(--orange-100); }
  .header__actions { margin-inline-start: auto; }
  .hero { padding: 36px 0 110px; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 36px; }
  .hero__text { margin-inline: auto; }
  .hero__cta, .stats { justify-content: center; }
  .hero__visual { width: min(440px, 92%); }
  .about__inner { grid-template-columns: 1fr; gap: 36px; }
  .contact { grid-template-columns: 1fr; }
  .modal__body { grid-template-columns: minmax(0, 1fr); }
  .modal__gallery { border-radius: 28px 28px 0 0; }
}
@media (max-width: 720px) {
  .topbar__text { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__links { gap: 14px; font-size: .8rem; }
  .topbar__links a:nth-child(3) { display: none; }
  .section { padding: 72px 0; }
  .cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat { padding: 16px 10px 18px; }
  .cat__img { height: 120px; }
  .toolbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .toolbar > * { min-width: 0; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .search { flex: 1 1 auto; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card__body { padding: 12px; gap: 8px; }
  .card h3 { font-size: .9rem; }
  .swatch { width: 24px; height: 24px; }
  .swatch:nth-child(n+4) { display: none; }
  .price strong { font-size: .98rem; }
  .card__go { display: none; }
  .card__tag { font-size: .66rem; top: 8px; inset-inline-start: 8px; }
  .features { margin-top: -56px; }
  .features__grid { gap: 10px; }
  .feature { flex-direction: column; padding: 16px; gap: 10px; }
  .feature__icon { width: 44px; height: 44px; }
  .contact__cards { grid-template-columns: 1fr; }
  .catalog__box { padding: 32px 22px; }
  .catalog__btns, .catalog__btns .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .modal { padding: 0; align-items: end; }
  .modal__dialog { border-radius: 24px 24px 0 0; max-height: 94vh; max-height: 94dvh; }
  .modal__gallery { padding: 18px; border-radius: 24px 24px 0 0; }
  .modal__info { padding: 22px 18px 26px; }
  .thumbs { grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); }
  .modal__actions .btn--wa { flex: 1 1 100%; }
  .models th, .models td { padding: 8px 9px; font-size: .82rem; }
  .models td[dir="ltr"] { white-space: normal; min-width: 76px; }
  .modal__actions .btn--ghost { flex: 1; }
  .float-card { font-size: .8rem; padding: .55em .85em; }
  .stats > div { min-width: 96px; padding: 10px 14px; }
  .stats dt { font-size: 1.4rem; }
}
@media (max-width: 380px) {
  .lang button { min-width: 34px; padding: .3em .5em; }
  .brand img { height: 40px; }
  .hero__cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
