/* ==========================================================================
   Kayer — Design tokens & base
   ========================================================================== */

:root{
  --bg: #FAFAFA;
  --surface: #F1EEE7;
  --surface-2: #ECE7DD;
  --ink: #14181A;
  --muted: #6B6459;
  --accent: #183029;
  --accent-dark: #0E1C17;
  --accent-soft: #E6EEE8;
  --gold: #C29A5B;
  --terracotta: #C1784A;
  --terracotta-soft: #F3E6D9;
  --divider: #E4E1D8;
  --dark-bg: #0F1912;
  --dark-surface: #17251D;
  --dark-ink: #F3F1EA;
  --dark-muted: #A9B3A9;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 9px;

  --shadow: 0 24px 48px -24px rgba(15, 20, 17, 0.22);
  --shadow-sm: 0 10px 24px -14px rgba(15, 20, 17, 0.20);

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-num: "Outfit", var(--font-body);
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; cursor: pointer; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{ margin: 0; font-family: var(--font-display); font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
p{ margin: 0; }

:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow{
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.muted{ color: var(--muted); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover{
  background: var(--accent-dark);
  transform: translateY(-2px);
}
.btn-secondary{
  background: transparent;
  color: var(--ink);
  border-color: var(--divider);
}
.btn-secondary:hover{
  border-color: var(--accent);
  color: var(--accent);
}
.btn-light{
  background: var(--dark-ink);
  color: var(--dark-bg);
}
.btn-light:hover{
  background: #fff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 250, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(20,24,26,0.06);
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 24px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  flex-shrink: 0;
}
.brand img{ height: 30px; width: auto; }

.main-nav{
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
.main-nav a{
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after{
  transform: scaleX(1);
}

.header-right{
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-shrink: 0;
}
.lang-switch{
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--surface);
  border-radius: 999px;
  padding: 3px;
  font-size: 0.82rem;
  font-weight: 600;
}
.lang-switch a{
  padding: 5px 13px;
  border-radius: 999px;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-switch a.active{
  background: var(--accent);
  color: #fff;
}
.lang-switch a:hover:not(.active){ color: var(--accent); }
.lang-switch span{ display: none; }

.nav-toggle{
  display: none;
  background: none;
  border: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before{ position: absolute; top: -7px; }
.nav-toggle span::after{ position: absolute; top: 7px; }

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */

.whatsapp-float{
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(27,94,59,0.55);
  z-index: 200;
  transition: transform 0.25s ease, background 0.25s ease;
}
.whatsapp-float:hover{
  transform: translateY(-3px) scale(1.04);
  background: var(--accent-dark);
}
.whatsapp-float svg{ width: 27px; height: 27px; fill: #fff; }

[dir="rtl"] .whatsapp-float{ right: auto; left: 22px; }

/* ==========================================================================
   Image placeholders
   ========================================================================== */

.placeholder{
  background: repeating-linear-gradient(135deg, #EDECE7, #EDECE7 10px, #E6E4DC 10px, #E6E4DC 20px);
  border: 1px dashed #C9C6BC;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.78rem;
  font-family: var(--font-body);
  padding: 1rem;
  letter-spacing: 0.01em;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero{
  position: relative;
  padding: 6.5rem 0 7rem;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before{
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, rgba(250,250,250,0.97) 0%, rgba(250,250,250,0.93) 40%, rgba(250,250,250,0.55) 68%, rgba(250,250,250,0.12) 100%);
  z-index: 0;
}
[dir="rtl"] .hero::before{
  background: linear-gradient(270deg, rgba(250,250,250,0.97) 0%, rgba(250,250,250,0.93) 40%, rgba(250,250,250,0.55) 68%, rgba(250,250,250,0.12) 100%);
}
.hero .container{
  position: relative;
  z-index: 1;
}
.hero-content{
  max-width: 620px;
}
.hero-eyebrow{
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 1.4rem;
}
.hero h1{
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 1.5rem;
  max-width: 15ch;
}
.hero p.lead{
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 46ch;
  margin-bottom: 2.2rem;
}
.hero-media{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}
.hero-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   About
   ========================================================================== */

.about{
  padding: 5rem 0;
}
.about .container{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-media{
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/5;
}
.about-media img{ width: 100%; height: 100%; object-fit: cover; }
.about h2{
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin: 0.9rem 0 1.4rem;
  max-width: 16ch;
}
.about p{
  color: var(--muted);
  margin-bottom: 1.1rem;
  max-width: 56ch;
  font-size: 1.02rem;
}
.about p:last-of-type{ margin-bottom: 0; }

/* ==========================================================================
   Products glimpse
   ========================================================================== */

.products-glimpse{ padding: 4.6rem 0 1rem; }
.glimpse-head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.4rem;
}
.glimpse-head h2{
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  margin: 0.6rem 0 0;
  max-width: 20ch;
}
.glimpse-link{
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
  white-space: nowrap;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--accent);
  transition: opacity 0.2s ease;
}
.glimpse-link:hover{ opacity: 0.65; }
.glimpse-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}
.glimpse-card{ display: block; }
.glimpse-media{
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}
.glimpse-media .slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.glimpse-media .slide.active{ opacity: 1; }
.glimpse-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.glimpse-card:hover .glimpse-media img{ transform: scale(1.06); }
.glimpse-label{
  display: block;
  margin-top: 0.9rem;
  font-weight: 600;
  font-size: 0.95rem;
}
@media (max-width: 900px){
  .glimpse-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Why Kayer
   ========================================================================== */

.why-kayer{ padding: 5rem 0 5.5rem; }
.why-kayer .eyebrow-terracotta{
  color: #6B6459;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 2.6rem;
}
.why-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.2rem;
}
.why-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.1rem;
}
.why-icon{
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: #F1EEE7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-icon svg{
  width: 34px;
  height: 34px;
  stroke: #6B6459;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.why-card p{
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  max-width: 18ch;
}

@media (max-width: 900px){
  .why-grid{ grid-template-columns: repeat(2, 1fr); row-gap: 2.6rem; }
}
@media (max-width: 520px){
  .why-grid{ grid-template-columns: 1fr; }
}

/* ==========================================================================
   Founder's Note
   ========================================================================== */

.founder-note{ padding: 5.5rem 0; }
.founder-note .container{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.founder-note .eyebrow-terracotta{
  color: var(--terracotta);
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 1.1rem;
}
.founder-note h2{
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 1.6rem;
}
.founder-note p{
  color: var(--ink);
  font-size: 1.03rem;
  line-height: 1.75;
  max-width: 56ch;
  margin-bottom: 1.3rem;
}
.founder-note p:last-of-type{ margin-bottom: 0; }
.founder-divider{
  width: 64px;
  height: 1px;
  background: var(--divider);
  margin: 2.2rem 0 1.3rem;
  border: none;
}
.founder-signoff-name{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--ink);
}
.founder-signoff-role{
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--terracotta);
  font-weight: 700;
  margin-top: 4px;
}
.founder-portrait{
  width: min(272px, 68%);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--divider);
  box-shadow: var(--shadow-sm);
}
.founder-portrait img{ width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px){
  .founder-note .container{ grid-template-columns: 1fr; }
  .founder-portrait{ order: -1; }
}

/* ==========================================================================
   Process ("What we do") — sticky-number rows
   ========================================================================== */

.process{
  background: #FAFAF8;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}
.process-head{
  padding: 4.5rem 0 1rem;
}
.process-head h2{
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  max-width: 20ch;
  margin-top: 0.8rem;
}
.process-rows{
  padding-bottom: 2rem;
}
.process-row{
  border-top: 1px solid var(--divider);
  display: grid;
  grid-template-columns: 150px minmax(0,1fr) minmax(0,1fr) 220px;
  gap: 2rem;
  align-items: center;
  padding: 3.4rem 0;
  min-height: 62vh;
}
.process-row:last-child{ border-bottom: 1px solid var(--divider); }

.process-num-wrap{
  position: sticky;
  top: 38vh;
  align-self: start;
  height: fit-content;
}
.process-num{
  font-family: var(--font-num);
  font-weight: 200;
  font-size: clamp(4rem, 7vw, 6.2rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--gold);
  transition: transform 0.6s cubic-bezier(.16,.84,.44,1), opacity 0.6s ease;
  opacity: 0.35;
  transform: translateY(14px);
}
.process-row.in-view .process-num{
  opacity: 1;
  transform: translateY(0);
}

.process-title{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--ink);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.process-body{
  color: var(--muted);
  max-width: 420px;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease 0.06s, transform 0.7s ease 0.06s;
}
.process-row.in-view .process-title,
.process-row.in-view .process-body{
  opacity: 1;
  transform: translateY(0);
}

.process-media{
  width: 220px;
  height: 160px;
  border-radius: 20px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease 0.12s, transform 0.7s ease 0.12s;
}
.process-row.in-view .process-media{ opacity: 1; transform: translateY(0); }
.process-media img{ width: 100%; height: 100%; object-fit: cover; }
.process-media.placeholder{ font-size: 0.68rem; }

@media (prefers-reduced-motion: reduce){
  .process-num-wrap{ position: static; }
  .process-num,
  .process-title,
  .process-body,
  .process-media{
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 900px){
  .process-row{
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2.6rem 0;
    min-height: 0;
  }
  .process-num-wrap{ position: static; }
  .process-media{ width: 100%; height: 200px; }
}

/* ==========================================================================
   Insights
   ========================================================================== */

.insights{ padding: 5.5rem 0; }
.insights-head{ max-width: 640px; margin-bottom: 2.6rem; }
.insights-head h2{
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin: 0.8rem 0 0.9rem;
}
.insights-head p{ color: var(--muted); font-size: 1.02rem; }

.insight-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
@media (max-width: 1000px){
  .insight-grid{ grid-template-columns: repeat(2, 1fr); }
}
.insight-card{
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid transparent;
}
.insight-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--divider);
}
.insight-tag{
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.insight-card h3{
  font-size: 1.28rem;
  line-height: 1.35;
}
.insight-card p{ color: var(--muted); font-size: 0.97rem; }
.insight-read{
  margin-top: auto;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.insight-card:hover .insight-read{ color: var(--accent); }

/* ==========================================================================
   Products grid
   ========================================================================== */

.page-head{
  padding: 4.4rem 0 2.6rem;
  max-width: 680px;
}
.page-head .eyebrow{ display:block; margin-bottom: 0.8rem; text-transform: uppercase; }
.page-head h1{ font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 0.9rem; }
.page-head p{ color: var(--muted); font-size: 1.05rem; }

.products-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  padding-bottom: 3rem;
}
.product-card{
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  scroll-margin-top: 100px;
}
.product-card:hover{
  transform: translateY(-5px);
  box-shadow: var(--shadow-sm);
}
.product-media{
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface);
}
.product-media .slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.product-media .slide.active{ opacity: 1; }
.product-media img{ width: 100%; height: 100%; object-fit: cover; }
.product-dots{
  position: absolute;
  bottom: 12px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.product-dots span{
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.55);
  transition: background 0.25s ease, transform .25s ease;
}
.product-dots span.active{ background: #fff; transform: scale(1.2); }

.product-info{ padding: 1.5rem 1.6rem 1.7rem; }
.product-info h3{ font-size: 1.15rem; margin-bottom: 0.55rem; }
.product-info p{ color: var(--muted); font-size: 0.94rem; }

.products-cta{
  text-align: center;
  padding: 1rem 0 5rem;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-section{
  background: var(--dark-bg);
  color: var(--dark-ink);
  padding: 5rem 0 6rem;
}
.contact-section .eyebrow{ color: var(--gold); text-transform: uppercase; }
.contact-section h1{
  color: var(--dark-ink);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  margin: 0.9rem 0 1rem;
  max-width: 16ch;
}
.contact-subtext{
  color: var(--dark-muted);
  font-size: 1.05rem;
  max-width: 48ch;
  margin-bottom: 2.8rem;
}
.contact-grid{
  display: grid;
  grid-template-columns: 0.95fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
}
.founder-card{
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.founder-photo{
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(243,241,234,0.18);
}
.founder-photo img{ width: 100%; height: 100%; object-fit: cover; }
.founder-photo.placeholder{ font-size: 0.65rem; border-radius: 50%; }
.founder-name{ font-family: var(--font-display); font-size: 1.4rem; }
.founder-role{ color: var(--dark-muted); font-size: 0.92rem; margin-top: 2px; }

.contact-list{ display: flex; flex-direction: column; gap: 1.3rem; margin-top: 0.6rem; }
.contact-list dt{
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dark-muted);
  margin: 0 0 4px;
}
.contact-list dd{
  margin: 0;
  font-size: 1rem;
  color: var(--dark-ink);
}
.contact-list a{ color: var(--dark-ink); }
.contact-list a:hover{ color: var(--gold); }

.contact-quick-links{
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
}
.whatsapp-inline{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  background: rgba(243,241,234,0.08);
  border: 1px solid rgba(243,241,234,0.18);
  width: fit-content;
  font-weight: 600;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.whatsapp-inline:hover{ background: rgba(243,241,234,0.14); border-color: rgba(243,241,234,0.3); }
.whatsapp-inline svg{ width: 18px; height: 18px; fill: var(--gold); }
.telegram-inline{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  background: rgba(243,241,234,0.08);
  border: 1px solid rgba(243,241,234,0.18);
  width: fit-content;
  font-weight: 600;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.telegram-inline:hover{ background: rgba(243,241,234,0.14); border-color: rgba(243,241,234,0.3); }
.telegram-inline svg{ width: 18px; height: 18px; fill: var(--gold); }

.contact-form{
  background: var(--dark-surface);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border: 1px solid rgba(243,241,234,0.08);
}
.form-success{
  background: var(--dark-surface);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(194,154,91,0.28);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  text-align: start;
  animation: form-success-in 0.5s ease;
}
.form-success[hidden]{ display: none; }
.form-success-icon{
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(194,154,91,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.form-success-icon svg{
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.form-success h3{ color: var(--dark-ink); font-size: 1.35rem; }
.form-success p{ color: var(--dark-muted); font-size: 1rem; max-width: 42ch; }
.form-success-reset{
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 0.3rem;
}
.form-success-reset:hover{ opacity: 0.75; }
@keyframes form-success-in{
  from{ opacity: 0; transform: translateY(8px); }
  to{ opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce){
  .form-success{ animation: none; }
}
.form-row{ margin-bottom: 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; }
.form-row label{ font-size: 0.85rem; color: var(--dark-muted); }
.form-row input, .form-row textarea{
  background: rgba(250,250,250,0.04);
  border: 1px solid rgba(243,241,234,0.16);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--dark-ink);
  font-family: var(--font-body);
  font-size: 0.98rem;
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus{
  outline: none;
  border-color: var(--gold);
}
.form-row input::placeholder, .form-row textarea::placeholder{ color: rgba(169,179,169,0.55); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer{
  background: var(--surface);
  border-top: 1px solid var(--divider);
  padding: 3rem 0 2rem;
}
.footer-top{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 2rem;
}
.footer-brand{
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}
.footer-brand img{ height: 26px; width: auto; display: block; }
.footer-links{ display: flex; gap: 2.4rem; flex-wrap: wrap; }
.footer-links a{ font-size: 0.92rem; color: var(--muted); }
.footer-links a:hover{ color: var(--accent); }
.footer-social{ display: flex; gap: 0.9rem; }
.footer-social a{
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--divider);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.footer-social a:hover{ background: var(--accent); border-color: var(--accent); }
.footer-social a:hover svg{ fill: #fff; }
.footer-social svg{ width: 16px; height: 16px; fill: var(--ink); transition: fill 0.25s ease; }
.footer-bottom{
  border-top: 1px solid var(--divider);
  padding-top: 1.6rem;
  font-size: 0.86rem;
  color: var(--muted);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.2rem;
}
.footer-copy{
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  justify-self: start;
}
.footer-location{
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  white-space: nowrap;
}
.footer-location svg{
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--accent);
}
.footer-address{
  color: var(--muted);
  font-size: 0.86rem;
}
.footer-badges{
  display: flex;
  align-items: center;
  gap: 0.7rem;
  justify-self: end;
}
@media (max-width: 720px){
  .footer-bottom{
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 0.9rem;
  }
  .footer-copy, .footer-location, .footer-badges{ justify-self: center; }
}
.footer-badges img{
  height: 42px;
  width: auto;
  display: block;
}

/* ==========================================================================
   Article pages (insights detail)
   ========================================================================== */

.article-hero{ padding: 3.6rem 0 1rem; max-width: 760px; }
.article-hero .back-link{
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.9rem; color: var(--muted); margin-bottom: 1.6rem;
}
.article-hero .back-link:hover{ color: var(--accent); }
.article-hero .eyebrow{ display: block; margin-bottom: 1rem; text-transform: uppercase; }
.article-hero h1{ font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.15; margin-bottom: 1rem; }
.article-meta{ color: var(--muted); font-size: 0.92rem; }

.article-body{
  max-width: 720px;
  padding: 1rem 0 5.5rem;
  font-size: 1.06rem;
  color: #2B2E2A;
}
.article-body p{ margin-bottom: 1.3rem; }
.article-body h2{
  font-size: 1.4rem;
  margin: 2.2rem 0 1rem;
}
.article-body ul{ margin: 0 0 1.3rem; padding-left: 1.2rem; list-style: disc; color: #2B2E2A; }
.article-body li{ margin-bottom: 0.5rem; }

/* ==========================================================================
   Utility: reveal-on-scroll (generic sections)
   ========================================================================== */

.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view{ opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px){
  .products-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px){
  .main-nav{ display: none; }
  .nav-toggle{ display: flex; }
  .about .container,
  .contact-grid{ grid-template-columns: 1fr; }
  .about-media{ max-width: 420px; margin: 0 auto; }
  .insight-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 640px){
  .products-grid{ grid-template-columns: 1fr; }
  .site-header .container{ height: 70px; }
  .hero{ padding: 2.6rem 0 3rem; }
  .hero::before{ background: linear-gradient(180deg, rgba(250,250,250,0.96) 0%, rgba(250,250,250,0.92) 55%, rgba(250,250,250,0.72) 100%) !important; }
  .about, .insights, .process-head{ padding-top: 3rem; }
}

/* Mobile nav drawer */
.mobile-nav{
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateY(-100%);
  transition: transform 0.35s ease;
}
.mobile-nav.open{ transform: translateY(0); }
.mobile-nav a{ font-family: var(--font-display); font-size: 1.6rem; }
.mobile-nav .btn{ margin-top: 1rem; }

/* ==========================================================================
   RTL (Arabic)
   ========================================================================== */

[dir="rtl"]{ font-family: "Cairo", var(--font-body); }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4{ font-family: "Cairo", var(--font-display); font-weight: 600; }
[dir="rtl"] .process-num{ direction: ltr; display: inline-block; }
[dir="rtl"] .main-nav, [dir="rtl"] .header-right{ flex-direction: row-reverse; }
[dir="rtl"] .contact-list{ text-align: right; }
[dir="rtl"] .footer-top{ flex-direction: row-reverse; }
[dir="rtl"] .footer-bottom{ flex-direction: row-reverse; }
