/* ===========================================================
   NILEM — Design tokens
   =========================================================== */
:root{
  /* color — fixed dark brand theme (does not follow OS light/dark switch,
     so it always renders the same, tested way for every visitor) */
  --ink:        #F1F4FB;
  --ink-soft:   #B9C3DC;
  --ink-faint:  #7C879F;
  --canvas:     #0B1220;
  --surface:    #131E33;
  --surface-2:  #101929;
  --line:       #26334E;
  --accent:     #5B8CFF;
  --accent-ink: #FFFFFF;
  --accent-dim: #182946;
  --accent-deep:#0A1220;
  --accent-hover:#3E6BE0;
  --wizard-cta: #FF4D79;
  --header-bg:  rgba(11,18,32,.86);
  /* fixed dark text — use ONLY on surfaces that are deliberately kept
     white/light regardless of theme (wizard selects, logo badge) */
  --on-light:   #12203E;

  /* type */
  --font-display: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* radius (one system: soft) */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* shadow */
  --shadow-sm: 0 1px 2px rgba(18,32,62,.05), 0 1px 1px rgba(18,32,62,.04);
  --shadow-md: 0 8px 24px rgba(18,32,62,.08);
  --shadow-lg: 0 24px 48px rgba(18,32,62,.14);

  /* motion */
  --ease: cubic-bezier(.16,1,.3,1);
  --dur-1: .2s;
  --dur-2: .45s;

  /* rhythm */
  --container: 1200px;
  --section-y: clamp(64px, 8vw, 112px);
}

:root{ color-scheme: dark; }

/* ===========================================================
   Reset & base
   =========================================================== */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
[id]{ scroll-margin-top:120px; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}
body{
  margin:0;
  background:var(--canvas);
  color:var(--ink);
  font-family:var(--font-text);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--font-display); margin:0; color:var(--ink); font-weight:700; letter-spacing:-.01em; }
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }

.container{ max-width:var(--container); margin-inline:auto; padding-inline:24px; }
.section{ padding-block:var(--section-y); }
.section--tight{ padding-block: calc(var(--section-y) * .55) var(--section-y); }
.section--white{ background:var(--surface); }
.section--muted{ background:var(--surface-2); }
.section--ink{ background:var(--accent); color:#fff; }

.eyebrow{
  display:inline-block;
  font-size:12.5px;
  font-weight:700;
  letter-spacing:.14em;
  color:var(--accent);
  margin-bottom:14px;
}
.section--ink .eyebrow{ color:#9DB4F5; }

.heading-xl{ font-size:clamp(30px,4vw,46px); line-height:1.15; }
.heading-lg{ font-size:clamp(26px,3.2vw,34px); line-height:1.18; }
.heading-md{ font-size:20px; line-height:1.3; }
.text-lead{ font-size:17px; color:var(--ink-soft); line-height:1.7; max-width:60ch; }
.text-body{ font-size:15px; color:var(--ink-soft); line-height:1.7; }
.accent{ color:var(--accent); }

.section-head{ max-width:640px; margin-inline:auto; text-align:center; margin-bottom:48px; }
.section-head p{ margin-top:12px; }
.section-head--left{ text-align:left; margin-inline:0; }

/* buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  border-radius:var(--r-sm);
  padding:14px 26px;
  font-weight:600;
  font-size:14.5px;
  border:1px solid transparent;
  transition:transform var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
  white-space:nowrap;
}
.btn:active{ transform:translateY(1px) scale(.98); }
.btn-primary{ background:var(--accent); color:#fff; }
.btn-primary:hover{ background:var(--accent-hover); }
.section--ink .btn-primary{ background:#fff; color:var(--on-light); }
.section--ink .btn-primary:hover{ background:var(--accent-dim); color:#fff; }
.btn-outline{ background:transparent; color:var(--ink); border-color:var(--line); }
.btn-outline:hover{ border-color:var(--accent); color:var(--accent); }
.btn-text{ background:transparent; color:var(--accent); padding-inline:0; }
.btn-text:hover{ gap:12px; }
.btn-text svg{ transition:transform var(--dur-1) var(--ease); }

/* icon chip */
.icon-chip{
  width:48px; height:48px; border-radius:var(--r-pill);
  display:flex; align-items:center; justify-content:center;
  background:var(--accent-dim); color:var(--accent); flex-shrink:0;
}
.icon-chip svg{ width:22px; height:22px; }
.icon-chip--sm{ width:38px; height:38px; }
.icon-chip--sm svg{ width:16px; height:16px; }
.icon-chip--outline{ background:transparent; border:1px solid var(--line); }

/* card */
.card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-md);
  box-shadow:var(--shadow-sm);
  transition:transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}
.card:hover{ transform:translateY(-4px); box-shadow:0 20px 44px rgba(0,0,0,.35); border-color:#37456A; }

/* placeholder media */
.ph{
  position:relative;
  background:linear-gradient(135deg,var(--surface-2),var(--line) 140%);
  border:1px dashed #C7D2E4;
  border-radius:var(--r-md);
  display:flex; align-items:center; justify-content:center;
  color:var(--ink-faint);
  overflow:hidden;
  aspect-ratio: var(--ph-ratio, 4/3);
}
.ph svg{ width:34px; height:34px; opacity:.55; }
.ph img{ width:100%; height:100%; object-fit:cover; border:0; }

/* ===========================================================
   Header
   =========================================================== */
.site-header{
  position:sticky; top:0; z-index:50;
  background:var(--header-bg);
  backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--line);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  height:108px;
}
.brand{ display:flex; align-items:center; height:100%; }
.brand img{ height:88px; width:auto; }
.nav-primary{ display:flex; align-items:center; gap:36px; }
.nav-primary a{
  font-size:14.5px; font-weight:600; color:var(--ink-soft);
  transition:color var(--dur-1) var(--ease);
}
.nav-primary a:hover, .nav-primary a.is-active{ color:var(--ink); }
.header-actions{ display:flex; align-items:center; gap:18px; }
.icon-btn{
  width:38px; height:38px; border-radius:var(--r-pill); border:1px solid transparent;
  background:transparent; display:flex; align-items:center; justify-content:center; color:var(--ink-soft);
  transition:background-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.icon-btn:hover{ background:var(--surface-2); color:var(--ink); }
.icon-btn svg{ width:19px; height:19px; }
.nav-toggle{ display:none; }
.site-header.is-scrolled{ box-shadow:var(--shadow-sm); }

/* language switch (drives a hidden Google Translate element) */
#google_translate_element{
  position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap;
}
body{ top:0 !important; }
.goog-te-banner-frame{ display:none !important; }
.goog-tooltip, .goog-tooltip:hover{ display:none !important; }
.goog-text-highlight{ background:none !important; box-shadow:none !important; }

.lang-switch{ position:relative; }
.lang-btn{
  display:flex; align-items:center; gap:6px;
  background:transparent; border:1px solid var(--line); color:var(--ink-soft);
  border-radius:var(--r-pill); padding:8px 12px 8px 10px; font-size:13px; font-weight:600;
  transition:border-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.lang-btn:hover{ border-color:var(--accent); color:var(--ink); }
.lang-btn svg{ width:15px; height:15px; }
.lang-menu{
  position:absolute; top:calc(100% + 10px); right:0; min-width:160px;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-sm);
  box-shadow:0 20px 44px rgba(0,0,0,.35);
  padding:6px; display:flex; flex-direction:column; gap:2px;
  opacity:0; transform:translateY(-6px); pointer-events:none;
  transition:opacity var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
  z-index:60;
}
.lang-switch.is-open .lang-menu{ opacity:1; transform:none; pointer-events:auto; }
.lang-menu button{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  background:transparent; border:none; color:var(--ink-soft); text-align:left;
  padding:9px 10px; border-radius:8px; font-size:13.5px; font-weight:500;
}
.lang-menu button:hover{ background:var(--surface-2); color:var(--ink); }
.lang-menu button.is-active{ color:var(--accent); font-weight:700; }

/* live-help floating button */
.live-help{
  position:fixed; right:22px; bottom:22px; z-index:70;
  width:58px; height:58px; border-radius:var(--r-pill);
  background:var(--accent); color:#fff; border:none;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 14px 32px rgba(0,0,0,.4);
  transition:transform var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease);
}
.live-help:hover{ background:var(--accent-hover); transform:translateY(-2px); }
.live-help svg{ width:26px; height:26px; }
.live-help-tip{
  position:fixed; right:22px; bottom:90px; z-index:70;
  background:var(--surface); border:1px solid var(--line); color:var(--ink);
  padding:12px 16px; border-radius:var(--r-sm); font-size:13.5px; max-width:230px;
  box-shadow:0 20px 44px rgba(0,0,0,.35);
  opacity:0; transform:translateY(8px); pointer-events:none;
  transition:opacity var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}
.live-help-tip.is-visible{ opacity:1; transform:none; }
@media (max-width:600px){
  .live-help{ right:16px; bottom:16px; width:52px; height:52px; }
  .live-help-tip{ right:16px; bottom:78px; }
}

.mobile-nav{
  display:none;
  position:fixed; top:0; left:0; right:0; bottom:0; z-index:9999;
  width:100%; height:100%;
  background:var(--canvas);
  padding:20px 24px 32px;
  flex-direction:column; gap:4px;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
}
.mobile-nav.is-open{ display:flex !important; }
.mobile-nav-top{
  display:flex; align-items:center; justify-content:space-between;
  height:84px; flex-shrink:0; margin-bottom:12px;
}
.mobile-nav-top img{ height:56px; width:auto; }
.mobile-nav-top-actions{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.mobile-nav-close, .mobile-nav-search{
  width:44px; height:44px; border-radius:var(--r-pill); border:1px solid var(--line);
  background:transparent; color:var(--ink); display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.mobile-nav-close svg, .mobile-nav-search svg{ width:20px; height:20px; }
.mobile-nav a{
  display:block; padding:14px 4px; font-size:15px; font-weight:600; color:var(--ink) !important;
  border-bottom:1px solid var(--line);
}
.mobile-nav a.btn{ border-bottom:none; margin-top:16px; text-align:center; color:#fff !important; }
body.nav-open{ overflow:hidden; }

@media (max-width: 880px){
  .nav-primary{ display:none; }
  .nav-toggle{ display:flex; }
  .header-actions .btn-primary{ display:none; }
  .site-header .container{ height:84px; }
  .brand img{ height:60px; }
}
@media (max-width: 420px){
  .header-actions{ gap:8px; }
  .header-actions > .icon-btn:not(.nav-toggle){ display:none; }
  .lang-btn span{ display:none; }
  .lang-btn{ padding:8px; }
  .site-header .container{ height:72px; }
  .brand img{ height:48px; }
}

/* ===========================================================
   Hero video (full-bleed, edge-to-edge)
   =========================================================== */
.hero-video{ position:relative; background:var(--canvas); overflow:hidden; }
.hero-video-frame{
  position:relative;
  width:100vw;
  margin-left:calc(50% - 50vw);
  aspect-ratio: 16 / 9;
  max-height:1080px;
  overflow:hidden;
}
.hero-video-frame .media-video{ width:100%; height:100%; display:block; border-radius:0; box-shadow:none; object-fit:cover; }
@media (max-width:600px){
  .hero-video-frame{ aspect-ratio: 16 / 9; max-height:none; }
}
.hero-video-frame .hero-tagline{
  position:absolute; top:22px; right:28px; z-index:2;
  font-family:var(--font-display); font-weight:600; font-size:15px; line-height:1.35;
  text-align:right; color:#fff; text-shadow:0 2px 12px rgba(0,0,0,.6);
}
.hero-video-frame .media-play{ z-index:2; }
@media (max-width: 600px){
  /* Keeps the tagline out of the way of the video's native control bar
     and the floating live-help button on narrow phone viewports. */
  .hero-video-frame .hero-tagline{ display:none; }
}

/* ===========================================================
   Hero intro (headline block, directly below the video)
   =========================================================== */
.hero-intro{
  background:radial-gradient(120% 140% at 50% 0%, rgba(91,140,255,.16), transparent 60%), var(--canvas);
  padding-block: clamp(48px,7vw,80px);
  text-align:center;
}
.hero-intro .hero-copy{ max-width:720px; margin-inline:auto; }
.hero-intro .hero-actions{ justify-content:center; }

/* ===========================================================
   Hero grid (shared: homepage legacy + product/news page layout)
   =========================================================== */
.hero-grid{
  display:grid; grid-template-columns: 1.15fr 1fr; gap:56px; align-items:center;
}
.hero-copy p.text-lead{ margin-block:20px 28px; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }
.hero-media{ position:relative; }
.hero-media .ph{ --ph-ratio: 6/5; }
@media (max-width: 880px){
  .hero-grid{ grid-template-columns:1fr; }
}

/* ===========================================================
   Page hero (interior pages)
   =========================================================== */
.page-hero{
  background:radial-gradient(120% 160% at 100% 0%, rgba(91,140,255,.14), transparent 60%), var(--canvas);
  padding-block: clamp(48px,7vw,76px) clamp(36px,5vw,56px);
  text-align:center;
}
.page-hero h1{ font-size:clamp(28px,4vw,42px); }
.page-hero p{ max-width:560px; margin:14px auto 0; color:var(--ink-soft); font-size:15.5px; }
.breadcrumb{ font-size:13px; color:var(--ink-faint); margin-bottom:16px; }
.breadcrumb a{ color:var(--ink-faint); }
.breadcrumb a:hover{ color:var(--accent); }

/* ===========================================================
   Feature strip
   =========================================================== */
.feature-strip{ border-bottom:1px solid var(--line); border-top:1px solid var(--line); }
.feature-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:32px;
}
.feature-item{ display:flex; gap:16px; align-items:flex-start; }
.feature-item h3{ font-size:15.5px; margin-bottom:4px; }
.feature-item p{ font-size:13.5px; color:var(--ink-soft); }
@media (max-width: 880px){ .feature-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width: 520px){ .feature-grid{ grid-template-columns:1fr; } }

/* ===========================================================
   Categories
   =========================================================== */
.cat-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:18px;
}
.cat-card{
  padding:30px 18px 26px;
  text-align:center;
  display:flex; flex-direction:column; align-items:center; gap:14px;
}
.cat-card h3{ font-size:14px; font-weight:600; }
@media (max-width: 880px){ .cat-grid{ grid-template-columns:repeat(2,1fr); } }

/* ===========================================================
   Wizard
   =========================================================== */
.wizard{
  background:linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  border-radius:var(--r-lg);
  padding:clamp(36px,6vw,56px) clamp(20px,6vw,48px);
  text-align:center;
  color:#fff;
}
.wizard h2{ color:#fff; font-size:clamp(24px,3vw,30px); margin-bottom:14px; }
.wizard p{ color:#DCE6FC; max-width:560px; margin-inline:auto; font-size:15px; }
.wizard-row{
  margin-top:30px; display:flex; gap:14px; flex-wrap:wrap; justify-content:center; max-width:820px; margin-inline:auto;
}
.wizard-select{
  flex:1 1 220px; min-width:200px;
  appearance:none; -webkit-appearance:none;
  background-color:#fff;
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8"><path d="M1 1l5 5 5-5" stroke="%2312203E" stroke-width="2" fill="none"/></svg>');
  background-repeat:no-repeat; background-position:right 18px center;
  border:none; border-radius:var(--r-pill);
  padding:15px 42px 15px 22px;
  font-size:13.5px; font-weight:600; color:var(--on-light);
  cursor:pointer;
}
.wizard-btn{
  flex:0 0 auto;
  background:var(--wizard-cta); color:#fff; border:none; border-radius:var(--r-pill);
  padding:15px 32px; font-size:14px; font-weight:700;
  transition:background-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}
.wizard-btn:hover{ background:#B8194C; }
@media (max-width:600px){ .wizard-select,.wizard-btn{ flex:1 1 100%; } }
.wizard-results{ margin-top:24px; max-width:820px; margin-inline:auto; text-align:left; }
.wizard-results:empty{ display:none; }
.wizard-results-head{ color:#fff; font-size:13px; font-weight:600; margin-bottom:12px; }
.wizard-results-grid{
  background:#fff; border-radius:var(--r-md); padding:18px; display:grid;
  grid-template-columns:repeat(auto-fill,minmax(105px,1fr)); gap:14px;
}
@media (max-width:420px){
  .wizard-results-grid{ padding:14px; gap:10px; grid-template-columns:repeat(2,1fr); }
}
.wizard-result-card{ display:flex; flex-direction:column; gap:8px; text-decoration:none; color:var(--on-light); }
.wizard-result-card img{ width:100%; aspect-ratio:1/1; object-fit:cover; border-radius:10px; background:#F1F4FB; display:block; }
.wizard-result-card h4{ font-size:12.5px; font-weight:600; line-height:1.3; margin:0; color:var(--on-light); }
.wizard-result-card span{ font-size:11px; color:var(--ink-faint); }
.wizard-results-empty{ background:#fff; border-radius:var(--r-md); padding:22px; color:var(--on-light); font-size:14px; text-align:center; }
.wizard-results-empty a{ color:var(--accent-hover); font-weight:600; }

/* ===========================================================
   Product cards
   =========================================================== */
.product-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; }
.product-grid--sm{ grid-template-columns:repeat(3,1fr); max-width:900px; margin-inline:auto; }
@media (max-width: 700px){ .product-grid--sm{ grid-template-columns:1fr 1fr; } }
@media (max-width: 480px){ .product-grid--sm{ grid-template-columns:1fr; } }

/* Category jump nav (Ürünler page) */
.cat-nav{
  display:flex; flex-wrap:wrap; gap:10px; justify-content:center;
  padding:20px 0 8px;
}
.cat-nav a{
  font-size:13px; font-weight:600; color:var(--ink-soft);
  border:1px solid var(--line); border-radius:var(--r-pill);
  padding:9px 18px; transition:all var(--dur-1) var(--ease);
}
.cat-nav a:hover, .cat-nav a.is-active{ color:#fff; background:var(--accent); border-color:var(--accent); }

.cat-section{ scroll-margin-top:130px; padding-block:56px; border-top:1px solid var(--line); }
.cat-section:first-of-type{ border-top:none; }
.cat-section-head{ display:flex; align-items:center; gap:16px; margin-bottom:30px; }
.cat-section-head .icon-chip{ width:54px; height:54px; }
.cat-section-head .icon-chip svg{ width:24px; height:24px; }
.cat-section-head h2{ font-size:22px; }
.cat-section-head span{ display:block; font-size:13.5px; color:var(--ink-faint); margin-top:2px; }
.product-card{ padding:24px 20px; display:flex; flex-direction:column; gap:16px; }
.product-card .ph{ --ph-ratio: 1/1; }
.product-card-foot{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.product-card h3{ font-size:15px; }
.product-card p{ font-size:12.5px; color:var(--ink-soft); margin-top:2px; }
@media (max-width: 980px){ .product-grid{ grid-template-columns:repeat(2,1fr);} }
@media (max-width: 560px){ .product-grid{ grid-template-columns:1fr; } }

.section-foot{ display:flex; justify-content:center; margin-top:36px; }

/* Category overview list (Ürünler ana sayfası) */
.cat-list{ display:flex; flex-direction:column; gap:14px; }
.cat-row{ display:flex; align-items:center; gap:18px; padding:22px 24px; }
.cat-row .icon-chip{ width:52px; height:52px; }
.cat-row .icon-chip svg{ width:24px; height:24px; }
.cat-row-body{ flex:1; min-width:0; }
.cat-row-body h3{ font-size:17px; }
.cat-row-body p{ font-size:13.5px; color:var(--ink-soft); margin-top:3px; }
.cat-row-count{ font-size:12.5px; color:var(--ink-faint); font-weight:600; flex-shrink:0; white-space:nowrap; }
@media (max-width:600px){
  .cat-row{ flex-wrap:wrap; padding:18px; }
  .cat-row-count{ order:3; width:100%; margin-left:70px; }
}

/* Product card — placeholder tag for not-yet-real products */
.product-card{ position:relative; }
.tag-soon{
  position:absolute; top:10px; left:10px; z-index:2;
  background:var(--surface-2); border:1px solid var(--line); color:var(--ink-faint);
  font-size:10px; font-weight:700; letter-spacing:.04em; text-transform:uppercase;
  padding:4px 9px; border-radius:var(--r-pill);
}
.product-card.is-soon{ opacity:.6; }
.product-card.is-soon:hover{ transform:none; box-shadow:var(--shadow-sm); border-color:var(--line); }

/* Product detail page */
.spec-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px 20px; }
.spec-grid div{ display:flex; flex-direction:column; gap:5px; }
.spec-grid span{ font-size:11.5px; color:var(--ink-faint); text-transform:uppercase; letter-spacing:.05em; }
.spec-grid b{ font-family:var(--font-display); font-size:15.5px; font-weight:600; }
@media (max-width:700px){ .spec-grid{ grid-template-columns:repeat(2,1fr); } }
.badge-row--product{ display:flex; flex-wrap:wrap; gap:14px; margin-top:26px; }
.badge-row--product .badge-circle{ width:64px; height:64px; font-size:9.5px; }

/* ===========================================================
   Story
   =========================================================== */
.story-grid{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.story-media .ph{ --ph-ratio: 4/3; }
.story-media{ position:relative; }
.media-video{ width:100%; display:block; border-radius:var(--r-md); background:var(--surface-2); box-shadow:var(--shadow-md); }
.media-play{
  position:absolute; inset:0; margin:auto; width:64px; height:64px; border-radius:var(--r-pill);
  background:rgba(255,255,255,.92); display:flex; align-items:center; justify-content:center; color:var(--on-light);
  box-shadow:var(--shadow-md); border:0; cursor:pointer;
}
.media-play.is-hidden{ display:none; }
.timeline{ display:flex; flex-direction:column; gap:16px; margin-block:22px; }
.timeline-item{ display:flex; gap:16px; align-items:baseline; }
.timeline-item .year{ font-family:var(--font-display); font-weight:700; color:var(--accent); font-size:19px; width:64px; flex-shrink:0; }
.timeline-item p{ font-size:14px; color:var(--ink-soft); }
@media (max-width: 880px){ .story-grid{ grid-template-columns:1fr; gap:32px; } }

/* ===========================================================
   Trust banner
   =========================================================== */
.trust-grid{ display:flex; justify-content:space-between; align-items:center; gap:32px; flex-wrap:wrap; }
.trust-copy{ max-width:420px; }
.trust-copy h2{ color:#fff; font-size:clamp(22px,2.6vw,28px); }
.trust-copy p{ color:#B7C1DD; margin-top:8px; font-size:14.5px; }
.trust-stats{ display:flex; gap:28px; flex-wrap:wrap; }
.trust-stat{ display:flex; align-items:center; gap:10px; }
.trust-stat span{ font-weight:600; font-size:14.5px; }
.trust-stat svg{ width:20px; height:20px; }

/* ===========================================================
   Quality / stores
   =========================================================== */
.split-grid{ display:grid; grid-template-columns:1fr 1fr; gap:48px; }
.badge-row{ display:flex; align-items:center; gap:16px; margin-top:22px; flex-wrap:wrap; }
.badge-circle{
  width:78px; height:78px; border-radius:var(--r-pill); border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center; text-align:center;
  font-size:10.5px; font-weight:700; line-height:1.2; padding:6px; color:var(--ink-soft);
}
.store-row{ display:flex; gap:14px; flex-wrap:wrap; margin-top:22px; }
.store-card{
  flex:1 1 150px; text-align:center; padding:22px 14px; display:flex; flex-direction:column; gap:12px; align-items:center;
  background:#fff; border-color:#fff;
}
.store-card img{ height:26px; width:auto; }
.store-card .btn-text{ font-size:12.5px; }
@media (max-width: 880px){ .split-grid{ grid-template-columns:1fr; } }

/* ===========================================================
   News
   =========================================================== */
.news-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin-bottom:36px; flex-wrap:wrap; }
.news-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.news-card{ overflow:hidden; }
.news-card .ph{ --ph-ratio: 16/10; border-radius:0; border-width:0 0 1px; }
.news-cover{ background:linear-gradient(135deg,var(--accent),var(--accent-hover)); border-style:solid; }
.news-cover img{ width:auto; height:36%; object-fit:contain; filter:drop-shadow(0 6px 16px rgba(0,0,0,.25)); }
.news-body{ padding:22px 20px 24px; display:flex; flex-direction:column; gap:10px; }
.news-meta{ display:flex; align-items:center; gap:10px; font-size:12px; color:var(--ink-faint); }
.news-tag{ background:var(--accent-dim); color:var(--accent); padding:4px 10px; border-radius:var(--r-pill); font-weight:700; font-size:10.5px; }
.news-card h3{ font-size:16px; line-height:1.4; }
@media (max-width: 880px){ .news-grid{ grid-template-columns:1fr; } }

/* ===========================================================
   Footer
   =========================================================== */
.site-footer{ background:var(--accent-deep); color:#B7C1DD; padding-block:64px 0; }
.footer-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-brand img{ height:44px; margin-bottom:14px; background:#fff; padding:8px 14px; border-radius:var(--r-sm); }
.footer-brand p{ font-size:13.5px; }
.footer-social{ display:flex; gap:12px; margin-top:16px; }
.footer-col h4{ color:#fff; font-size:14.5px; margin-bottom:16px; }
.footer-col ul{ display:flex; flex-direction:column; gap:10px; }
.footer-col a{ font-size:13.5px; color:#B7C1DD; transition:color var(--dur-1) var(--ease); }
.footer-col a:hover{ color:#fff; }
.footer-bottom{ display:flex; justify-content:space-between; padding-block:22px; font-size:12.5px; color:#8390B0; flex-wrap:wrap; gap:10px; }
.footer-bottom a{ color:#8390B0; }
.footer-bottom a:hover{ color:#fff; }
@media (max-width: 880px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width: 560px){ .footer-grid{ grid-template-columns:1fr; } .footer-bottom{ flex-direction:column; align-items:flex-start; } }

/* ===========================================================
   Contact page
   =========================================================== */
.contact-grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:56px; align-items:start; }
.contact-info-card{ display:flex; gap:16px; padding:22px 22px; margin-bottom:14px; }
.contact-info-card h3{ font-size:14.5px; margin-bottom:4px; }
.contact-info-card p, .contact-info-card a{ font-size:13.5px; color:var(--ink-soft); }
.contact-map{ --ph-ratio:4/3; margin-top:22px; }

.field{ margin-bottom:18px; }
.field label{ display:block; font-size:13.5px; font-weight:600; margin-bottom:8px; color:var(--ink); }
.field input, .field textarea{
  width:100%; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-sm);
  padding:13px 16px; font-family:inherit; font-size:14.5px; color:var(--ink);
}
.field input::placeholder, .field textarea::placeholder{ color:var(--ink-faint); }
.field input:focus, .field textarea:focus{ outline:none; border-color:var(--accent); }
.field textarea{ resize:vertical; min-height:130px; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:600px){ .field-row{ grid-template-columns:1fr; } }
.form-note{ font-size:12.5px; color:var(--ink-faint); margin-top:14px; }
.form-status{ font-size:13.5px; margin-top:14px; padding:12px 14px; border-radius:var(--r-sm); display:none; }
.form-status.is-success{ display:block; background:rgba(60,200,120,.12); color:#5CE29B; }
.form-status.is-error{ display:block; background:rgba(255,80,80,.12); color:#FF8A8A; }
.hp-field{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
@media (max-width:880px){ .contact-grid{ grid-template-columns:1fr; } }

/* ===========================================================
   Reveal-on-scroll (transform/opacity only)
   =========================================================== */
[data-reveal]{
  opacity:0; transform:translateY(18px);
  transition:opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
}
[data-reveal].is-visible{ opacity:1; transform:none; }

/* ===========================================================
   Search overlay
   =========================================================== */
.search-overlay{
  position:fixed; inset:0; z-index:10000; display:none;
  background:rgba(6,10,20,.7); backdrop-filter:blur(2px);
  padding:12vh 20px 20px;
}
.search-overlay.is-open{ display:block; }
.search-panel{
  max-width:600px; margin:0 auto; background:var(--surface);
  border:1px solid var(--line); border-radius:var(--r-md);
  box-shadow:var(--shadow-md); overflow:hidden;
}
.search-panel-top{ display:flex; align-items:center; gap:12px; padding:14px 16px; border-bottom:1px solid var(--line); }
.search-panel-top svg{ width:20px; height:20px; color:var(--ink-faint); flex-shrink:0; }
.search-panel-input{
  flex:1; background:none; border:0; outline:0; color:var(--ink);
  font-family:var(--font-text); font-size:16px;
}
.search-panel-input::placeholder{ color:var(--ink-faint); }
.search-panel-close{ background:none; border:0; color:var(--ink-faint); cursor:pointer; padding:4px; display:flex; }
.search-results{ max-height:60vh; overflow-y:auto; }
.search-result{
  display:flex; align-items:center; gap:12px; padding:10px 16px; text-decoration:none;
  color:var(--ink); border-bottom:1px solid var(--line);
}
.search-result:last-child{ border-bottom:0; }
.search-result:hover, .search-result.is-active{ background:var(--surface-2); }
.search-result-thumb{
  width:38px; height:38px; border-radius:8px; overflow:hidden; flex-shrink:0;
  background:var(--surface-2); display:flex; align-items:center; justify-content:center;
}
.search-result-thumb img{ width:100%; height:100%; object-fit:cover; }
.search-result-body h4{ font-size:14px; font-weight:600; margin:0; }
.search-result-body p{ font-size:12px; color:var(--ink-faint); margin:2px 0 0; }
.search-empty{ padding:24px 16px; text-align:center; color:var(--ink-faint); font-size:14px; }

/* ===========================================================
   Site preloader
   =========================================================== */
.site-preloader{
  position:fixed; inset:0; z-index:20000;
  display:flex; align-items:center; justify-content:center;
  background:var(--canvas);
  transition:opacity .4s ease;
}
.site-preloader{ flex-direction:column; gap:18px; }
.site-preloader img{
  width:132px; height:auto;
  animation:nlmPreloaderPulse 1.15s ease-in-out infinite;
}
.site-preloader-tagline{
  margin:0; font-family:var(--font-text); font-size:15px; font-weight:600;
  letter-spacing:.02em; color:var(--ink-soft);
}
.site-preloader.is-hidden{
  opacity:0;
  pointer-events:none;
}
@keyframes nlmPreloaderPulse{
  0%,100%{ transform:scale(1); opacity:1; }
  50%{ transform:scale(1.07); opacity:.72; }
}
@media (prefers-reduced-motion: reduce){
  .site-preloader img{ animation:none; }
}

.cookie-banner{
  position:fixed; left:16px; right:16px; bottom:-160px; z-index:15000;
  max-width:720px; margin:0 auto;
  max-height:calc(100vh - 24px); overflow-y:auto;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-md);
  box-shadow:0 20px 50px -20px rgba(0,0,0,.6);
  padding:18px 20px; display:flex; align-items:center; gap:18px; flex-wrap:wrap;
  transition:bottom .4s ease;
}
.cookie-banner.is-visible{ bottom:100px; }
.cookie-banner p{ margin:0; flex:1 1 320px; font-size:13.5px; color:var(--ink-soft); line-height:1.5; }
.cookie-banner a{ color:var(--accent); text-decoration:underline; }
.cookie-banner .btn{ flex-shrink:0; }
@media (max-width:480px){
  .cookie-banner{
    flex-direction:column; align-items:stretch; text-align:center;
    left:10px; right:10px; bottom:-260px;
    padding:14px 16px; gap:10px; max-height:calc(100vh - 16px);
  }
  .cookie-banner.is-visible{ bottom:90px; }
  .cookie-banner p{ font-size:12.5px; line-height:1.45; flex:none; }
  .cookie-banner .btn{ width:100%; padding:11px 20px; font-size:13.5px; }
}

/* ===========================================================
   RTL (Arabic tree only — scoped to [dir="rtl"], never affects
   tr/en/ru). Flexbox/grid main-axis order already mirrors on its
   own from the html[dir] attribute; these are the remaining
   physical (non-logical) left/right rules that don't.
   =========================================================== */
[dir="rtl"] svg path[d="M5 12h14M13 6l6 6-6 6"]{
  transform:scaleX(-1); transform-box:fill-box; transform-origin:center;
}
[dir="rtl"] .lang-menu button{ text-align:right; }
[dir="rtl"] .wizard-results{ text-align:right; }
[dir="rtl"] .section-head--left{ text-align:right; }
[dir="rtl"] .wizard-select{
  background-position:left 18px center;
  padding:15px 22px 15px 42px;
}
[dir="rtl"] .tag-soon{ left:auto; right:10px; }
@media (max-width:600px){
  [dir="rtl"] .cat-row-count{ margin-left:0; margin-right:70px; }
}
/* Bare "1000 ml"-style values (vol/code/barcode, always digits+Latin
   with no Arabic anchor) get their unit reversed by the bidi algorithm
   when embedded directly in RTL flow. unicode-bidi:plaintext makes each
   element resolve its own direction from its own first strong character,
   so these render LTR while normal Arabic captions in the same class
   (e.g. hand-authored homepage card subtitles) are untouched. */
[dir="rtl"] .spec-grid b,
[dir="rtl"] .product-card-foot p,
[dir="rtl"] .wizard-result-card span{
  unicode-bidi:plaintext;
}