/* =========================================================
   مؤسسة المبادرات للاستشارات والتسويق — التصميم الجديد
   ========================================================= */

:root {
  --brand: #1E3A8A; /* Deep Indigo Blue */
  --brand-2: #2563EB; /* Vibrant Blue */
  --brand-3: #3B82F6; /* Light Blue */
  --brand-dark: #172554; /* Darker Indigo */
  --brand-deep: #0F172A; /* Very Dark Indigo */
  --grad-brand: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(30,58,138,0.12), rgba(37,99,235,0.12));
  --accent: #D4AF37; /* Gold */
  --accent-2: #F1C40F; /* Bright Gold */
  --accent-soft: #FFF8E7; /* Soft Gold */
  --ink: #0F172A; /* Slate 900 */
  --muted: #475569; /* Slate 600 */
  --line: #E2E8F0; /* Slate 200 */
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC; /* Slate 50 */
  --bg-mint: #F1F5F9; /* Slate 100 */
  --white: #FFFFFF;
  --ring: rgba(37, 99, 235, 0.35);
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 14px 40px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 30px 70px rgba(15, 23, 42, 0.16);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 18px;
  --radius-lg: 26px;
  --container: 1180px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; }

::selection { background: var(--brand); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--brand), var(--brand-2)); border-radius: 20px; border: 2px solid var(--bg-soft); }

body {
  font-family: "Tajawal", "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: min(var(--container), 92%); margin-inline: auto; }

/* ============ Notification banner ============ */
.topbar {
  background: linear-gradient(90deg, var(--brand-deep), var(--brand-dark));
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 44px;
  position: relative;
  z-index: 60;
}
.topbar b { color: var(--accent); }
.topbar-close {
  position: absolute;
  inset-inline-end: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  line-height: 1;
}
.topbar-close:hover { color: #fff; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(7,52,44,0.07);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  max-width: 220px;
}
.brand-logo img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}
.brand-name { line-height: 1.25; }
.brand-name .t1 { font-size: 19px; font-weight: 800; color: var(--brand-dark); display: block; }
.brand-name .t2 { font-size: 12.5px; font-weight: 600; color: var(--brand); display: block; letter-spacing: .2px; }

.main-nav ul { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  display: block;
  padding: 9px 15px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  transition: background .2s ease, color .2s ease;
}
.main-nav a:hover { background: var(--bg-mint); color: var(--brand-dark); }
.main-nav a.active { color: var(--brand); background: var(--bg-mint); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-contact {
  background: var(--grad-brand);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  padding: 11px 22px;
  border-radius: 50px;
  box-shadow: 0 8px 22px rgba(0,137,123,0.3);
  transition: transform .25s var(--ease-out), box-shadow .25s ease;
}
.btn-contact:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,137,123,0.42); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  place-items: center;
  font-size: 20px;
  color: var(--ink);
}

/* mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(7,52,44,0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.mobile-drawer.open { opacity: 1; pointer-events: auto; }
.drawer-panel {
  position: absolute;
  inset-inline-end: 0;
  top: 0;
  height: 100%;
  width: min(320px, 86%);
  background: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform .3s ease;
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}
[dir="rtl"] .drawer-panel { transform: translateX(-100%); }
.mobile-drawer.open .drawer-panel { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.drawer-close { font-size: 22px; color: var(--muted); }
.drawer-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}
.drawer-nav a:hover { background: var(--bg-mint); color: var(--brand-dark); }
.drawer-nav a.active { background: var(--brand); color: #fff; }
.drawer-cta { margin-top: 14px; }

/* ============ Buttons ============ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15.5px;
  padding: 14px 28px;
  border-radius: 50px;
  overflow: hidden;
  transition: transform .25s var(--ease-out), background .25s ease, color .25s ease, box-shadow .25s ease;
}
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: inset-inline-start .6s ease;
}
.btn:hover::before { inset-inline-start: 130%; }
.btn svg { width: 19px; height: 19px; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 26px rgba(0,137,123,0.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0,137,123,0.42); }
.btn-light { background: #fff; color: var(--brand-dark); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--brand-dark); border: 2px solid var(--brand); }
.btn-outline:hover { background: var(--grad-brand); color: #fff; border-color: var(--brand); }
.btn-accent { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--brand-deep); box-shadow: 0 10px 26px rgba(255,183,3,0.35); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(255,183,3,0.48); }
.btn-block { width: 100%; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: 8px;
}

/* ============ Section helpers ============ */
section { padding: 84px 0; }
.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-brand-soft);
  border: 1px solid rgba(0,180,160,0.25);
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 13.5px;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: .3px;
  margin-bottom: 12px;
}
.section-head .tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,183,3,0.22);
}
.section-head.center .tag::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,183,3,0.22);
}
.section-head h2 { font-size: 34px; font-weight: 800; color: var(--brand-deep); line-height: 1.35; }
.section-head p { margin-top: 10px; color: var(--muted); font-size: 16.5px; }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 60px 0 90px;
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(0,180,160,0.16), transparent 60%),
    radial-gradient(900px 420px at 0% 110%, rgba(255,183,3,0.14), transparent 55%),
    linear-gradient(180deg, #F4FBFA 0%, #ffffff 100%);
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}
.hero::before {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(0,180,160,0.18), transparent 65%);
  inset-inline-start: 8%;
  top: -90px;
  animation: blob 14s ease-in-out infinite;
}
.hero::after {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255,183,3,0.16), transparent 65%);
  inset-inline-end: 4%;
  bottom: -110px;
  animation: blob 17s ease-in-out infinite reverse;
}
@keyframes blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(18px, 22px) scale(1.08); }
  66% { transform: translate(-14px, 12px) scale(0.94); }
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: #8a6400;
  font-weight: 800;
  font-size: 13.5px;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,183,3,0.35);
  animation: heroFadeUp .7s var(--ease-out) both;
}
.hero h1 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--brand-deep);
  margin-bottom: 18px;
  animation: heroFadeUp .7s var(--ease-out) .1s both;
}
.hero h1 .accent {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
  animation: heroFadeUp .7s var(--ease-out) .2s both;
}
.hero p.intro {
  color: var(--muted);
  font-size: 16.5px;
  max-width: 560px;
  margin-bottom: 28px;
  animation: heroFadeUp .7s var(--ease-out) .3s both;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; animation: heroFadeUp .7s var(--ease-out) .4s both; }
.hero-trust {
  display: flex;
  gap: 34px;
  margin-top: 34px;
  flex-wrap: wrap;
  animation: heroFadeUp .7s var(--ease-out) .5s both;
}
.hero-trust .stat b { font-size: 22px; font-weight: 800; color: var(--brand-dark); display: block; line-height: 1.2; }
.hero-trust .stat span { color: var(--muted); font-size: 13.5px; font-weight: 600; }
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
.hero-visual { animation: heroZoom 1s var(--ease-out) .2s both; }
@keyframes heroZoom {
  from { opacity: 0; transform: scale(.92) translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero-visual { position: relative; z-index: 0; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% -4% -4% 10%;
  background: var(--grad-brand);
  border-radius: 38px;
  opacity: .14;
  filter: blur(10px);
  z-index: -1;
}
.hero-visual .frame {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid #fff;
  background: #fff;
  aspect-ratio: 4/3.4;
}
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--brand-deep);
  font-size: 14.5px;
  animation: float 5s ease-in-out infinite;
}
.float-card .ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad-brand);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 6px 14px rgba(0,137,123,0.3);
}
.float-card small { display: block; font-weight: 600; color: var(--muted); font-size: 12px; }
.float-1 { top: -18px; inset-inline-start: -14px; }
.float-2 { bottom: -20px; inset-inline-end: -6px; animation-delay: 1.4s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ============ Feature tiles (home) ============ */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset-inline-end: -70px;
  top: -70px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,160,0.1), transparent 65%);
  transition: transform .4s ease;
}
.feature-card::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  height: 4px;
  width: 0;
  background: var(--grad-brand);
  transition: width .35s var(--ease-out);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(0,137,123,0.3); }
.feature-card:hover::before { transform: scale(1.25); }
.feature-card:hover::after { width: 100%; }
.feature-ic {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--grad-brand);
  color: #fff;
  font-size: 24px;
  margin-bottom: 20px;
  box-shadow: 0 10px 22px rgba(0,137,123,0.28);
  transition: transform .35s var(--ease-out);
}
.feature-card:hover .feature-ic { transform: translateY(-4px) rotate(-6deg) scale(1.05); }
.feature-card h3 { font-size: 19px; font-weight: 800; color: var(--brand-deep); margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 14.5px; }

/* ============ About / dark section ============ */
.dark-section {
  background: linear-gradient(140deg, var(--brand-deep) 0%, var(--brand-dark) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.dark-section::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,183,3,0.16), transparent 65%);
  inset-inline-end: -120px;
  top: -120px;
}
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
.about-media { position: relative; }
.about-media .frame { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-media .exp-badge {
  position: absolute;
  bottom: -22px;
  inset-inline-end: 26px;
  background: var(--accent);
  color: var(--brand-deep);
  border-radius: 18px;
  padding: 16px 22px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-media .exp-badge b { font-size: 26px; font-weight: 900; display: block; line-height: 1.1; }
.about-media .exp-badge span { font-size: 12.5px; font-weight: 700; }
.about-copy .section-head { margin-bottom: 26px; }
.about-copy h2 { color: #fff; }
.about-copy .section-head p { color: rgba(255,255,255,0.75); }
.about-copy > p { color: rgba(255,255,255,0.85); font-size: 16.5px; margin-bottom: 26px; }
.stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.stat-box {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(6px);
}
.stat-box b { font-size: 34px; font-weight: 900; color: var(--accent); display: block; line-height: 1.2; }
.stat-box span { color: rgba(255,255,255,0.85); font-weight: 700; font-size: 15px; }

/* ============ Cards grid (services / products) ============ */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: rgba(0,137,123,0.3); }
.card-media { aspect-ratio: 16/9.4; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.07); }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 18.5px; font-weight: 800; color: var(--brand-deep); }
.card-body p { color: var(--muted); font-size: 14.5px; flex: 1; }
.card-body .more { color: var(--brand); font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.card-body .more:hover { color: var(--brand-dark); gap: 10px; }

/* product cards */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .3s ease;
}
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: rgba(0,137,123,0.3); }
.product-media { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--bg-soft); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease-out); }
.product-card:hover .product-media img { transform: scale(1.07); }
.sale-badge {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  z-index: 2;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--brand-deep);
  font-size: 12.5px;
  font-weight: 800;
  padding: 5px 13px;
  border-radius: 50px;
  box-shadow: 0 6px 16px rgba(255,183,3,0.4);
}
.product-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-body h3 { font-size: 17px; font-weight: 800; color: var(--brand-deep); line-height: 1.5; }
.product-body p { color: var(--muted); font-size: 13.5px; flex: 1; }
.price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price { font-size: 20px; font-weight: 900; color: var(--brand-dark); line-height: 1.2; }
.price::after { content: ""; }
.old-price { font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: line-through; }
.product-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-mint);
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 14px;
  padding: 12px;
  border-radius: 50px;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.product-cta:hover { background: var(--grad-brand); color: #fff; box-shadow: 0 8px 20px rgba(0,137,123,0.3); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ============ Testimonials ============ */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin-inline: auto; }
.testi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .3s ease;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(0,137,123,0.25); }
/* ============ Icons Adjustment ============ */
.feature-ic i, .float-card .ic i, .info-card .ic i {
  font-size: inherit;
}
.testi-card::before {
  content: "";
}
.testi-card .ph-quotes {
  position: absolute;
  top: 24px;
  inset-inline-end: 24px;
  font-size: 42px;
  color: var(--bg-mint);
  opacity: 0.8;
  pointer-events: none;
}
.testi-card .stars { color: var(--accent); font-size: 18px; letter-spacing: 2px; margin-bottom: 14px; }
.testi-card blockquote { font-size: 15.5px; color: var(--ink); margin-bottom: 20px; }
.testi-person { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 8px 18px rgba(0,137,123,0.25);
}
.testi-person b { color: var(--brand-deep); font-size: 16px; display: block; line-height: 1.3; }
.testi-person span { color: var(--muted); font-size: 13.5px; }

/* ============ CTA strip ============ */
.cta-strip {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: 30px;
  padding: 52px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.cta-strip::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,183,3,0.28), transparent 65%);
  inset-inline-start: -90px;
  bottom: -110px;
}
.cta-strip h3 { color: #fff; font-size: 26px; font-weight: 800; position: relative; z-index: 2; }
.cta-strip p { color: rgba(255,255,255,0.85); font-size: 15.5px; margin-top: 6px; position: relative; z-index: 2; }
.cta-strip .btn { position: relative; z-index: 2; }

/* ============ Page hero (inner pages) ============ */
.page-hero {
  padding: 64px 0 54px;
  background:
    radial-gradient(900px 360px at 90% -20%, rgba(0,180,160,0.15), transparent 60%),
    linear-gradient(180deg, #F4FBFA 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.page-hero h1 { font-size: 34px; font-weight: 900; color: var(--brand-deep); }
.page-hero p { color: var(--muted); font-size: 16.5px; max-width: 640px; margin-top: 8px; }
.breadcrumb { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.breadcrumb a { color: var(--brand); }
.breadcrumb span { margin-inline: 6px; color: var(--line); }

/* ============ Contact section ============ */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.info-list { display: flex; flex-direction: column; gap: 16px; }
.info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.info-card .ic {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: var(--bg-mint);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 20px;
}
.info-card b { color: var(--brand-deep); font-size: 15.5px; display: block; margin-bottom: 4px; }
.info-card span, .info-card a { color: var(--muted); font-size: 14.5px; }
.map-wrap { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-top: 16px; }
.map-wrap iframe { width: 100%; height: 260px; border: 0; display: block; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.form-card h3 { font-size: 21px; font-weight: 800; color: var(--brand-deep); margin-bottom: 20px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 14px; color: var(--brand-deep); margin-bottom: 8px; }
.field label .req { color: #D0312D; }
.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  border: 1.5px solid #C9D8D2;
  border-radius: 12px;
  padding: 13px 16px;
  background: #FBFDFC;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(0,137,123,0.12);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-success {
  display: none;
  background: #E8F8F1;
  border: 1px solid #A8E0C8;
  color: #0C7B47;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 18px;
}
.form-success.show { display: block; }

/* ============ Legal (privacy / refund) ============ */
.legal {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-sm);
  max-width: 860px;
  margin-inline: auto;
}
.legal h2 { color: var(--brand-dark); font-size: 22px; font-weight: 800; margin: 26px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--muted); font-size: 15.5px; margin-bottom: 12px; }
.legal ul { margin: 0 0 16px; padding-inline-start: 22px; }
.legal ul li { color: var(--muted); font-size: 15px; margin-bottom: 8px; list-style: disc; }
.legal ol { margin: 0 0 16px; padding-inline-start: 22px; }
.legal ol li { color: var(--muted); font-size: 15px; margin-bottom: 8px; list-style: decimal; }
.legal b { color: var(--ink); }
.legal .en h2 { direction: ltr; text-align: left; }
.legal .en p, .legal .en ul, .legal .en li { direction: ltr; text-align: left; }

/* ============ Footer ============ */
.site-footer { background: var(--brand-deep); color: rgba(255,255,255,0.8); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.footer-brand .brand-name .t1 { color: #fff; }
.footer-brand .brand-name .t2 { color: var(--accent); }
.footer-brand p { font-size: 14.5px; margin-top: 16px; line-height: 1.9; }
.footer-col h4 { color: #fff; font-size: 16.5px; font-weight: 800; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 30px; height: 3px; border-radius: 3px; background: var(--accent); }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a { font-size: 14.5px; color: rgba(255,255,255,0.72); transition: color .2s ease, padding-inline-start .2s ease; }
.footer-col ul a:hover { color: var(--accent); padding-inline-start: 5px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; font-size: 14.5px; }
.footer-contact .fi { color: var(--accent); flex: 0 0 auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13.5px; }
.footer-bottom a { color: var(--accent); }

/* ============ Floating call button ============ */
.float-call {
  position: fixed;
  bottom: 22px;
  inset-inline-start: 22px;
  z-index: 80;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
  box-shadow: 0 12px 30px rgba(0,137,123,0.4);
  animation: pulse 2.4s ease-in-out infinite;
  transition: transform .2s ease;
}
.float-call:hover { transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,137,123,0.45); }
  70% { box-shadow: 0 0 0 18px rgba(0,137,123,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,137,123,0); }
}

/* ============ Reveal animation ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .4s; }

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

/* ============ 404 ============ */
.notfound { text-align: center; padding: 110px 0; }
.notfound .code { font-size: 110px; font-weight: 900; line-height: 1; background: linear-gradient(120deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound h2 { font-size: 26px; color: var(--brand-deep); margin: 12px 0 8px; }
.notfound p { color: var(--muted); margin-bottom: 24px; }

/* ============ Responsive ============ */
@media (max-width: 1280px) {
  .main-nav a { padding: 8px 11px; font-size: 14px; }
  .brand-name .t1 { font-size: 17px; }
  .brand-name .t2 { font-size: 11.5px; }
  .brand-logo { height: 46px; max-width: 200px; }
}
@media (max-width: 1020px) {
  .main-nav, .header-actions .btn-contact { display: none; }
  .nav-toggle { display: grid; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: 38px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cards-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .section-head h2 { font-size: 27px; }
  .hero { padding: 40px 0 70px; }
  .hero h1 { font-size: 30px; }
  .hero p.intro { font-size: 15.5px; }
  .brand-logo { height: 38px; max-width: 150px; }
  .brand-name .t1 { font-size: 16px; }
  .brand-name .t2 { font-size: 11px; }
  .cards-grid, .product-grid, .grid-4 { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-strip { padding: 38px 26px; text-align: center; justify-content: center; }
  .legal { padding: 26px 20px; }
  .form-card { padding: 24px 20px; }
  .float-card { display: none; }
}
