/* ==========================================================================
   بريق (Bariq) — صيانة آيفون منزلية بالرياض
   STYLE SYSTEM: Apple Pro Inspired (White / Soft Grey / Silver / Luxury Graphite)
   ========================================================================== */

/* ==================== 1. TOKENS & VARIABLES ==================== */
:root {
  /* Color Palette */
  --color-white: #FFFFFF;
  --color-bg-soft: #F6F7F8;
  --color-bg-alt: #F1F3F5;
  --color-border: #E3E5EA;
  --color-border-hover: #C8CCD2;
  --color-silver-200: #E9ECEF;
  --color-silver-300: #C8CCD2;
  --color-silver-500: #8C929D;
  --color-graphite-700: #4B5058;
  --color-graphite-800: #2C2F35;
  --color-ink-900: #1A1C1F;

  /* Luxury Metallic Accent */
  --color-accent: #17181B;
  --color-accent-gradient: linear-gradient(135deg, #24272D 0%, #17181B 100%);
  --color-accent-hover: #2C2F35;
  --color-accent-active: #0E0F11;

  /* Action & Status Colors */
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #128C7E;
  --color-whatsapp-hover: #20BA5A;
  --color-whatsapp-gradient: linear-gradient(135deg, #25D366 0%, #1EBE5D 100%);
  --color-success: #1E8E5A;
  --color-success-bg: #EBF8F1;
  --color-info-bg: #F0F4F8;

  /* Typography */
  --font-heading: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Tajawal', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing Scale */
  --space-2xs: 0.25rem;  /* 4px */
  --space-xs: 0.5rem;    /* 8px */
  --space-sm: 0.75rem;   /* 12px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 1.5rem;    /* 24px */
  --space-xl: 2rem;      /* 32px */
  --space-2xl: 3rem;     /* 48px */
  --space-3xl: 4.5rem;   /* 72px */

  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Shadows (Cold, High-Precision & Elegant) */
  --shadow-subtle: 0 1px 3px rgba(26, 28, 31, 0.04), 0 1px 2px rgba(26, 28, 31, 0.02);
  --shadow-sm: 0 2px 6px rgba(26, 28, 31, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(26, 28, 31, 0.07);
  --shadow-lg: 0 20px 40px -8px rgba(26, 28, 31, 0.09);
  --shadow-graphite: 0 10px 25px -5px rgba(23, 24, 27, 0.28);
  --shadow-whatsapp: 0 10px 25px -5px rgba(37, 211, 102, 0.35);

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-width: 1200px;
  --header-height: 84px;
}

/* ==================== 2. RESET & BASE ==================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-ink-900);
  background-color: var(--color-white);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 74px; /* Space for mobile sticky CTA bar */
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* Logical RTL Support */
.ltr-text {
  direction: ltr;
  display: inline-block;
  unicode-bidi: embed;
}

/* ==================== 3. TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-ink-900);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  margin-bottom: var(--space-sm);
}

h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
}

p {
  color: var(--color-graphite-700);
  font-size: 1.05rem;
  font-weight: 500;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.35rem 0.9rem;
  background-color: var(--color-bg-alt);
  color: var(--color-graphite-800);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
}

.section-tag .dot {
  width: 7px;
  height: 7px;
  background-color: var(--color-success);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(30, 142, 90, 0.2);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--space-2xl);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-graphite-700);
  margin-top: var(--space-xs);
}

/* ==================== 4. LAYOUT & CONTAINERS ==================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-xl);
  }
}

section {
  padding-block: var(--space-2xl);
  position: relative;
}

@media (min-width: 992px) {
  section {
    padding-block: var(--space-3xl);
  }
}

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

/* ==================== 5. BUTTONS & CTAS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: all var(--transition-base);
  border: 1px solid transparent;
  user-select: none;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.15rem;
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.9rem;
}

/* Luxury Graphite Button */
.btn-graphite {
  background: var(--color-accent-gradient);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-graphite);
}

.btn-graphite:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(23, 24, 27, 0.35);
  color: var(--color-white);
}

.btn-graphite:active {
  background: var(--color-accent-active);
  transform: translateY(0);
}

/* WhatsApp Accent Button */
.btn-whatsapp {
  background: var(--color-whatsapp-gradient);
  color: var(--color-white);
  box-shadow: var(--shadow-whatsapp);
}

.btn-whatsapp:hover {
  background: var(--color-whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(37, 211, 102, 0.45);
  color: var(--color-white);
}

.btn-whatsapp:active {
  transform: translateY(0);
}

/* Secondary / Ghost Button */
.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-ink-900);
  border-color: var(--color-border);
  box-shadow: var(--shadow-subtle);
}

.btn-secondary:hover {
  background-color: var(--color-bg-soft);
  border-color: var(--color-border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ==================== 6. HEADER ==================== */
.site-header {
  min-height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding-block: 0.65rem;
  transition: padding var(--transition-fast), box-shadow var(--transition-fast);
}

@media (min-width: 768px) {
  .site-header {
    --header-height: 92px;
    padding-block: 0.75rem;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-inline: auto;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.site-logo:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.logo-img {
  height: 58px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  display: block;
}

@media (min-width: 480px) {
  .logo-img {
    height: 64px;
    max-width: 250px;
  }
}

@media (min-width: 768px) {
  .logo-img {
    height: 72px;
    max-width: 280px;
  }
}

.footer-logo-img {
  height: 54px;
  max-width: 210px;
  margin-bottom: var(--space-xs);
}

.header-actions {
  display: none;
}

@media (min-width: 768px) {
  .header-actions {
    display: flex;
    align-items: center;
    position: absolute;
    left: var(--space-md);
  }
}

.header-phone-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  background-color: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-ink-900);
  transition: all var(--transition-fast);
}

.header-phone-link:hover {
  background-color: var(--color-white);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-sm);
}

/* ==================== 7. HERO SECTION ==================== */
.hero-section {
  padding-block: var(--space-xl) var(--space-2xl);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-2xl);
  }
}

.hero-content {
  text-align: start;
}

.hero-h1 {
  margin-bottom: var(--space-md);
  color: var(--color-ink-900);
}

.hero-h1 .highlight {
  color: var(--color-graphite-800);
  background: linear-gradient(135deg, #1A1C1F 0%, #4B5058 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--color-graphite-700);
  margin-bottom: var(--space-xl);
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

@media (min-width: 480px) {
  .hero-ctas {
    flex-direction: row;
    align-items: center;
  }
}

/* Trust Pills under Hero CTA */
.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-graphite-800);
}

.badge-icon-check {
  width: 18px;
  height: 18px;
  color: var(--color-success);
}

.hero-visual-wrapper {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-visual-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.08));
}

/* ==================== 8. TRUST BAR ==================== */
.trust-bar-section {
  padding-block: var(--space-lg);
  background-color: var(--color-bg-soft);
  border-block: 1px solid var(--color-border);
}

.trust-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

@media (min-width: 992px) {
  .trust-pillars-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
  }
}

.trust-pillar-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.trust-pillar-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.pillar-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink-900);
  flex-shrink: 0;
}

.pillar-icon-box img {
  width: 22px;
  height: 22px;
}

.pillar-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 2px;
  color: var(--color-ink-900);
}

.pillar-desc {
  font-size: 0.85rem;
  color: var(--color-graphite-700);
  margin: 0;
  line-height: 1.4;
}

/* ==================== 9. SERVICES GRID ==================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

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

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
}

.service-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-base);
  position: relative;
}

.service-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card-top {
  margin-bottom: var(--space-md);
}

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background-color: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--color-ink-900);
}

.service-icon-box img {
  width: 28px;
  height: 28px;
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
  color: var(--color-ink-900);
}

.service-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-graphite-700);
  margin-bottom: var(--space-md);
}

.service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-xs);
  border-top: 1px solid var(--color-border);
  margin-bottom: var(--space-md);
  font-size: 0.85rem;
  color: var(--color-graphite-800);
}

.service-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
}

.service-models {
  color: var(--color-silver-500);
  font-weight: 600;
}

.service-card-action {
  margin-top: auto;
}

.btn-service-book {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  background-color: var(--color-bg-soft);
  color: var(--color-ink-900);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.btn-service-book:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

/* ==================== 10. HOW IT WORKS ==================== */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  position: relative;
}

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

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
  }
}

.step-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: relative;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-fast);
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.step-number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-accent-gradient);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.step-title {
  font-size: 1.15rem;
  margin-bottom: var(--space-xs);
}

.step-desc {
  font-size: 0.95rem;
  color: var(--color-graphite-700);
  line-height: 1.6;
}

/* ==================== 11. PRICING & PRIVACY ==================== */
.features-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 992px) {
  .features-split-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-box {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-subtle);
}

.feature-box-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.feature-box-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-box-icon img {
  width: 26px;
  height: 26px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.feature-check-icon {
  width: 20px;
  height: 20px;
  color: var(--color-success);
  margin-top: 3px;
  flex-shrink: 0;
}

.feature-item-content strong {
  display: block;
  font-size: 1rem;
  color: var(--color-ink-900);
  margin-bottom: 2px;
}

.feature-item-content span {
  font-size: 0.9rem;
  color: var(--color-graphite-700);
  line-height: 1.5;
}

/* ==================== 12. COVERAGE AREAS ==================== */
.coverage-box {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-subtle);
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  text-align: start;
}

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

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

.coverage-zone {
  padding: var(--space-md);
  background-color: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.zone-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: var(--space-xs);
  color: var(--color-ink-900);
  display: flex;
  align-items: center;
  gap: 6px;
}

.zone-title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-success);
  display: inline-block;
}

.zone-neighborhoods {
  font-size: 0.885rem;
  color: var(--color-graphite-700);
  line-height: 1.6;
}

.coverage-note {
  margin-top: var(--space-lg);
  font-size: 0.95rem;
  color: var(--color-graphite-700);
}

/* ==================== 13. FAQ ACCORDION ==================== */
.faq-list {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--color-border-hover);
}

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

.faq-question {
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-ink-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
}

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

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--color-graphite-700);
  transition: transform var(--transition-base);
  flex-shrink: 0;
  margin-inline-start: var(--space-sm);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 var(--space-lg) var(--space-lg);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-graphite-700);
  border-top: 1px solid transparent;
}

.faq-answer p {
  margin-bottom: 0.5rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ==================== 14. FINAL CTA & FOOTER ==================== */
.cta-banner-section {
  padding-block: var(--space-2xl);
  background: var(--color-accent-gradient);
  color: var(--color-white);
  border-radius: var(--radius-xl);
  text-align: center;
  margin-block: var(--space-2xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner-inner {
  max-width: 680px;
  margin-inline: auto;
  padding-inline: var(--space-md);
  position: relative;
  z-index: 2;
}

.cta-banner-title {
  color: var(--color-white);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: var(--space-sm);
}

.cta-banner-desc {
  color: var(--color-silver-300);
  font-size: 1.15rem;
  margin-bottom: var(--space-xl);
}

.cta-banner-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  justify-content: center;
  align-items: center;
}

@media (min-width: 480px) {
  .cta-banner-actions {
    flex-direction: row;
  }
}

/* Site Footer */
.site-footer {
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-2xl) var(--space-xl);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

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

.footer-brand-desc {
  margin-top: var(--space-sm);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 360px;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
  color: var(--color-ink-900);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-link {
  color: var(--color-graphite-700);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-ink-900);
}

.footer-address {
  font-style: normal;
  line-height: 1.8;
  color: var(--color-graphite-700);
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-graphite-700);
}

.footer-disclaimer {
  max-width: 700px;
  color: var(--color-silver-500);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* ==================== 15. MOBILE STICKY CTA BAR ==================== */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--color-border);
  padding: 0.65rem var(--space-md);
  padding-bottom: calc(0.65rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  gap: var(--space-sm);
}

.mobile-sticky-bar .btn {
  flex: 1;
  padding: 0.75rem 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
}

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

/* ==================== 16. ACCESSIBILITY & UTILITIES ==================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--color-ink-900);
  outline-offset: 2px;
}
