/* ================================================
   PAVICTEK DIGITAL LTD — Main Stylesheet
   Brand: #040428 (navy) | #FF0000 (red) | #FFFFFF
   ================================================ */

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

/* ================================================
   CSS VARIABLES
   ================================================ */
:root {
  --primary:       #040428;
  --primary-rgb:   4, 4, 40;
  --primary-light: #080860;
  --accent:        #FF0000;
  --accent-dark:   #CC0000;
  --accent-rgb:    255, 0, 0;
  --white:         #FFFFFF;
  --light:         #F8F9FC;
  --light2:        #F1F3F8;
  --gray:          #6B7280;
  --gray-dark:     #374151;
  --text:          #111827;
  --border:        #E5E7EB;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
  --shadow:        0 4px 6px -1px rgba(0,0,0,.10), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-md:     0 10px 15px -3px rgba(0,0,0,.10), 0 4px 6px -2px rgba(0,0,0,.05);
  --shadow-lg:     0 20px 25px -5px rgba(0,0,0,.10), 0 10px 10px -5px rgba(0,0,0,.04);
  --shadow-xl:     0 25px 50px -12px rgba(0,0,0,.25);
  --radius:        8px;
  --radius-md:     12px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --radius-full:   9999px;
  --transition:    .3s ease;
  --container:     1200px;
  --nav-height:    80px;
}

/* ================================================
   RESET & BASE
   ================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; overflow-x: hidden; background-color: var(--primary); }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--primary);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ================================================
   TYPOGRAPHY
   ================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}
h1 { font-size: clamp(2.1rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.625rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.2rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-accent  { color: var(--accent); }
.text-white   { color: var(--white); }
.text-gray    { color: var(--gray); }
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.fw-600       { font-weight: 600; }
.fw-700       { font-weight: 700; }

/* ================================================
   LAYOUT
   ================================================ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 1.5rem; }

.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }

.section-header { margin-bottom: 3rem; }
.section-header.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

.section-label {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .625rem;
}

.section-title  { margin-bottom: .875rem; }

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--gray);
  max-width: 620px;
  line-height: 1.7;
}

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

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }

/* Spacers */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 1.875rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.25;
}
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), .35);
  color: var(--white);
}

.btn-navy {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-navy:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), .35);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-accent {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline-accent:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-navy:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg { padding: 1.0625rem 2.375rem; font-size: 1.0625rem; }
.btn-sm { padding: .625rem 1.25rem; font-size: .875rem; }

/* Arrow on link buttons */
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  color: var(--accent);
  font-weight: 600;
  font-size: .9375rem;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  transition: gap var(--transition);
}
.btn-link:hover { gap: .625rem; }
.btn-link svg { width: 16px; height: 16px; }

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background .4s ease, box-shadow .4s ease, height .3s ease;
  background: transparent;
}
.navbar.scrolled {
  background: var(--primary);
  box-shadow: 0 4px 24px rgba(var(--primary-rgb), .4);
  height: 68px;
}
.navbar.nav-solid { background: var(--primary); height: 68px; }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}

.nav-logo img { height: 48px; width: auto; }
.nav-logo-white { display: block; }
.nav-logo-color { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .125rem;
  flex: 1;
  justify-content: center;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .5625rem .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.88);
  border-radius: var(--radius);
  font-size: .9375rem;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,.1); }
.nav-link.active { color: var(--accent); }

.nav-chevron {
  width: 14px; height: 14px;
  transition: transform .3s;
  flex-shrink: 0;
}
.nav-item:hover .nav-chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + .75rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: .625rem;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
  z-index: 200;
  border: 1px solid var(--border);
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .625rem .875rem;
  color: var(--gray-dark);
  border-radius: var(--radius);
  font-size: .9375rem;
  font-weight: 500;
  transition: var(--transition);
}
.dropdown-link:hover { background: var(--light); color: var(--accent); padding-left: 1.125rem; }
.dropdown-link-icon { color: var(--accent); font-size: 1.125rem; flex-shrink: 0; }

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: calc(100% + .75rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 760px;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
  z-index: 200;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem;
}
.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-section-title {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray);
  padding: .5rem .875rem .25rem;
  grid-column: 1 / -1;
}

.mega-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .625rem .875rem;
  color: var(--gray-dark);
  border-radius: var(--radius);
  font-size: .9375rem;
  font-weight: 500;
  transition: var(--transition);
}
.mega-link:hover { background: var(--light); color: var(--accent); }
.mega-link-icon {
  width: 36px; height: 36px;
  background: rgba(var(--accent-rgb), .08);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 1.125rem; flex-shrink: 0;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: .875rem;
  flex-shrink: 0;
}

.nav-phone {
  color: rgba(255,255,255,.75);
  font-size: .875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: .375rem;
}
.nav-phone:hover { color: var(--white); }

/* Mobile icon CTA buttons */
.nav-mobile-icons {
  display: none;
  align-items: center;
  gap: .375rem;
}
.nav-icon-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: rgba(255,255,255,.9);
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
  cursor: pointer;
}
.nav-icon-btn:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.35); color: #fff; }

/* Mobile call dropdown */
.mob-call-wrap { position: relative; }
.mob-call-dd {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(4,4,40,.97);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: .5rem;
  min-width: 260px;
  z-index: 1200;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0,0,0,.7);
  display: none;
}
.mob-call-wrap.open .mob-call-dd { display: block; }
.mob-call-lbl {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  padding: .3rem .75rem .5rem;
}
.mob-call-link {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .7rem .875rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background .18s;
}
.mob-call-link:hover { background: rgba(255,255,255,.07); }
.mob-flag { width: 28px; height: 20px; border-radius: 3px; flex-shrink: 0; box-shadow: 0 1px 4px rgba(0,0,0,.3); background-size: cover !important; }
.mob-call-info { display: flex; flex-direction: column; gap: .1rem; }
.mob-call-country { font-size: .75rem; font-weight: 600; color: #fff; }
.mob-call-num { font-size: .9rem; font-weight: 700; color: #fff; white-space: nowrap; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  background: none;
  border: none;
  position: relative;
  z-index: 1100;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Menu — accordion redesign ───────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 1200;          /* ABOVE navbar (1100) so close btn is always tappable */
  flex-direction: column;
  overflow: hidden;
}
.mobile-menu.open { display: flex; }

/* Head bar: logo + close button */
.mm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
  height: var(--nav-height);
}
.mm-head-logo { height: 38px; display: block; }

/* Close (X) button */
.mm-close {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s;
}
.mm-close:hover { background: rgba(255,255,255,.2); }

/* Scrollable nav area */
.mm-nav { flex: 1; overflow-y: auto; padding: .375rem 0; }

/* Top-level plain links (Home, Our Projects, Blog, Contact) */
.mm-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1.375rem;
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: background .18s, color .18s;
}
.mm-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.mm-link.active { color: var(--red); }

/* Accordion group (Company, Services) */
.mm-group { border-bottom: 1px solid rgba(255,255,255,.05); }
.mm-group-btn {
  display: flex;
  align-items: center;
  width: 100%;
  padding: .9rem 1.375rem;
  background: none;
  border: none;
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.mm-group-btn:hover { background: rgba(255,255,255,.06); color: #fff; }

.mm-chevron {
  margin-left: auto;
  flex-shrink: 0;
  opacity: .45;
  transition: transform .25s ease, opacity .25s;
}
.mm-group.open > .mm-group-btn .mm-chevron,
.mm-subgroup.open > .mm-subgroup-btn .mm-chevron { transform: rotate(180deg); opacity: .9; }

.mm-group-body { display: none; background: rgba(0,0,0,.18); }
.mm-group.open > .mm-group-body { display: block; }

/* Sub-links inside Company accordion */
.mm-sub-link {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .75rem 1.375rem .75rem 2rem;
  color: rgba(255,255,255,.7);
  font-size: .9375rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: background .18s, color .18s;
}
.mm-sub-link:last-child { border-bottom: none; }
.mm-sub-link:hover { background: rgba(255,255,255,.05); color: #fff; }

/* Sub-group accordion inside Services (Security, Automation, etc.) */
.mm-subgroup { border-bottom: 1px solid rgba(255,255,255,.04); }
.mm-subgroup-btn {
  display: flex;
  align-items: center;
  width: 100%;
  padding: .75rem 1.375rem .75rem 1.75rem;
  background: none;
  border: none;
  color: rgba(255,255,255,.78);
  font-size: .9375rem;
  font-weight: 600;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.mm-subgroup-btn:hover { background: rgba(255,255,255,.05); color: #fff; }

.mm-subgroup-body { display: none; background: rgba(0,0,0,.14); }
.mm-subgroup.open > .mm-subgroup-body { display: block; }

/* Deepest links (service items) */
.mm-subsub-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.375rem .65rem 3rem;
  color: rgba(255,255,255,.6);
  font-size: .875rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.03);
  transition: background .18s, color .18s;
}
.mm-subsub-link:last-child { border-bottom: none; }
.mm-subsub-link:hover { background: rgba(255,255,255,.04); color: rgba(255,255,255,.9); }

/* Bottom CTA */
.mm-cta {
  padding: 1rem 1.375rem;
  border-top: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.mm-cta .btn { width: 100%; justify-content: center; }

/* Keep old .mobile-link working for closeMobileMenu JS selectors */
.mobile-link { display: none; }

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--primary);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 60%, rgba(255,0,0,.09) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 85% 20%, rgba(8,8,96,.6) 0%, transparent 55%),
    linear-gradient(135deg, #040428 0%, #05053a 50%, #040428 100%);
}

.hero-dots {
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 38px 38px;
}

.hero-shape {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,0,0,.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 2rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,0,0,.1);
  border: 1px solid rgba(255,0,0,.3);
  color: #FF7878;
  padding: .4375rem .875rem;
  border-radius: var(--radius-full);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}
@keyframes blink { 0%,100% { opacity:1 } 50% { opacity:.3 } }

.hero h1 {
  color: var(--white);
  margin-bottom: 1.375rem;
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.hero h1 .highlight { color: var(--accent); }

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.1875rem);
  color: rgba(255,255,255,.75);
  margin-bottom: 2.5rem;
  max-width: 580px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  align-items: center;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
}
.hero-trust-icon { color: var(--accent); font-size: 1.125rem; }

/* Floating service cards */
.hero-cards {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 380px;
  z-index: 2;
}
.hero-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 1.375rem 1.125rem;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}
.hero-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,0,0,.35);
  transform: translateY(-5px);
}
.hero-card-emoji { font-size: 2rem; margin-bottom: .625rem; display: block; }
.hero-card-title { font-size: .875rem; font-weight: 600; color: var(--white); line-height: 1.3; }

/* ================================================
   STATS STRIP
   ================================================ */
.stats-strip {
  background: var(--primary);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 100% at 0% 50%, rgba(196,30,58,.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 80% at 100% 50%, rgba(255,255,255,.03) 0%, transparent 60%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.stat-item {
  padding: 2rem 1.5rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  border-top: 3px solid var(--accent);
  transition: background .3s, transform .3s;
}
.stat-item:hover {
  background: rgba(255,255,255,.07);
  transform: translateY(-4px);
}
.stat-number {
  font-size: clamp(2.25rem, 4.5vw, 3rem);
  font-weight: 900;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: .5rem;
  letter-spacing: -.03em;
}
.stat-label {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: .375rem;
  letter-spacing: .01em;
}
.stat-desc { font-size: .8rem; color: rgba(255,255,255,.45); line-height: 1.4; }

/* ================================================
   INTRO / ABOUT
   ================================================ */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.intro-image-wrap { position: relative; }
.intro-image-wrap img { border-radius: var(--radius-xl); width: 100%; object-fit: cover; }
.intro-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--accent);
  color: var(--white);
  padding: 1.375rem 1.875rem;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: .875rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(255,0,0,.35);
  line-height: 1.3;
}
.intro-badge strong { display: block; font-size: 2.5rem; font-weight: 900; line-height: 1; margin-bottom: .25rem; }
.intro-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.pillar {
  padding: 1.25rem;
  background: var(--light);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent);
}
.pillar h4 { font-size: 1rem; margin-bottom: .375rem; }
.pillar p  { font-size: .875rem; color: var(--gray); margin: 0; }

/* ================================================
   SERVICE CARDS
   ================================================ */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.875rem;
  flex-shrink: 0;
}
.service-icon.red { background: linear-gradient(135deg, var(--accent), #FF4444); }

.service-card h3 { margin-bottom: .75rem; font-size: 1.375rem; }
.service-card p  { color: var(--gray); margin-bottom: 1.5rem; flex: 1; font-size: .9375rem; }

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.service-tag {
  font-size: .75rem;
  font-weight: 600;
  padding: .3125rem .625rem;
  background: var(--light2);
  color: var(--gray-dark);
  border-radius: var(--radius-full);
}

/* Sub-service grid (within service landing pages) */
.sub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.375rem; }

.sub-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.625rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}
.sub-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 10px 30px rgba(var(--accent-rgb),.08); }

.sub-card-icon {
  width: 52px; height: 52px;
  background: rgba(var(--accent-rgb),.08);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1.5rem;
  flex-shrink: 0;
}
.sub-card h3 { font-size: 1rem; margin-bottom: .375rem; }
.sub-card p  { font-size: .875rem; color: var(--gray); margin: 0; }

/* ================================================
   WHY CHOOSE US
   ================================================ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.why-item {
  display: flex;
  gap: 1.125rem;
  padding: 1.625rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.why-item:hover { border-color: var(--accent); box-shadow: 0 8px 28px rgba(var(--accent-rgb),.07); transform: translateY(-4px); }

.why-icon {
  width: 50px; height: 50px;
  flex-shrink: 0;
  background: rgba(var(--accent-rgb),.08);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1.5rem;
}
.why-content h4 { margin-bottom: .375rem; font-size: 1rem; }
.why-content p  { color: var(--gray); font-size: .9375rem; margin: 0; }

/* ================================================
   PROCESS
   ================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 2.375rem;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 48px; height: 48px;
  background: var(--primary);
  border: 2.5px solid var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--white);
  margin: 0 auto 1rem;
}
.step-title { font-size: .875rem; font-weight: 600; margin-bottom: .25rem; color: var(--primary); }
.step-desc  { font-size: .8125rem; color: var(--gray); }

/* ================================================
   CTA SECTIONS
   ================================================ */
.cta-section {
  background: var(--primary);
  padding: 5.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 25% 50%, rgba(var(--accent-rgb),.09) 0%, transparent 55%),
    radial-gradient(ellipse 60% 80% at 75% 50%, rgba(var(--accent-rgb),.05) 0%, transparent 55%);
}
.cta-section > .container { position: relative; z-index: 2; }
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section > .container > p { color: rgba(255,255,255,.75); font-size: 1.125rem; max-width: 580px; margin: 0 auto 2.25rem; }

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

.cta-contact {
  margin-top: 2rem;
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-contact a {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.7);
  font-size: .9375rem;
  font-weight: 500;
}
.cta-contact a:hover { color: var(--white); }
.cta-contact-icon { color: var(--accent); }

/* Inline CTA band */
.cta-band {
  background: var(--accent);
  padding: 3rem 0;
  text-align: center;
}
.cta-band h3 { color: var(--white); font-size: 1.625rem; margin-bottom: .75rem; }
.cta-band p  { color: rgba(255,255,255,.85); margin-bottom: 1.5rem; }

/* ================================================
   TESTIMONIALS
   ================================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); border-color: transparent; transform: translateY(-4px); }
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-size: 5.5rem;
  line-height: 1;
  color: var(--accent);
  opacity: .12;
  font-family: Georgia, serif;
}
.testimonial-stars { color: #F59E0B; margin-bottom: 1rem; font-size: 1.1rem; letter-spacing: .1em; }
.testimonial-text  { color: var(--gray); font-style: italic; margin-bottom: 1.5rem; line-height: 1.75; font-size: .9375rem; }
.testimonial-author { display: flex; align-items: center; gap: .875rem; }
.author-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  overflow: hidden;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name { font-weight: 700; color: var(--primary); display: block; }
.author-role { font-size: .8125rem; color: var(--gray); }

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

.team-card {
  text-align: center;
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.team-card:hover { border-color: var(--accent); transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.team-avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  margin: 0 auto 1.375rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.75rem;
  color: var(--white);
  font-weight: 700;
  overflow: hidden;
  border: 3px solid var(--border);
  transition: border-color var(--transition);
}
.team-card:hover .team-avatar { border-color: var(--accent); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-size: 1.25rem; margin-bottom: .3125rem; }
.team-role { color: var(--accent); font-weight: 600; font-size: .9375rem; margin-bottom: .875rem; }
.team-bio  { color: var(--gray); font-size: .9375rem; line-height: 1.65; }

/* ================================================
   FAQ  — redesigned
   ================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  counter-reset: faq-counter;
}

.faq-item {
  counter-increment: faq-counter;
  background: var(--white);
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s, transform .2s;
}
.faq-item:hover { transform: translateY(-1px); border-color: #cbd5e1; }
.faq-item.open {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(196,30,58,.1);
  transform: none;
}

/* Question button — shared for .faq-btn and .faq-question */
.faq-btn,
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: 1.25rem 1.375rem;
  background: none;
  border: none;
  font-family: inherit;
  font-size: .975rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  text-align: left;
  line-height: 1.5;
  transition: color .2s;
}
.faq-btn:hover,
.faq-question:hover { color: var(--accent); }

/* Number badge — .faq-question only */
.faq-question::before {
  content: counter(faq-counter, decimal-leading-zero);
  flex-shrink: 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--accent);
  background: rgba(196,30,58,.08);
  border-radius: 6px;
  padding: .2rem .45rem;
  line-height: 1.6;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.faq-item.open .faq-question::before {
  background: var(--accent);
  color: #fff;
}

/* Chevron — .faq-question only */
.faq-question::after {
  content: '';
  flex-shrink: 0;
  margin-left: auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .3s ease;
  opacity: .55;
}
.faq-item.open .faq-question::after {
  transform: rotate(-135deg) translateY(-2px);
  opacity: 1;
}

/* Toggle icon for legacy .faq-btn (uses separate .faq-toggle span) */
.faq-toggle {
  width: 26px; height: 26px;
  flex-shrink: 0;
  margin-left: auto;
  background: rgba(196,30,58,.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1;
  transition: background .25s, color .25s, transform .3s;
}
.faq-item.open .faq-toggle {
  background: var(--accent);
  color: var(--white);
  transform: rotate(45deg);
}

/* Answer panels — both .faq-body and .faq-answer */
.faq-body,
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .42s cubic-bezier(0, 1, .3, 1);
}
.faq-body-inner { padding: 0 1.375rem 1.375rem 1.375rem; }
.faq-body-inner,
.faq-answer p {
  color: var(--gray);
  line-height: 1.8;
  font-size: .9375rem;
  margin: 0;
}
/* Indent .faq-answer p to align with question text (past number badge) */
.faq-answer p {
  padding: 0 1.375rem 1.25rem calc(1.375rem + 2.5rem + .875rem);
}
.faq-item.open .faq-body,
.faq-item.open .faq-answer { max-height: 700px; }

/* ================================================
   SERVICE INTRO IMAGE
   ================================================ */
.service-intro-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,.14);
  margin-bottom: 1.5rem;
  display: block;
}

/* ================================================
   FORMS
   ================================================ */
.form-group { margin-bottom: 1.375rem; }
.form-label { display: block; font-weight: 600; margin-bottom: .4375rem; font-size: .9375rem; color: var(--primary); }
.form-required { color: var(--accent); }

.form-control {
  width: 100%;
  padding: .875rem 1.125rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: .9375rem;
  font-family: inherit;
  transition: border-color .25s, box-shadow .25s;
  background: var(--white);
  color: var(--text);
  appearance: none;
  -webkit-appearance: none;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb),.08); }
.form-control::placeholder { color: #B0B7C3; }
.form-control.error { border-color: var(--accent); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

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

.form-note { font-size: .8125rem; color: var(--gray); margin-top: .375rem; }
.form-check { display: flex; align-items: flex-start; gap: .625rem; }
.form-check input { margin-top: .25rem; accent-color: var(--accent); }

/* Alert messages */
.alert { padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.5rem; font-size: .9375rem; font-weight: 500; }
.alert-success { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; }
.alert-error   { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }

/* ================================================
   CONTACT PAGE
   ================================================ */
.contact-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 3.5rem; align-items: start; }

.contact-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.contact-info-card {
  background: var(--primary);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  color: rgba(255,255,255,.8);
  position: sticky;
  top: 6rem;
}
.contact-info-card h3 { color: var(--white); margin-bottom: 1.5rem; }

.contact-info-item {
  display: flex;
  gap: 1rem;
  padding: 1.125rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.contact-info-item:last-of-type { border-bottom: none; }

.c-icon {
  width: 44px; height: 44px;
  background: rgba(255,0,0,.15);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.c-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.45); font-weight: 600; margin-bottom: .25rem; }
.c-value { color: var(--white); font-weight: 600; font-size: .9375rem; }
.c-value a:hover { color: var(--accent); }

.contact-socials { margin-top: 2rem; }
.contact-socials p { font-size: .8125rem; color: rgba(255,255,255,.5); margin-bottom: .75rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.social-row { display: flex; gap: .75rem; }
.social-btn {
  width: 42px; height: 42px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 1.125rem;
  transition: var(--transition);
}
.social-btn:hover { background: var(--accent); color: var(--white); transform: translateY(-3px); }

/* ================================================
   PAGE HERO (internal pages)
   ================================================ */
.page-hero {
  background: var(--primary);
  padding: calc(var(--nav-height) + 3.5rem) 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 10% 60%, rgba(var(--accent-rgb),.08) 0%, transparent 50%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); }
.page-hero .page-hero-sub { color: rgba(255,255,255,.75); font-size: 1.125rem; margin: .875rem 0 0; max-width: 640px; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: rgba(255,255,255,.25); }

/* ================================================
   BRANDS / LOGOS STRIP
   ================================================ */
.brands-strip { background: var(--light); padding: 2.5rem 0; }
.brands-label { text-align: center; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gray); font-weight: 700; margin-bottom: 1.5rem; }
.brands-row { display: flex; align-items: center; justify-content: center; gap: 2.5rem; flex-wrap: wrap; }
.brand-item { opacity: .45; filter: grayscale(1); transition: var(--transition); font-size: 1.125rem; font-weight: 700; color: var(--primary); }
.brand-item:hover { opacity: 1; filter: none; }

/* ================================================
   FEATURE LIST
   ================================================ */
/* Feature checklist — used in service page intro cards */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .875rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--primary);
  line-height: 1.4;
}
.feature-item:last-child { border-bottom: none; }
.feature-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #1e40af, #2563eb);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0; /* hide emoji */
  position: relative;
}
.feature-check::after {
  content: '';
  display: block;
  width: 10px;
  height: 6px;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}
/* Feature card wrapper */
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.feature-card h3 {
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
  color: var(--primary);
}

/* ================================================
   FOOTER
   ================================================ */
footer { display: block; margin: 0; }
.footer { background: var(--primary); color: rgba(255,255,255,.7); }

.footer-top { padding: 4.5rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.6fr; gap: 3.5rem; }

.footer-brand img { height: 48px; margin-bottom: 1.25rem; }
.footer-desc { font-size: .9375rem; line-height: 1.75; margin-bottom: 1.625rem; }

.footer-socials { display: flex; gap: .75rem; }
.footer-social {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.07);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65);
  font-size: 1.0625rem;
  transition: var(--transition);
}
.footer-social:hover { background: var(--accent); color: var(--white); transform: translateY(-3px); }

.footer-col-title { color: var(--white); font-size: .9375rem; font-weight: 700; margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-link { color: rgba(255,255,255,.6); font-size: .9375rem; transition: var(--transition); }
.footer-link:hover { color: var(--accent); padding-left: .375rem; }

.footer-contact-item { display: flex; gap: .75rem; margin-bottom: .875rem; align-items: flex-start; }
.footer-contact-icon { color: var(--accent); flex-shrink: 0; margin-top: 3px; font-size: 1.0625rem; }
.footer-contact-text { font-size: .9375rem; color: rgba(255,255,255,.65); }
.footer-contact-text strong { display: block; color: rgba(255,255,255,.85); font-weight: 600; margin-bottom: .1rem; }

.footer-bottom { padding: 1.5rem 0; }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .8125rem;
}
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--accent); }

/* ================================================
   FLOATING WIDGETS
   ================================================ */
/* WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 62px; height: 62px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.875rem;
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  z-index: 900;
  transition: transform .3s, box-shadow .3s;
  animation: pulse-wa 2.5s infinite;
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.15); box-shadow: 0 12px 35px rgba(37,211,102,.55); color: var(--white); }
@keyframes pulse-wa {
  0%,100% { box-shadow: 0 8px 24px rgba(37,211,102,.45); }
  50%      { box-shadow: 0 8px 40px rgba(37,211,102,.7); }
}

/* Back to top */
.back-top {
  position: fixed;
  bottom: 6.5rem;
  right: 2rem;
  width: 48px; height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  border: none;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: all .35s;
  box-shadow: var(--shadow-md);
  font-size: 1.25rem;
}
.back-top.show { opacity: 1; transform: translateY(0); }
.back-top:hover { background: var(--accent); transform: translateY(-4px); }

/* Cookie banner */
.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--primary);
  z-index: 1100;
  transform: translateY(100%);
  transition: transform .4s ease;
  border-top: 2px solid var(--accent);
}
.cookie-bar.show { transform: translateY(0); }
.cookie-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  flex-wrap: wrap;
}
.cookie-text { font-size: .9375rem; color: rgba(255,255,255,.8); flex: 1; }
.cookie-text a { color: var(--accent); }
.cookie-actions { display: flex; gap: .75rem; flex-shrink: 0; }

/* ================================================
   MODAL / POPUP
   ================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all .35s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 780px;
  width: 100%;
  position: relative;
  transform: scale(.92) translateY(20px);
  transition: all .35s;
  max-height: 92vh;
  overflow-y: auto;
}
.modal-overlay.open .modal-box { transform: scale(1) translateY(0); }

.modal-close {
  position: absolute;
  top: 1.125rem; right: 1.125rem;
  background: var(--light2);
  border: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--gray);
  transition: var(--transition);
}
.modal-close:hover { background: var(--accent); color: var(--white); }

.modal-header { margin-bottom: 1.5rem; }
.modal-header .section-label { margin-bottom: .5rem; }
.modal-header h3 { font-size: 1.5rem; }
.modal-header p { color: var(--gray); font-size: .9375rem; margin-top: .5rem; }

/* ================================================
   LEGAL PAGES
   ================================================ */
.legal-wrap { max-width: 840px; margin: 0 auto; }
.legal-wrap h2 { font-size: 1.5rem; margin: 2.75rem 0 1rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.legal-wrap h2:first-child { border-top: none; margin-top: 0; }
.legal-wrap h3 { font-size: 1.125rem; margin: 1.625rem 0 .75rem; }
.legal-wrap p  { color: var(--gray); line-height: 1.8; }
.legal-wrap ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.legal-wrap ul li { color: var(--gray); margin-bottom: .5rem; line-height: 1.75; }
.legal-wrap table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.legal-wrap th, .legal-wrap td { border: 1px solid var(--border); padding: .75rem; text-align: left; font-size: .9375rem; }
.legal-wrap th { background: var(--light); font-weight: 600; color: var(--primary); }
.legal-meta { font-size: .875rem; color: var(--gray); background: var(--light); padding: .875rem 1.25rem; border-radius: var(--radius); margin-bottom: 2.5rem; }

/* ================================================
   UTILITY
   ================================================ */
.bg-light  { background: var(--light); }
.bg-light2 { background: var(--light2); }
.bg-navy   { background: var(--primary); }
.bg-white  { background: var(--white); }

.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }

.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; }

/* ================================================
   SCROLL ANIMATIONS
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1200px) {
  .hero-cards { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid::before { display: none; }
}

@media (max-width: 1024px) {
  .nav-links, .nav-phone, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile-icons { display: flex; }
  /* Hide hamburger when mobile menu is open (circular X handles closing) */
  body.menu-open .nav-toggle { opacity: 0; pointer-events: none; }
  .intro-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-layout > * { min-width: 0; }
  .contact-info-card { position: static; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .sub-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-height: 68px; }
  .section { padding: 3.75rem 0; }
  .hero { padding-top: 1rem; min-height: auto; padding-bottom: 3rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .why-grid, .team-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .sub-grid { grid-template-columns: 1fr; }
  .intro-pillars { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
  .cta-btns, .hero-cta { flex-direction: column; align-items: flex-start; }
  .hero-cta { align-items: stretch; }
  .hero-cta .btn { text-align: center; justify-content: center; }
  .cta-btns { align-items: center; }
  .form-row { grid-template-columns: 1fr; }
  .intro-badge { bottom: -1rem; right: .75rem; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-item { padding: 1.5rem 1rem; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .cta-contact { flex-direction: column; gap: .875rem; }
  .contact-box { padding: 1.375rem 1.125rem; max-width: 100%; overflow: hidden; }
  .contact-info-card { padding: 1.75rem 1.25rem; }
  .process-grid { grid-template-columns: 1fr; }
}

/* ── Legal Pages ─────────────────────────────────── */
.legal-content { line-height: 1.8; color: var(--dark); }
.legal-content h2 { font-size: 1.375rem; color: var(--navy); margin-top: 2.5rem; margin-bottom: .75rem; padding-bottom: .5rem; border-bottom: 2px solid var(--light2); }
.legal-content h3 { font-size: 1.125rem; color: var(--navy); margin-top: 1.5rem; margin-bottom: .5rem; }
.legal-content p { margin-bottom: 1rem; color: var(--gray); }
.legal-content ul { margin: 1rem 0 1rem 1.5rem; color: var(--gray); }
.legal-content ul li { margin-bottom: .5rem; }
.legal-content a { color: var(--red); }
.legal-content a:hover { text-decoration: underline; }
.legal-content table { font-size: .9375rem; }

/* ── Section-sm ──────────────────────────────────── */
.section-sm { padding: 3rem 0; }

/* ═══════════════════════════════════════════════════════════
   VISUAL REDESIGN — Modern Image-Rich UI
   ═══════════════════════════════════════════════════════════ */

/* ── Hero: Real Background Photo ─────────────────────────── */
.hero-bg {
  background:
    linear-gradient(135deg, rgba(10,25,55,.88) 0%, rgba(10,25,55,.72) 50%, rgba(196,30,58,.52) 100%),
    url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?w=1920&q=80&auto=format&fit=crop') center/cover no-repeat;
}

/* ── Floating Hero Cards — Image Backed ──────────────────── */
.hero-card {
  position: relative;
  min-width: 155px;
  min-height: 115px;
  border-radius: 16px;
  overflow: hidden;
  background-size: cover !important;
  background-position: center !important;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  display: flex;
  align-items: flex-end;
  padding: 0;
  cursor: default;
  transition: transform .3s ease, box-shadow .3s ease;
}
.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,25,55,.88) 0%, rgba(10,25,55,.25) 65%, transparent 100%);
  z-index: 1;
}
.hero-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 18px 42px rgba(0,0,0,.45);
}
.hero-card-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: .85rem 1rem;
  gap: .2rem;
  width: 100%;
}
.hero-card-emoji {
  font-size: 1.5rem;
  line-height: 1;
}
.hero-card-title {
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .hero-cards { display: none !important; }
}

/* ── Stats Strip Enhancement ──────────────────────────────── */
.stats-strip {
  background:
    radial-gradient(ellipse at 0% 50%, rgba(196,30,58,.22) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 50%, rgba(255,255,255,.03) 0%, transparent 55%),
    var(--primary);
}


/* ── Why Items: Gradient Top Border ─────────────────────── */
.why-item {
  border-top: 3px solid var(--red);
  transition: transform .3s ease, box-shadow .3s ease;
}
.why-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(10,25,55,.13);
}

/* ── Process Step Numbers: keep base circle style ─────────── */
/* (base .step-num defined in the PROCESS section above) */

/* ── Testimonial Cards: Decorative Quote Mark ────────────── */
.testimonial-card {
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: 14px;
  font-size: 7.5rem;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--red);
  opacity: .07;
  line-height: 1;
  pointer-events: none;
}

/* ── CTA Section: Background Image ───────────────────────── */
.cta-section {
  background:
    linear-gradient(135deg, rgba(10,25,55,.93) 0%, rgba(196,30,58,.82) 100%),
    url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?w=1920&q=60&auto=format&fit=crop') center/cover no-repeat;
}

/* ================================================
   INTRO REDESIGN — Service detail pages
   Applied via .intro-redesign on the first .intro-grid
   ================================================ */

/* Colourful section backdrop (parent <section> via :has) */
section:has(> .container > .intro-grid.intro-redesign) {
  position: relative;
  background:
    radial-gradient(ellipse at top right, rgba(var(--accent-rgb), .08), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(var(--primary-rgb), .07), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
  overflow: hidden;
}
section:has(> .container > .intro-grid.intro-redesign)::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -180px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .18) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
section:has(> .container > .intro-grid.intro-redesign)::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), .14) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
section:has(> .container > .intro-grid.intro-redesign) > .container {
  position: relative;
  z-index: 1;
}

.intro-grid.intro-redesign {
  align-items: start;
  gap: 4.5rem;
  position: relative;
}

.intro-grid.intro-redesign > .reveal:first-child .section-label {
  position: relative;
  padding-left: 3rem;
}
.intro-grid.intro-redesign > .reveal:first-child .section-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2.25rem;
  height: 2px;
  background: var(--accent);
  transform: translateY(-50%);
}
.intro-grid.intro-redesign > .reveal:first-child h2 {
  font-size: clamp(1.9rem, 4vw, 2.875rem);
  letter-spacing: -.015em;
  margin-bottom: 1.5rem;
}
.intro-grid.intro-redesign > .reveal:first-child p {
  color: var(--gray-dark);
  font-size: 1.0625rem;
  line-height: 1.75;
}

/* Service intro image — polished frame */
.intro-grid.intro-redesign .service-intro-img {
  border-radius: var(--radius-xl);
  height: 320px;
  box-shadow:
    0 30px 60px -20px rgba(var(--primary-rgb), .35),
    0 12px 28px -8px rgba(var(--accent-rgb), .15);
  margin-bottom: 1.75rem;
  transition: transform .5s ease, box-shadow .5s ease;
}
.intro-grid.intro-redesign .service-intro-img:hover {
  transform: translateY(-4px);
  box-shadow:
    0 35px 70px -20px rgba(var(--primary-rgb), .42),
    0 15px 32px -8px rgba(var(--accent-rgb), .22);
}

/* Feature card — full overhaul */
.intro-grid.intro-redesign .feature-card {
  border: 0 !important;
  padding: 0;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow:
    0 20px 50px -22px rgba(var(--primary-rgb), .28),
    0 6px 18px -8px rgba(0,0,0,.08);
  overflow: hidden;
  position: relative;
  margin-bottom: 1rem;
  transition: transform .35s ease, box-shadow .35s ease;
}
.intro-grid.intro-redesign .feature-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 28px 60px -22px rgba(var(--primary-rgb), .35),
    0 8px 22px -8px rgba(var(--accent-rgb), .14);
}
.intro-grid.intro-redesign .feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--accent) 0%, #ff5757 35%, var(--primary) 100%);
  z-index: 2;
}
.intro-grid.intro-redesign .feature-card > h3 {
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-rgb), .35) 0%, transparent 55%),
    linear-gradient(135deg, var(--primary) 0%, #1a1a5e 100%);
  color: var(--white) !important;
  margin: 0 !important;
  padding: 2rem 2rem 1.75rem 2rem;
  font-size: 1.3125rem;
  line-height: 1.35;
  position: relative;
  letter-spacing: -.01em;
}
.intro-grid.intro-redesign .feature-card > h3::before {
  content: "✨";
  display: inline-block;
  margin-right: .625rem;
  filter: drop-shadow(0 2px 6px rgba(var(--accent-rgb), .5));
}
.intro-grid.intro-redesign .feature-card > h3::after {
  content: "";
  position: absolute;
  bottom: 0; left: 2rem;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 3px;
}
.intro-grid.intro-redesign .feature-card > p {
  padding: 1.25rem 2rem 0;
  color: var(--gray);
  font-size: .9375rem;
  margin: 0;
}

.intro-grid.intro-redesign .feature-card .feature-list {
  padding: .75rem 0 1.5rem;
  gap: 0;
}
.intro-grid.intro-redesign .feature-card .feature-item {
  background: transparent;
  border-radius: 0;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--light2);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--gray-dark);
  align-items: center;
  gap: 1rem;
  transition: background .3s ease, padding-left .3s ease, color .3s ease;
  position: relative;
}
.intro-grid.intro-redesign .feature-card .feature-item:last-child {
  border-bottom: 0;
}
.intro-grid.intro-redesign .feature-card .feature-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  transform: scaleY(0);
  transition: transform .3s ease;
}
.intro-grid.intro-redesign .feature-card .feature-item:hover {
  background: linear-gradient(90deg, rgba(var(--accent-rgb),.04), transparent 60%);
  padding-left: 2.5rem;
  color: var(--primary);
}
.intro-grid.intro-redesign .feature-card .feature-item:hover::after {
  transform: scaleY(1);
}
.intro-grid.intro-redesign .feature-card .feature-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #ff4444 100%);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  flex-shrink: 0;
  margin-top: 0;
  box-shadow:
    0 4px 10px -2px rgba(var(--accent-rgb), .45),
    inset 0 -2px 4px rgba(0,0,0,.08);
  transition: transform .25s ease;
}
.intro-grid.intro-redesign .feature-card .feature-item:hover .feature-check {
  transform: rotate(360deg) scale(1.08);
}
.intro-grid.intro-redesign .feature-card .feature-check::before {
  content: "✓";
  font-size: .8125rem;
  font-weight: 800;
  color: #fff;
}

@media (max-width: 900px) {
  .intro-grid.intro-redesign { gap: 2.5rem; }
}
