/* =========================================================
   Jazan Care Service — Ductable Central HVAC & Chiller Plant AC Repair
   Design tokens
   Primary   (Petrol Teal)  #0B4F6C  — cooling, technical, trustworthy
   Deep      (Night Navy)   #082C3D  — headers/footer, contrast anchor
   Accent    (Desert Gold)  #D4A054  — Jazan/desert warmth, CTAs
   Ice       (Coil Cyan)    #59C3D9  — the "cold air" signature accent
   Surface   (Cool Sand)    #F6F5F1  — page background
   Ink       (Charcoal)     #1B2226  — body text
   ========================================================= */

:root {
  --primary: #0b4f6c;
  --primary-dark: #082c3d;
  --accent: #d4a054;
  --accent-dark: #b5823a;
  --ice: #59c3d9;
  --surface: #f6f5f1;
  --surface-alt: #eef2f1;
  --ink: #1b2226;
  --ink-soft: #4c5a60;
  --white: #ffffff;
  --border: #e0e2df;

  --font-display: 'Cairo', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Cairo', sans-serif;

  --radius: 10px;
  --shadow: 0 10px 30px rgba(8, 44, 61, 0.10);
  --shadow-lg: 0 20px 50px rgba(8, 44, 61, 0.18);
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
  box-shadow: 0 8px 20px rgba(212, 160, 84, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(212, 160, 84, 0.45); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-dark {
  background: var(--primary-dark);
  color: var(--white);
}
.btn-dark:hover { background: var(--primary); transform: translateY(-2px); }

/* ---------- Top info bar ---------- */
.topbar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: var(--white); font-weight: 600; }
.topbar-links { display: flex; gap: 18px; }

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 14px rgba(8,44,61,0.06);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary-dark);
}
.brand .mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--ice), var(--primary));
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
}
.brand small { display: block; font-weight: 500; font-size: 0.68rem; color: var(--ink-soft); letter-spacing: 0.04em; }

nav.main-nav ul { display: flex; gap: 30px; align-items: center; }
nav.main-nav a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
nav.main-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}
nav.main-nav a:hover::after, nav.main-nav a.active::after { width: 100%; }
nav.main-nav a.active { color: var(--primary); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .call-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface-alt);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--primary-dark);
}

.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--primary-dark); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(1200px 500px at 85% -10%, rgba(89,195,217,0.35), transparent 60%), linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 65%);
  color: var(--white);
  padding: 90px 0 110px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px; bottom: -160px;
  width: 480px; height: 480px;
  border-radius: 50%;
  border: 90px solid rgba(255,255,255,0.05);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  margin-bottom: 20px;
}
.hero h1 span { color: var(--ice); }
.hero p.lead {
  color: rgba(255,255,255,0.85);
  font-size: 1.08rem;
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--ice); }
.hero-stats div span { font-size: 0.82rem; color: rgba(255,255,255,0.75); }

/* Coil / gauge signature graphic */
.gauge-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.gauge {
  width: 100%;
  max-width: 380px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.25));
}
.gauge .needle { transform-origin: 190px 190px; animation: sweep 3.6s ease-in-out infinite; }
@keyframes sweep {
  0%, 100% { transform: rotate(-38deg); }
  50% { transform: rotate(38deg); }
}
.gauge .ring-track { stroke: rgba(255,255,255,0.15); }
.gauge .ring-progress { stroke: var(--ice); stroke-dasharray: 300; stroke-dashoffset: 90; }

/* ---------- Section basics ---------- */
section { padding: 84px 0; }
.section-head { max-width: 640px; margin: 0 auto 50px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.02rem; }
.section-alt { background: var(--surface-alt); }

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card .icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--ice), var(--primary));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Brands grid ---------- */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.brand-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 18px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.brand-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.brand-card .badge {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
}
.brand-card h4 { font-size: 0.98rem; margin-bottom: 6px; }
.brand-card span { font-size: 0.8rem; color: var(--ink-soft); }
.brand-card a.view-link { display: inline-block; margin-top: 12px; font-size: 0.82rem; font-weight: 700; color: var(--primary); }

/* ---------- Why choose us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;
}
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-item .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--white);
  background: var(--accent);
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-item h4 { font-size: 1rem; margin-bottom: 6px; }
.why-item p { color: var(--ink-soft); font-size: 0.9rem; }

/* ---------- Process ---------- */
.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-step { text-align: center; position: relative; }
.process-step .circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--ice);
  color: var(--primary-dark);
  font-family: var(--font-display);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.2rem;
}
.process-step h4 { font-size: 0.98rem; margin-bottom: 8px; }
.process-step p { font-size: 0.86rem; color: var(--ink-soft); }

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
}
.testi-card .stars { color: var(--accent); margin-bottom: 14px; letter-spacing: 2px; }
.testi-card p.quote { font-size: 0.94rem; color: var(--ink); margin-bottom: 18px; }
.testi-card .who { display: flex; align-items: center; gap: 12px; }
.testi-card .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface-alt);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--primary);
  font-family: var(--font-display);
}
.testi-card .who strong { display: block; font-size: 0.9rem; }
.testi-card .who span { font-size: 0.78rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  background: none; border: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-dark);
  cursor: pointer;
  text-align: left;
}
.faq-q .plus { font-size: 1.3rem; color: var(--accent); transition: transform 0.25s ease; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.faq-item.open .faq-a { max-height: 240px; padding-bottom: 20px; }

/* ---------- Arabic keyword strip ---------- */
.kw-strip {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.9);
  padding: 46px 0;
}
.kw-strip .container { text-align: center; }
.kw-strip h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 18px;
}
.kw-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; direction: rtl; }
.kw-tags span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.9rem;
}
.ar-block {
  direction: rtl;
  text-align: right;
  font-family: var(--font-display);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
  font-size: 1rem;
  line-height: 2;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--accent-dark), var(--accent));
  color: var(--primary-dark);
  border-radius: 20px;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h3 { font-size: 1.5rem; margin-bottom: 8px; }
.cta-band p { font-size: 0.95rem; color: rgba(8,44,61,0.8); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}
.contact-card h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-card p { font-size: 0.88rem; color: var(--ink-soft); }
.info-row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.info-row .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface-alt);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
form.contact-form { display: flex; flex-direction: column; gap: 14px; }
form.contact-form input, form.contact-form select, form.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  background: var(--surface);
}
form.contact-form textarea { resize: vertical; min-height: 100px; }
form.contact-form label { font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); margin-bottom: -8px; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-top: 24px; }
.map-embed iframe { width: 100%; height: 260px; border: 0; display: block; }

/* ---------- Brand detail page ---------- */
.brand-hero {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 60px 0 70px;
}
.brand-hero .container { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.brand-hero .badge-xl {
  width: 90px; height: 90px;
  border-radius: 22px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
}
.brand-hero h1 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 8px; }
.brand-hero p { color: rgba(255,255,255,0.82); max-width: 560px; }
.breadcrumb { font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-bottom: 16px; }
.breadcrumb a { color: var(--ice); font-weight: 600; }

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.model-pill {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex; align-items: center; gap: 10px;
}
.model-pill::before { content: "❄"; color: var(--ice); }

.issue-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.issue-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
}
.issue-item .tick {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--ice); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 0.85rem;
}
.issue-item p { font-size: 0.88rem; color: var(--ink-soft); }

.other-brands { display: flex; gap: 14px; flex-wrap: wrap; }
.other-brands a {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
  transition: background 0.2s ease, color 0.2s ease;
}
.other-brands a:hover { background: var(--primary); color: var(--white); }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 18px; }
.footer-grid ul li { margin-bottom: 10px; font-size: 0.88rem; }
.footer-grid ul li a:hover { color: var(--ice); }
.footer-brand p { font-size: 0.88rem; margin: 14px 0 18px; }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 22px; font-size: 0.8rem; flex-wrap: wrap; gap: 10px;
}

/* ---------- Floating buttons ---------- */
.floaters { position: fixed; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 12px; z-index: 200; }
.floaters a {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s ease;
}
.floaters a:hover { transform: scale(1.08); }
.floaters .whatsapp { background: #25d366; }
.floaters .call { background: var(--accent); color: var(--primary-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .gauge-wrap { order: -1; max-width: 260px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .testi-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .model-grid { grid-template-columns: repeat(2, 1fr); }
  .issue-list { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  nav.main-nav { position: fixed; top: 0; right: -100%; width: 78%; height: 100vh; background: var(--white); flex-direction: column; padding: 100px 30px; transition: right 0.3s ease; box-shadow: -10px 0 30px rgba(0,0,0,0.1); }
  nav.main-nav.open { right: 0; }
  nav.main-nav ul { flex-direction: column; align-items: flex-start; gap: 22px; }
  .nav-toggle { display: block; }
  .nav-cta .call-btn span { display: none; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .model-grid { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; text-align: center; }
}
