/* ============================================================
   CANDOR MOBILE COLLECTIONS — Global Design System
   Version: 2.0 | Cloudflare Pages Static Build
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@600;700;800&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
  /* Brand Colors */
  --blue:        #0A92F0;
  --blue-dark:   #0878cc;
  --blue-light:  #e0f2fe;
  --blue-xlight: #f0f9ff;
  --gray:        #6B7280;
  --gray-dark:   #374151;
  --gray-light:  #e5e7eb;
  --white:       #ffffff;
  --off-white:   #f8fafc;
  --dark:        #111827;
  --dark-2:      #1f2937;

  /* Typography */
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-heading: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Spacing */
  --section-py:  5rem;
  --container:   1200px;

  /* Borders & Radius */
  --radius:      12px;
  --radius-sm:   8px;
  --radius-lg:   20px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:      0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg:   0 10px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.08);
  --shadow-blue: 0 4px 20px rgba(10,146,240,.25);

  /* Transitions */
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%; /* Safari fix */
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  /* Safari: prevent image distortion */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

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

a:hover {
  color: var(--blue-dark);
}

/* ---- Accessibility ---- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; font-weight: 600; }

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

sup { font-size: .65em; vertical-align: super; }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Section ---- */
.section {
  padding: var(--section-py) 0;
}

.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto;
}

.text-center { text-align: center; }

.divider {
  width: 48px;
  height: 4px;
  background: var(--blue);
  border-radius: var(--radius-pill);
  margin: 1.25rem auto 1.75rem;
}

.divider-left { margin-left: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  -webkit-appearance: none; /* Safari fix */
  appearance: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

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

.btn-white {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  color: var(--blue-dark);
}

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

/* ---- Badges ---- */
.badge {
  display: inline-block;
  padding: .3rem .85rem;
  border-radius: var(--radius-pill);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.badge-blue {
  background: var(--blue-light);
  color: var(--blue-dark);
}

/* ---- Alert ---- */
.alert {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: .95rem;
}

.alert-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- Service Cards ---- */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

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

.service-card-img {
  height: 220px;
  overflow: hidden;
}

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

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

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

/* ---- Pillar Cards ---- */
.pillar-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--blue);
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.pillar-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.pillar-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ---- Split Layout ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Who We Serve Grid ---- */
.serve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.serve-chip {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}

/* ---- Home Serve Grid (premium card strip) ---- */
.home-serve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.home-serve-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  border: 1px solid rgba(10,146,240,.1);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  padding: 0;
}

.home-serve-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(10,146,240,.18);
  text-decoration: none;
}

.home-serve-accent {
  height: 5px;
  background: linear-gradient(90deg, #0A92F0 0%, #6B7280 100%);
  flex-shrink: 0;
}

.home-serve-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(10,146,240,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 1.5rem .75rem;
  flex-shrink: 0;
}

.home-serve-card h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 1.5rem .4rem;
  line-height: 1.35;
}

.home-serve-card p {
  font-size: .82rem;
  color: #6b7280;
  margin: 0 1.5rem 1.5rem;
  line-height: 1.6;
}

/* ---- Highlight Bar ---- */
.highlight-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  padding: 1.1rem 0;
}

.highlight-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dark);
}

.highlight-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2.5;
  flex-shrink: 0;
}

.highlight-sep {
  width: 1px;
  height: 24px;
  background: var(--gray-light);
}

/* ---- Hero — Full-Bleed, Logo-Centered ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}

/* Hero background + overlay */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 18, 35, 0.88) 0%,
    rgba(10, 18, 35, 0.72) 50%,
    rgba(10, 146, 240, 0.22) 100%
  );
}

/* Hero body — sits above overlay */
.hero-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 5rem 0 7rem;
}

.hero-content {
  max-width: 760px;
}

/* Approved logo — hero centerpiece */
.hero-logo-wrap {
  margin-bottom: 2rem;
  /* No background — transparent PNG sits directly on dark overlay */
  background: transparent;
  display: inline-block;
}

.hero-logo {
  display: block;
  max-width: 620px;
  width: 100%;
  height: auto;
  /* Subtle glow to lift the logo off the dark background */
  filter: drop-shadow(0 4px 24px rgba(10,146,240,.25));
  -webkit-filter: drop-shadow(0 4px 24px rgba(10,146,240,.25));
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(10,146,240,.12);
  border: 1px solid rgba(10,146,240,.3);
  color: rgba(255,255,255,.85);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.hero-label svg {
  width: 10px;
  height: 10px;
  fill: var(--blue);
  flex-shrink: 0;
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  line-height: 1.18;
  font-weight: 800;
}

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

.hero-sub {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

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

/* Hero Stats Strip — anchored to bottom of hero */
.hero-badge-strip {
  position: relative;
  z-index: 2;
  background: rgba(10, 18, 35, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.1);
}

.hero-badge-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
  padding: 0 2.5rem;
}

.hero-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  font-family: var(--font-heading);
}

.hero-stat span {
  display: block;
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: .3rem;
}

.hero-stat-sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.15);
  flex-shrink: 0;
}

/* ---- Page Hero ---- */
.page-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  padding-top: 80px;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17,24,39,.65) 0%,
    rgba(17,24,39,.85) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 3rem;
  padding-bottom: 3.5rem;
}

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

.page-hero-content p {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 0;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color var(--transition);
}

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

.breadcrumb span:last-child {
  color: rgba(255,255,255,.9);
}

.breadcrumb-sep {
  color: rgba(255,255,255,.4);
}

/* ---- CTA Section ---- */
.cta-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, #0a4a7a 100%);
  padding: 5rem 0;
  text-align: center;
}

.cta-section .section-label {
  color: #7dd3fc;
}

.cta-section h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 700px;
  margin: 0 auto 1.25rem;
}

.cta-section p {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

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

/* ---- Navigation ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-light);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), box-shadow var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1.5rem;
}

.nav-logo img {
  height: 80px;
  width: auto;
  display: block;
  -webkit-filter: none;
  filter: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-links > a,
.nav-dropdown > a {
  padding: .5rem .85rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  display: flex;
  align-items: center;
  gap: .3rem;
  white-space: nowrap;
}

.nav-links > a:hover,
.nav-dropdown > a:hover,
.nav-links > a.active,
.nav-dropdown > a.active {
  background: var(--blue-light);
  color: var(--blue);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  min-width: 280px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-light);
  padding: .5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--dark);
  font-size: .9rem;
  text-decoration: none;
  transition: background var(--transition);
}

.nav-dropdown-menu a:hover {
  background: var(--blue-xlight);
  color: var(--blue);
}

.dd-icon {
  width: 36px;
  height: 36px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .1rem;
}

.dd-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-dropdown-menu small {
  display: block;
  font-size: .78rem;
  color: var(--gray);
  margin-top: .15rem;
}

.nav-dropdown-menu strong {
  font-size: .9rem;
  font-weight: 600;
}

/* CTA in nav */
.nav-cta {
  padding: .55rem 1.35rem;
  font-size: .88rem;
  flex-shrink: 0;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.nav-toggle:hover {
  background: var(--blue-light);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--blue);
  color: rgba(255,255,255,.9);
  padding: 4rem 0 0;
}

.site-footer svg {
  color: rgba(255,255,255,.9);
  stroke: rgba(255,255,255,.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand img {
  margin-bottom: 1.25rem;
}

.footer-logo-img {
  max-width: 240px;
  height: auto;
  display: block;
}

.footer-brand p {
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(255,255,255,.8);
}

.footer-social {
  display: flex;
  gap: .75rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.9);
  transition: background var(--transition), color var(--transition);
}

.footer-social a:hover {
  background: var(--white);
  color: var(--blue-dark);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-col h5 {
  color: var(--white);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  opacity: 1;
}

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

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

.footer-col ul li a {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .9rem;
  font-size: .9rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff !important;
  color: #ffffff !important;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: .2rem;
}

.footer-contact-item a,
.footer-contact-item span {
  color: rgba(255,255,255,.9);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-contact-item a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  border-top: 1px solid rgba(255,255,255,.2);
  flex-wrap: wrap;
}

.footer-kirauni {
  text-align: center;
  padding: .75rem 0 .25rem;
  font-size: .75rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .02em;
}
.footer-kirauni a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-weight: 500;
  transition: color .2s;
}
.footer-kirauni a:hover {
  color: #fff;
}

/* ---- Forms ---- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: .4rem;
}

.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none; /* Safari fix */
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10,146,240,.15);
}

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

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* ---- FAQ Accordion ---- */
.faq-accordion {
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--gray-light);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: .98rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  transition: background var(--transition);
  -webkit-appearance: none; /* Safari fix */
  appearance: none;
}

.faq-question:hover {
  background: var(--blue-xlight);
}

.faq-item.open .faq-question {
  background: var(--blue-xlight);
  color: var(--blue);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--gray);
  transition: transform var(--transition);
}

.faq-item.open .faq-icon svg {
  transform: rotate(180deg);
  stroke: var(--blue);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: var(--white);
}

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  font-size: .95rem;
  color: var(--gray-dark);
  line-height: 1.75;
}

.faq-answer p + p {
  padding-top: 0;
}

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

.animate-fade-up {
  animation: fadeUp 0.65s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* ============================================================
   RESPONSIVE — Tablet (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --section-py: 4rem;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

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

  /* Hero split — tablet: reduce padding */
  .hero-split {
    grid-template-columns: 55% 45%;
  }

  .hero-left-inner {
    padding: 4rem 2.5rem 4rem 3rem;
  }

  .hero-wordmark-name {
    font-size: 1.75rem;
  }

  .hero-cred-strip {
    flex-wrap: wrap;
    row-gap: 1rem;
  }

  .hero-cred {
    padding: 0 1rem;
  }
}

/* ============================================================
   RESPONSIVE — Mobile (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-py: 3rem;
  }

  h1 { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  h2 { font-size: clamp(1.4rem, 5vw, 2rem); }

  /* Nav mobile */
  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-light);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: .25rem;
    z-index: 999;
  }

  .nav-mobile-open .nav-links {
    display: flex;
  }

  .nav-links > a,
  .nav-dropdown > a {
    padding: .75rem 1rem;
    font-size: 1rem;
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 1rem;
    background: var(--blue-xlight);
    border-radius: var(--radius-sm);
    margin-top: .25rem;
  }

  .nav-dropdown-menu a {
    font-size: .9rem;
  }

  /* Grids */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split-img {
    order: -1;
  }

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

  /* Hero logo — full-bleed edge-to-edge on mobile */
  .hero-logo-wrap {
    display: block;
    text-align: center;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    margin-bottom: 2.5rem;
    width: calc(100% + 3rem);
  }

  .hero-logo {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 6px 32px rgba(10,146,240,.6));
    -webkit-filter: drop-shadow(0 6px 32px rgba(10,146,240,.6));
  }

  .hero-content {
    max-width: 100%;
    text-align: left;
  }

  .hero-body {
    padding: 3rem 0 5rem;
    align-items: flex-start;
  }

  /* Hero split — mobile: stack vertically */
  .hero-split {
    grid-template-columns: 1fr;
    grid-template-rows: auto 50vw;
    min-height: unset;
  }

  .hero-left-inner {
    padding: 3rem 1.5rem 2.5rem;
  }

  .hero-right {
    min-height: 50vw;
  }

  .hero-trust-badge {
    bottom: 1rem;
    left: 1rem;
    padding: .7rem 1rem;
  }

  .hero-cred-strip {
    flex-wrap: wrap;
    row-gap: .75rem;
  }

  .hero-cred-sep {
    display: none;
  }

  .hero-cred {
    padding: 0 .75rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* CTA */
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: .5rem;
  }

  /* Highlight bar */
  .highlight-bar .container {
    flex-direction: column;
    gap: .75rem;
  }

  .highlight-sep {
    display: none;
  }

  /* Page hero */
  .page-hero {
    min-height: 280px;
  }
}

/* ============================================================
   RESPONSIVE — Small Mobile (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  .serve-grid,
  .home-serve-grid {
    grid-template-columns: 1fr;
  }

  /* Hero logo — full-bleed on small mobile */
  .hero-logo-wrap {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    margin-bottom: 2rem;
    width: calc(100% + 3rem);
  }

  .hero-logo {
    max-width: 100%;
    width: 100%;
    filter: drop-shadow(0 6px 36px rgba(10,146,240,.65));
    -webkit-filter: drop-shadow(0 6px 36px rgba(10,146,240,.65));
  }

  .hero-body {
    padding: 2.5rem 0 4rem;
  }

  .btn-lg {
    padding: .85rem 1.5rem;
    font-size: .95rem;
  }
}

/* ============================================================
   SAFARI-SPECIFIC FIXES
   ============================================================ */

/* Fix for Safari position:fixed + backdrop-filter */
@supports (-webkit-backdrop-filter: blur(1px)) {
  .site-header {
    -webkit-backdrop-filter: blur(12px);
  }
  .hero-label {
    -webkit-backdrop-filter: blur(8px);
  }
  .hero-badge-strip {
    -webkit-backdrop-filter: blur(12px);
  }
}

/* Fix for Safari gap in flexbox (older versions) */
@supports not (gap: 1rem) {
  .hero-actions > * + * { margin-left: 1rem; }
  .cta-actions > * + * { margin-left: 1rem; }
  .nav-links > * + * { margin-left: .25rem; }
}

/* Fix for Safari 100vh including toolbar */
@supports (-webkit-touch-callout: none) {
  .hero {
    min-height: -webkit-fill-available;
  }
}

/* Fix for Safari button rendering */
button {
  -webkit-appearance: none;
  appearance: none;
}

/* Fix for Safari input zoom on focus (font-size must be ≥16px) */
@media (max-width: 768px) {
  .form-control {
    font-size: 16px; /* Prevents Safari auto-zoom */
  }
}

/* Fix for Safari object-fit on images */
.service-card-img img,
.split-img img {
  -webkit-object-fit: cover;
  object-fit: cover;
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .site-header,
  .hero-badge-strip,
  .cta-section,
  .site-footer,
  .nav-toggle {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}
