/* ============================================================================
   ABDU PAINTS: main stylesheet
   Brand: primary #2D6797 (deep blue), accent #EE7119 (orange)
   Type: Poppins (headings), Inter (body). Mobile-first.
   ========================================================================== */
:root {
  --blue: #2D6797;
  --blue-dark: #1F4A6B;
  --orange: #EE7119;
  --orange-dark: #C95F0E;
  --bg: #FAFAFA;
  --text: #222222;
  --muted: #5A5A5A;
  --card: #F2F2F2;
  --white: #FFFFFF;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Inter", sans-serif;
  color: var(--blue);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

a { color: var(--orange); }
a:hover { color: var(--orange-dark); }

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

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

section { padding: 48px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 14px 28px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, transform 0.1s;
}
.btn:hover { background: var(--orange-dark); color: #fff; }
.btn:active { transform: scale(0.98); }
.btn-secondary {
  background: var(--blue);
}
.btn-secondary:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-ghost:hover { background: var(--blue); color: #fff; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo img { height: 44px; width: auto; }
.main-nav { display: none; }
.main-nav a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
}
.main-nav a:hover, .main-nav a.active { color: var(--orange); }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.header-phone {
  display: none;
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
}
.header-cta .btn { padding: 10px 18px; font-size: 0.9rem; }
.hamburger {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--blue);
  margin: 5px 0;
  border-radius: 2px;
}
.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--card);
  padding: 8px 20px 16px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 10px 0;
  color: var(--blue);
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  border-bottom: 1px solid var(--card);
}
@media (min-width: 900px) {
  .main-nav { display: flex; gap: 22px; margin-left: 24px; }
  .header-phone { display: inline; }
  .hamburger { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: #fff;
  padding: 72px 0 84px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background: var(--orange);
}
.hero h1 { color: #fff; font-size: 2.4rem; margin-bottom: 0.4em; }
@media (min-width: 768px) { .hero h1 { font-size: 3rem; } }
.hero p.sub {
  font-size: 1.15rem;
  max-width: 640px;
  margin-bottom: 1.6em;
  color: #EAF1F7;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero .call-link { color: #fff; font-weight: 600; font-family: "Poppins", sans-serif; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--white); padding: 24px 0; box-shadow: var(--shadow); border-top: 4px solid var(--orange); }
.trust-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.trust-items li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: var(--blue);
  font-size: 0.95rem;
}
.trust-items .icon {
  width: 36px; height: 36px; flex: none;
  border-radius: 50%;
  background: var(--card);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  font-weight: 700;
}
@media (min-width: 768px) {
  .trust-items { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .learn-more { font-weight: 600; font-family: "Poppins", sans-serif; }

/* ---------- How it works steps ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  counter-reset: step;
  margin: 24px 0;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  position: relative;
}
.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 64px 0;
  border-top: 6px solid var(--orange);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #DCE8F2; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--blue-dark);
  color: #DCE8F2;
  padding: 48px 0 24px;
}
.site-footer a { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h3, .site-footer h4 { color: #fff; }
.footer-logo {
  display: inline-block;
  margin-bottom: 12px;
}
.footer-logo img { display: block; height: 48px; width: auto; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}
.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  transition: background 0.2s, border-color 0.2s, transform 0.1s;
}
.social-links a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.social-links a:active { transform: scale(0.94); }
.social-links svg { width: 20px; height: 20px; display: block; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  margin-bottom: 6px;
  color: var(--blue);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #D8D8D8;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* ---------- Estimate tool ---------- */
.est-progress {
  display: flex;
  gap: 6px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.est-progress li {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: #D8D8D8;
}
.est-progress li.done { background: var(--orange); }
.est-step { display: none; }
.est-step.active { display: block; }
.choice-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 20px 0;
}
@media (min-width: 640px) { .choice-cards.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.choice-card {
  border: 2px solid #D8D8D8;
  border-radius: var(--radius);
  padding: 22px 18px;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.choice-card:hover { border-color: var(--blue); }
.choice-card.selected {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px var(--orange);
}
.choice-card h3 { margin-bottom: 0.3em; font-size: 1.1rem; }
.choice-card p { color: var(--muted); font-size: 0.9rem; margin: 0; }
.room-card {
  background: #fff;
  border: 2px solid #D8D8D8;
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.room-card .room-name { font-weight: 600; font-family: "Poppins", sans-serif; color: var(--blue); }
.room-card .room-sub { font-size: 0.85rem; color: var(--muted); }
.room-remove {
  background: none; border: none; color: #B00020;
  cursor: pointer; font-size: 0.9rem; font-weight: 600;
}
.est-nav { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.price-display {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: var(--blue);
  font-size: 2.6rem;
  margin: 8px 0;
}
.disclaimer {
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--muted);
  margin: 16px 0;
}
.walkthrough-callout {
  background: #FFF4E8;
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 20px 0;
  text-align: center;
}
.walkthrough-callout strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  color: var(--blue);
  margin-bottom: 6px;
}
.walkthrough-callout span {
  font-size: 0.9rem;
  color: var(--muted);
}
.photo-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.photo-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--card);
}
.breakdown { margin: 20px 0; }
.breakdown-room { margin-bottom: 16px; border: 1px solid #D8D8D8; border-radius: var(--radius); }
.breakdown-room summary {
  padding: 14px 18px;
  cursor: pointer;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  color: var(--blue);
  list-style: none;
  display: flex;
  justify-content: space-between;
}
.breakdown-lines { padding: 0 18px 14px; }
.breakdown-line {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-top: 1px solid var(--card);
  font-size: 0.92rem;
}
.breakdown-line span:last-child { font-weight: 600; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 16px 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.manual-box {
  background: #FFF7ED;
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin: 20px 0;
}

/* ---------- Gallery ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 28px; }
.filter-btn {
  border: 2px solid var(--blue);
  background: #fff;
  color: var(--blue);
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
}
.filter-btn.active, .filter-btn:hover { background: var(--blue); color: #fff; }
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: pointer;
}
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; }
.ba-slot {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--card);
}
.ba-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
}
.ba-after .ba-tag { background: var(--orange); }
.gallery-caption { padding: 12px 16px; font-size: 0.9rem; color: var(--muted); }
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox-content {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  max-width: 700px;
  width: 100%;
}
.lightbox-close {
  float: right;
  background: none; border: none;
  font-size: 1.6rem; cursor: pointer; color: var(--blue);
}

/* ---------- Reviews ---------- */
.review-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.stars { color: var(--orange); font-size: 1.1rem; letter-spacing: 2px; }
.review-meta { font-size: 0.85rem; color: var(--muted); margin: 8px 0 4px; }
.sample-note {
  display: inline-block;
  font-size: 0.75rem;
  background: var(--card);
  border-radius: 4px;
  padding: 2px 8px;
  color: var(--muted);
  margin-bottom: 8px;
}

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid #D8D8D8; }
.faq-item summary {
  padding: 18px 0;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: var(--blue);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-a { padding: 0 0 18px; color: var(--muted); }

/* ---------- Service areas table ---------- */
.area-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.area-table th, .area-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid #D8D8D8;
}
.area-table th {
  font-family: "Poppins", sans-serif;
  color: var(--blue);
}
.area-table tr:hover td { background: var(--card); }

/* ---------- Admin ---------- */
.admin-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.9rem; }
.admin-table th, .admin-table td { padding: 8px 10px; border-bottom: 1px solid #D8D8D8; text-align: left; }
.admin-table input { width: 90px; padding: 6px 8px; border: 1px solid #D8D8D8; border-radius: 6px; }
.admin-note {
  background: #FFF7ED;
  border-left: 4px solid var(--orange);
  padding: 12px 16px;
  margin: 16px 0;
  font-size: 0.9rem;
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.small { font-size: 0.85rem; color: var(--muted); }
.section-head { max-width: 720px; margin-bottom: 28px; }
.skip-link {
  position: absolute; left: -9999px;
}
.skip-link:focus { left: 8px; top: 8px; z-index: 300; background: #fff; padding: 8px; }

/* ---------- Hero tagline (H1 carries the keywords; tagline stays visual) ---------- */
.hero-tagline {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: var(--orange);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

/* ---------- Trust lines (Why Abdu Paints) ---------- */
.trust-lines { list-style: none; margin: 0 0 8px; padding: 0; }
.trust-lines li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid #E4E4E4;
  font-size: 1.02rem;
}
.trust-lines li:last-child { border-bottom: none; }
.trust-lines .icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 2px;
}

/* ---------- Paint brand row ---------- */
.brand-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: stretch;
  margin-top: 18px;
}
.brand-badge {
  flex: 1 1 150px;
  background: #fff;
  border: 2px solid #E4E4E4;
  border-radius: var(--radius);
  padding: 16px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-badge img { max-height: 44px; width: auto; max-width: 100%; }
.brand-name { font-size: 1.15rem; color: var(--text); text-align: center; line-height: 1.3; }
.brand-bm { font-family: Georgia, "Times New Roman", serif; letter-spacing: 0.02em; }
.brand-sw { font-family: "Poppins", sans-serif; font-weight: 700; }
.brand-dx { font-family: "Poppins", sans-serif; font-weight: 700; font-style: italic; }

/* ---------- Service areas grid ---------- */
.area-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  margin: 20px 0;
}
@media (min-width: 768px) { .area-grid { grid-template-columns: repeat(3, 1fr); } }
.area-grid .area-name {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: var(--blue);
  padding: 10px 14px;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.area-communities { color: var(--muted); font-size: 0.95rem; line-height: 1.9; }

/* ---------- Google review badge note ---------- */
.g-note { font-size: 0.78rem; color: var(--muted); margin-top: 10px; display: flex; align-items: center; gap: 6px; }
.g-note .g-dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 1px solid #D8D8D8;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "Poppins", sans-serif; font-weight: 700; font-size: 0.72rem; color: #4285F4;
}
.rating-summary { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rating-summary .big { font-size: 2.4rem; font-family: "Poppins", sans-serif; font-weight: 700; color: var(--blue); line-height: 1; }
