/* =========================================================
   Hijamah With Rashid — Stylesheet
   ========================================================= */

:root {
  --maroon: #71020c;
  --maroon-dark: #52010a;
  --maroon-light: #8c1620;
  --beige: #d5c8b5;
  --off-white: #f5f5f5;
  --white: #ffffff;
  --ink: #1f1f26;
  --body-text: #2e2b28;
  --body-text-soft: #4a4640;
  --gold: #f5b400;

  --font-heading: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Roboto', 'Segoe UI', Arial, sans-serif;

  --container-w: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body-text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 16px; }
h1, h2, h3 { font-family: var(--font-heading); margin: 0; color: var(--ink); }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
  background: var(--white);
  color: var(--maroon);
  padding: 8px 14px;
  z-index: 1000;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--maroon);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  padding: 13px 24px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color .2s ease, transform .15s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--maroon-dark); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(113,2,12,.25); }
.btn__icon { width: 16px; height: 16px; flex-shrink: 0; }

.btn--primary {
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 13px;
}
.btn--nav { font-size: 12px; padding: 12px 20px; }
.btn--small {
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  text-transform: none;
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  background: var(--beige);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 16px;
}
.site-header__logo img { height: 84px; width: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #2b1c14;
}
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15, 9, 6, .82) 0%, rgba(15, 9, 6, .55) 42%, rgba(15, 9, 6, .18) 75%);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 60px;
}
.hero__tagline {
  color: var(--white);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  margin-bottom: 18px;
}
.hero__title {
  color: var(--white);
  font-size: clamp(32px, 5.4vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 30px;
  max-width: 600px;
}

/* ---------- Section heading ---------- */
.section-heading {
  text-align: center;
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 18px;
}
.section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 3px;
  background: var(--maroon);
}
.section-heading--accent { color: var(--maroon); }

.eyebrow {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 6px;
}

/* ---------- Grid helpers ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid--services { grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
.grid--trust { grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
.grid--testimonials { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
.grid--videos { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
.grid--footer { grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 56px 24px 36px; }

/* ---------- Services ---------- */
.services { padding: 88px 0; background: var(--white); }

.card--service {
  background: var(--beige);
  padding: 30px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card--service:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(31,31,38,.1); }
.card__logo { margin-bottom: 16px; }
.card__title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}
.card__price {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
}
.price--old {
  font-size: 14px;
  font-weight: 400;
  color: #6b6459;
  margin-left: 6px;
}
.card__text {
  font-size: 14.5px;
  color: var(--body-text-soft);
  flex-grow: 1;
  margin-bottom: 20px;
}
.card--service .btn { align-self: flex-start; }

/* ---------- Why Hijamah ---------- */
.why { padding: 88px 0; background: var(--white); }
.why__copy {
  max-width: 760px;
  margin: 0 auto 8px;
  text-align: center;
  color: var(--body-text);
  font-size: 16px;
}
.why__quote {
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
}
.why__citation {
  color: #77716a;
  font-size: 15px;
  margin-top: -6px;
}

.card--trust {
  background: var(--off-white);
  padding: 32px 28px;
  text-align: center;
  border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card--trust:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(31,31,38,.08); }
.card--trust__icon {
  width: 56px;
  height: 56px;
  color: var(--maroon);
  margin-bottom: 14px;
}
.card--trust h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}
.check-list { text-align: left; display: inline-block; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--body-text-soft);
  margin-bottom: 10px;
}
.check-list li svg {
  width: 18px;
  height: 18px;
  color: var(--maroon);
  flex-shrink: 0;
}

/* ---------- Testimonials ---------- */
.testimonials { padding: 88px 0; background: var(--beige); }

.card--testimonial {
  background: var(--off-white);
  padding: 30px;
  border-radius: var(--radius);
  margin: 0;
  box-shadow: 0 2px 10px rgba(31,31,38,.05);
}
.card--testimonial blockquote {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--body-text);
}
.card--testimonial blockquote p:last-child { margin-bottom: 0; }
.card--testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.card--testimonial .name {
  font-weight: 700;
  color: var(--ink);
}
.card--testimonial .stars {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 2px;
}
.testimonials__cta {
  text-align: center;
  margin-top: 44px;
}

/* ---------- Why clients choose us / videos ---------- */
.choose-us { padding: 88px 0 96px; background: var(--white); }

.video-card {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  background: #000;
  transition: transform .2s ease, box-shadow .2s ease;
}
.video-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(31,31,38,.14); }
.video-card__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
  cursor: pointer;
}

/* ---------- Find us / map ---------- */
.location { padding: 88px 0 96px; background: var(--off-white); }
.map-frame {
  margin-top: 40px;
  aspect-ratio: 16 / 7;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--beige); }
.footer-item { text-align: center; }
.footer-item__icon {
  width: 40px;
  height: 40px;
  color: var(--maroon);
  margin-bottom: 12px;
}
.footer-item h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--maroon);
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 8px;
}
.footer-item p {
  font-size: 13.5px;
  color: var(--body-text);
  margin: 0;
}
.footer-item a:hover { text-decoration: underline; }
.site-footer__copyright {
  text-align: center;
  font-size: 13px;
  color: var(--body-text-soft);
  margin: 0;
  padding: 20px 0 28px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .grid--services { grid-template-columns: repeat(2, 1fr); }
  .grid--trust { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .grid--footer { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
}

@media (max-width: 860px) {
  .hero__bg img { object-position: center right; }
  .grid--trust { grid-template-columns: 1fr; }
  .grid--testimonials { grid-template-columns: 1fr; }
  .grid--videos { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .site-header__logo img { height: 60px; }
  .btn--nav span { display: none; }
  .btn--nav { padding: 12px; }
  .btn--nav .btn__icon { width: 18px; height: 18px; }
  .hero { min-height: 72vh; }
  .hero__title { max-width: 100%; }
  .grid--services { grid-template-columns: 1fr; }
  .grid--footer { grid-template-columns: 1fr; gap: 30px; padding: 44px 20px 28px; }
  .services, .why, .testimonials, .choose-us, .location { padding: 56px 0; }
  .map-frame { aspect-ratio: 4 / 3; margin-top: 28px; }
}
