/* =========================================================
   الرؤية الأولى — Landing Page Styles
   Font: IBM Plex Sans Arabic
   ========================================================= */

:root{
  /* Brand colors */
  --color-primary: #03559B;
  --color-primary-dark: #043E70;
  --color-primary-deeper: #062A45;
  --color-secondary: #6C7178;
  --color-silver: #B2B9C0;
  --color-accent: #008DE2;
  --color-aqua: #3BB5F5;

  --color-bg: #FFFFFF;
  --color-bg-alt: #F4F8FB;
  --color-ink: #0E1E2B;
  --color-ink-soft: #465360;

  --font-main: 'IBM Plex Sans Arabic', 'Tahoma', sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow-soft: 0 18px 40px -18px rgba(3, 85, 155, 0.28);
  --shadow-card: 0 10px 24px -14px rgba(14, 30, 43, 0.18);

  --container-w: 1180px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  font-family: var(--font-main);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

.container{
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 20px;
}

h1,h2,h3{
  margin: 0 0 14px;
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.3;
}

h1{ font-size: clamp(30px, 4.6vw, 48px); }
h2{ font-size: clamp(26px, 3.4vw, 36px); }
h3{ font-size: 19px; font-weight: 600; }

p{ margin: 0 0 12px; color: var(--color-ink-soft); }

:focus-visible{
  outline: 3px solid var(--color-aqua);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  white-space: nowrap;
}
.btn .icon{ width: 18px; height: 18px; fill: currentColor; flex-shrink:0; }

.btn-primary{
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover{ transform: translateY(-2px); background: var(--color-accent); }

.btn-accent{
  background: var(--color-accent);
  color: #fff;
}
.btn-accent:hover{ transform: translateY(-2px); background: var(--color-aqua); }

.btn-outline{
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-silver);
}
.btn-outline:hover{ border-color: var(--color-primary); background: rgba(3,85,155,0.06); }

.btn-ghost{
  background: transparent;
  color: var(--color-primary-dark);
}
.btn-ghost:hover{ color: var(--color-accent); }

.btn-white-solid{
  background: #fff;
  color: var(--color-primary-dark);
}
.btn-white-solid:hover{ transform: translateY(-2px); }

.btn-outline-white{
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-white:hover{ border-color: #fff; background: rgba(255,255,255,0.1); }

.btn-lg{ padding: 15px 28px; font-size: 16px; }

/* ---------- Image fallback (no real asset yet) ---------- */
.img-fallback{
  background: linear-gradient(135deg, var(--color-bg-alt), var(--color-silver) 140%);
  position: relative;
  min-height: 100%;
}
.img-fallback img,
img.img-fallback{ opacity: 0; }
.img-fallback::after{
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(3,85,155,0.14), transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(0,141,226,0.16), transparent 55%);
}

/* ================= Header ================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(178,185,192,0.35);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-logo{
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
}
.brand-logo.img-fallback{ background: var(--color-primary); }
.brand-name{
  font-weight: 700;
  font-size: 19px;
  color: var(--color-primary-dark);
}

.main-nav{
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a{
  font-size: 15px;
  font-weight: 500;
  color: var(--color-ink-soft);
  padding-block: 4px;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.main-nav a:hover{ color: var(--color-primary); border-color: var(--color-aqua); }

.header-actions{
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-call{ display: none; }

.menu-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--color-bg-alt);
  border-radius: 10px;
  cursor: pointer;
}
.menu-toggle span{
  width: 18px;
  height: 2px;
  background: var(--color-primary-dark);
  margin-inline: auto;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle.active span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2){ opacity: 0; }
.menu-toggle.active span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-panel{
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  border-top: 1px solid rgba(178,185,192,0.35);
  background: #fff;
}
.mobile-panel.open{ max-height: 320px; }
.mobile-nav{
  display: flex;
  flex-direction: column;
  padding: 10px 20px;
}
.mobile-nav a{
  padding: 12px 4px;
  font-weight: 500;
  border-bottom: 1px solid rgba(178,185,192,0.25);
  color: var(--color-ink-soft);
}
.mobile-cta{
  display: flex;
  gap: 10px;
  padding: 14px 20px 20px;
}
.mobile-cta .btn{ flex: 1; justify-content: center; }

@media (max-width: 880px){
  .main-nav{ display: none; }
  .header-call{ display: none !important; }
  .menu-toggle{ display: flex; }
  .mobile-panel{ display: block; }
}
@media (max-width: 560px){
  .header-wa span{ display: none; }
  .header-wa{ padding: 12px; }
}

/* ================= Hero ================= */
.hero{
  padding-block: 56px 72px;
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(0,141,226,0.08), transparent 60%),
    var(--color-bg);
  overflow: hidden;
}
.hero-copy{
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.eyebrow-line{
  color: var(--color-accent);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 14px;
}
.eyebrow-line.light{ color: var(--color-aqua); }

.hero-sub{
  font-size: 17px;
  max-width: 46ch;
  margin-inline: auto;
}
.hero-actions{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 22px 0 26px;
}
.hero-trust{
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
}
.hero-trust li{
  position: relative;
  padding-inline-start: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-secondary);
}
.hero-trust li::before{
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-aqua);
}

.hero-media{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 780px;
  margin: 48px auto 0;
}
.hero-shape{
  position: absolute;
  width: 96%;
  height: 92%;
  border-radius: 44% 56% 62% 38% / 46% 40% 60% 54%;
  background: linear-gradient(150deg, var(--color-bg-alt), var(--color-silver) 120%);
  z-index: 0;
}
.hero-frame{
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 8;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.hero-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-droplet{
  position: absolute;
  border-radius: 50%;
  z-index: 2;
}
.hero-droplet.d1{
  width: 64px; height: 64px;
  background: var(--color-accent);
  opacity: .85;
  top: -6px; left: 6%;
}
.hero-droplet.d2{
  width: 34px; height: 34px;
  background: var(--color-aqua);
  bottom: 8%; right: -10px;
}

@media (max-width: 640px){
  .hero-media{ margin-top: 34px; }
  .hero-frame{ aspect-ratio: 4 / 3.4; border-radius: var(--radius-md); }
}

/* ================= Section Head ================= */
.section-head{
  max-width: 620px;
  margin: 0 auto 40px;
  text-align: center;
}
.section-head.align-start{
  margin-inline: 0;
  text-align: start;
}
.section-head p{ font-size: 16px; }

/* ================= Services ================= */
.services{
  padding-block: 76px;
  background: var(--color-bg-alt);
}
.services-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service-card{
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 20px 18px;
  border: 1px solid rgba(178,185,192,0.3);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.service-card:hover{
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
  border-color: rgba(0,141,226,0.35);
}
.service-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--color-bg-alt);
  margin-bottom: 14px;
}
.service-icon svg{
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3{ margin-bottom: 6px; font-size: 16px; }
.service-card p{ font-size: 13.5px; margin-bottom: 0; }

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

/* ================= Why Us ================= */
.why-us{ padding-block: 80px; }
.why-us-inner{ max-width: 880px; }

.why-list{
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(178,185,192,0.4);
}
.why-item{
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid rgba(178,185,192,0.4);
}
.why-icon{
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-icon svg{
  width: 22px;
  height: 22px;
  fill: #fff;
  stroke: #fff;
}
.why-item h3{ margin-bottom: 4px; }
.why-item p{ margin: 0; font-size: 15px; }

/* ================= Main Specialty ================= */
.ceramic{
  background: linear-gradient(160deg, var(--color-primary-deeper), var(--color-primary-dark));
  padding-block: 84px;
  color: #fff;
}
.specialty-head{
  color: #fff;
}
.specialty-head h2{ color: #fff; }
.specialty-sub{
  color: rgba(255,255,255,0.78);
}

.specialty-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin-inline: auto;
}
.specialty-card{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  text-align: center;
}
.specialty-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--color-accent);
  margin-bottom: 18px;
}
.specialty-icon svg{
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.specialty-card h3{ color: #fff; margin-bottom: 8px; }
.specialty-card p{ color: rgba(255,255,255,0.78); font-size: 15px; margin-bottom: 0; }

@media (max-width: 640px){
  .specialty-grid{ grid-template-columns: 1fr; }
}

/* ================= Free Extras ================= */
.extras{
  padding-block: 46px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid rgba(178,185,192,0.35);
}
.extras-inner{ text-align: center; }
.extras-lead{
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 24px;
  font-size: 16px;
}
.extras-row{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px;
}
.extra-item{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--color-primary-dark);
}
.extra-item .icon{
  width: 26px; height: 26px;
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1.7;
}

/* ================= Final CTA ================= */
.final-cta{
  padding-block: 84px;
  background: linear-gradient(120deg, var(--color-primary), var(--color-accent) 90%);
  color: #fff;
  text-align: center;
}
.final-cta-inner{ max-width: 640px; }
.final-cta h2{ color: #fff; }
.final-cta p{ color: rgba(255,255,255,0.9); font-size: 17px; }
.final-cta-actions{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

/* ================= Footer ================= */
.site-footer{
  background: var(--color-primary-deeper);
  color: rgba(255,255,255,0.85);
  padding-block: 56px 0;
}
.footer-inner{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-logo-row{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-logo{
  width: 38px; height: 38px;
  border-radius: 9px;
  object-fit: cover;
}
.footer-logo.img-fallback{ background: var(--color-accent); }
.footer-name{ font-weight: 700; font-size: 18px; color: #fff; }
.footer-desc{ font-size: 14px; max-width: 34ch; color: rgba(255,255,255,0.65); }

.site-footer h4{
  color: #fff;
  font-size: 15px;
  margin: 0 0 14px;
  font-weight: 600;
}
.site-footer ul{ list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer li{ font-size: 14px; color: rgba(255,255,255,0.7); }
.site-footer a:hover{ color: var(--color-aqua); }

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

@media (max-width: 720px){
  .footer-inner{ grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .footer-logo-row{ justify-content: center; }
  .footer-desc{ margin-inline: auto; }
}

/* ================= Floating WhatsApp ================= */
.floating-wa{
  position: fixed;
  bottom: 22px;
  left: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px -8px rgba(37,211,102,0.6);
  z-index: 200;
  transition: transform .18s ease;
}
.floating-wa:hover{ transform: scale(1.07); }
.floating-wa .icon{ width: 28px; height: 28px; fill: #fff; }

@media (max-width: 560px){
  .floating-wa{ width: 52px; height: 52px; bottom: 16px; left: 16px; }
}
