/* ==========================================================================
   Washing Machine Repair Service Center - Stylesheet
   Mobile-First, Lightweight, High Performance Vanilla CSS
   ========================================================================== */

:root {
  --primary: #0f4c81;
  --primary-dark: #0a3358;
  --primary-light: #e8f1f8;
  --accent: #0284c7;
  --accent-hover: #0369a1;
  --whatsapp-color: #25d366;
  --whatsapp-dark: #128c7e;
  --call-color: #0f4c81;
  --call-hover: #0a3358;
  --success: #15803d;
  --success-bg: #dcfce7;
  --text-main: #1e293b;
  --text-muted: #475569;
  --text-light: #64748b;
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  --border-color: #e2e8f0;
  --border-light: #cbd5e1;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 76, 129, 0.08);
  --shadow-lg: 0 10px 25px -3px rgba(15, 76, 129, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --header-height: 64px;
  --bottom-bar-height: 64px;
}

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

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--bottom-bar-height) + 20px);
  overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-dark);
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

h1 {
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

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

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover, a:focus {
  color: var(--accent);
}

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

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

li {
  margin-bottom: 0.35rem;
}

/* Focus outline for accessibility */
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

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

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

.section-header {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.25rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

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

/* Top Announcement Bar */
.top-bar {
  background-color: var(--primary-dark, #0a3358);
  color: #ffffff;
  font-size: 0.8rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--accent, #0284c7);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-sm, 6px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.top-bar-text {
  flex: 1;
  font-size: 0.8rem;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-bar-link {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  white-space: nowrap;
}

.top-bar-link:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .top-bar-text {
    display: none;
  }
  .top-bar-content {
    justify-content: space-between;
  }
}

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

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.15;
}

.brand-logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--primary);
}

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

.brand-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
}

.brand-tagline {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: var(--primary);
  color: #ffffff !important;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-header-call:hover {
  background-color: var(--primary-dark);
}

.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background-color: var(--primary-dark);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Nav Menu (Mobile Drawer) */
.nav-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ffffff;
  padding: 1.5rem 1rem 2rem;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 999;
}

.nav-menu.open {
  transform: translateX(0);
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover, .nav-link:focus, .nav-link.active {
  background-color: var(--primary-light);
  color: var(--primary);
}

.nav-menu-cta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Desktop Navigation */
@media (min-width: 992px) {
  .hamburger-btn {
    display: none;
  }

  .nav-menu {
    position: static;
    transform: none;
    padding: 0;
    overflow-y: visible;
    flex-direction: row;
    align-items: center;
    background: transparent;
    gap: 1.5rem;
  }

  .nav-list {
    flex-direction: row;
    gap: 0.25rem;
  }

  .nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
  }

  .nav-menu-cta {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  line-height: 1.2;
}

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

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

.btn-accent {
  background-color: var(--accent);
  color: #ffffff !important;
}

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

.btn-whatsapp {
  background-color: var(--whatsapp-color);
  color: #ffffff !important;
}

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

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

.btn-outline:hover {
  background-color: var(--primary-light);
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-full {
  width: 100%;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

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

.hero-content h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

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

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

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

/* Verified Claims Highlight Strip */
.claims-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

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

.claim-badge {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.claim-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--primary);
}

.claim-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
}

/* Washing Machine Hero Visual */
.hero-visual-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.wm-illustration-wrapper {
  width: 100%;
  max-width: 280px;
  height: auto;
  margin-bottom: 1rem;
}

.wm-illustration-svg {
  width: 100%;
  height: auto;
}

.quick-problem-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.problem-chip {
  font-size: 0.75rem;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  font-weight: 500;
}

/* Card Grids */
.cards-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

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

.cards-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.cards-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

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

/* Common Problems Section */
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.problem-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.problem-card-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--primary);
  background-color: var(--primary-light);
  border-radius: 8px;
  padding: 6px;
}

.problem-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0;
  color: var(--primary-dark);
}

.problem-card-body {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}

.problem-detail-item {
  border-left: 2px solid var(--border-color);
  padding-left: 0.5rem;
}

.problem-detail-label {
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.8rem;
  display: block;
}

/* Services Grid */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.service-card-icon {
  width: 40px;
  height: 40px;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  padding: 8px;
  margin-bottom: 0.75rem;
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

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

/* Machine Types Section */
.type-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

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

.type-card-icon {
  width: 44px;
  height: 44px;
  color: var(--primary);
  background-color: var(--primary-light);
  border-radius: var(--radius-md);
  padding: 8px;
  flex-shrink: 0;
}

.type-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.2rem;
}

.type-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

.type-sublist h4 {
  font-size: 0.95rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.type-sublist ul {
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* Brands Grid */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

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

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

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

.brand-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.5rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

.brand-disclaimer-box {
  background: var(--bg-alt);
  border-left: 4px solid var(--primary);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

/* Parts Grid */
.part-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.part-card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.part-card p {
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* Pricing Table Responsive */
.pricing-disclaimer-banner {
  background-color: var(--primary-light);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--primary-dark);
}

.table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}

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

.pricing-table th, .pricing-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.pricing-table th {
  background-color: var(--bg-alt);
  color: var(--primary-dark);
  font-weight: 700;
  white-space: nowrap;
}

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

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

.price-tag {
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

/* Customer Experience Cards */
.experience-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.experience-quote {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.experience-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
  border-top: 1px dashed var(--border-color);
  padding-top: 0.5rem;
}

/* Repair Process Steps */
.process-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

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

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--primary);
  color: #ffffff;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.9rem;
}

/* Why Choose Us Cards */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.feature-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 50%;
  padding: 10px;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
}

/* Service Areas Grid */
.city-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.city-tag {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 500;
}

.city-tag-featured {
  background-color: var(--primary-light);
  border-color: var(--accent);
  color: var(--primary);
  font-weight: 700;
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--primary);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
  display: block;
  border-top-color: var(--border-color);
  padding-top: 0.75rem;
}

/* Booking Form Section */
.form-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .form-card {
    padding: 2rem;
  }
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.form-label .req {
  color: #dc2626;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-main);
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
  outline: none;
}

.form-textarea {
  resize: vertical;
  min-height: 90px;
}

.form-privacy-note {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 0.75rem;
  text-align: center;
}

.form-alert {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  margin-bottom: 1rem;
  display: none;
}

.form-alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.form-alert-info {
  background-color: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

/* Floating Action Buttons */
.floating-actions-desktop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 990;
}

@media (min-width: 992px) {
  .floating-actions-desktop {
    display: flex;
  }
}

.floating-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-lg);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.floating-btn-call {
  background-color: var(--call-color);
  color: #ffffff !important;
}

.floating-btn-whatsapp {
  background-color: var(--whatsapp-color);
  color: #ffffff !important;
}

.floating-btn svg {
  width: 20px;
  height: 20px;
}

/* Mobile Bottom Action Bar */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-bar-height);
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  z-index: 995;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
}

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

.bottom-bar-grid {
  display: flex;
  width: 100%;
  height: 100%;
  gap: 0.5rem;
}

.bottom-bar-btn, .bar-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  height: 100%;
  color: #ffffff !important;
}

.bottom-bar-call, .bar-btn-call {
  background-color: var(--call-color);
}

.bottom-bar-whatsapp, .bar-btn-whatsapp {
  background-color: var(--whatsapp-color);
}

.bar-btn-book {
  background-color: var(--primary);
}

.bottom-bar-btn svg, .bar-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Notification Modal / Toast for Unconfigured Phone/WhatsApp */
.toast-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.toast-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.toast-modal {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.toast-modal h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.toast-modal p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.toast-modal-close {
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
}

/* Footer */
.site-footer {
  background-color: #0b1f33;
  color: #e2e8f0;
  padding-top: 3.5rem;
  padding-bottom: 2rem;
  border-top: 4px solid var(--accent);
}

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

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

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

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #1e3a5f;
  padding-bottom: 0.4rem;
  display: inline-block;
}

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

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}

.footer-links a:hover, .footer-links a:focus {
  color: #38bdf8;
  padding-left: 4px;
}

.footer-disclaimer-box {
  background-color: #112842;
  border: 1px solid #1e3a5f;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-disclaimer-box h5 {
  color: #f1f5f9;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.footer-bottom {
  border-top: 1px solid #1e3a5f;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* Localized Box */
.nagercoil-callout-card {
  background: #ffffff;
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-top: 1.5rem;
  box-shadow: var(--shadow-md);
}

.locality-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
}

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

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

.locality-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  text-align: center;
}

/* Supported Brands Grid */
.brands-grid,
.brand-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .brands-grid,
  .brand-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .brands-grid,
  .brand-links-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.brand-card,
.brand-link-card {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.85rem 0.5rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-dark);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.brand-card:hover,
.brand-link-card:hover {
  background-color: var(--primary);
  color: #ffffff !important;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Enhanced UI Components */
.lead-phrase {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.service-type-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.75rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-type-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.type-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

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

.feature-box {
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.feature-box h4,
.feature-box h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.feature-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 1.25rem;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Locality Zone Cards */
.locality-zone-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--primary);
}

.locality-zone-title {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.locality-zone-desc {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.locality-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.locality-tag {
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.78rem;
  color: var(--text-main);
  font-weight: 500;
  transition: all 0.2s ease;
}

.locality-tag:hover {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary);
}

/* Enhanced Testimonials */
.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
  position: relative;
}

.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  font-style: italic;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.badge-subtle {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Multi-Appliance Service Center UI Styles */
.appliances-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.appliance-overview-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

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

.appliance-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.appliance-card-title {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.appliance-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.appliance-card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.appliance-card-link:hover {
  color: var(--accent);
}

.appliance-detail-section {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.appliance-detail-header {
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.appliance-types-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.appliance-chip {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-main);
}

/* Breadcrumbs */
.breadcrumb-nav {
  background-color: #f8fafc;
  border-bottom: 1px solid var(--border-color);
  padding: 0.6rem 0;
  font-size: 0.85rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.4rem;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin-right: 0.4rem;
  color: #94a3b8;
}

.breadcrumb-item a {
  color: var(--primary);
  text-decoration: none;
}

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

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

/* Hero Badge & Highlights */
.hero-badge {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 0.85rem;
  border: 1px solid #bae6fd;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1.25rem 0;
}

@media (max-width: 480px) {
  .hero-highlights {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
}

.highlight-item svg {
  flex-shrink: 0;
}

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

@media (max-width: 480px) {
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Diagnostic & Repair Process Cards */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

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

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--primary);
  color: #ffffff;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.process-card h3,
.process-card h4 {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.process-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0;
}

/* Parts Grid & Cards */
.parts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

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

.part-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}

.part-item-card:hover {
  border-color: var(--primary);
}

.part-item-card h4 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
}

.part-item-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0;
}

/* Responsive Data Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 580px;
  font-size: 0.9rem;
  text-align: left;
}

.data-table th,
.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.data-table th {
  background-color: var(--bg-alt);
  color: var(--primary-dark);
  font-weight: 700;
  white-space: nowrap;
}

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

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

/* Deep Washing Machine Type Cards */
.type-deep-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.type-deep-card h3 {
  font-size: 1.35rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.type-deep-card .lead-phrase {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.type-troubleshoot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}

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

.troubleshoot-box {
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.15rem;
}

.troubleshoot-box h4 {
  font-size: 0.98rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.troubleshoot-box p {
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.45;
  margin-bottom: 0.4rem;
}

.troubleshoot-box p:last-child {
  margin-bottom: 0;
}

.troubleshoot-box .meta-tag {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
  display: block;
  margin-top: 0.4rem;
}

/* Mobile Adjustments */
@media (max-width: 640px) {
  .type-deep-card {
    padding: 1.25rem;
  }
  .type-deep-card h3 {
    font-size: 1.2rem;
  }
}

/* Locality Section & Cards */
.locality-zone-card {
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-lg, 12px);
  padding: 1.5rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.locality-zone-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--primary-dark, #0a365c);
  margin-bottom: 0.5rem;
}

.locality-zone-desc {
  font-size: 0.94rem;
  color: var(--text-muted, #475569);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.locality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}

.locality-card {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-md, 8px);
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.locality-card:hover {
  border-color: var(--primary, #0f4c81);
  box-shadow: 0 2px 6px rgba(15, 76, 129, 0.1);
  transform: translateY(-1px);
}

.locality-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-main, #1e293b);
  margin-bottom: 0.2rem;
}

.locality-phrase {
  font-size: 0.8rem;
  color: var(--text-muted, #64748b);
  line-height: 1.35;
  margin: 0;
}

@media (max-width: 640px) {
  .locality-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .locality-card {
    padding: 0.65rem 0.85rem;
  }
  .locality-zone-card {
    padding: 1.15rem;
  }
}

/* Bottom Links Grid */
.bottom-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0.65rem;
  text-align: left;
}

.bottom-links-grid a {
  display: block;
  padding: 0.55rem 0.85rem;
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-sm, 6px);
  font-size: 0.86rem;
  color: var(--primary, #0f4c81);
  text-decoration: none;
  line-height: 1.35;
  transition: all 0.2s ease;
}

.bottom-links-grid a:hover {
  background: var(--primary-light, #f0f7ff);
  border-color: var(--primary, #0f4c81);
  color: var(--primary-dark, #0a365c);
  transform: translateX(2px);
}

@media (max-width: 640px) {
  .bottom-links-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* Contact & Location Section */
.contact-location-section {
  background-color: #f8fafc;
  border-top: 1px solid var(--border-color, #e2e8f0);
}

.contact-location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  max-width: 1000px;
  margin: 0 auto;
}

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

.contact-details-card {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-lg, 12px);
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-map-card {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  min-height: 350px;
}

.contact-map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: none;
}

@media (max-width: 640px) {
  .contact-map-card iframe {
    height: 300px;
    min-height: 300px;
  }
  .contact-details-card {
    padding: 1.25rem;
  }
}

.contact-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted, #64748b);
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.contact-value {
  font-size: 1.02rem;
  color: var(--text-main, #1e293b);
  line-height: 1.45;
}

.contact-value .phone-link {
  color: var(--primary, #0f4c81);
  font-size: 1.28rem;
  font-weight: 700;
  text-decoration: none;
}

.contact-value .phone-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Article & Blog Styling
   ========================================================================== */
.article-header-section {
  background: linear-gradient(135deg, #0f4c81 0%, #0a3358 100%);
  color: #ffffff;
  padding: 3.5rem 0 2.5rem;
}

.article-header-container {
  max-width: 860px;
  margin: 0 auto;
}

.article-category-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #e0f2fe;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.article-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
  .article-title {
    font-size: 1.65rem;
  }
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.article-body-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-main, #1e293b);
}

.article-content p {
  margin-bottom: 1.4rem;
}

.article-content h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--primary, #0f4c81);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.35;
  border-bottom: 2px solid var(--primary-light, #e8f1f8);
  padding-bottom: 0.5rem;
}

.article-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark, #0a3358);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.article-content ul, .article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-callout-box {
  background: var(--bg-alt, #f1f5f9);
  border-left: 4px solid var(--accent, #0284c7);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.75rem 0;
}

.article-callout-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-dark, #0a3358);
  margin-bottom: 0.35rem;
}

.article-table-wrapper {
  margin: 1.75rem 0;
  overflow-x: auto;
}

.article-cta-box {
  background: linear-gradient(135deg, var(--primary-light, #e8f1f8) 0%, #f8fafc 100%);
  border: 1px solid var(--border-light, #cbd5e1);
  border-radius: var(--radius-lg, 16px);
  padding: 2rem 1.5rem;
  text-align: center;
  margin: 2.5rem 0 2rem;
  box-shadow: var(--shadow-sm);
}

.article-cta-box h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  color: var(--primary, #0f4c81);
}

.article-cta-box p {
  margin-bottom: 1.25rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 640px) {
  .article-cta-box {
    padding: 1.5rem 1rem;
    margin: 2rem 0 1.5rem;
  }
  .article-cta-box h3 {
    font-size: 1.2rem;
  }
}

.related-blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.related-blog-card {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-md, 10px);
  padding: 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.related-blog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent, #0284c7);
}

.related-blog-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark, #0a3358);
}

.related-blog-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  flex-grow: 1;
}

.related-blog-card a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.related-blog-card a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   FLOATING ACTIONS & MOBILE FIXED BOTTOM BAR (CROSS-DEVICE RESPONSIVE)
   Tested: 320px, 360px, 375px, 390px, 412px, 768px, 1024px, 1366px
   ========================================================================== */

/* Base html & body mobile overflow prevention */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Desktop Floating Action Buttons (>= 769px) */
.floating-actions-desktop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 990;
}

.floating-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.floating-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

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

.floating-btn-call {
  background-color: var(--primary, #0f4c81);
  color: #ffffff !important;
}

.floating-btn-whatsapp {
  background-color: #25d366;
  color: #ffffff !important;
}

/* Desktop: hide mobile bottom bar */
@media (min-width: 769px) {
  .mobile-bottom-bar {
    display: none !important;
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  /* Hide desktop floating buttons to avoid visual collision */
  .floating-actions-desktop {
    display: none !important;
  }

  /* Essential: ensure body has bottom clearance for fixed bar */
  body {
    padding-bottom: 68px !important;
  }

  /* Sleek fixed mobile bottom action bar */
  .mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 58px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 6px 12px;
    z-index: 995;
    box-sizing: border-box;
  }

  .bottom-bar-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    margin: 0 4px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.1s ease;
    box-sizing: border-box;
  }

  .bottom-bar-btn:active {
    opacity: 0.88;
    transform: scale(0.98);
  }

  .bottom-bar-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .bottom-bar-call {
    background-color: var(--primary, #0f4c81);
    color: #ffffff !important;
  }

  .bottom-bar-whatsapp {
    background-color: #25d366;
    color: #ffffff !important;
  }

  /* Ensure in-content CTA boxes do not overflow mobile screens */
  .article-cta-box,
  .article-callout-box,
  .case-study-card,
  .climate-card {
    max-width: 100%;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: break-word;
  }
}

/* Ultra-compact screens (320px - 360px) */
@media (max-width: 360px) {
  .mobile-bottom-bar {
    padding: 4px 6px;
    height: 52px;
  }

  .bottom-bar-btn {
    height: 40px;
    font-size: 0.82rem;
    gap: 5px;
    margin: 0 2px;
  }

  .bottom-bar-btn svg {
    width: 16px;
    height: 16px;
  }

  body {
    padding-bottom: 60px !important;
  }
}

/* Blog Article Grid Layout & Sidebar */
.article-main-layout {
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .article-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}

.blog-article {
  min-width: 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-main);
}

.blog-article h2 {
  font-size: 1.45rem;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  color: var(--primary-dark);
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 0.4rem;
}

.blog-article h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.blog-article p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.blog-article .lead {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-main);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* Sidebar Styling */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.service-booking-card {
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
  border: 2px solid #bae6fd;
}

.sidebar-card-badge {
  display: inline-block;
  background-color: var(--accent);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.sidebar-card h3 {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.sidebar-card h4 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.sidebar-checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.25rem;
}

.sidebar-checklist li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
  color: var(--text-main);
}

.sidebar-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success, #16a34a);
  font-weight: bold;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

.sidebar-link-btn {
  display: inline-block;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.92rem;
  margin-top: 0.5rem;
}

.sidebar-link-btn:hover {
  text-decoration: underline;
}

/* Brand Grid Chips inside Blog */
.article-brand-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.25rem 0 2rem;
}

.article-brand-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: #f1f5f9;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-dark);
  transition: all 0.2s ease;
}

.article-brand-chip:hover {
  background-color: var(--primary);
  color: #ffffff !important;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Related Guides Box */
.related-guides-box {
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 2.5rem;
}

.related-guides-box h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.related-guides-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.related-guides-box li a {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}

.related-guides-box li a::before {
  content: "→";
  margin-right: 0.5rem;
  color: var(--accent);
}

.related-guides-box li a:hover {
  text-decoration: underline;
}

/* Responsive Header & Blog Polish for 320px - 1366px */
@media (max-width: 640px) {
  .article-header-section {
    padding: 2.25rem 0 1.75rem;
  }
}

@media (max-width: 480px) {
  .brand-tagline {
    display: none;
  }
  .brand-title {
    font-size: 0.88rem;
    white-space: nowrap;
  }
  .btn-header-call {
    padding: 0.4rem 0.65rem;
    font-size: 0.8rem;
  }
  .article-title {
    font-size: 1.4rem;
  }
  .article-meta {
    gap: 0.65rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 360px) {
  .header-container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .brand-logo-icon {
    width: 28px;
    height: 28px;
  }
  .brand-title {
    font-size: 0.78rem;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .btn-header-call span {
    display: none;
  }
  .btn-header-call {
    padding: 0.45rem 0.5rem;
  }
  .hamburger-btn {
    width: 34px;
    height: 34px;
  }
}
