/* ==========================================================================
   Abacas Solution - Design System CSS
   Dual Plumbing & Electrical Service Website
   Western Cape, South Africa
   ========================================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');

/* --- Hide reCAPTCHA v3 badge (attribution text shown near forms instead) --- */
.grecaptcha-badge { visibility: hidden !important; }

/* --- CSS Custom Properties --- */
:root {
  /* Plumbing palette */
  --color-plumbing: #2563EB;
  --color-plumbing-light: #DBEAFE;
  --color-plumbing-dark: #1D4ED8;
  --color-plumbing-50: #EFF6FF;

  /* Electrical palette */
  --color-electrical: #D97706;
  --color-electrical-light: #FEF3C7;
  --color-electrical-dark: #B45309;
  --color-electrical-50: #FFFBEB;

  /* Neutral palette */
  --color-bg: #FFFFFF;
  --color-bg-alt: #F8FAFC;
  --color-bg-dark: #0F172A;
  --color-bg-card: #FFFFFF;
  --color-border: #E2E8F0;
  --color-border-light: #F1F5F9;

  /* Text */
  --color-text: #1E293B;
  --color-text-muted: #64748B;
  --color-text-light: #94A3B8;
  --color-text-inverse: #F8FAFC;

  /* Accent (yellow-green CTA) */
  --color-accent: #C5F82A;
  --color-accent-hover: #B5E520;

  /* Semantic */
  --color-emergency: #DC2626;
  --color-emergency-light: #FEE2E2;
  --color-success: #16A34A;
  --color-success-light: #DCFCE7;

  /* Typography */
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 var(--space-md);
  color: var(--color-text);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.375rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin: 0 0 var(--space-md);
  color: var(--color-text-muted);
}

.lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: 800px;
}

.section {
  padding: var(--space-3xl) 0;
}

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

.section--dark {
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-text-inverse);
}

.section--dark p {
  color: var(--color-text-light);
}

.section--hero-bg {
  background-size: cover;
  background-position: center right;
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
}

.section--hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.75) 50%, rgba(15, 23, 42, 0.35) 100%);
  z-index: 1;
}

.section--hero-bg > .container {
  position: relative;
  z-index: 2;
}

/* Bottom CTA - distinct from footer */
.section--cta {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: var(--color-text-inverse);
  border-top: 3px solid var(--color-accent);
  position: relative;
}

.section--cta h2,
.section--cta h3,
.section--cta h4 {
  color: var(--color-text-inverse);
}

.section--cta p {
  color: var(--color-text-light);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- Grid System --- */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

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

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

/* --- Flex --- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow var(--duration-normal) var(--ease-out);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  padding: var(--space-md) var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.375rem;
  color: var(--color-text);
  white-space: nowrap;
}

/* Responsive logo sizing */
.nav__logo img {
  height: 36px;
  width: auto;
}

@media (min-width: 1025px) {
  .nav__logo img {
    height: 48px;
  }
}

.footer__logo img {
  height: 30px;
  width: auto;
}

@media (min-width: 1025px) {
  .footer__logo img {
    height: 44px;
  }
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
  background: var(--color-plumbing);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--duration-fast) var(--ease-out);
  position: relative;
  white-space: nowrap;
}

.nav__link:hover,
.nav__link--active {
  color: #FFFFFF;
}

/* Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav__dropdown-trigger svg {
  width: 14px;
  height: 14px;
  transition: transform var(--duration-fast) var(--ease-out);
}

.nav__dropdown:hover .nav__dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: -8px;
  min-width: 220px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-sm) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--duration-normal) var(--ease-out);
  z-index: 50;
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: all var(--duration-fast) var(--ease-out);
}

.nav__dropdown-item:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.nav__dropdown-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Nav CTA */
.nav__cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__phone {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-weight: 600;
  font-size: 0.9375rem;
  color: #FFFFFF;
}

.nav__phone svg {
  width: 18px;
  height: 18px;
  color: var(--color-emergency);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  width: 24px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
@media (max-width: 1024px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--color-bg-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem var(--space-xl) var(--space-xl);
    gap: var(--space-md);
    box-shadow: var(--shadow-xl);
    transition: right var(--duration-slow) var(--ease-out);
    z-index: 200;
    overflow-y: auto;
  }

  .nav__links.open {
    right: 0;
  }

  .nav__links .nav__link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.0625rem;
    padding: var(--space-sm) 0;
    display: block;
    width: 100%;
  }

  .nav__links .nav__link:hover,
  .nav__links .nav__link--active {
    color: #FFFFFF;
  }

  /* Mobile CTA inside slide-out menu */
  .nav__mobile-cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    width: 100%;
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav__hamburger {
    display: flex;
    z-index: 300;
  }

  .nav__dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 var(--space-md);
    display: none;
  }

  .nav__dropdown.open .nav__dropdown-menu {
    display: block;
  }

  .nav__cta {
    display: none;
  }
}

/* Mobile overlay */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 150;
}

.nav__overlay.active {
  display: block;
}

/* --- Emergency Banner --- */
.emergency-banner {
  background: var(--color-emergency);
  color: white;
  text-align: center;
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.emergency-banner a {
  color: white;
  font-weight: 700;
  text-decoration: underline;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: var(--space-3xl) 0;
  background-color: #0F172A;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(4px);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  color: white;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero h1 span.text-plumbing {
  color: var(--color-plumbing);
}

.hero h1 span.text-electrical {
  color: var(--color-electrical);
}

.hero__summary {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-xl);
  max-width: 560px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.hero__phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 800;
  color: white;
  font-family: var(--font-body);
  margin-bottom: var(--space-lg);
}

.hero__phone svg {
  width: 28px;
  height: 28px;
  color: var(--color-accent);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero__stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: white;
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  margin-top: var(--space-xs);
}

@media (max-width: 640px) {
  .hero {
    padding: var(--space-2xl) 0;
    min-height: auto;
  }
  .hero__stats {
    gap: var(--space-lg);
  }
  .hero__stat-value {
    font-size: 1.5rem;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
}

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

.btn--primary-plumbing {
  background: var(--color-plumbing);
  color: white;
}
.btn--primary-plumbing:hover {
  background: var(--color-plumbing-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.btn--primary-electrical {
  background: var(--color-electrical);
  color: white;
}
.btn--primary-electrical:hover {
  background: var(--color-electrical-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
}

.btn--emergency {
  background: var(--color-emergency);
  color: white;
}
.btn--emergency:hover {
  background: #B91C1C;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

.btn--outline {
  background: transparent;
  border-color: rgba(255,255,255,0.3);
  color: white;
}
.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-muted);
  padding: 0.5rem 1rem;
}
.btn--ghost:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.btn--accent {
  background: var(--color-accent);
  color: #0F172A;
  font-weight: 700;
}
.btn--accent:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(197, 248, 42, 0.3);
}

.btn--whatsapp {
  background: #25D366;
  color: white;
}
.btn--whatsapp:hover {
  background: #20BD5A;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

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

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.btn--full {
  width: 100%;
}

/* --- Cards --- */
.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--duration-normal) var(--ease-out);
}

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

.card--plumbing:hover {
  border-color: var(--color-plumbing);
}

.card--electrical:hover {
  border-color: var(--color-electrical);
}

/* Service Card */
.service-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__icon--plumbing {
  background: var(--color-plumbing-light);
  color: var(--color-plumbing);
}

.service-card__icon--electrical {
  background: var(--color-electrical-light);
  color: var(--color-electrical);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

.service-card p {
  font-size: 0.9375rem;
  margin: 0;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-plumbing);
  margin-top: auto;
}

.service-card__link--electrical {
  color: var(--color-electrical);
}

.service-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--duration-fast) var(--ease-out);
}

.service-card:hover .service-card__link svg {
  transform: translateX(4px);
}

/* Image Service Card (background image with white text overlay) */
.image-service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  text-decoration: none;
  transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
}

.image-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.image-service-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.image-service-card:hover > img {
  transform: scale(1.08);
}

.image-service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.5) 50%, rgba(15, 23, 42, 0.25) 100%);
  z-index: 1;
  transition: background var(--duration-normal) var(--ease-out);
}

.image-service-card:hover .image-service-card__overlay {
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(15, 23, 42, 0.3) 100%);
}

.image-service-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl);
  width: 100%;
}

.image-service-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(217, 119, 6, 0.25);
  border: 1px solid rgba(217, 119, 6, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--color-electrical-light);
}

.image-service-card__icon--plumbing {
  background: rgba(37, 99, 235, 0.25);
  border-color: rgba(37, 99, 235, 0.4);
  color: var(--color-plumbing-light);
}

.image-service-card__icon svg {
  width: 20px;
  height: 20px;
}

.image-service-card h3 {
  color: white;
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 var(--space-sm);
}

.image-service-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0 0 var(--space-md);
}

.image-service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-top: auto;
}

.image-service-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--duration-fast) var(--ease-out);
}

.image-service-card:hover .image-service-card__link svg {
  transform: translateX(4px);
}

/* Location Card */
.location-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
}

.location-card__pin {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-text-muted);
}

.location-card__pin svg {
  width: 18px;
  height: 18px;
}

.location-card__name {
  font-weight: 600;
  font-size: 0.9375rem;
}

.location-card__distance {
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

.location-card__arrow {
  margin-left: auto;
  color: var(--color-text-light);
  transition: transform var(--duration-fast) var(--ease-out);
}

.location-card__arrow svg {
  width: 16px;
  height: 16px;
}

.location-card:hover .location-card__arrow {
  transform: translateX(4px);
  color: var(--color-plumbing);
}

/* Testimonial Card */
.testimonial-card {
  padding: var(--space-xl);
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-md);
  color: var(--color-electrical);
}

.testimonial-card__stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.testimonial-card__text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.testimonial-card__name {
  font-weight: 600;
  font-size: 0.875rem;
}

.testimonial-card__location {
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

/* --- Trust Badges --- */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  justify-content: center;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
  padding: var(--space-lg);
}

.trust-badge__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-badge__icon--years {
  background: var(--color-plumbing-light);
  color: var(--color-plumbing);
}

.trust-badge__icon--licensed {
  background: var(--color-success-light);
  color: var(--color-success);
}

.trust-badge__icon--emergency {
  background: var(--color-emergency-light);
  color: var(--color-emergency);
}

.trust-badge__icon--compliant {
  background: var(--color-electrical-light);
  color: var(--color-electrical);
}

.trust-badge__icon svg {
  width: 28px;
  height: 28px;
}

.trust-badge__label {
  font-weight: 700;
  font-size: 0.875rem;
}

.trust-badge__sub {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* --- Process Steps --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  counter-reset: step;
}

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

.process-step {
  position: relative;
  text-align: center;
  padding: var(--space-lg);
}

.process-step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.125rem;
  color: var(--color-text);
  margin: 0 auto var(--space-md);
}

.process-step--plumbing .process-step__number {
  border-color: var(--color-plumbing-light);
  color: var(--color-plumbing);
}

.process-step--electrical .process-step__number {
  border-color: var(--color-electrical-light);
  color: var(--color-electrical);
}

.process-step h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: var(--space-sm);
}

.process-step p {
  font-size: 0.875rem;
  margin: 0;
}

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

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--duration-normal) var(--ease-out);
}

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
  padding: var(--space-lg);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  transition: background var(--duration-fast) var(--ease-out);
  list-style: none;
}

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

.faq-question::marker {
  display: none;
  content: '';
}

.faq-question:hover {
  background: var(--color-bg-alt);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform var(--duration-normal) var(--ease-out);
}

.faq-item[open] .faq-question svg {
  transform: rotate(180deg);
  color: var(--color-plumbing);
}

.faq-answer__inner {
  padding: 0 var(--space-lg) var(--space-lg);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* --- Contact Form --- */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

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

.form__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text);
  background: white;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out);
  outline: none;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: var(--color-plumbing);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

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

/* --- Section Headings --- */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.section-header__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.section-header__tag--plumbing {
  background: var(--color-plumbing-light);
  color: var(--color-plumbing);
}

.section-header__tag--electrical {
  background: var(--color-electrical-light);
  color: var(--color-electrical);
}

.section-header__tag--neutral {
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
}

.section-header p {
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* --- Footer --- */
.footer {
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
  padding: var(--space-3xl) 0 var(--space-xl);
}

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

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

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

.footer__brand {
  max-width: 320px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

.footer__desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
}

.footer__heading {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
  color: white;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  font-size: 0.875rem;
  color: var(--color-text-light);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer__link:hover {
  color: white;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

/* --- Sticky Mobile WhatsApp Bar (replaced by floating WhatsApp button) --- */
.mobile-whatsapp-bar {
  display: none !important;
}

/* --- Dual Service Toggle / Tabs --- */
.service-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.service-tab {
  padding: 0.625rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-full);
  background: white;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  color: var(--color-text-muted);
}

.service-tab:hover {
  border-color: var(--color-text-light);
}

.service-tab--plumbing.active {
  background: var(--color-plumbing);
  border-color: var(--color-plumbing);
  color: white;
}

.service-tab--electrical.active {
  background: var(--color-electrical);
  border-color: var(--color-electrical);
  color: white;
}

.service-tab--all.active {
  background: var(--color-text);
  border-color: var(--color-text);
  color: white;
}

/* --- Page-level accent theming --- */
.page--plumbing .btn--primary { background: var(--color-plumbing); color: white; }
.page--plumbing .btn--primary:hover { background: var(--color-plumbing-dark); }
.page--plumbing .section-header__tag { background: var(--color-plumbing-light); color: var(--color-plumbing); }
.page--plumbing .faq-item.active { border-color: var(--color-plumbing); }

.page--electrical .btn--primary { background: var(--color-electrical); color: white; }
.page--electrical .btn--primary:hover { background: var(--color-electrical-dark); }
.page--electrical .section-header__tag { background: var(--color-electrical-light); color: var(--color-electrical); }
.page--electrical .faq-item.active { border-color: var(--color-electrical); }

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
}

.animate-on-scroll.visible {
  animation: fadeInUp 0.6s var(--ease-out) forwards;
}

.animate-on-scroll:nth-child(2) { animation-delay: 80ms; }
.animate-on-scroll:nth-child(3) { animation-delay: 160ms; }
.animate-on-scroll:nth-child(4) { animation-delay: 240ms; }
.animate-on-scroll:nth-child(5) { animation-delay: 320ms; }
.animate-on-scroll:nth-child(6) { animation-delay: 400ms; }

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
  font-size: 0.8125rem;
  color: var(--color-text-light);
  padding: var(--space-md) 0;
}

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

.breadcrumb a:hover {
  color: var(--color-plumbing);
}

.breadcrumb__sep {
  color: var(--color-border);
}

/* --- Tag / Badge --- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.tag--plumbing {
  background: var(--color-plumbing-light);
  color: var(--color-plumbing);
}

.tag--electrical {
  background: var(--color-electrical-light);
  color: var(--color-electrical);
}

.tag--emergency {
  background: var(--color-emergency-light);
  color: var(--color-emergency);
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-muted { color: var(--color-text-muted); }
.font-bold { font-weight: 700; }
.mt-auto { margin-top: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* --- Gallery Slider --- */
.gallery {
  position: relative;
  overflow: hidden;
}

.gallery__track {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--space-md);
}

.gallery__track::-webkit-scrollbar {
  display: none;
}

.gallery__item {
  flex: 0 0 280px;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery__item:hover {
  transform: scale(1.02);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery__item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg) var(--space-md) var(--space-md);
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: white;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
}

.gallery__nav {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-lg);
}

.gallery__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--color-text);
}

.gallery__btn:hover {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-bg-dark);
}

.gallery__btn svg {
  width: 20px;
  height: 20px;
}

@media (min-width: 768px) {
  .gallery__item {
    flex: 0 0 320px;
  }
}

@media (min-width: 1024px) {
  .gallery__item {
    flex: 0 0 300px;
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 480px) {
  .gallery__item {
    flex: 0 0 240px;
    aspect-ratio: 3 / 4;
  }
}

/* Content + Sidebar layout (service pages) */
.content-sidebar {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .content-sidebar {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==========================================================================
   Popup Enquiry Form (Desktop Only)
   ========================================================================== */

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  animation: popupFadeIn 0.3s ease-out;
}

@keyframes popupFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.popup-card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl), 0 0 60px rgba(0, 0, 0, 0.15);
  max-width: 440px;
  width: 100%;
  position: relative;
  animation: popupSlideUp 0.4s var(--ease-out);
  overflow: hidden;
}

@keyframes popupSlideUp {
  from { opacity: 0; transform: translateY(32px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.popup-close:hover {
  background: rgba(255, 255, 255, 0.35);
}

.popup-header {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  color: white;
  padding: 28px 28px 24px;
  text-align: center;
}

.popup-header svg {
  margin-bottom: 8px;
  opacity: 0.9;
}

.popup-header h3 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: white;
  line-height: 1.3;
}

.popup-header p {
  margin: 0;
  font-size: 0.9375rem;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.9);
}

.popup-form {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.popup-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.popup-field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
}

.popup-field input,
.popup-field textarea {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text);
  background: var(--color-bg-alt);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.popup-field input:focus,
.popup-field textarea:focus {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
  background: white;
}

.popup-field textarea {
  resize: vertical;
  min-height: 56px;
}

.popup-error {
  color: #DC2626;
  font-size: 0.8125rem;
  margin: 0;
}

.popup-submit {
  width: 100%;
  padding: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.popup-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

.popup-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.popup-privacy {
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin: 0;
}

.popup-success {
  padding: 48px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.popup-success h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: var(--color-text);
}

.popup-success p {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text-muted);
}

/* Hide popup on mobile */
@media (max-width: 767px) {
  .popup-overlay {
    display: none !important;
  }
}

/* ==========================================================================
   WhatsApp Floating Button
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.whatsapp-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.whatsapp-button::before,
.whatsapp-button::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: whatsappPulse 2s ease-out infinite;
}

.whatsapp-button::after {
  inset: -8px;
  animation-delay: 0.5s;
  border-color: rgba(37, 211, 102, 0.2);
}

@keyframes whatsappPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.3); opacity: 0; }
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: white;
  color: var(--color-text);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: white;
}

.whatsapp-button:hover .whatsapp-tooltip {
  opacity: 1;
}

/* Hide floating WhatsApp on mobile (replaced by sticky bar) */
@media (max-width: 767px) {
  .whatsapp-float {
    display: none !important;
  }

  body {
    padding-bottom: 64px !important;
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Force Elfsight widgets above the sticky bar on mobile */
  [class*="elfsight"] {
    z-index: auto !important;
  }
}

/* ==========================================================================
   Mobile Sticky Bottom Bar (Call + WhatsApp)
   ========================================================================== */

.mobile-sticky-bar {
  display: none;
}

@media (max-width: 767px) {
  .mobile-sticky-bar {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 2147483647;
    height: 64px;
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #0F172A;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
    gap: 1px;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  .mobile-sticky-bar__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 700;
    font-family: 'Space Grotesk', system-ui, sans-serif;
    letter-spacing: 0.01em;
    text-decoration: none;
    color: #fff;
    transition: background 0.15s;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-sticky-bar__btn--call {
    background: #DC2626;
  }

  .mobile-sticky-bar__btn--call:active {
    background: #B91C1C;
  }

  .mobile-sticky-bar__btn--whatsapp {
    background: #25D366;
  }

  .mobile-sticky-bar__btn--whatsapp:active {
    background: #1DA851;
  }

  .mobile-sticky-bar__btn svg {
    flex-shrink: 0;
  }
}
