/* ==========================================================================
   O General Service Centers - Unified CSS Design System
   Mobile-First, Responsive & High Contrast
   ========================================================================== */

:root {
  /* Color Palette */
  --color-primary: #0a192f;        /* Deep Navy */
  --color-primary-light: #1e293b;  /* Slate Navy */
  --color-blue-accent: #0284c7;    /* Sky / Action Blue */
  --color-blue-hover: #0369a1;     /* Darker Sky Blue */
  --color-cyan: #06b6d4;           /* Airflow Cyan */
  --color-cyan-light: #f0fdfa;     /* Light Cyan tint */
  --color-cyan-badge: #e0f2fe;     /* Ice Blue Accent */
  
  --color-bg-white: #ffffff;
  --color-bg-surface: #f8fafc;
  --color-bg-surface-2: #f1f5f9;
  
  --color-text-main: #0f172a;      /* High contrast dark text */
  --color-text-muted: #334155;     /* Readable secondary text */
  --color-text-soft: #64748b;      /* Metadata */
  --color-text-inverted: #ffffff;

  --color-border: #e2e8f0;
  --color-border-focus: #0284c7;

  --color-whatsapp: #16a34a;       /* Accessible WhatsApp green */
  --color-whatsapp-hover: #15803d;
  
  --color-badge-bg: #eff6ff;
  --color-badge-text: #1d4ed8;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --line-height-normal: 1.6;
  --line-height-tight: 1.25;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --shadow-float: 0 10px 24px rgba(10, 25, 47, 0.16);

  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  /* Spacing */
  --section-padding: 3.5rem 1.25rem;
  --max-width: 1160px;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: var(--line-height-normal);
  color: var(--color-text-main);
  background-color: var(--color-bg-white);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg-white);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

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

a {
  color: var(--color-blue-accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--color-blue-hover);
  text-decoration: underline;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--color-blue-accent);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  color: var(--color-primary);
  line-height: var(--line-height-tight);
  font-weight: 700;
  letter-spacing: -0.015em;
  word-break: break-word;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.45rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.95rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); margin-bottom: 0.5rem; }
h4 { font-size: 1.05rem; margin-bottom: 0.35rem; }

p {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

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

ul, ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

li {
  margin-bottom: 0.4rem;
  line-height: 1.55;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 3.25rem; /* Safe buffer preventing text from colliding with floating buttons */
  }

  .site-header .container,
  .site-footer .container {
    padding-right: 1rem;
  }
}

.section {
  padding: var(--section-padding);
}

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

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem auto;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background-color: var(--color-badge-bg);
  color: var(--color-badge-text);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.badge-independent {
  background-color: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1rem;
  position: relative;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img {
  height: 40px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  margin: 0 1rem;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 0.35rem 0.25rem;
  position: relative;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-blue-accent);
  text-decoration: none;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-blue-accent);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.4rem;
  cursor: pointer;
  color: var(--color-primary);
  width: 44px;
  height: 44px;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  touch-action: manipulation;
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--color-blue-accent);
  outline-offset: 2px;
}

@media (max-width: 992px) {
  .site-logo img {
    height: 36px;
    max-width: 185px;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background-color: var(--color-bg-white);
    border-bottom: 2px solid var(--color-blue-accent);
    padding: 1rem 1.25rem 1.5rem 1.25rem;
    box-shadow: 0 10px 25px rgba(10, 25, 47, 0.15);
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    z-index: 999;
    margin: 0;
  }
  .main-nav.is-open {
    display: flex;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.25rem;
  }
  .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 0.5rem 0.5rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--color-bg-surface-2);
    white-space: normal;
  }
  .nav-link.active::after {
    display: none;
  }
  .header-actions {
    display: none;
  }
}

@media (max-width: 480px) {
  .header-inner {
    height: 60px;
    gap: 0.5rem;
  }
  .site-logo img {
    height: 32px;
    max-width: 160px;
  }
  .menu-toggle {
    width: 40px;
    height: 40px;
    min-height: 40px;
    min-width: 40px;
  }
  .main-nav {
    top: 60px;
  }
}

@media (max-width: 360px) {
  .site-logo img {
    height: 28px;
    max-width: 135px;
  }
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease-in-out;
  text-decoration: none !important;
  max-width: 100%;
}

.btn-primary {
  background-color: var(--color-blue-accent);
  color: var(--color-text-inverted);
}

.btn-primary:hover {
  background-color: var(--color-blue-hover);
  color: var(--color-text-inverted);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: var(--color-text-inverted);
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
  color: var(--color-text-inverted);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-border);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-bg-surface);
  border-color: var(--color-blue-accent);
  color: var(--color-blue-accent);
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
}

/* Hero Section */
.hero-section {
  padding: 3rem 1.25rem 3.5rem 1.25rem;
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--color-border);
}

.hero-grid,
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 860px) {
  .hero-grid,
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
  }
}

.hero-content h1 {
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.local-quote-box {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.65rem;
  background-color: #f0fdf4;
  border-left: 3px solid #16a34a;
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.95rem;
  font-size: 0.88rem;
  color: #166534;
  font-style: italic;
  margin-bottom: 1.25rem;
  line-height: 1.5;
  max-width: 100%;
}

.local-quote-box svg {
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-ctas,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
  .hero-actions,
  .hero-ctas {
    flex-direction: column;
    gap: 0.65rem;
  }
  .hero-actions .btn,
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
}

.hero-trust-points,
.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.trust-item,
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.trust-item svg,
.trust-badge svg {
  color: var(--color-blue-accent);
  flex-shrink: 0;
}

.hero-card-visual {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  text-align: left;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.hero-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.92rem;
  margin-bottom: 0.65rem;
  color: var(--color-text-muted);
}

.hero-card-list li:last-child {
  margin-bottom: 0;
}

.hero-card-list li svg {
  color: #10b981;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.hero-visual img {
  width: 100%;
  max-width: 520px;
  height: auto;
  margin: 0 auto;
}

/* Breadcrumbs */
.breadcrumb-nav {
  padding: 0.75rem 1.25rem;
  background-color: var(--color-bg-surface);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.85rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-text-soft);
}

.breadcrumb-item a {
  color: var(--color-text-muted);
}

.breadcrumb-item.active {
  color: var(--color-primary);
  font-weight: 500;
}

/* Fluid Responsive Card Grids (Prevents Mobile Overflow) */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1.25rem;
}

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

/* Service & Category Cards */
.card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 480px) {
  .card {
    padding: 1.15rem;
  }
}

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

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--color-bg-surface-2);
  color: var(--color-blue-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 1px solid var(--color-border);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.card-footer {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-link {
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Detailed AC Type Section Styles */
.ac-type-block {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 480px) {
  .ac-type-block {
    padding: 1.25rem 1rem;
  }
}

.ac-type-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.ac-type-header img {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.ac-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.25rem 0;
}

@media (max-width: 720px) {
  .ac-sub-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.ac-box {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
}

.ac-box h4 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.ac-box ul {
  margin: 0;
  padding-left: 1.2rem;
}

.ac-next-step {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Problem Cards */
.problem-card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-blue-accent);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.problem-card h4 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.problem-card p {
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}

.problem-card .safety-note {
  font-size: 0.85rem;
  background-color: #fef2f2;
  color: #991b1b;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
  border-left: 2px solid #ef4444;
}

/* Process Steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

.step-card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
}

.step-number {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  color: var(--color-text-inverted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 auto 0.75rem auto;
}

.step-card h4 {
  margin-bottom: 0.4rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Simple Contact Box (Replaces forms) */
.contact-section-box {
  background: linear-gradient(135deg, #0a192f 0%, #0369a1 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  color: var(--color-text-inverted);
  margin: 3rem 0;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.contact-section-box h2, .contact-section-box h3 {
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.contact-section-box p {
  color: #e0f2fe;
  max-width: 680px;
  margin: 0 auto 1.5rem auto;
  font-size: 1.05rem;
  line-height: 1.6;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* FAQ Accordion */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-bg-white);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

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

.faq-summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
  gap: 0.75rem;
}

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

.faq-summary::after {
  content: "+";
  font-size: 1.3rem;
  line-height: 1;
  font-weight: 600;
  color: var(--color-blue-accent);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

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

.faq-content {
  padding: 0 1.25rem 1.15rem 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 1px solid var(--color-bg-surface-2);
  margin-top: 0.4rem;
  padding-top: 0.75rem;
}

/* Disclaimers */
.disclaimer-box {
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
  margin: 2.25rem 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.disclaimer-box strong {
  color: var(--color-primary);
}

/* Footer */
.site-footer {
  background-color: var(--color-primary);
  color: #94a3b8;
  padding: 3.5rem 1.25rem 2rem 1.25rem;
  margin-top: auto;
  border-top: 1px solid #1e293b;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.25rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.footer-col h4 {
  color: var(--color-text-inverted);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

.footer-col p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-disclaimer {
  padding-top: 1.75rem;
  border-top: 1px solid #1e293b;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #64748b;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid #1e293b;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom a {
  color: #94a3b8;
}

/* ============================================================
   SYSTEM A: FLOATING SIDE BUTTONS (Desktop & Mobile)
   Right side, ~50% from top of viewport, vertical orientation
   ============================================================ */
.floating-contact-actions,
.desktop-floating-actions {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: auto;
}

.float-btn,
.floating-call-button,
.floating-whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
  min-height: 48px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-sizing: border-box;
}

.float-btn svg,
.floating-call-button svg,
.floating-whatsapp-button svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: block;
}

.float-btn-call,
.floating-call-button {
  background-color: var(--color-blue-accent, #0284c7);
  color: #ffffff !important;
  animation: floatSubtlePulseCall 4s ease-in-out infinite;
}

.float-btn-call:hover,
.floating-call-button:hover {
  background-color: var(--color-blue-hover, #0369a1);
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.4);
}

.float-btn-wa,
.floating-whatsapp-button {
  background-color: #25d366;
  color: #ffffff !important;
  animation: floatSubtlePulseWa 4s ease-in-out infinite 2s;
}

.float-btn-wa:hover,
.floating-whatsapp-button:hover {
  background-color: #1ebc59;
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

@keyframes floatSubtlePulseCall {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

@keyframes floatSubtlePulseWa {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* System A Mobile Behavior: 48px Circular FABs on Right */
@media (max-width: 768px) {
  .floating-contact-actions,
  .desktop-floating-actions {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    gap: 10px;
    z-index: 1050;
  }

  .float-btn,
  .floating-call-button,
  .floating-whatsapp-button {
    width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.26);
  }

  .float-btn .btn-text,
  .float-btn span:not(.sr-only),
  .floating-call-button .btn-text,
  .floating-whatsapp-button .btn-text {
    display: none;
  }

  .float-btn svg,
  .floating-call-button svg,
  .floating-whatsapp-button svg {
    width: 24px;
    height: 24px;
    margin: 0 auto;
  }
}

/* ============================================================
   SYSTEM B: FIXED BOTTOM ACTION BAR (Mobile Only)
   Fixed horizontal bar at bottom of viewport
   ============================================================ */
.mobile-bottom-action-bar,
.mobile-fixed-bar {
  display: none; /* Hidden on desktop */
}

@media (max-width: 768px) {
  body {
    padding-bottom: 76px !important; /* Content never covered by fixed bottom bar */
  }

  .mobile-bottom-action-bar,
  .mobile-fixed-bar {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 60px !important;
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.12) !important;
    z-index: 9999 !important;
    padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px)) 10px !important;
    gap: 8px !important;
    box-sizing: border-box !important;
  }

  .mobile-bottom-action-bar a,
  .mobile-fixed-bar a,
  .mobile-bottom-call,
  .mobile-bottom-whatsapp {
    flex: 1 1 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    height: 48px !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    text-align: center !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    box-sizing: border-box !important;
  }

  .mobile-bottom-call,
  .mobile-fixed-bar .btn-primary {
    background-color: #0284c7 !important;
    color: #ffffff !important;
    border: none !important;
  }

  .mobile-bottom-call:active,
  .mobile-fixed-bar .btn-primary:active {
    background-color: #0369a1 !important;
  }

  .mobile-bottom-whatsapp,
  .mobile-fixed-bar .btn-whatsapp {
    background-color: #25d366 !important;
    color: #ffffff !important;
    border: none !important;
  }

  .mobile-bottom-whatsapp:active,
  .mobile-fixed-bar .btn-whatsapp:active {
    background-color: #1ebc59 !important;
  }

  .mobile-bottom-action-bar svg,
  .mobile-fixed-bar svg {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
    display: block !important;
  }
}

/* AC Photos and Hero Image Styling */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-ac-img {
  width: 100%;
  max-width: 540px;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(10, 25, 47, 0.12);
  border: 1px solid var(--color-border);
  object-fit: cover;
}

.ac-type-photo {
  width: 100%;
  max-height: 280px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 12px rgba(10, 25, 47, 0.05);
}

@media (max-width: 480px) {
  .ac-type-photo {
    max-height: 200px;
    margin-bottom: 1rem;
  }
}

/* Responsive Pricing & Parts Table */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-bg-white);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
  min-width: 600px;
}

.pricing-table th {
  background-color: #f1f5f9;
  color: var(--color-primary);
  font-weight: 700;
  padding: 0.85rem 1rem;
  border-bottom: 2px solid var(--color-border);
  white-space: nowrap;
}

.pricing-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
  vertical-align: top;
  line-height: 1.5;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tr:hover td {
  background-color: #f8fafc;
}

.pricing-table .part-name {
  font-weight: 600;
  color: var(--color-primary);
}

.pricing-table .price-val {
  font-weight: 700;
  color: var(--color-blue-accent);
  white-space: nowrap;
}



/* Service Information & Schedule Banner Component */
.service-info-banner {
  background: #f8fafc;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem 0;
  margin: 1.5rem 0;
}

.service-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  align-items: center;
}

@media (max-width: 600px) {
  .service-info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .service-info-banner {
    padding: 1.25rem 0;
  }
}

.service-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: left;
}

.service-info-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-info-item strong {
  display: block;
  color: var(--color-primary);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.service-info-item span,
.service-info-item p {
  font-size: 0.86rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* O General AC Types Section */
.ac-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 480px) {
  .ac-types-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.ac-type-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(10, 25, 47, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
}

.ac-type-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(10, 25, 47, 0.08);
}

.ac-type-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #f1f5f9;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.ac-type-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ac-type-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ac-type-body h3 {
  font-size: 1.18rem;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
}

.ac-type-body p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.ac-type-details {
  font-size: 0.88rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #334155;
}

.ac-type-details strong {
  color: var(--color-primary);
}

.ac-type-actions {
  display: flex;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.ac-type-actions .btn {
  flex: 1;
  padding: 0.55rem 0.75rem;
  font-size: 0.88rem;
}

/* Common Problems Grid */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
  text-align: left;
}

.problem-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(10, 25, 47, 0.03);
}

.problem-card h3 {
  font-size: 1.08rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.problem-card h3 svg {
  color: #ef4444;
  flex-shrink: 0;
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Diagnostic Process Steps */
.process-steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 860px;
  margin: 2rem auto 0 auto;
  text-align: left;
}

.process-step-item {
  display: flex;
  gap: 1.25rem;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-blue-accent);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.process-step-num {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .process-step-item {
    gap: 0.85rem;
    padding: 1rem;
  }
  .process-step-num {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .float-btn-call, .float-btn-wa {
    animation: none !important;
  }
}
