/* ==========================================================================
   Speed Fon Bangi — Core Stylesheet
   Clean light canvas, Speed Fon cobalt blue & warm yellow highlights.
   Mobile-first (390px -> 1440px), WCAG AA contrast, zero external libraries.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-tint: #ebf1fc;
  --surface: #ffffff;
  --ink: #0f172a;
  --ink-2: #2c3a4f;
  --muted: #526075;
  --border: #dce3ee;
  --border-strong: #c3cfe2;

  --blue: #163c8c;
  --blue-dark: #0e2860;
  --blue-bright: #1d4ed8;
  --blue-soft: #e8f0fe;

  --yellow: #facc15;
  --yellow-hover: #eab308;
  --yellow-soft: #fef9c3;

  --wa: #15803d;
  --wa-hover: #166534;
  --wa-soft: #dcfce7;

  --amber: #b45309;
  --amber-star: #d97706;
  --danger: #b91c1c;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(22, 60, 140, 0.13);

  --container: 1200px;
  --header-h: 72px;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--bg);
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: var(--blue-bright);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 800;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}

h3 {
  font-size: 1.1875rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

/* Focus & Accessibility */
:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 2px;
}

.btn-primary:focus-visible,
.btn-yellow:focus-visible,
.btn-wa:focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  background: var(--blue);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.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;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

.section {
  padding: 56px 0;
}

.section-sm {
  padding: 36px 0;
}

.section-soft {
  background-color: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-tint {
  background-color: var(--bg-tint);
}

.section-dark {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: #ffffff;
}

.section-dark h2,
.section-dark h3 {
  color: #ffffff;
}

.section-dark p {
  color: #e2e8f0;
}

@media (min-width: 960px) {
  .section {
    padding: 72px 0;
  }
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.section-dark .eyebrow {
  background: rgba(250, 204, 21, 0.16);
  color: var(--yellow);
}

.lead {
  font-size: 1.0625rem;
  color: var(--ink-2);
  max-width: 66ch;
}

/* ==========================================================================
   Sticky Header & Mobile Drawer
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  min-height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  min-height: 44px;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--blue);
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .brand-mark {
    width: 38px;
    height: 38px;
  }
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
}

@media (min-width: 480px) {
  .brand-sub {
    font-size: 0.72rem;
  }
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.desktop-nav a {
  text-decoration: none;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  background: var(--blue-soft);
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Language Toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 3px;
  min-height: 44px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 6px 11px;
  min-height: 36px;
  min-width: 38px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.lang-btn[aria-pressed="true"] {
  background: var(--blue);
  color: #ffffff;
}

.btn.header-wa {
  display: none;
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
}

.menu-btn:hover {
  background: var(--bg-soft);
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }

  .btn.header-wa {
    display: inline-flex;
  }

  .menu-btn {
    display: none;
  }
}

/* Mobile Nav Panel */
.mobile-nav {
  display: none;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 12px 16px 20px;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: grid;
  gap: 4px;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.mobile-nav-list a:hover,
.mobile-nav-list a[aria-current="page"] {
  background: var(--blue-soft);
  color: var(--blue);
}

.mobile-nav-cta {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.14s ease, background-color 0.15s ease,
    border-color 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
}

.btn:active {
  transform: translateY(1px);
}

.btn svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.btn-wa {
  background: var(--wa);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(21, 128, 61, 0.22);
}

.btn-wa:hover {
  background: var(--wa-hover);
  color: #ffffff;
}

.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(250, 204, 21, 0.3);
}

.btn-yellow:hover {
  background: var(--yellow-hover);
  color: var(--ink);
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--blue-dark);
  color: #ffffff;
}

.btn-outline {
  background: #ffffff;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.btn-sm {
  min-height: 44px;
  padding: 9px 15px;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Hero & Page Banner
   ========================================================================== */
.hero {
  background: linear-gradient(180deg, #f3f7ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
  padding: 36px 0 48px;
}

@media (min-width: 960px) {
  .hero {
    padding: 56px 0 64px;
  }
}

.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
  }
}

.proof-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 640px) {
  .proof-pill {
    border-radius: var(--radius-pill);
  }
}

.proof-stars {
  color: var(--amber-star);
  letter-spacing: 1px;
}

.direct-answer {
  font-size: 1.03125rem;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 24px;
  max-width: 62ch;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 600;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-media {
  position: relative;
}

.hero-photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--blue-dark);
  aspect-ratio: 6 / 5;
}

.hero-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-photo-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: rgba(15, 23, 42, 0.88);
  color: #ffffff;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.84rem;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-photo-caption strong {
  color: var(--yellow);
  display: block;
  font-size: 0.9rem;
}

/* Inner Page Header */
.page-hero {
  background: linear-gradient(180deg, #eff4ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
  padding: 28px 0 36px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--border-strong);
}

/* ==========================================================================
   Trust Strip
   ========================================================================== */
.trust-strip {
  background: var(--blue);
  color: #ffffff;
  padding: 20px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 900px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 8px 4px;
}

.trust-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(250, 204, 21, 0.22);
  color: #fde047;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.25;
  color: #ffffff;
}

.trust-item span {
  display: block;
  font-size: 0.8125rem;
  color: #dbeafe;
  line-height: 1.35;
  margin-top: 2px;
}

/* ==========================================================================
   Product Grid & Cards
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.product-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.product-media {
  position: relative;
  background: #f1f4f9;
  padding: 12px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  border-radius: 12px;
  transition: transform 0.25s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.025);
}

.product-badges {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  pointer-events: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.1;
}

.pill-cond {
  background: #ffffff;
  color: var(--blue);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.pill-like-new {
  background: var(--yellow);
  color: var(--ink);
  border: 1px solid #eab308;
}

.pill-badge {
  background: var(--blue);
  color: #ffffff;
}

.pill-save {
  background: var(--wa-soft);
  color: var(--wa-hover);
}

.product-body {
  padding: 18px 18px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--ink);
}

.product-card-link:hover .product-title {
  color: var(--blue);
}

.product-specs-line {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 12px;
}

.price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.price-now {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.02em;
}

.price-was {
  font-size: 0.9375rem;
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 600;
}

.product-actions {
  padding: 0 18px 18px;
}

/* ==========================================================================
   Filter Bar (iphones.html)
   ========================================================================== */
.filter-panel {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 24px;
  display: grid;
  gap: 14px;
}

@media (min-width: 900px) {
  .filter-panel {
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
    align-items: end;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink-2);
}

.field input,
.field select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  background: #ffffff;
  color: var(--ink);
  font-weight: 500;
}

.results-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 0.9375rem;
  color: var(--ink-2);
  font-weight: 600;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  background: var(--bg-soft);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
}

/* ==========================================================================
   Feature / Why Us / Service Cards
   ========================================================================== */
.cards-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 640px) {
  .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cards-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .cards-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 820px) {
  .cards-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.card p {
  color: var(--ink-2);
  font-size: 0.95rem;
}

/* Split Feature Banners (Trade-in & Repair teasers) */
.split-card {
  display: grid;
  gap: 24px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 860px) {
  .split-card {
    grid-template-columns: 1.15fr 0.85fr;
    padding: 36px;
    gap: 40px;
  }
}

.split-card-dark {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  border-color: var(--blue);
  color: #ffffff;
}

.split-card-dark h2,
.split-card-dark h3 {
  color: #ffffff;
}

.split-card-dark p,
.split-card-dark li {
  color: #e2e8f0;
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
}

.split-card-dark .split-media {
  border-color: rgba(255, 255, 255, 0.18);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-counter {
  object-position: 62% 34%;
}

.img-bench {
  object-position: center 26%;
}

.img-storefront {
  object-position: center 30%;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink-2);
}

.check-list svg {
  width: 20px;
  height: 20px;
  color: var(--wa);
  flex-shrink: 0;
  margin-top: 2px;
}

.split-card-dark .check-list svg {
  color: var(--yellow);
}

/* ==========================================================================
   Product Detail Page
   ========================================================================== */
.pdp-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}

@media (min-width: 860px) {
  .pdp-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 44px;
  }
}

.pdp-media-box {
  background: #f1f4f9;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.pdp-media-frame {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.pdp-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.photo-disclaimer {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: center;
}

.pdp-price-box {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin: 16px 0 18px;
  padding: 16px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.pdp-price-box .price-now {
  font-size: 2rem;
}

.swatch-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 8px 0 20px;
}

.swatch-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-2);
}

.swatch-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.2);
}

.pdp-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 22px 0;
}

.pdp-trust-item {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pdp-trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   Structured Data Lists & Key Facts Tables (AEO)
   ========================================================================== */
.facts-dl {
  display: grid;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
}

.facts-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.facts-row:last-child {
  border-bottom: 0;
}

@media (min-width: 600px) {
  .facts-row {
    grid-template-columns: 210px 1fr;
    gap: 16px;
    align-items: baseline;
  }
}

.facts-row dt {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
}

.facts-row dd {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
}

.facts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.facts-table th,
.facts-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.facts-table tr:last-child th,
.facts-table tr:last-child td {
  border-bottom: 0;
}

.facts-table th {
  width: 34%;
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--ink);
}

.facts-table td {
  color: var(--ink-2);
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 680px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

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

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 800;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-meta strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
}

.review-meta span {
  font-size: 0.8125rem;
  color: var(--muted);
}

.review-stars {
  color: var(--amber-star);
  font-size: 0.95rem;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.review-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  letter-spacing: 0;
}

.review-body {
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.55;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.chip-btn {
  min-height: 44px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
  background: #ffffff;
  color: var(--ink-2);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease,
    border-color 0.15s ease;
}

.chip-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.chip-btn[aria-pressed="true"] {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
}

/* ==========================================================================
   Location & Map Card
   ========================================================================== */
.location-grid {
  display: grid;
  gap: 24px;
  align-items: stretch;
}

.location-grid > *,
.pdp-grid > *,
.hero-grid > *,
.split-card > * {
  min-width: 0;
}

@media (min-width: 860px) {
  .location-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.map-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #e9f0fb;
  box-shadow: var(--shadow-sm);
}

.map-graphic {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
}

.map-card-footer {
  background: #ffffff;
  padding: 18px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ==========================================================================
   FAQ Accordion (<details>)
   ========================================================================== */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.faq-item[open] {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  min-height: 54px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.65;
  border-top: 1px solid var(--bg-soft);
  padding-top: 14px;
}

/* ==========================================================================
   Interactive Estimate / Inquiry Form Card
   ========================================================================== */
.form-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-note {
  font-size: 0.84rem;
  color: var(--muted);
  margin-top: 12px;
}

/* Steps */
.steps-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--yellow);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-figure {
  margin: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-figure figcaption {
  padding: 12px 14px;
  font-size: 0.85rem;
  color: var(--ink-2);
  font-weight: 600;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #0d1b36;
  color: #dbeafe;
  padding: 52px 0 96px;
}

@media (min-width: 769px) {
  .site-footer {
    padding: 56px 0 36px;
  }
}

.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  }
}

.site-footer h3 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 12px;
}

.site-footer p,
.site-footer li {
  font-size: 0.9rem;
  color: #cbd5e1;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: #dbeafe;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

.footer-links a:hover {
  color: var(--yellow);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8125rem;
  color: #94a3b8;
}

.footer-bottom a {
  color: #fde047;
}

/* ==========================================================================
   Persistent Mobile Bottom Bar (hidden on desktop)
   ========================================================================== */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 250;
  background: #ffffff;
  border-top: 1px solid var(--border-strong);
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.1);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 8px;
}

.mobile-bar a {
  min-height: 46px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  padding: 6px 8px;
}

.mobile-bar-wa {
  background: var(--wa);
  color: #ffffff;
}

.mobile-bar-call {
  background: var(--blue);
  color: #ffffff;
}

.mobile-bar-map {
  background: var(--yellow);
  color: var(--ink);
}

@media (min-width: 769px) {
  .mobile-bar {
    display: none;
  }
}

/* 404 Page */
.not-found-box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.not-found-code {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 12px;
}

/* Utility */
.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.mb-0 {
  margin-bottom: 0;
}

.is-hidden {
  display: none !important;
}

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