:root {
  --primary: #0A2F6F;
  --primary-dark: #071F4D;
  --secondary: #0E63C7;
  --accent: #41B7D8;
  --mint: #24A98A;
  --mint-dark: #178068;
  --danger: #DE3C3C;

  --bg: #F6FBFF;
  --bg-light: #EFF4FB;
  --white: #FFFFFF;

  --text: #15304F;
  --text-light: #61758B;
  --border: #DCE7F5;

  --mint-tint: #E3F7F1;
  --accent-tint: #E7F7FB;

  --radius: 16px;
  --shadow: 0 20px 40px -20px rgba(10,47,111,0.22);
  --shadow-lg: 0 30px 60px -24px rgba(10,47,111,0.3);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-head: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  top: 0;
  left: 10px;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus {
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--primary); line-height: 1.2; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246,251,255,0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px -20px rgba(10,47,111,0.25);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}
.brand:hover { transform: translateY(-1px); }
.brand-mark { width: 22px; height: 22px; color: var(--secondary); transition: transform 0.35s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.08); }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
}
.brand-logo { height: 54px; width: auto; display: block; transition: transform 0.35s var(--ease); }
.brand:hover .brand-logo { transform: scale(1.04); }

.brand-group { display: flex; align-items: center; gap: 10px; }

.lang-flag-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-light);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.lang-flag-toggle:hover { transform: scale(1.08); border-color: var(--secondary); }
.lang-flag-toggle:active { transform: scale(0.94); }

.nav-group {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  position: relative;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color 0.2s;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.main-nav a:hover { color: var(--primary); }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-close { display: none; }

.header-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.lang-toggle {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.lang-toggle:hover { background: var(--accent-tint); border-color: var(--secondary); color: var(--secondary); transform: translateY(-1px); }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--primary);
  margin: 0 auto;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7,31,77,0.45);
  opacity: 0;
  pointer-events: none;
  z-index: 150;
  transition: opacity 0.35s var(--ease);
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }
body.drawer-open { overflow: hidden; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn-primary { background: var(--primary); color: #fff; background-size: 200% 100%; background-image: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary)); background-position: 0% 0; }
.btn-primary:hover { background-position: 100% 0; box-shadow: var(--shadow); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--secondary); color: var(--secondary); transform: translateY(-2px); background: var(--accent-tint); }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-full { width: 100%; }

/* WhatsApp floating button — mobile only */
.whatsapp-float {
  display: none;
  position: fixed;
  bottom: 20px;
  inset-inline-end: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px -6px rgba(0,0,0,0.35);
  z-index: 140;
  animation: whatsappPulse 2.4s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float:active { transform: scale(0.96); }
@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 10px 28px -6px rgba(0,0,0,0.35), 0 0 0 0 rgba(37,211,102,0.5); }
  50% { box-shadow: 0 10px 28px -6px rgba(0,0,0,0.35), 0 0 0 10px rgba(37,211,102,0); }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 90px 0 70px; }
.hero-glow {
  position: absolute;
  top: -220px;
  right: -180px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(65,183,216,0.22), rgba(14,99,199,0.08) 55%, transparent 75%);
  z-index: 0;
  animation: driftGlow 14s ease-in-out infinite;
}
@keyframes driftGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 30px) scale(1.08); }
}
.hero-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mint-dark);
  background: var(--mint-tint);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  animation: fadeInUp 0.7s var(--ease) both;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); animation: pulseDot 1.8s ease-in-out infinite; }
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(36,169,138,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(36,169,138,0); }
}

.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 700;
  margin-bottom: 22px;
  animation: fadeInUp 0.7s 0.08s var(--ease) both;
}
.text-accent {
  background: linear-gradient(90deg, var(--mint), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead { font-size: 1.08rem; color: var(--text-light); max-width: 520px; margin-bottom: 32px; animation: fadeInUp 0.7s 0.16s var(--ease) both; }

.hero-actions { display: flex; gap: 14px; margin-bottom: 36px; flex-wrap: wrap; animation: fadeInUp 0.7s 0.24s var(--ease) both; }

.hero-tags { display: flex; gap: 22px; flex-wrap: wrap; animation: fadeInUp 0.7s 0.32s var(--ease) both; }
.hero-tags li {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  padding-inline-start: 20px;
  position: relative;
}
.hero-tags li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0; top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--mint-tint);
  border: 2px solid var(--mint);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-art { display: flex; justify-content: center; animation: fadeIn 0.9s 0.1s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.hero-photo-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: floatCard 5s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-photo { width: 100%; height: auto; display: block; }
.float-chip {
  position: absolute;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: 0 10px 24px -8px rgba(10,47,111,0.32);
  animation: floatChip 4s ease-in-out infinite;
  z-index: 2;
}
.chip-1 { top: 18px; left: 18px; animation-delay: 0.3s; }
.chip-2 { bottom: 18px; right: 18px; animation-delay: 0.9s; }
@keyframes floatChip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-light); }

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.eyebrow-alt {
  color: var(--mint-dark);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }
.section-sub { color: var(--text-light); font-size: 1rem; }

/* Grids */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* Stagger reveal children */
.reveal-group > .reveal:nth-child(1) { transition-delay: 0.03s; }
.reveal-group > .reveal:nth-child(2) { transition-delay: 0.09s; }
.reveal-group > .reveal:nth-child(3) { transition-delay: 0.15s; }
.reveal-group > .reveal:nth-child(4) { transition-delay: 0.21s; }
.reveal-group > .reveal:nth-child(5) { transition-delay: 0.27s; }
.reveal-group > .reveal:nth-child(6) { transition-delay: 0.33s; }

/* Info cards (About) */
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.icon-badge {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--mint-tint);
  color: var(--mint-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.icon-badge svg { width: 22px; height: 22px; }
.info-card:hover .icon-badge { transform: rotate(-6deg) scale(1.08); background: var(--mint); color: #fff; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.info-card p { color: var(--text-light); font-size: 0.93rem; }

/* Products */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.product-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 230px;
  padding: 20px 12px;
  overflow: hidden;
}
.product-visual.has-photo {
  height: auto;
  aspect-ratio: 1086 / 1448;
  padding: 0;
  background: var(--bg-light);
}
.product-icon { width: 60px; transition: transform 0.5s var(--ease); }
.product-card:hover .product-icon { transform: translateY(-4px) scale(1.04); }
.product-photo {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
  z-index: 1;
}
.product-card:hover .product-photo { transform: scale(1.05); }
.product-flag {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.94);
  color: var(--primary);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 4px 12px -4px rgba(10,47,111,0.25);
}
.product-flag.flag-danger { color: var(--danger); }
.size-pill {
  position: absolute;
  bottom: 14px; left: 50%;
  transform: translateX(-50%);
  background: rgba(10,47,111,0.85);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  z-index: 2;
}
.product-body { padding: 26px; }
.product-body h3 { font-size: 1.2rem; margin-bottom: 6px; }
.ingredients { color: var(--mint-dark); font-size: 0.8rem; font-weight: 600; margin-bottom: 10px; }
.desc { color: var(--text-light); font-size: 0.9rem; margin-bottom: 14px; }
.uses { margin-bottom: 16px; }
.uses li {
  font-size: 0.86rem;
  color: var(--text);
  padding-inline-start: 18px;
  position: relative;
  margin-bottom: 6px;
}
.uses li::before {
  content: '✓';
  position: absolute; inset-inline-start: 0;
  color: var(--mint);
  font-weight: 700;
  font-size: 0.78rem;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.tag:hover { transform: translateY(-2px); background: var(--accent-tint); color: var(--secondary); }
.link-cta { color: var(--primary); font-weight: 600; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 4px; transition: gap 0.25s var(--ease), color 0.25s; }
.link-cta:hover { color: var(--mint-dark); gap: 8px; }

/* Campaign gallery */
.campaign-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.campaign-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.campaign-item:hover { transform: translateY(-6px) scale(1.01); box-shadow: var(--shadow-lg); }
.campaign-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Numbered cards (Why Vedox) */
.num-card {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  transition: transform 0.3s var(--ease);
}
.num-card:hover { transform: translateY(-4px); }
.num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--mint);
  display: block;
  margin-bottom: 10px;
  transition: -webkit-text-stroke 0.3s var(--ease), color 0.3s var(--ease);
}
.num-card:hover .num { color: var(--mint); -webkit-text-stroke: 1px var(--mint); }
.num-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.num-card p { color: var(--text-light); font-size: 0.9rem; }

/* Conditions */
.cond-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  border-inline-start: 3px solid var(--mint);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-inline-start-color 0.3s var(--ease);
}
.cond-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-inline-start-color: var(--secondary); }
.cond-card h4 { font-size: 1rem; margin-bottom: 6px; }
.cond-card p { color: var(--text-light); font-size: 0.88rem; }

/* Testimonials */
.quote-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.quote-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.quote-card::before {
  content: '\201C';
  position: absolute;
  top: 10px; inset-inline-start: 20px;
  font-family: Georgia, serif;
  font-size: 3.4rem;
  color: var(--mint-tint);
  line-height: 1;
  z-index: 0;
}
.quote-card p { position: relative; font-size: 0.95rem; color: var(--text); margin-bottom: 20px; z-index: 1; }
.quote-card footer { display: flex; flex-direction: column; gap: 2px; }
.quote-card strong { font-size: 0.9rem; }
.quote-card span { font-size: 0.8rem; color: var(--text-light); }

/* Contact */
.contact-row { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 48px; }
.contact-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: padding-inline-start 0.3s var(--ease);
}
.contact-list li:hover { padding-inline-start: 8px; }
.contact-list strong { font-size: 0.95rem; color: var(--primary); }
.contact-list span { color: var(--text-light); font-size: 0.92rem; }
.contact-list a { color: var(--mint-dark); font-weight: 600; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--primary); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  background: var(--bg-light);
  color: var(--text);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--secondary);
  background: #fff;
  box-shadow: 0 0 0 4px var(--accent-tint);
}
.form-note { margin-top: 14px; font-size: 0.86rem; color: var(--mint-dark); font-weight: 600; min-height: 1.2em; }

/* Footer */
.site-footer { background: var(--primary-dark); color: #C9D3E8; padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand-mark { color: var(--accent); }
.brand-logo-footer { filter: brightness(0) invert(1); height: 44px; }
.footer-brand p { font-size: 0.88rem; color: #8FA0C4; max-width: 280px; }
.footer-col h5 { color: #fff; font-size: 0.85rem; margin-bottom: 16px; letter-spacing: 0.04em; }
.footer-col a, .footer-col span { display: block; font-size: 0.88rem; color: #A9B7D6; margin-bottom: 10px; transition: color 0.2s, transform 0.2s; }
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  font-size: 0.82rem;
  color: #7484A8;
}

/* Reveal animation — visible by default; JS opts elements into the pre-animation state */
.reveal { transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.pre { opacity: 0; transform: translateY(24px); }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-row { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile drawer — lives outside the sticky header in the DOM so it gets
   the viewport as its containing block (some mobile browsers wrongly use a
   position:sticky ancestor as the containing block for fixed children). */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(320px, 84vw);
  background: var(--white);
  box-shadow: -20px 0 50px -20px rgba(10,47,111,0.35);
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 84px 28px 28px;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  will-change: transform;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer a { width: 100%; padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--border); color: var(--text-light); }
.mobile-drawer a:hover { color: var(--primary); }

.nav-close {
  display: none;
  position: absolute;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  border: none;
  background: var(--bg-light);
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--primary);
  cursor: pointer;
}
@media (max-width: 760px) {
  .header-right { display: none; }
  .main-nav { display: none; }
  .nav-burger { display: flex; z-index: 160; }

  .mobile-drawer { display: flex; }
  .nav-close { display: block; }
  .whatsapp-float { display: flex; }
  .lang-flag-toggle { display: flex; }

  .header-row { position: relative; }
  .brand-group .brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .brand-group:hover .brand { transform: translate(-50%, -50%); }

  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .campaign-grid { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Arabic / RTL */
:root[dir="rtl"] {
  --font-head: 'Cairo', sans-serif;
  --font-body: 'Cairo', sans-serif;
}
:root[dir="rtl"] .quote-card::before { content: '\201D'; }
:root[dir="rtl"] .main-nav a::after { transform-origin: left; }
:root[dir="rtl"] .main-nav a:hover::after { transform-origin: right; }

:root[dir="rtl"] .mobile-drawer { right: auto; left: 0; transform: translateX(-100%); }
:root[dir="rtl"] .mobile-drawer.open { transform: translateX(0); }
:root[dir="rtl"] .nav-close { right: auto; left: 20px; }
