/* ==========================================================================
   ANANDAM SAFETY NETS — GLOBAL DESIGN SYSTEM & RESPONSIVE STYLESHEET
   Palette:
   - Deep Midnight Navy: #10243A
   - Safety Teal:        #0F9D8A
   - Vibrant Amber:      #FFB547
   - Pure White:         #FFFFFF
   - Light Mist BG:      #F3F7FA
   - Dark Body Text:     #263445
   ========================================================================== */

:root {
  --color-navy: #10243A;
  --color-navy-dark: #0A1727;
  --color-navy-light: #1A3656;
  --color-teal: #0F9D8A;
  --color-teal-dark: #0B7B6C;
  --color-teal-light: #E6F6F4;
  --color-amber: #FFB547;
  --color-amber-dark: #E09422;
  --color-amber-light: #FFF6E6;
  --color-white: #FFFFFF;
  --color-mist: #F3F7FA;
  --color-mist-dark: #E3ECF3;
  --color-text: #263445;
  --color-text-muted: #526377;
  --color-border: #D7E2EC;
  --color-success: #0D8A6A;
  --color-error: #C93535;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

  --shadow-sm: 0 2px 8px rgba(16, 36, 58, 0.06);
  --shadow-md: 0 8px 24px rgba(16, 36, 58, 0.09);
  --shadow-lg: 0 16px 40px rgba(16, 36, 58, 0.14);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --container-max: 1280px;
  --container-wide: 1400px;
  --header-height: 98px;
  --transition-base: 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.65;
  font-size: clamp(0.95rem, 0.92rem + 0.18vw, 1.0625rem);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
  width: 100%;
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base), background-color var(--transition-base), border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Ensure flex and grid children never force horizontal scroll */
.grid > *,
.flex > *,
.hero-grid > *,
.zigzag-item > *,
.service-card,
.feature-card,
.footer-grid > *,
.contact-grid > * {
  min-width: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
li,
a,
span {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Keyboard Focus Visibility */
:focus-visible {
  outline: 3px solid var(--color-amber);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-amber);
  color: var(--color-navy);
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* --------------------------------------------------------------------------
   2. TYPOGRAPHY & FLUID SIZING
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.85rem, 1.45rem + 2.1vw, 3.25rem);
}

h2 {
  font-size: clamp(1.55rem, 1.3rem + 1.35vw, 2.4rem);
}

h3 {
  font-size: clamp(1.18rem, 1.08rem + 0.5vw, 1.48rem);
}

h4 {
  font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-teal);
  background: var(--color-teal-light);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.9rem;
}

.section-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-amber);
  flex-shrink: 0;
}

.section-tag--dark {
  background: rgba(15, 157, 138, 0.2);
  color: var(--color-amber);
  border: 1px solid rgba(255, 181, 71, 0.35);
}

.section-header {
  max-width: 760px;
  margin: 0 auto clamp(2rem, 4vw, 3.25rem);
  text-align: center;
}

.section-header p {
  margin-top: 0.85rem;
  color: var(--color-text-muted);
  font-size: clamp(0.98rem, 0.94rem + 0.25vw, 1.12rem);
}

/* --------------------------------------------------------------------------
   3. CONTAINERS & SECTION SPACING
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.section {
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

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

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

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--color-white);
}

.section--navy p {
  color: rgba(255, 255, 255, 0.84);
}

/* --------------------------------------------------------------------------
   4. BUTTONS & INTERACTIVE CTAs
   -------------------------------------------------------------------------- */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.45rem;
  font-weight: 600;
  font-size: 0.96rem;
  border-radius: var(--radius-sm);
  text-align: center;
  line-height: 1.25;
  border: 2px solid transparent;
  transition: var(--transition-base);
  max-width: 100%;
}

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

.btn--primary {
  background-color: var(--color-teal);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(15, 157, 138, 0.28);
}

.btn--primary:hover {
  background-color: var(--color-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 157, 138, 0.36);
}

.btn--amber {
  background-color: var(--color-amber);
  color: var(--color-navy);
  font-weight: 700;
}

.btn--amber:hover {
  background-color: var(--color-amber-dark);
  transform: translateY(-2px);
}

.btn--outline-white {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-navy);
  border-color: var(--color-white);
}

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

.btn--outline-navy:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.btn--whatsapp {
  background-color: #128C7E;
  color: var(--color-white);
}

.btn--whatsapp:hover {
  background-color: #0D6E63;
  transform: translateY(-2px);
}

.btn--sm {
  min-height: 42px;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   5. GLOBAL STICKY HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-navy);
  color: var(--color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(10, 23, 39, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 0.75rem;
  padding-block: 0.5rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  background-color: var(--color-white);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-md);
  border: 2px solid rgba(15, 157, 138, 0.55);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.26);
  min-width: 0;
  flex-shrink: 1;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.brand-logo:hover {
  border-color: var(--color-amber);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.34);
}

.brand-logo img {
  height: clamp(54px, 5.2vw, 72px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  flex-shrink: 0;
}

.site-footer .brand-logo {
  padding: 0.55rem 1.05rem;
  margin-bottom: 1.25rem;
}

.site-footer .brand-logo img {
  height: clamp(64px, 6vw, 82px);
  width: auto;
}

/* Mobile Menu Button */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  flex-shrink: 0;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* Navigation Menu (Mobile First) */
.main-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background-color: var(--color-navy-dark);
  border-bottom: 2px solid var(--color-teal);
  padding: 1.25rem clamp(1rem, 4vw, 2rem) 1.75rem;
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
  transform: translateY(-120%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s ease, opacity 0.25s ease, visibility 0.25s ease;
  box-shadow: var(--shadow-lg);
}

.main-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.9);
}

.nav-link:hover,
.nav-link.active {
  background-color: rgba(15, 157, 138, 0.18);
  color: var(--color-amber);
}

/* Dropdown Inside Nav */
.dropdown-menu {
  display: none;
  padding-left: 1rem;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
  border-left: 2px solid rgba(15, 157, 138, 0.5);
}

.nav-item.dropdown-open .dropdown-menu {
  display: block;
}

.dropdown-link {
  display: block;
  padding: 0.55rem 0.85rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-sm);
}

.dropdown-link:hover {
  color: var(--color-amber);
  background: rgba(255, 255, 255, 0.06);
}

.header-cta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.header-cta .btn {
  width: 100%;
}

/* Desktop Navigation (1024px and up) */
@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    background: transparent;
    border: none;
    padding: 0;
    max-height: none;
    overflow: visible;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    display: flex;
    align-items: center;
    gap: 1.25rem;
  }

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

  .nav-link {
    padding: 0.55rem 0.8rem;
    font-size: 0.93rem;
    gap: 0.35rem;
    white-space: nowrap;
  }

  .nav-link.active {
    background-color: rgba(15, 157, 138, 0.22);
    color: var(--color-amber);
  }

  .nav-item--has-dropdown:hover .dropdown-menu,
  .nav-item--has-dropdown:focus-within .dropdown-menu,
  .nav-item.dropdown-open .dropdown-menu {
    display: block;
  }

  .nav-item--has-dropdown:hover .dropdown-menu--safety-nets,
  .nav-item--has-dropdown:focus-within .dropdown-menu--safety-nets,
  .nav-item.dropdown-open .dropdown-menu--safety-nets {
    display: grid;
    grid-template-columns: repeat(2, minmax(215px, 1fr));
    gap: 0.15rem 0.5rem;
    min-width: 460px;
  }

  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    max-height: 78vh;
    overflow-y: auto;
    background-color: var(--color-navy);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-top: 3px solid var(--color-teal);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: 0.65rem;
    margin: 0;
    box-shadow: var(--shadow-lg);
    z-index: 1100;
  }

  .header-cta {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    flex-direction: row;
  }

  .header-cta .btn {
    width: auto;
    white-space: nowrap;
    padding: 0.6rem 1.15rem;
    min-height: 44px;
  }
}

/* --------------------------------------------------------------------------
   6. HERO SECTIONS (HOME & INNER PAGES)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background-color: var(--color-navy);
  color: var(--color-white);
  padding-block: clamp(2.75rem, 6vw, 5.25rem);
  overflow: hidden;
  border-bottom: 4px solid var(--color-teal);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 157, 138, 0.16) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

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

.hero-content h1 span {
  color: var(--color-amber);
}

.hero-lead {
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.18rem);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.75rem;
  max-width: 620px;
}

.hero-contact-strip {
  margin-top: 1.65rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.hero-phone-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-md);
}

.hero-phone-badge:hover {
  border-color: var(--color-amber);
  background: rgba(255, 255, 255, 0.11);
}

.hero-phone-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-amber);
  color: var(--color-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-phone-meta small {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
}

.hero-phone-meta strong {
  font-size: 1.05rem;
  color: var(--color-white);
  letter-spacing: 0.01em;
}

.hero-visual {
  position: relative;
  order: -1;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(15, 157, 138, 0.55);
  box-shadow: var(--shadow-lg);
  background-color: var(--color-navy-dark);
}

.hero-image-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  object-position: center;
}

.hero-floating-card {
  margin-top: 1rem;
  background: var(--color-navy-light);
  border: 1px solid rgba(255, 181, 71, 0.4);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.hero-floating-card svg {
  width: 28px;
  height: 28px;
  color: var(--color-amber);
  flex-shrink: 0;
}

.hero-floating-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
  }

  .hero-visual {
    order: 0;
  }
}

/* Inner Page Hero & Breadcrumb */
.page-hero {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding-block: clamp(2.5rem, 5vw, 4.25rem);
  border-bottom: 4px solid var(--color-teal);
  position: relative;
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: 0.9rem;
  max-width: 880px;
}

.page-hero h1 span {
  color: var(--color-amber);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1rem;
}

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

.breadcrumb-sep {
  color: var(--color-teal);
}

.breadcrumb [aria-current="page"] {
  color: var(--color-amber);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   7. FEATURE & BENEFIT CARDS
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

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

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

.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background-color: var(--color-teal-light);
  color: var(--color-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.feature-card h3 {
  font-size: 1.18rem;
}

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

/* --------------------------------------------------------------------------
   8. SERVICE CARDS GRID
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-base);
}

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

.service-card-media {
  position: relative;
  background-color: var(--color-navy);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-media img {
  transform: scale(1.04);
}

.service-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(16, 36, 58, 0.9);
  color: var(--color-amber);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 181, 71, 0.4);
}

.service-card-body {
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-body h3 {
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

.service-card-body p {
  color: var(--color-text-muted);
  font-size: 0.94rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--color-teal);
  font-weight: 700;
  font-size: 0.93rem;
  margin-top: auto;
}

.service-card-link:hover {
  color: var(--color-navy);
  gap: 0.65rem;
}

/* --------------------------------------------------------------------------
   9. ZIGZAG SERVICE SECTIONS (SAFETY NETS & INVISIBLE GRILLS PAGES)
   -------------------------------------------------------------------------- */
.zigzag-list {
  display: flex;
  flex-direction: column;
  gap: clamp(2.25rem, 5vw, 4rem);
}

.zigzag-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: center;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}

.zigzag-item--mist {
  background-color: var(--color-mist);
}

.zigzag-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-navy);
  border: 1px solid var(--color-border);
}

.zigzag-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.zigzag-content {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.zigzag-number {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-teal);
}

.zigzag-content h3 {
  font-size: clamp(1.3rem, 1.15rem + 0.7vw, 1.75rem);
}

.zigzag-content p {
  color: var(--color-text-muted);
}

.zigzag-meta {
  background: var(--color-mist);
  border-left: 3px solid var(--color-teal);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
  color: var(--color-text);
}

.zigzag-item--mist .zigzag-meta {
  background: var(--color-white);
}

/* Desktop Alternating Layout:
   Odd items: Image Left, Text Right
   Even items: Text Left, Image Right
   Mobile stacks Image above Text naturally because .zigzag-media is first in DOM */
@media (min-width: 900px) {
  .zigzag-item {
    grid-template-columns: repeat(2, 1fr);
  }

  .zigzag-item:nth-child(even) .zigzag-media {
    order: 2;
  }

  .zigzag-item:nth-child(even) .zigzag-content {
    order: 1;
  }
}

/* --------------------------------------------------------------------------
   10. PROCESS STEPS & WHY CHOOSE US
   -------------------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@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-step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  position: relative;
}

.process-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-amber);
  color: var(--color-navy);
  font-weight: 800;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}

/* --------------------------------------------------------------------------
   11. COMPARISON TABLE / RESPONSIVE CARDS
   -------------------------------------------------------------------------- */
.comparison-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  background: var(--color-white);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.comparison-table thead th {
  background-color: var(--color-navy);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1rem;
}

.comparison-table thead th:nth-child(2) {
  border-bottom: 3px solid var(--color-teal);
}

.comparison-table thead th:nth-child(3) {
  border-bottom: 3px solid var(--color-amber);
}

.comparison-table tbody tr:nth-child(even) {
  background-color: var(--color-mist);
}

.comparison-table td:first-child {
  font-weight: 700;
  color: var(--color-navy);
  width: 24%;
}

@media (max-width: 680px) {
  .comparison-table,
  .comparison-table thead,
  .comparison-table tbody,
  .comparison-table th,
  .comparison-table td,
  .comparison-table tr {
    display: block;
  }

  .comparison-table thead {
    display: none;
  }

  .comparison-table tbody tr {
    padding: 1rem;
    border-bottom: 2px solid var(--color-border);
  }

  .comparison-table td {
    padding: 0.5rem 0;
    border: none;
    width: 100% !important;
  }

  .comparison-table td:first-child {
    font-size: 1.05rem;
    color: var(--color-teal-dark);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.45rem;
    margin-bottom: 0.45rem;
  }

  .comparison-table td[data-label]::before {
    content: attr(data-label) ": ";
    font-weight: 700;
    color: var(--color-navy);
    display: block;
    margin-bottom: 0.15rem;
  }
}

/* --------------------------------------------------------------------------
   12. GALLERY SECTION
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

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

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

.gallery-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.gallery-caption {
  padding: 1rem 1.15rem;
}

.gallery-caption h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.gallery-caption p {
  font-size: 0.86rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   13. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-container {
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

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

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.15rem 1.35rem;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--color-white);
  transition: background-color 0.2s ease;
}

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

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-teal-light);
  color: var(--color-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  background: var(--color-teal);
  color: var(--color-white);
}

.faq-answer {
  padding: 0 1.35rem 1.25rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-mist-dark);
  padding-top: 1rem;
}

.faq-answer[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   14. CONTACT FORM & ENQUIRY LAYOUT
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 0.92fr 1.08fr;
  }
}

.contact-info-card {
  background-color: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-md);
}

.contact-info-card h2 {
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.contact-info-card > p {
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 1.75rem;
}

.contact-method-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.contact-method-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1.1rem;
  border-radius: var(--radius-md);
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-teal);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method-body h3 {
  color: var(--color-amber);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.contact-method-body a {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--color-white);
  display: inline-block;
}

.contact-method-body a:hover {
  color: var(--color-amber);
}

.contact-method-body p {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.2rem;
}

.contact-form-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-navy);
}

.form-label .required {
  color: var(--color-error);
}

.form-control {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(15, 157, 138, 0.18);
}

.form-control.is-invalid {
  border-color: var(--color-error);
  background-color: #FFF8F8;
}

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

.field-error {
  font-size: 0.82rem;
  color: var(--color-error);
  font-weight: 600;
  min-height: 1.1rem;
}

.form-status {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.94rem;
  margin-bottom: 1rem;
}

.form-status--success {
  background-color: var(--color-teal-light);
  color: var(--color-navy);
  border-left: 4px solid var(--color-teal);
}

.form-status--error {
  background-color: #FDECEC;
  color: var(--color-error);
  border-left: 4px solid var(--color-error);
}

/* --------------------------------------------------------------------------
   15. CALL-TO-ACTION BANNER
   -------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3.75rem);
  color: var(--color-white);
  border: 1px solid rgba(15, 157, 138, 0.4);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: space-between;
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.86);
  max-width: 640px;
}

@media (min-width: 900px) {
  .cta-banner {
    flex-direction: row;
    align-items: center;
  }
}

/* --------------------------------------------------------------------------
   16. GLOBAL FOOTER & FLOATING WHATSAPP
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.82);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 4px solid var(--color-teal);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  padding-bottom: 3rem;
}

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

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

.footer-col h3 {
  color: var(--color-white);
  font-size: 1.08rem;
  margin-bottom: 1.1rem;
  position: relative;
  padding-bottom: 0.55rem;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background-color: var(--color-amber);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.footer-links a:hover {
  color: var(--color-amber);
  padding-left: 4px;
}

.footer-contact-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.68);
}

/* Floating Call (Bottom-Left) & WhatsApp (Bottom-Right) Buttons */
.call-float {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 990;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--color-teal);
  color: var(--color-white);
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(15, 157, 138, 0.45);
  font-weight: 700;
  font-size: 0.92rem;
  border: 2px solid var(--color-white);
  text-decoration: none;
  transition: var(--transition-base);
}

.call-float:hover {
  background-color: var(--color-navy);
  color: var(--color-amber);
  border-color: var(--color-amber);
  transform: translateY(-3px);
}

.call-float svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.whatsapp-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 990;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: #128C7E;
  color: var(--color-white);
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(18, 140, 126, 0.45);
  font-weight: 700;
  font-size: 0.92rem;
  border: 2px solid var(--color-white);
}

.whatsapp-float:hover {
  background-color: #0D6E63;
  transform: translateY(-3px);
}

.whatsapp-float svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .call-float span,
  .whatsapp-float span {
    display: none;
  }
  .call-float,
  .whatsapp-float {
    padding: 0.85rem;
    border-radius: 50%;
  }
}

/* Category Quick Jump Pills & On-Page Services Dropdown Button */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.category-pill {
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  background: var(--color-mist);
  border: 1px solid var(--color-border);
  color: var(--color-navy);
  font-weight: 600;
  font-size: 0.9rem;
}

.category-pill:hover {
  background: var(--color-teal);
  color: var(--color-white);
  border-color: var(--color-teal);
}

.service-dropdown {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.service-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius-pill);
  background-color: var(--color-navy);
  color: var(--color-white);
  border: 2px solid var(--color-teal);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

.service-dropdown-toggle:hover,
.service-dropdown.is-open .service-dropdown-toggle {
  background-color: var(--color-teal);
  border-color: var(--color-teal);
  color: var(--color-white);
}

.service-dropdown-toggle svg {
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.service-dropdown.is-open .service-dropdown-toggle svg {
  transform: rotate(180deg);
}

.service-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(92vw, 560px);
  max-height: 70vh;
  overflow-y: auto;
  background-color: var(--color-navy);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 3px solid var(--color-amber);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  box-shadow: var(--shadow-lg);
  z-index: 950;
  list-style: none;
  margin: 0;
}

.service-dropdown.is-open .service-dropdown-menu {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.2rem;
}

@media (min-width: 640px) {
  .service-dropdown.is-open .service-dropdown-menu {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.25rem 0.6rem;
  }
}

.service-dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition-base);
}

.service-dropdown-menu a:hover {
  background-color: rgba(15, 157, 138, 0.25);
  color: var(--color-amber);
}

/* Directory Links Grid on Services Page */
.directory-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

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

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

.directory-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.15rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--color-navy);
}

.directory-link-card:hover {
  border-color: var(--color-teal);
  background: var(--color-teal-light);
  transform: translateX(3px);
}

/* Legal Pages (Privacy Policy & Terms and Conditions) */
.legal-wrapper {
  max-width: 920px;
  margin-inline: auto;
}

.legal-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-sm);
}

.legal-meta {
  display: inline-block;
  background: var(--color-mist);
  border-left: 3px solid var(--color-teal);
  padding: 0.65rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.legal-section {
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--color-border);
}

.legal-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.legal-section h2 {
  font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  color: var(--color-navy);
  margin-bottom: 0.85rem;
}

.legal-section p {
  color: var(--color-text);
  margin-bottom: 0.85rem;
  line-height: 1.75;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-list {
  list-style: disc;
  padding-left: 1.4rem;
  margin-top: 0.5rem;
  margin-bottom: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: var(--color-text);
}

.legal-list li {
  line-height: 1.65;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.25rem;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal-links a:hover {
  color: var(--color-amber);
}

/* Small Mobile Refinements (320px - 374px) */
@media (max-width: 374px) {
  .brand-logo {
    padding: 0.3rem 0.6rem;
  }
  .brand-logo img {
    height: 46px;
    width: auto;
  }
  .site-footer .brand-logo img {
    height: 58px;
    width: auto;
  }
  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-group .btn {
    width: 100%;
  }
  .hero-phone-badge {
    width: 100%;
  }
}

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