/*
Theme Name: Fix My Kitchen Homepage
Theme URI: https://fixmykitchen-kw.com/
Author: Fix My Kitchen
Description: Arabic, mobile-first homepage for a kitchen appliance repair service in Kuwait.
Version: 1.0.0
Text Domain: fixmykitchen
*/

:root {
  --ink: #121b26;
  --muted: #65717e;
  --line: #dfe5ea;
  --soft: #f3f6f8;
  --white: #ffffff;
  --blue: #0866d8;
  --blue-dark: #064eaa;
  --cyan: #31b7df;
  --green: #168b52;
  --green-dark: #106d40;
  --orange: #f1a528;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(14, 29, 45, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Kufi Arabic", sans-serif;
  line-height: 1.8;
}

.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  inset: 10px auto auto 10px;
  z-index: 999;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 88px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(223, 229, 234, 0.8);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 42px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand span {
  display: grid;
  line-height: 1.5;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  color: var(--muted);
  font-size: 10px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.main-nav a {
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--blue);
}

.header-call {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-weight: 800;
  direction: ltr;
}

.header-call svg {
  width: 34px;
  height: 34px;
  padding: 8px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
}

.header-call span {
  display: grid;
  line-height: 1.35;
}

.header-call small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
}

.icon-button,
.menu-toggle {
  display: none;
}

.hero {
  min-height: 630px;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(9, 19, 31, 0.4), rgba(9, 19, 31, 0.94) 68%),
    url("assets/hero.jpg") center / cover no-repeat;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 70px;
  align-items: end;
  padding-block: 88px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.eyebrow {
  color: #a9ddff;
}

.eyebrow svg {
  width: 17px;
}

.hero h1 {
  max-width: 760px;
  margin: 16px 0 20px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.35;
  letter-spacing: 0;
}

.hero-copy > p {
  max-width: 680px;
  margin: 0;
  color: #d3dce6;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 18px;
}

.button-primary {
  background: var(--blue);
  color: var(--white);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-whatsapp {
  background: var(--green);
  color: var(--white);
}

.button-whatsapp:hover {
  background: var(--green-dark);
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: #dbe5ee;
  font-size: 11px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-points svg {
  width: 17px;
  color: #62d49b;
}

.availability {
  padding: 26px;
  color: var(--ink);
  background: var(--white);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.availability-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.status-dot {
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(22, 139, 82, 0.12);
}

.availability > strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
}

.availability p {
  margin: 6px 0 18px;
  color: var(--muted);
  font-size: 11px;
}

.availability a,
.service-body a,
.faq-intro a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
}

.availability a svg,
.service-body a svg,
.faq-intro a svg {
  width: 16px;
}

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 24px;
}

.trust-grid div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-left: 1px solid var(--line);
}

.trust-grid div:last-child {
  border-left: 0;
}

.trust-grid strong {
  color: var(--blue);
  font-size: 21px;
}

.trust-grid span {
  color: var(--muted);
  font-size: 10px;
}

.section {
  padding-block: 96px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.section-heading.compact {
  justify-content: center;
  text-align: center;
}

.section-heading h2,
.why-copy h2,
.coverage-section h2,
.faq-intro h2 {
  margin: 8px 0 0;
  font-size: 32px;
  line-height: 1.5;
}

.section-heading > p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.services-section {
  background: var(--soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-card > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-body {
  position: relative;
  padding: 28px;
}

.service-icon {
  position: absolute;
  top: -26px;
  right: 24px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border: 5px solid var(--white);
  border-radius: 50%;
}

.service-icon svg {
  width: 20px;
}

.service-body h3 {
  margin: 4px 0 8px;
  font-size: 18px;
}

.service-body p {
  min-height: 58px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 11px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  align-items: center;
}

.why-photo {
  position: relative;
  padding: 0 0 38px 38px;
}

.why-photo > img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
}

.photo-note {
  position: absolute;
  bottom: 0;
  left: 0;
  width: min(320px, 80%);
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.photo-note svg {
  width: 42px;
  height: 42px;
  padding: 9px;
  flex: 0 0 auto;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
}

.photo-note span {
  display: grid;
  color: var(--muted);
  font-size: 9px;
}

.photo-note strong {
  color: var(--ink);
  font-size: 12px;
}

.why-copy > p,
.faq-intro > p {
  margin: 14px 0 28px;
  color: var(--muted);
  font-size: 12px;
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature-list > div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
}

.feature-list > div > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #e9f3ff;
  border-radius: 50%;
}

.feature-list svg {
  width: 21px;
}

.feature-list section h3 {
  margin: 0;
  font-size: 14px;
}

.feature-list section p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.process-section {
  background: var(--soft);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-grid li {
  position: relative;
  min-height: 220px;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process-grid li > span {
  position: absolute;
  top: 18px;
  left: 22px;
  color: #dfe7ef;
  font-size: 24px;
  font-weight: 800;
}

.process-grid li > svg {
  width: 38px;
  height: 38px;
  padding: 8px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
}

.process-grid h3 {
  margin: 18px 0 4px;
  font-size: 15px;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.coverage-section {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 78, 170, 0.96), rgba(8, 102, 216, 0.9)),
    url("assets/hero.jpg") center / cover;
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.section-label.light {
  color: #bfe9ff;
}

.coverage-section p {
  max-width: 550px;
  color: #dcecff;
  font-size: 12px;
}

.coverage-section .button {
  margin-top: 14px;
}

.area-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.area-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
}

.area-list svg {
  width: 17px;
  color: #9fddff;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.reviews-grid blockquote {
  margin: 0;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stars {
  color: var(--orange);
  letter-spacing: 2px;
}

.reviews-grid blockquote > p {
  min-height: 86px;
  margin: 15px 0 20px;
  color: #3f4b57;
  font-size: 11px;
}

.reviews-grid footer {
  display: grid;
  font-size: 10px;
}

.reviews-grid footer span {
  color: var(--muted);
}

.faq-section {
  background: var(--soft);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 80px;
  align-items: start;
}

.accordion {
  display: grid;
  gap: 10px;
}

.faq-item {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-item button {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 20px;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: right;
  font-size: 12px;
  font-weight: 800;
}

.faq-item button svg {
  width: 18px;
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.faq-answer p {
  min-height: 0;
  overflow: hidden;
  margin: 0;
  padding-inline: 20px;
  color: var(--muted);
  font-size: 10px;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-answer p {
  padding-bottom: 18px;
}

.faq-item.open button svg {
  transform: rotate(180deg);
}

.final-cta {
  padding-block: 54px;
  color: var(--white);
  background: var(--ink);
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.final-cta span {
  color: #a8b6c5;
  font-size: 11px;
}

.final-cta h2 {
  margin: 3px 0 0;
  font-size: 25px;
}

.final-cta-inner > div:last-child {
  display: flex;
  gap: 10px;
}

.site-footer {
  padding-top: 48px;
  color: #c5ced7;
  background: #0b121b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 54px;
}

.footer-brand strong {
  color: var(--white);
  font-size: 13px;
}

.footer-brand p {
  max-width: 400px;
  margin: 3px 0 0;
  color: #8795a3;
  font-size: 9px;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
  font-size: 10px;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  direction: ltr;
  justify-content: flex-end;
}

.footer-contact svg {
  width: 16px;
  color: #6ec6ff;
}

.copyright {
  margin-top: 40px;
  padding-block: 18px;
  color: #687785;
  border-top: 1px solid #1a2632;
  font-size: 9px;
  text-align: center;
}

.mobile-contact-bar {
  display: none;
}

@media (max-width: 900px) {
  .nav-wrap {
    grid-template-columns: auto 1fr auto;
    gap: 14px;
  }

  .header-call {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--white);
    background: var(--blue);
    border: 0;
    border-radius: 5px;
    cursor: pointer;
  }

  .menu-toggle svg {
    width: 20px;
  }

  .main-nav {
    position: fixed;
    inset: 88px 0 auto;
    display: grid;
    gap: 0;
    padding: 10px 20px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(14, 29, 45, 0.12);
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }

  .main-nav.open {
    transform: none;
  }

  .main-nav a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
  }

  .hero-inner,
  .why-grid,
  .coverage-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 40px;
  }

  .availability {
    max-width: 430px;
  }

  .why-grid,
  .coverage-grid,
  .faq-grid {
    gap: 45px;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 66px;
  }

  .container {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    height: 76px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 12px;
  }

  .main-nav {
    inset-block-start: 76px;
  }

  .hero {
    min-height: auto;
    background-position: 40% center;
  }

  .hero-inner {
    padding-block: 58px;
  }

  .hero h1 {
    margin-top: 12px;
    font-size: 34px;
  }

  .hero-copy > p {
    font-size: 12px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .button {
    padding-inline: 12px;
  }

  .hero-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .availability {
    display: none;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px 0;
  }

  .trust-grid div:nth-child(2) {
    border-left: 0;
  }

  .trust-grid strong {
    font-size: 18px;
  }

  .section {
    padding-block: 68px;
  }

  .section-heading {
    display: block;
    margin-bottom: 28px;
  }

  .section-heading h2,
  .why-copy h2,
  .coverage-section h2,
  .faq-intro h2 {
    font-size: 25px;
  }

  .section-heading > p {
    margin-top: 10px;
  }

  .services-grid,
  .process-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .service-body p,
  .reviews-grid blockquote > p {
    min-height: auto;
  }

  .why-grid {
    display: flex;
    flex-direction: column-reverse;
  }

  .why-photo {
    width: 100%;
    padding: 0 0 34px 20px;
  }

  .why-photo > img {
    height: 360px;
  }

  .process-grid li {
    min-height: 190px;
  }

  .area-list {
    grid-template-columns: 1fr 1fr;
  }

  .final-cta-inner,
  .final-cta-inner > div:last-child {
    display: grid;
    grid-template-columns: 1fr;
  }

  .final-cta-inner > div:last-child {
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-contact a {
    direction: rtl;
    justify-content: start;
  }

  .mobile-contact-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 60;
    height: 66px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    color: var(--white);
    background: var(--ink);
    box-shadow: 0 -8px 26px rgba(0, 0, 0, 0.18);
  }

  .mobile-contact-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
  }

  .mobile-contact-bar a:first-child {
    background: var(--blue);
  }

  .mobile-contact-bar a:last-child {
    background: var(--green);
  }

  .mobile-contact-bar svg {
    width: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
