/* ==========================================================================
   Carrier Service Centers India - Independent Service Enquiry Portal
   Stylesheet: Modern, Lightweight, Accessible, Mobile-first CSS3
   ========================================================================== */

/* --- CSS Variables & Theme Tokens --- */
:root {
  --primary: #0b2545;
  --primary-dark: #07172b;
  --primary-light: #133b6b;
  --accent: #0284c7;
  --accent-hover: #0369a1;
  --accent-light: #e0f2fe;
  --whatsapp: #25d366;
  --whatsapp-hover: #1eb956;
  --whatsapp-dark: #128c7e;
  --call-color: #0284c7;
  --call-hover: #0369a1;
  
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  --border: #e2e8f0;
  --border-light: #cbd5e1;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-float: 0 10px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --transition-fast: 0.18s ease;
  --transition-normal: 0.25s ease;
}

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

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding-bottom: 70px; /* Space for mobile sticky action bar */
}

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

body.no-scroll {
  overflow: hidden;
}

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

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

a:hover, a:focus-visible {
  color: var(--accent-hover);
  text-decoration: underline;
}

ul, ol {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.35rem;
}

p {
  margin-bottom: 1rem;
}

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

h1 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-top: 1.5rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  margin-top: 1rem;
}

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

.section {
  padding: 3rem 0;
}

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

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

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

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  gap: 1rem;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none !important;
}

.logo-img {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.logo-badge {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Nav Menu */
.primary-nav {
  display: none;
}

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

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  text-decoration: none;
  padding: 0.35rem 0.15rem;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
}

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

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--accent);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  text-decoration: none !important;
  box-shadow: 0 2px 4px rgba(2, 132, 199, 0.25);
  transition: all var(--transition-fast);
}

.nav-cta-btn:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
}

/* Mobile Nav Toggle Button */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  z-index: 1010;
}

.nav-toggle-bar {
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

@media (min-width: 992px) {
  .primary-nav {
    display: block;
  }
  .nav-toggle {
    display: none;
  }
}

/* Mobile Nav Drawer */
@media (max-width: 991px) {
  .primary-nav.nav-open {
    display: block;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-card);
    padding: 2rem 1.5rem;
    overflow-y: auto;
    z-index: 999;
    box-shadow: var(--shadow-lg);
  }

  .primary-nav.nav-open .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .primary-nav.nav-open .nav-link {
    font-size: 1.15rem;
    display: block;
    width: 100%;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
  }

  .primary-nav.nav-open .nav-cta-btn {
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
    padding: 0.75rem;
    font-size: 1rem;
  }
}

/* --- Hero Section --- */
.hero-section {
  background: linear-gradient(135deg, #071a33 0%, #0d325e 100%);
  color: #ffffff;
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle at 85% 20%, rgba(2, 132, 199, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #bae6fd;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.hero-title {
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.2rem;
  line-height: 1.18;
}

.hero-desc {
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
  color: #e2e8f0;
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  text-decoration: none !important;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  line-height: 1.2;
}

.btn-call {
  background-color: var(--call-color);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.btn-call:hover {
  background-color: var(--call-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.45);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

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

.btn-outline {
  background-color: transparent;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

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

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

/* Hero Trust Pills */
.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 500;
}

.highlight-icon {
  width: 18px;
  height: 18px;
  fill: #38bdf8;
  flex-shrink: 0;
}

/* --- Cards & Grid Layouts --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

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

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

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

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

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

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

.card-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

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

.price-hint {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

/* --- Troubleshooting & Problem Showcase --- */
.issue-badge {
  display: inline-block;
  background-color: #fee2e2;
  color: #991b1b;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
}

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

.pricing-table, .data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 650px;
}

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

.pricing-table td, .data-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  vertical-align: top;
}

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

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

.price-tag {
  font-weight: 700;
  color: #0369a1;
  white-space: nowrap;
}

.table-note-box {
  background-color: #eff6ff;
  border-left: 4px solid var(--accent);
  padding: 0.85rem 1.15rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
  color: #1e3a8a;
  margin-bottom: 1.5rem;
}

/* --- Step Process --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

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

.step-number {
  position: absolute;
  top: -14px;
  left: 1.5rem;
  background-color: var(--primary);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 2px 6px rgba(11, 37, 69, 0.3);
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/* --- FAQ Accordions --- */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 0.85rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

/* Button-Based Accordion (.faq-question) */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: transparent;
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--primary);
  text-align: left;
  cursor: pointer;
  line-height: 1.45;
  transition: color var(--transition-fast), background-color var(--transition-fast);
  box-sizing: border-box;
}

.faq-question:hover {
  color: var(--accent);
  background-color: #f8fafc;
}

.faq-question:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.faq-question[aria-expanded="true"] {
  color: var(--accent);
  background-color: #f0f9ff;
  border-bottom: 1px solid var(--border);
}

.faq-icon {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  stroke: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  padding: 0 1.25rem;
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.65;
  background-color: #ffffff;
}

.faq-answer p {
  padding: 0.85rem 0 1.1rem;
  margin: 0;
}

/* Native Details / Summary Accordion Support (No Black Triangles) */
.faq-item details {
  background-color: transparent;
  border: none;
}

.faq-item summary {
  list-style: none !important;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--primary);
  cursor: pointer;
  user-select: none;
  line-height: 1.45;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

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

.faq-item summary::marker {
  display: none !important;
  content: "" !important;
}

.faq-item summary::after {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  margin-right: 4px;
}

.faq-item details[open] summary::after {
  transform: rotate(-135deg);
}

.faq-item details[open] summary {
  color: var(--accent);
  background-color: #f0f9ff;
  border-bottom: 1px solid var(--border);
}

.faq-item details .faq-answer {
  max-height: none;
  padding: 0 1.25rem;
}

/* --- City Location Grid --- */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.city-pill-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  color: var(--primary);
  font-weight: 600;
  text-decoration: none !important;
  transition: all var(--transition-fast);
}

.city-pill-card:hover {
  border-color: var(--accent);
  background-color: var(--accent-light);
  color: var(--accent-hover);
  transform: translateY(-2px);
}

.city-arrow {
  color: var(--accent);
  font-weight: 700;
}

.locality-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.locality-chip {
  background-color: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.65rem;
  font-size: 0.82rem;
  color: var(--text-main);
}

/* --- Breadcrumb Navigation --- */
.breadcrumbs {
  padding: 0.75rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.breadcrumbs li::after {
  content: "/";
  margin-left: 0.4rem;
  color: var(--border-light);
}

.breadcrumbs li:last-child::after {
  content: "";
}

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

.breadcrumbs a:hover {
  color: var(--accent);
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, #0b2545 0%, #0369a1 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  color: #ffffff;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: #e0f2fe;
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto 1.75rem;
}

.cta-banner-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- Footer --- */
.site-footer {
  background-color: var(--primary-dark);
  color: #94a3b8;
  padding-top: 3.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.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 var(--transition-fast);
}

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

.footer-disclaimer-box {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #94a3b8;
}

.footer-disclaimer-box strong {
  color: #e2e8f0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: #64748b;
}

/* ==========================================================================
   MANDATORY FLOATING BUTTONS (50% Viewport Height)
   ========================================================================== */
.floating-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1005;
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-full);
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: var(--shadow-float);
  font-weight: 700;
  font-size: 0.85rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  line-height: 1;
}

.floating-btn:hover {
  transform: translateY(-50%) scale(1.06);
}

.floating-btn:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

/* Left: WhatsApp Floating Button */
.floating-whatsapp {
  left: 14px;
  background-color: var(--whatsapp);
  animation: softPulseGreen 2.8s infinite;
}

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

/* Right: Call Now Floating Button */
.floating-call {
  right: 14px;
  background-color: var(--call-color);
  animation: softPulseBlue 2.8s infinite;
}

.floating-call:hover {
  background-color: var(--call-hover);
}

.floating-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

.floating-label,
.floating-text {
  display: inline-block;
  white-space: nowrap;
}

/* Keep floating buttons visible and circular on medium/mobile screens */
@media (max-width: 900px) {
  .floating-label,
  .floating-text {
    display: none;
  }
  .floating-btn {
    padding: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    justify-content: center;
  }
  .floating-whatsapp {
    left: 10px;
  }
  .floating-call {
    right: 10px;
  }
}

/* Subtle Attention Pulse Keyframes */
@keyframes softPulseGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes softPulseBlue {
  0% {
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(2, 132, 199, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0);
  }
}

/* Accessibility: Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .floating-whatsapp,
  .floating-call {
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   MANDATORY FIXED BOTTOM CALL & WHATSAPP ACTION BAR (Mobile View)
   ========================================================================== */
.mobile-bottom-bar,
.bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #ffffff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  padding: 0.55rem 0.85rem;
  padding-bottom: max(0.55rem, env(safe-area-inset-bottom));
}

@media (max-width: 768px) {
  .mobile-bottom-bar,
  .bottom-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }
}

.bottom-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  line-height: 1.1;
  color: #ffffff !important;
}

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

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

.bottom-bar-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ==========================================================================
   City Pages & Unified Component Extensions
   ========================================================================== */
.header {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
}

.brand-logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.brand-logo-text span {
  color: var(--accent);
}

.brand-tagline {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

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

.mobile-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 6px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.mobile-toggle:hover, .mobile-toggle:focus-visible {
  border-color: var(--accent);
  background-color: #f0f9ff;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* Mobile Header Layout (<= 860px) */
@media (max-width: 860px) {
  .header {
    position: sticky;
    top: 0;
    z-index: 1001;
  }

  .header-container {
    position: relative;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }

  .brand-logo-text {
    font-size: 1.1rem;
  }

  .brand-tagline {
    font-size: 0.62rem;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .header-actions .btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    box-shadow: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-top: 1px solid var(--border);
    border-bottom: 3px solid var(--accent);
    box-shadow: 0 14px 28px -6px rgba(0, 0, 0, 0.18);
    padding: 0.5rem 1.25rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    z-index: 1002;
  }

  .nav-menu.nav-open {
    display: flex !important;
  }

  .nav-menu .nav-link {
    width: 100%;
    padding: 0.85rem 0.25rem;
    font-size: 1rem;
    color: var(--text-main);
    border-bottom: 1px solid var(--border);
  }

  .nav-menu .nav-link:last-child {
    border-bottom: none;
  }
}

/* Small Screen Compact Header (<= 360px) */
@media (max-width: 360px) {
  .header-container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .brand-logo-text {
    font-size: 0.95rem;
  }

  .brand-tagline {
    display: none;
  }

  .header-actions .btn span {
    display: none;
  }

  .header-actions .btn {
    padding: 0.5rem;
    width: 36px;
    height: 36px;
    justify-content: center;
  }

  .mobile-toggle {
    width: 36px;
    height: 36px;
  }
}

/* Hero City Unified Dark Navy Gradient */
.hero, .hero-city {
  background: linear-gradient(135deg, #071a33 0%, #0d325e 100%);
  color: #ffffff;
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before, .hero-city::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at 85% 20%, rgba(2, 132, 199, 0.3) 0%, transparent 60%);
  pointer-events: none;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
  color: #e2e8f0;
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

.badge-accent {
  background-color: rgba(2, 132, 199, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #7dd3fc;
  margin-bottom: 1rem;
}

.btn-primary {
  background-color: var(--call-color);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background-color: var(--call-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.45);
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 1.05rem;
}

/* Standard Data Table on City Pages */
.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 650px;
  background: #ffffff;
}

.table th {
  background-color: #0b2545;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.9rem 1rem;
  border-bottom: 2px solid var(--border);
}

.table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  vertical-align: top;
  color: var(--text-main);
}

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

/* Locality Grid */
.locality-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.locality-chip {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

/* Floating Actions on City Pages */
.floating-contact {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1005;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.floating-contact .float-btn {
  pointer-events: auto;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #ffffff;
  box-shadow: var(--shadow-float);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 1005;
}

.floating-contact .float-whatsapp {
  left: 14px;
  background-color: var(--whatsapp);
  animation: softPulseGreen 2.8s infinite;
}

.floating-contact .float-call {
  right: 14px;
  background-color: var(--call-color);
  animation: softPulseBlue 2.8s infinite;
}

.floating-contact .float-btn:hover {
  transform: translateY(-50%) scale(1.08);
}

.floating-contact .tooltip {
  display: none;
}

/* Mobile Action Bar */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background-color: #ffffff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  padding: 0.55rem 0.85rem;
  padding-bottom: max(0.55rem, env(safe-area-inset-bottom));
}

@media (max-width: 768px) {
  .mobile-action-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  color: #ffffff !important;
}

.call-action {
  background-color: var(--call-color);
}

.whatsapp-action {
  background-color: var(--whatsapp);
}

/* Footer on City Pages */
.footer {
  background-color: var(--primary-dark);
  color: #94a3b8;
  padding-top: 3.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: #64748b;
}

.disclaimer-text {
  margin-top: 0.75rem;
  line-height: 1.6;
}

