/* ==========================================================================
   ZeoKids — style.css
   Palet: kum / kâğıt / mürekkep + kiremit, adaçayı, hardal (ürünlerden)
   ========================================================================== */

:root {
  --sand: #F3EADF;
  --paper: #FBF7F1;
  --blush: #EBD3C4;
  --ink: #2A211B;
  --ink-2: #5E5149;
  --muted: #8C7E73;
  --line: rgba(42, 33, 27, .14);
  --clay: #B9573A;
  --clay-d: #9C4329;
  --sage: #8E9C80;
  --mustard: #D8A13A;

  --f-display: "Literata", Georgia, "Times New Roman", serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 22px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 84px;
}

:lang(ar) {
  --f-display: "Readex Pro", "Segoe UI", Tahoma, sans-serif;
  --f-body: "Readex Pro", "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font: 400 17px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: clamp(88px, 12vw, 160px); }

.skip {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }

/* ---------- Tipografi ---------- */
.h2 {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 4.6vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -.02em;
  font-variation-settings: "opsz" 72;
  margin-bottom: .55em;
  text-wrap: balance;
}
.h2 em, .hero__title em { font-style: italic; color: var(--clay); }
:lang(ar) .h2 em, :lang(ar) .hero__title em { font-style: normal; }

.eyebrow {
  position: relative; max-width: 30em; margin-bottom: 30px; padding-inline-start: 18px;
  font-family: var(--f-display); font-style: italic; font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.45;
  color: var(--ink-2);
}
.eyebrow::before { content: ""; position: absolute; inset-inline-start: 0; top: .2em; bottom: .2em; width: 2px; background: var(--clay); }
.eyebrow b { font-style: normal; font-family: var(--f-body); font-weight: 700; font-size: .8em; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
:lang(ar) .eyebrow { font-style: normal; }
:lang(ar) .eyebrow b { letter-spacing: 0; }

.label {
  display: flex; align-items: center; gap: 14px;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 22px;
}
.label__no {
  font-family: var(--f-display); font-style: italic; font-size: 1rem; letter-spacing: 0;
  color: var(--clay); padding-inline-end: 14px; border-inline-end: 1.5px solid currentColor;
}
:lang(ar) .label { letter-spacing: 0; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; text-decoration: none; border: 1.5px solid transparent;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .88rem; }
.btn--accent { background: var(--clay); color: #fff; }
.btn--accent:hover { background: var(--clay-d); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--clay); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--wa { background: #1F6F4A; color: #fff; }
.btn--wa:hover { background: #185C3D; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background .3s, box-shadow .3s, height .3s;
}
.header.is-scrolled {
  background: rgba(243, 234, 223, .9);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  --header-h: 70px;
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand img { height: 46px; width: auto; transition: height .3s; }
.header.is-scrolled .brand img { height: 40px; }

.nav { display: flex; gap: 30px; margin-inline: auto; }
.nav a {
  position: relative; text-decoration: none; font-size: .93rem; font-weight: 500; color: var(--ink-2);
  padding-block: 6px; transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1.5px; background: var(--clay);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a.is-active::after, .nav a:hover::after { transform: scaleX(1); }

.header__tools { display: flex; align-items: center; gap: 12px; }

.lang { position: relative; }
.lang__btn {
  display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px;
  background: transparent; border: 1.5px solid var(--line); border-radius: 999px;
  font-size: .85rem; font-weight: 600; transition: border-color .2s;
}
.lang__btn:hover, .lang__btn[aria-expanded="true"] { border-color: var(--ink); }
.lang__list {
  position: absolute; top: calc(100% + 10px); inset-inline-end: 0; width: 340px;
  margin: 0; padding: 8px; list-style: none;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  background: var(--paper); border-radius: 16px;
  box-shadow: 0 24px 50px -18px rgba(42, 33, 27, .35), 0 0 0 1px var(--line);
}
.lang__list[hidden] { display: none; }
.lang__list a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 9px 12px; border-radius: 10px; font-size: .92rem; text-decoration: none;
}
.lang__list a small { color: var(--muted); font-weight: 600; font-size: .7rem; letter-spacing: .08em; }
.lang__list a:hover, .lang__list a:focus-visible { background: var(--sand); }
.lang__list a[aria-current="true"] { color: var(--clay); font-weight: 600; background: var(--sand); }

.burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 0; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: var(--ink); transition: transform .3s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: min(100svh, 940px); display: flex; align-items: center;
  padding-block: calc(var(--header-h) + 40px) 80px;
  background:
    radial-gradient(70% 60% at 85% 30%, rgba(235, 211, 196, .75), transparent 70%),
    var(--sand);
}
.hero__z {
  position: absolute; width: min(64vw, 820px); inset-inline-start: -10vw; bottom: -18%;
  fill: none; stroke: rgba(42, 33, 27, .07); stroke-width: .35; pointer-events: none;
}
[dir="rtl"] .hero__z { transform: scaleX(-1); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 6vw, 96px); align-items: center; }

.hero__title {
  font-family: var(--f-display);
  font-size: clamp(3rem, 7.4vw, 6.6rem);
  line-height: .98; letter-spacing: -.035em;
  font-variation-settings: "opsz" 72;
  margin-bottom: 30px;
}
:lang(ar) .hero__title { font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: 1.3; letter-spacing: 0; font-weight: 500; }
:lang(ru) .hero__title, :lang(el) .hero__title { font-size: clamp(2.6rem, 6.2vw, 5.6rem); }
.hero__lead { font-size: 1.12rem; color: var(--ink-2); max-width: 34em; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 52px; }
.hero__facts {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 10px 0;
  font-size: .86rem; font-weight: 500; color: var(--ink-2);
}
.hero__facts li { display: flex; align-items: center; }
.hero__facts li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--clay); margin-inline: 16px; }

.hero__visual { position: relative; justify-self: center; width: min(100%, 430px); }
.arch { position: relative; overflow: hidden; border-radius: 999px 999px 26px 26px; background: var(--blush); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.arch--main { aspect-ratio: 5 / 8; box-shadow: 0 40px 80px -40px rgba(80, 45, 25, .45); }
.arch--main img { position: absolute; inset: 0; opacity: 0; transform: scale(1.05); transform-origin: 50% 100%; transition: opacity 1.2s ease, transform 6s ease-out; }
.arch--main img.is-active { opacity: 1; transform: scale(1); }

.hero__tag {
  position: absolute; bottom: 9%; inset-inline-start: -28px;
  background: var(--paper); border-radius: 999px; padding: 10px 18px;
  font-size: .82rem; color: var(--ink-2); box-shadow: 0 14px 30px -14px rgba(42, 33, 27, .4);
}
.hero__tag b { color: var(--ink); font-weight: 700; letter-spacing: .04em; }

.badge {
  position: absolute; top: 7%; inset-inline-end: -52px;
  width: 136px; height: 136px; border-radius: 50%;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 18px 40px -18px rgba(80, 45, 25, .45);
  display: grid; place-items: center;
}
.badge::before { content: ""; position: absolute; inset: 37px; border-radius: 50%; background: var(--mustard); }
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: spin 26s linear infinite; }
.badge text { direction: ltr; }
.badge__text { font: 600 17px var(--f-body); letter-spacing: .12em; text-transform: uppercase; fill: currentColor; }
:lang(ar) .badge__text { letter-spacing: 0; font-size: 19px; font-weight: 500; }
.badge__z { position: relative; width: 26px; height: 26px; fill: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__note {
  position: absolute; bottom: -54px; inset-inline-end: 0; margin: 0;
  font-family: var(--f-display); font-style: italic; font-size: 1.02rem; color: var(--ink-2);
}
:lang(ar) .hero__note { font-style: normal; }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: var(--sand); overflow: hidden; padding-block: 22px; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span {
  display: flex; align-items: center; white-space: nowrap;
  font-family: var(--f-display); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.9rem);
}
:lang(ar) .marquee__track span { font-style: normal; }
.marquee__track span::after { content: "✳"; font-style: normal; font-size: .8em; color: var(--mustard); margin-inline: 34px; }
@keyframes marquee { to { transform: translateX(-50%); } }
[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------- Hakkımızda ---------- */
.about { background: var(--paper); }
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.about__media { position: relative; padding-bottom: 60px; padding-inline-end: 60px; }
.arch--about { aspect-ratio: 4 / 5.2; }
.arch--small {
  position: absolute; bottom: 0; inset-inline-end: 0; width: 44%; aspect-ratio: 3 / 4;
  border: 8px solid var(--paper); border-radius: 999px 999px 20px 20px;
}
.about__copy > p { color: var(--ink-2); font-size: 1.05rem; max-width: 36em; }

.quote { margin: 40px 0 0; padding-inline-start: 26px; border-inline-start: 1.5px solid var(--ink); }
.quote blockquote {
  margin: 0 0 12px; font-family: var(--f-display); font-style: italic;
  font-size: clamp(1.3rem, 2.1vw, 1.65rem); line-height: 1.35; color: var(--ink);
}
:lang(ar) .quote blockquote { font-style: normal; }
.quote figcaption { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); }

.values {
  list-style: none; padding: 0; margin: clamp(80px, 10vw, 130px) 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1.5px solid var(--ink);
}
.values li { padding: 30px 32px 6px 0; }
.values li + li { padding-inline-start: 32px; border-inline-start: 1px solid var(--line); }
.values__icon {
  display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 22px;
  border-radius: 50% 50% 14px 14px; background: var(--blush); color: var(--clay-d);
}
.values__icon svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.values h3 { font-family: var(--f-display); font-size: 1.55rem; line-height: 1.2; margin-bottom: 12px; }
.values p { color: var(--ink-2); font-size: .97rem; margin: 0; }

/* ---------- Ürünler ---------- */
.products__head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; margin-bottom: 40px; }
.products__head .h2 { margin-bottom: 0; }
.products__lead { color: var(--ink-2); margin: 0; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px;
  border-radius: 999px; border: 1.5px solid var(--line); background: transparent;
  font-size: .92rem; font-weight: 600; transition: all .25s;
}
.chip small { font-size: .72rem; color: var(--muted); font-weight: 600; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip.is-active small { color: var(--blush); }

.grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 22px; }
.card { animation: cardIn .6s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } }
.card__media {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--blush);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card__media::after {
  content: "+"; position: absolute; top: 12px; inset-inline-end: 12px;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); color: var(--ink); font-size: 1.3rem; line-height: 1;
  opacity: 0; transform: scale(.7); transition: all .35s var(--ease);
}
.card__media:hover img { transform: scale(1.05); }
.card__media:hover::after, .card__media:focus-visible::after { opacity: 1; transform: none; }
.card__meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 4px 0; }
.card__code { font-size: .78rem; color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.card__code b { display: block; font-family: var(--f-display); font-size: 1.25rem; font-weight: 500; color: var(--ink); letter-spacing: 0; text-transform: none; }
.card__ask {
  display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600;
  color: var(--clay); text-decoration: none; white-space: nowrap;
}
.card__ask:hover { text-decoration: underline; text-underline-offset: 3px; }
.card__ask svg { flex: none; }

.products__foot { margin-top: 54px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.products__note { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Toptan ---------- */
.ws { background: var(--ink); color: var(--sand); position: relative; overflow: hidden; }
.ws .h2 { color: var(--paper); max-width: 15em; }
.ws .h2 em { color: var(--mustard); }
.label--light { color: rgba(243, 234, 223, .7); }
.label--light .label__no { color: var(--mustard); }
.ws__head { position: relative; margin-bottom: clamp(56px, 8vw, 90px); }
.ws__lead { color: rgba(243, 234, 223, .75); font-size: 1.08rem; max-width: 40em; }

.stamp {
  position: absolute; top: 0; inset-inline-end: 0; width: 150px; height: 150px; border-radius: 50%;
  border: 1.5px dashed rgba(216, 161, 58, .6); display: grid; place-items: center; text-align: center;
  transform: rotate(-12deg); padding: 18px;
}
.stamp span {
  font-family: var(--f-display); font-style: italic; font-size: 1.15rem; line-height: 1.2; color: var(--mustard);
}
:lang(ar) .stamp span { font-style: normal; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 28px 0 0; }
.steps li + li { padding-inline-start: 28px; }
.steps li::before {
  content: ""; position: absolute; top: 31px; inset-inline-start: 64px; inset-inline-end: 0;
  height: 1px; background: rgba(243, 234, 223, .2);
}
.steps li + li::before { inset-inline-start: 92px; }
.steps li:last-child::before { display: none; }
.steps__no {
  display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  border: 1.5px solid rgba(243, 234, 223, .35);
  font-family: var(--f-display); font-style: italic; font-size: 1.5rem; color: var(--mustard);
  margin-bottom: 28px;
}
.steps h3 { font-family: var(--f-display); font-size: 1.35rem; color: var(--paper); margin-bottom: 10px; }
.steps p { color: rgba(243, 234, 223, .68); font-size: .95rem; margin: 0; }

/* Tanıtım videosu (Toptan bölümü) */
.ws__grid:has(.ws__video) {
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(280px, 26vw, 350px);
  gap: clamp(48px, 7vw, 110px); align-items: center;
}
.ws__grid:has(.ws__video) .ws__head { margin-bottom: 56px; }
.ws__grid:has(.ws__video) .ws__head .stamp { display: none; }
.ws__grid:has(.ws__video) .steps { grid-template-columns: 1fr 1fr; gap: 44px 36px; }
.ws__grid:has(.ws__video) .steps li, .ws__grid:has(.ws__video) .steps li + li { padding: 0; }
.ws__grid:has(.ws__video) .steps li::before { display: none; }

.ws__video { margin: 0; }
.vframe {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden;
  border-radius: 999px 999px 28px 28px; background: #1c1511;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(243, 234, 223, .14);
  transition: border-radius .5s var(--ease);
}
.vframe.is-playing { border-radius: 28px; }
.vframe video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vframe__play {
  position: absolute; inset: 0; border: 0; padding: 0 0 30px;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  background: linear-gradient(to top, rgba(28, 21, 17, .78), rgba(28, 21, 17, 0) 50%);
  color: #fff; transition: opacity .35s, visibility .35s;
}
.vframe__icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center;
  background: var(--mustard); color: var(--ink);
  transition: transform .35s var(--ease);
}
.vframe__icon svg { margin-left: 3px; }
.vframe__icon::after {
  content: ""; position: absolute; inset: -12px; border-radius: 50%;
  border: 2px solid rgba(216, 161, 58, .55); animation: ring 2.2s ease-out infinite;
}
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.vframe__play:hover .vframe__icon { transform: translate(-50%, -50%) scale(1.08); }
.vframe__label { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .98rem; }
.vframe__label small {
  padding: 2px 9px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .45);
  font-size: .76rem; font-weight: 500; letter-spacing: .04em;
}
.stamp--video {
  top: 20%; bottom: auto; inset-inline-end: 14px; width: 100px; height: 100px; padding: 12px;
  background: rgba(42, 33, 27, .6); border-color: rgba(216, 161, 58, .85);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: opacity .35s, visibility .35s;
}
.stamp--video span { font-size: .9rem; }
.vframe.is-playing .vframe__play, .vframe.is-playing .stamp--video { opacity: 0; visibility: hidden; }
.ws__video figcaption {
  margin-top: 18px; text-align: center; font-family: var(--f-display); font-style: italic;
  font-size: 1rem; color: rgba(243, 234, 223, .72);
}
:lang(ar) .ws__video figcaption { font-style: normal; }

.ws-cta {
  margin-top: clamp(56px, 7vw, 84px);
  display: flex; align-items: center; gap: 24px;
  padding: 26px 30px; border-radius: var(--radius);
  background: var(--mustard); color: var(--ink); text-decoration: none;
  transition: transform .35s var(--ease), background .3s;
}
.ws-cta:hover { transform: translateY(-3px); background: #E2AE48; }
.ws-cta__icon { flex: none; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--ink); color: #25D366; }
.ws-cta__text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ws-cta__text strong { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.25; }
.ws-cta__text span { color: rgba(42, 33, 27, .78); }
.ws-cta__btn {
  flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: .95rem;
}
[dir="rtl"] .ws-cta__btn svg, [dir="rtl"] .wa-box__arrow, [dir="rtl"] .card__ask svg { transform: scaleX(-1); }

/* ---------- İletişim ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 100px); align-items: start; }
.contact__lead { color: var(--ink-2); font-size: 1.05rem; max-width: 30em; margin-bottom: 30px; }

.wa-box {
  display: flex; align-items: center; gap: 18px; margin-bottom: 36px;
  padding: 18px 22px; border-radius: 18px; text-decoration: none;
  background: #1F6F4A; color: #fff;
  box-shadow: 0 20px 40px -24px rgba(31, 111, 74, .8);
  transition: transform .35s var(--ease), background .3s;
}
.wa-box:hover { transform: translateY(-3px); background: #185C3D; }
.wa-box__icon { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; }
.wa-box__text { flex: 1; display: flex; flex-direction: column; }
.wa-box__text strong { font-size: 1.12rem; font-weight: 700; }
.wa-box__text span { font-size: .92rem; opacity: .85; }
.wa-box__arrow { flex: none; }
.info { margin: 0; border-top: 1.5px solid var(--ink); }
.info > div { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info dt { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 5px; }
:lang(ar) .info dt { letter-spacing: 0; font-size: .85rem; }
.info dd { margin: 0; font-size: 1.08rem; }
.info dd > a { text-decoration: none; font-family: var(--f-display); font-size: 1.3rem; }
.info dd > a:hover { color: var(--clay); }
[dir="rtl"] .info dd > a[dir="ltr"] { display: inline-block; }
.info address { font-style: normal; margin-bottom: 10px; }
.info__hint { display: block; color: var(--muted); font-size: .88rem; margin-top: 2px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.info dd.socials > a {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: 999px;
  font-family: var(--f-body); font-size: .88rem; font-weight: 600;
  transition: border-color .2s, color .2s;
}
.info dd.socials > a:hover { border-color: var(--clay); color: var(--clay); }
.info dd > .link-arrow, .link-arrow { font-family: var(--f-body); font-size: .88rem; font-weight: 600; color: var(--clay); text-decoration: none; }
.link-arrow::after { content: " →"; }
[dir="rtl"] .link-arrow::after { content: " ←"; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }

.form {
  background: var(--paper); border-radius: var(--radius); padding: clamp(26px, 4vw, 44px);
  box-shadow: 0 30px 70px -40px rgba(80, 45, 25, .35);
  display: flex; flex-direction: column; gap: 18px;
}
.form__title { font-family: var(--f-display); font-size: 1.6rem; margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 7px; font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.form input, .form textarea {
  font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink);
  background: var(--sand); border: 1.5px solid transparent; border-radius: 12px; padding: 13px 15px;
  transition: border-color .2s, background .2s; resize: vertical;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.form input.is-invalid { border-color: var(--clay); }
.form .btn--wa { margin-top: 6px; align-self: flex-start; }

.map { position: relative; margin-top: clamp(64px, 8vw, 100px); border-radius: var(--radius); overflow: hidden; height: 420px; background: var(--blush); }
.map iframe { width: 100%; height: 100%; border: 0; }
.map__open {
  position: absolute; bottom: 16px; inset-inline-end: 16px;
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px;
  border-radius: 999px; background: var(--ink); color: var(--paper);
  font-size: .86rem; font-weight: 600; text-decoration: none;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); transition: background .2s;
}
.map__open:hover { background: var(--clay); }
[dir="rtl"] .map__open svg { transform: scaleX(-1); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(243, 234, 223, .75); padding-top: 80px; font-size: .93rem; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer__brand img { height: 64px; width: auto; margin-bottom: 20px; }
.footer__tag { font-family: var(--f-display); font-style: italic; font-size: 1.3rem; color: var(--paper); margin: 0; }
:lang(ar) .footer__tag { font-style: normal; }
.footer__nav, .footer__contact, .footer__social { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer__address address { font-style: normal; line-height: 1.55; }
.footer__social > span { color: var(--paper); font-weight: 600; }
.footer__social div { display: flex; gap: 10px; }
.footer__social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(243, 234, 223, .25); transition: border-color .2s, color .2s, background .2s;
}
.footer__social a:hover { border-color: var(--mustard); background: rgba(216, 161, 58, .12); }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--mustard); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  border-top: 1px solid rgba(243, 234, 223, .14); padding-block: 24px 30px; font-size: .82rem;
}

/* ---------- WhatsApp & Lightbox ---------- */
.wa-float {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .35);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh;
  width: 100%; height: 100%;
}
.lightbox::backdrop { background: rgba(28, 21, 17, .86); backdrop-filter: blur(6px); }
.lightbox__inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 24px; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; gap: 14px; max-height: 100%; }
.lightbox img { max-height: calc(100vh - 130px); width: auto; border-radius: 16px; }
.lightbox figcaption { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--sand); }
.lightbox figcaption b { font-family: var(--f-display); font-size: 1.3rem; font-weight: 500; }
.lightbox__close, .lightbox__nav {
  border: 0; background: rgba(251, 247, 241, .12); color: var(--paper);
  width: 52px; height: 52px; border-radius: 50%; font-size: 1.8rem; line-height: 1; flex: none;
  transition: background .2s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(251, 247, 241, .25); }
.lightbox__close { position: absolute; top: 18px; inset-inline-end: 18px; }
[dir="rtl"] .lightbox__nav { transform: scaleX(-1); }

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .badge { inset-inline-end: -24px; }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .burger { display: block; }
  .header__cta { display: none; }
  .header__tools { margin-inline-start: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; margin: 0;
    flex-direction: column; gap: 0; padding: 12px var(--gutter) 28px;
    background: var(--sand); box-shadow: 0 20px 30px -20px rgba(42, 33, 27, .3);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: all .3s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { font-family: var(--f-display); font-size: 1.6rem; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav a::after { display: none; }
  .header:has(.nav.is-open) { background: var(--sand); }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 36px); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { width: min(74%, 360px); margin-top: 20px; margin-bottom: 50px; }
  .about__grid, .contact__grid, .products__head { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; }
  .values { grid-template-columns: 1fr; }
  .values li, .values li + li { padding: 26px 0; border-inline-start: 0; border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; gap: 48px 0; }
  .steps li:nth-child(3) { padding-inline-start: 0; }
  .steps li::before { display: none; }
  .stamp { position: static; width: 120px; height: 120px; margin-top: 28px; }
  .ws__grid:has(.ws__video) { grid-template-columns: 1fr; gap: 0; }
  .ws__main { display: contents; }
  .ws__grid:has(.ws__video) .ws__head { margin-bottom: 40px; }
  .ws__video { order: 2; width: min(78%, 330px); margin: 0 auto 56px; }
  .steps { order: 3; }
  .stamp.stamp--video { position: absolute; width: 92px; height: 92px; margin: 0; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand img { height: 38px; }
  .lang__btn { padding: 0 11px; }
  .lang__list { position: fixed; top: calc(var(--header-h) - 4px); inset-inline: 16px; width: auto; }
  .hero__visual { width: 82%; }
  .hero__tag { inset-inline-start: -14px; }
  .badge { width: 104px; height: 104px; inset-inline-end: -26px; }
  .badge::before { inset: 28px; }
  .badge__z { width: 20px; height: 20px; }
  .ws-cta { flex-direction: column; align-items: flex-start; padding: 24px; }
  .ws-cta__btn { width: 100%; justify-content: center; }
  .form .btn--wa { align-self: stretch; }
  .hero__facts { flex-direction: column; gap: 8px; }
  .hero__facts li::before, .hero__facts li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--clay); margin-inline: 0 12px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .card__meta { flex-direction: column; align-items: flex-start; gap: 4px; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps li, .steps li + li { padding: 0; }
  .form__row { grid-template-columns: 1fr; }
  .info > div { grid-template-columns: 1fr; gap: 6px; }
  .map { height: 340px; }
  .footer__inner { grid-template-columns: 1fr; }
  .lightbox__nav { position: absolute; bottom: 24px; }
  .lightbox__nav--prev { inset-inline-start: 24px; }
  .lightbox__nav--next { inset-inline-end: 24px; }
  .lightbox img { max-height: calc(100vh - 200px); }
}

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