:root {
  --white: #ffffff;
  --royal: #0059A3;
  --royal-dark: #00457e;
  --gold: #F4C316;
  --gold-hover: #ffd84a;
  --ink: #333333;
  --muted: #5c6570;
  --line: rgba(0, 89, 163, .10);
  --shadow: 0 10px 28px rgba(16, 24, 40, .08);
  --crimson: #c41620;
  --grand: #6b3fa0;
  --sky: #1d5f9a;
  --whatsapp: #25d366;
  --font-display: "Madani Arabic", "Tajawal", sans-serif;
  --font-heading: "Tajawal", sans-serif;
  --font-body: "Cairo", "Almarai", "Tajawal", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.75;
  direction: rtl;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, .brand .name, .kicker, .chip, .btn {
  font-family: var(--font-heading);
}
.hero h1, .page-hero h1 {
  font-family: var(--font-display);
}
.container { width: min(1200px, calc(100% - 32px)); margin-inline: auto; }

/* Header — royal blue */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--royal);
  color: #fff;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand img {
  width: 156px; height: 48px; object-fit: contain;
  background: #fff; border-radius: 12px; padding: 5px 8px;
}
.brand .name { font-weight: 800; font-size: 16px; line-height: 1.2; color: #fff; }
.brand .name small { display: block; color: rgba(255,255,255,.78); font-weight: 500; font-size: 12px; font-family: var(--font-body); }
.menu { display: flex; gap: 2px; flex-wrap: wrap; align-items: center; }
.menu a {
  padding: 7px 11px; border-radius: 999px;
  color: rgba(255,255,255,.88); font-weight: 700; font-size: 13.5px;
}
.menu a:hover, .menu a.active {
  background: rgba(255,255,255,.14);
  color: #fff;
}
.cta-call {
  background: var(--gold) !important;
  color: #1a1a1a !important;
  border: 0 !important;
  padding: 8px 14px !important;
}
.cta-call:hover { background: var(--gold-hover) !important; }
.burger { display: none; background: none; border: 0; color: #fff; font-size: 28px; }

/* Hero banner — royal + diagonal cut */
.hero {
  position: relative;
  background: var(--royal);
  color: #fff;
  padding: 52px 0 96px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 72px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.kicker { color: var(--gold); font-weight: 800; letter-spacing: .04em; font-size: 13px; margin-bottom: 10px; }
.hero h1 { font-size: clamp(30px, 4.6vw, 50px); line-height: 1.22; margin-bottom: 14px; color: #fff; }
.hero p { color: rgba(255,255,255,.86); font-size: 17px; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 800; border: 0; cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn-primary {
  background: var(--gold);
  color: #1a1a1a;
  box-shadow: 0 6px 16px rgba(244,195,22,.28);
}
.btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(244,195,22,.38);
}
.btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.45);
  color: #fff;
}
.hero .btn-ghost:hover,
.page-hero .btn-ghost:hover { background: rgba(255,255,255,.12); }
.section .btn-ghost,
.info-box .btn-ghost {
  border-color: var(--royal);
  color: var(--royal);
}
.section .btn-ghost:hover,
.info-box .btn-ghost:hover { background: #eef6fc; }
.hero-card {
  background: #fff;
  border-radius: 20px;
  padding: 8px;
  box-shadow: var(--shadow);
}
.hero-card img { width: 100%; height: 340px; object-fit: cover; object-position: center 30%; border-radius: 14px; background: #fff; }
.hero-badges { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.badge {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-heading);
}

/* Page banners */
.page-hero {
  position: relative;
  background: var(--royal);
  color: #fff;
  padding: 36px 0 78px;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 56px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.page-hero h1 { font-size: 34px; color: #fff; position: relative; z-index: 1; }
.page-hero .lead { color: rgba(255,255,255,.82); margin-bottom: 0; position: relative; z-index: 1; }

.section { padding: 56px 0; background: var(--white); }
.section h2 { font-size: 28px; margin-bottom: 6px; color: var(--royal); }
.lead { color: var(--muted); margin-bottom: 26px; }

.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cat {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.cat:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(16,24,40,.12); }
.cat img { width: 100%; height: 190px; object-fit: contain; background: #fff; padding: 12px; }
.cat-body { padding: 16px 18px 18px; }
.cat-body .ico { font-size: 22px; margin-bottom: 6px; }
.cat-body h3 { font-size: 20px; color: var(--royal); }
.cat-body p { color: var(--muted); font-size: 14px; }

.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.why-item {
  background: var(--white);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.why-item strong { display: block; color: var(--royal); margin-bottom: 4px; font-family: var(--font-heading); }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service {
  background: var(--white);
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: var(--shadow);
}
.service .ico {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: #f4f8fc; margin-bottom: 12px; font-size: 22px;
}
.service h3 { font-size: 20px; margin-bottom: 8px; color: var(--royal); }
.service p { color: var(--ink); font-size: 15px; }

.story {
  background: #f7fbff;
  border-radius: 18px;
  padding: 28px 26px;
  max-width: 860px;
}
.story p { color: var(--ink); margin-top: 10px; font-size: 17px; }
.brands { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.brand-card {
  background: var(--white);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.brand-card .blogo { height: 54px; width: auto; max-width: 200px; object-fit: contain; margin-bottom: 12px; display: block; }
.brand-card h3 { font-size: 20px; margin-bottom: 6px; }
.brand-card .origin { font-size: 13px; font-weight: 800; margin-bottom: 8px; font-family: var(--font-heading); }
.brand-card p { color: var(--ink); font-size: 15px; }
.brand-card.crimson .origin { color: var(--crimson); }
.brand-card.grand .origin { color: var(--grand); }
.brand-card.blue .origin { color: var(--royal); }

/* Product cards */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.studio {
  position: relative;
  background: #fff;
  min-height: 280px;
  display: grid;
  place-items: center;
  padding: 28px 22px 16px;
}
.studio img.item {
  width: 100%;
  height: 240px;
  object-fit: contain;
  object-position: center;
}
.bear {
  position: absolute;
  left: 10px;
  bottom: 8px;
  width: 72px;
  height: auto;
  pointer-events: none;
}
.product-body {
  padding: 8px 18px 18px;
  position: relative;
}
.product-body::before {
  content: "";
  display: block;
  height: 28px;
  width: 110px;
  margin-bottom: 8px;
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
}
.product.brand-crimson .product-body::before { background-image: url("../img/logo-crimson.png"); }
.product.brand-grand .product-body::before { background-image: url("../img/logo-grandmax.png"); }
.product.brand-glamour .product-body::before { background-image: url("../img/logo-glamour.png"); }
.product.brand-varna .product-body::before { background-image: url("../img/logo-varna.png"); }
.product.brand-homeblend .product-body::before,
.product.brand-blue .product-body::before { background-image: url("../img/logo-homeblend.png"); }
.product-body h3 { font-size: 17px; color: var(--ink); }
.specs { color: var(--ink); font-size: 14px; margin: 6px 0 12px; }
.chip { display:inline-block; font-size:11px; font-weight:800; padding:3px 9px; border-radius:999px; margin-bottom:7px; }
.chip-crimson { background: #fde8ea; color: var(--crimson); }
.chip-grand { background: #efe6fb; color: var(--grand); }
.chip-blue { background: #e7f1fb; color: var(--royal); }

.note-bar { display: none; }

.footer {
  background: var(--royal);
  color: rgba(255,255,255,.88);
  padding: 28px 0 96px;
}
.footer a { color: #fff; font-weight: 700; }
.footer-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.whatsapp-float {
  position: fixed; bottom: 18px; left: 18px; z-index: 60;
  background: var(--whatsapp); color: #053;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; font-size: 28px;
  box-shadow: 0 10px 24px rgba(37,211,102,.35);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.info-box, .map-box {
  background: var(--white);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
}

@media (max-width: 980px) {
  .hero-grid, .why, .products, .contact-grid, .services { grid-template-columns: 1fr 1fr; }
  .cats { grid-template-columns: 1fr; }
  .menu { display: none; }
  .menu.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; inset-inline: 16px;
    background: #fff; color: var(--ink);
    border-radius: 16px; padding: 12px;
    box-shadow: var(--shadow);
  }
  .menu.open a { color: var(--ink); }
  .menu.open a.active, .menu.open a:hover { background: #f4f8fc; color: var(--royal); }
  .menu.open .cta-call { background: var(--gold) !important; color: #1a1a1a !important; }
  .burger { display: block; }
}
@media (max-width: 640px) {
  .hero-grid, .cats, .why, .products, .contact-grid, .services, .brands { grid-template-columns: 1fr; }
  .hero-card img { height: 220px; }
  .studio { min-height: 240px; }
  .studio img.item { height: 210px; }
}
