/* ==========================================================================
   CURIO INFOTECH PVT LTD — Corporate Website Stylesheet
   Midnight Dark Tech Theme · Gwalior, Madhya Pradesh, India
   --------------------------------------------------------------------------
   TABLE OF CONTENTS
   01. Design Tokens (CSS Variables)
   02. Reset & Base
   03. Typography & Utilities
   04. Buttons & Badges
   05. Top Utility Bar
   06. Header & Navigation
   07. Search Overlay
   08. Hero Section
   09. IT Health Snapshot Widget
   10. Sections & Section Heads
   11. Stats / Metrics
   12. Service Cards (Preview & Detail)
   13. Coverage Panels (On-site / Remote)
   14. Why-Choose / Feature Cards
   15. Delivery Methodology Timeline
   16. Compare Services Matrix (High Contrast)
   17. Testimonials (High Contrast)
   18. Contact Page (Form, Support Matrix, Map)
   19. CTA Band
   20. Footer
   21. Back-to-top & Helpers
   22. Reveal Animations
   23. Scrollbar
   24. Responsive Breakpoints
   25. Accessibility & Reduced Motion
   26. Blog (News & Insights, Newsletter)
   27. Lead Popup Modal
   28. Floating WhatsApp Button
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Canvas & surfaces */
  --bg-0: #070d18;            /* deepest midnight navy/black            */
  --bg-1: #0a1122;            /* primary page background                */
  --surface: #0f172a;         /* elevated slate blue cards              */
  --surface-2: #131d35;       /* raised panels / table headers          */
  --border: #1e293b;          /* crisp card borders                     */
  --border-soft: rgba(255, 255, 255, 0.08);

  /* Accents */
  --accent: #1d72fe;          /* vivid electric sky blue                */
  --accent-2: #0080ff;        /* deep electric blue                     */
  --accent-bright: #38bdf8;   /* highlight blue for keywords/headings   */
  --accent-glow: rgba(29, 114, 254, 0.38);

  /* Text */
  --text-hi: #ffffff;         /* headings                               */
  --text-soft: #cbd5e1;       /* strong body copy                       */
  --text-body: #94a3b8;       /* paragraphs                             */
  --text-faint: #64748b;      /* muted / unsupported indicators         */

  /* Semantic */
  --gold: #f59e0b;            /* star ratings                           */
  --green: #22c55e;           /* supported checkmarks                   */
  --outline-border: #334155;  /* secondary button borders               */
  --outline-text: #e2e8f0;    /* secondary button text                  */
  --danger: #f87171;

  /* Shape & motion */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-card: 0 18px 44px rgba(2, 6, 17, 0.55);
  --shadow-accent: 0 10px 30px rgba(29, 114, 254, 0.35);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  /* Type */
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1180px;
  --header-h: 74px;
  --topbar-h: 42px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--bg-1);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1;
}

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

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

a:hover {
  color: #7dd3fc;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-hi);
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 800;
}

strong {
  color: var(--text-soft);
}

section {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

/* --------------------------------------------------------------------------
   03. TYPOGRAPHY & UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.text-accent { color: var(--accent-bright); }
.text-center { text-align: center; }

.section {
  padding-block: 92px;
  position: relative;
}

.section--deep {
  background:
    radial-gradient(900px 420px at 110% 0%, rgba(29, 114, 254, 0.08), transparent 60%),
    var(--bg-0);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.section-head {
  max-width: 720px;
  margin-bottom: 54px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
}

.section-head--center .eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-bright), var(--accent));
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  margin-bottom: 14px;
}

.section-head p {
  font-size: 1.06rem;
  color: var(--text-body);
}

.lead {
  font-size: 1.12rem;
  color: var(--text-soft);
  line-height: 1.75;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

/* --------------------------------------------------------------------------
   04. BUTTONS & BADGES
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.97rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition),
    background-color var(--transition), border-color var(--transition),
    color var(--transition);
  will-change: transform;
  min-height: 46px;
}

.btn:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.6);
  outline-offset: 2px;
}

.btn svg {
  flex-shrink: 0;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background: #2f84ff;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(29, 114, 254, 0.5);
}

.btn-outline {
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid var(--outline-border);
  color: var(--outline-text);
}

.btn-outline:hover {
  border-color: var(--accent-bright);
  color: #ffffff;
  background: rgba(56, 189, 248, 0.1);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  min-height: 40px;
}

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

.btn-block {
  width: 100%;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  background: rgba(29, 114, 254, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--accent-bright);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.badge-pill .badge-star {
  color: var(--accent-bright);
  font-size: 0.95rem;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.95), 0 0 26px rgba(29, 114, 254, 0.6);
  animation: starPulse 2.6s ease-in-out infinite;
}

@keyframes starPulse {
  0%, 100% { text-shadow: 0 0 10px rgba(56, 189, 248, 0.9), 0 0 22px rgba(29, 114, 254, 0.5); }
  50%      { text-shadow: 0 0 18px rgba(56, 189, 248, 1), 0 0 38px rgba(29, 114, 254, 0.85); }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.32rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(19, 29, 53, 0.65);
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 600;
}

.chip--accent {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(29, 114, 254, 0.14);
  color: var(--accent-bright);
}

.chip--green {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
}

/* --------------------------------------------------------------------------
   05. TOP UTILITY BAR
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--bg-0);
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.82rem;
  color: var(--text-body);
  position: relative;
  z-index: 60;
}

.topbar-inner {
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding-block: 6px;
}

.topbar-contact {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.topbar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-soft);
  font-weight: 600;
}

.topbar-contact a:hover {
  color: var(--accent-bright);
}

.topbar-contact .divider {
  color: var(--text-faint);
}

.topbar-social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-left: 12px;
  border-left: 1px solid var(--border);
}

.topbar-social a {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: var(--text-body);
  transition: all var(--transition);
}

.topbar-social a:hover {
  color: #fff;
  background: var(--accent);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   06. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 13, 24, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow var(--transition), background-color var(--transition);
}

.site-header.is-scrolled {
  background: rgba(7, 13, 24, 0.95);
  box-shadow: 0 12px 34px rgba(2, 6, 17, 0.6);
}

.nav-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 22px;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

/* Brand image utilities (logo markup: class="h-10 w-auto object-contain") */
.flex { display: flex; }
.items-center { align-items: center; }
.h-10 { height: 2.5rem; }
.w-auto { width: auto; }
.object-contain { object-fit: contain; }

.navbar-brand img {
  height: 2.5rem;
  width: auto;
  object-fit: contain;
  padding: 2px 0;
  transition: transform var(--transition);
}

.navbar-brand:hover img {
  transform: translateY(-1px);
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.94rem;
  transition: color var(--transition), background-color var(--transition);
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.08);
}

.nav-link.is-active {
  color: #ffffff;
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.7);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.main-nav + .nav-actions {
  margin-left: 0;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.6);
  color: var(--text-soft);
  transition: all var(--transition);
}

.icon-btn:hover {
  color: #fff;
  border-color: var(--accent);
  background: rgba(29, 114, 254, 0.16);
  transform: translateY(-1px);
}

.phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  color: var(--outline-text);
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: all var(--transition);
}

.phone-cta svg {
  color: var(--accent-bright);
}

.phone-cta:hover {
  border-color: var(--accent);
  color: #fff;
  background: rgba(29, 114, 254, 0.12);
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.6);
  padding: 0 11px;
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile-cta {
  display: none;
}

/* --------------------------------------------------------------------------
   07. SEARCH OVERLAY
   -------------------------------------------------------------------------- */
.search-overlay[hidden] {
  display: none;
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(4, 8, 18, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 20px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.search-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.search-panel {
  width: 100%;
  max-width: 620px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(2, 6, 17, 0.75);
  overflow: hidden;
  transform: translateY(-12px) scale(0.98);
  transition: transform 0.22s ease;
}

.search-overlay.is-open .search-panel {
  transform: none;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}

.search-bar svg {
  color: var(--accent-bright);
  flex-shrink: 0;
}

.search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-hi);
  font-size: 1.05rem;
}

.search-bar input::placeholder {
  color: var(--text-faint);
}

.search-bar kbd {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--text-faint);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 7px;
}

.search-results {
  max-height: 46vh;
  overflow-y: auto;
  padding: 10px;
}

.search-results li a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text-soft);
  transition: background-color var(--transition), color var(--transition);
}

.search-results li a:hover,
.search-results li a.is-selected {
  background: rgba(29, 114, 254, 0.14);
  color: #fff;
}

.search-results .sr-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(29, 114, 254, 0.15);
  color: var(--accent-bright);
  flex-shrink: 0;
}

.search-results .sr-title {
  font-weight: 600;
  color: var(--text-hi);
  font-size: 0.95rem;
}

.search-results .sr-meta {
  font-size: 0.78rem;
  color: var(--text-faint);
}

.search-empty {
  padding: 26px 20px;
  text-align: center;
  color: var(--text-faint);
  font-size: 0.92rem;
}

/* --------------------------------------------------------------------------
   08. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 108px 0 96px;
  background:
    radial-gradient(1100px 560px at 85% -12%, rgba(29, 114, 254, 0.2), transparent 62%),
    radial-gradient(760px 420px at -8% 108%, rgba(56, 189, 248, 0.13), transparent 60%),
    var(--bg-1);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 30%, transparent 78%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 340px;
  background: radial-gradient(closest-side, rgba(29, 114, 254, 0.22), transparent);
  filter: blur(10px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}

.hero .lead {
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 38px;
}

.hero-metrics li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  padding-left: 18px;
}

.hero-metrics li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.55);
}

.hero-metrics strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-hi);
  line-height: 1.15;
}

.hero-metrics span {
  font-size: 0.86rem;
  color: var(--text-body);
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: 84px 0 72px;
  background:
    radial-gradient(900px 400px at 80% -20%, rgba(29, 114, 254, 0.18), transparent 60%),
    var(--bg-1);
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 25%, transparent 75%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  margin-bottom: 16px;
}

.page-hero p {
  max-width: 680px;
  font-size: 1.08rem;
  color: var(--text-soft);
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.84rem;
  color: var(--text-faint);
}

.breadcrumb a {
  color: var(--text-soft);
  font-weight: 600;
}

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

/* --------------------------------------------------------------------------
   09. IT HEALTH SNAPSHOT WIDGET
   -------------------------------------------------------------------------- */
.hero-visual {
  position: relative;
}

.health-widget {
  position: relative;
  background:
    linear-gradient(180deg, rgba(19, 29, 53, 0.55), rgba(15, 23, 42, 0.92)),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.health-widget::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-bright) 30%, var(--accent) 70%, transparent);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.8);
}

.health-widget::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(closest-side, rgba(29, 114, 254, 0.25), transparent);
  pointer-events: none;
}

.widget-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.widget-pulse {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(29, 114, 254, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: var(--accent-bright);
  flex-shrink: 0;
}

.widget-pulse::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  border: 1px solid rgba(56, 189, 248, 0.5);
  animation: pulseRing 2.4s ease-out infinite;
}

@keyframes pulseRing {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

.widget-head h2 {
  font-size: 1.22rem;
  margin-bottom: 2px;
}

.widget-head p {
  font-size: 0.82rem;
  color: var(--text-faint);
}

.widget-meters {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.meter-row .meter-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 7px;
  font-size: 0.86rem;
}

.meter-row .meter-top span {
  color: var(--text-soft);
  font-weight: 600;
}

.meter-row .meter-top strong {
  font-family: var(--font-display);
  color: var(--accent-bright);
  font-size: 0.95rem;
}

.meter-track {
  height: 7px;
  border-radius: 99px;
  background: #1e293b;
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.65);
  transition: width 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.widget-checks {
  display: grid;
  gap: 11px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}

.widget-checks li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-soft);
}

.check-ico {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: var(--accent-bright);
  flex-shrink: 0;
}

.widget-foot {
  margin-top: 20px;
  font-size: 0.78rem;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-foot .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* Floating pill badges */
.float-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 16px 40px rgba(2, 6, 17, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  color: var(--text-hi);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  z-index: 2;
  animation: floatY 5.5s ease-in-out infinite;
}

.float-badge .fb-star {
  color: var(--gold);
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.7);
}

.float-badge .fb-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
}

.float-badge small {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.2;
}

.float-tr {
  top: -22px;
  right: -10px;
}

.float-bl {
  bottom: -22px;
  left: -14px;
  animation-delay: 1.4s;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* --------------------------------------------------------------------------
   10. SECTIONS & SECTION HEADS (extra components)
   -------------------------------------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* --------------------------------------------------------------------------
   11. STATS / METRICS
   -------------------------------------------------------------------------- */
.stats-band {
  border-block: 1px solid var(--border-soft);
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(29, 114, 254, 0.1), transparent 60%),
    var(--bg-0);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding-block: 54px;
}

.stat-card {
  text-align: center;
  padding: 26px 18px;
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--border);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: var(--shadow-card);
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 800;
  color: var(--text-hi);
  line-height: 1.1;
  background: linear-gradient(120deg, #ffffff 30%, var(--accent-bright));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--text-body);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   12. SERVICE CARDS
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: var(--shadow-card);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(29, 114, 254, 0.22), rgba(56, 189, 248, 0.1));
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--accent-bright);
  flex-shrink: 0;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.06) rotate(-3deg);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.35);
}

.service-card h3 {
  font-size: 1.16rem;
  line-height: 1.3;
}

.service-card h3 a {
  color: inherit;
}

.service-card h3 a:hover {
  color: var(--accent-bright);
}

.service-card p {
  font-size: 0.93rem;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.service-tags .chip {
  font-size: 0.72rem;
  padding: 0.26rem 0.66rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-bright);
}

.service-link svg {
  transition: transform var(--transition);
}

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

/* Detailed service rows (services.html) */
.service-detail {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + 24px);
  transition: border-color var(--transition);
}

.service-detail:hover {
  border-color: rgba(56, 189, 248, 0.35);
}

.service-detail + .service-detail {
  margin-top: 22px;
}

.service-detail .service-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
}

.service-detail h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.service-detail > div > p {
  margin-bottom: 18px;
  font-size: 0.98rem;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  margin-bottom: 18px;
}

.service-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.service-features li svg {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 4px;
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}

.service-meta .meta-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-right: 4px;
}

/* --------------------------------------------------------------------------
   13. COVERAGE PANELS (On-site vs Remote)
   -------------------------------------------------------------------------- */
.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.coverage-card {
  position: relative;
  padding: 34px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}

.coverage-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
}

.coverage-card--onsite {
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(34, 197, 94, 0.08), transparent 65%),
    var(--surface);
}

.coverage-card--remote {
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(29, 114, 254, 0.12), transparent 65%),
    var(--surface);
}

.coverage-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.42rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.coverage-card--onsite .coverage-badge {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

.coverage-card--remote .coverage-badge {
  background: rgba(29, 114, 254, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: var(--accent-bright);
}

.coverage-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.coverage-card > p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.coverage-list {
  display: grid;
  gap: 10px;
}

.coverage-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.coverage-list li svg {
  flex-shrink: 0;
  margin-top: 4px;
}

.coverage-card--onsite .coverage-list svg { color: var(--green); }
.coverage-card--remote .coverage-list svg { color: var(--accent-bright); }

.coverage-note {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(7, 13, 24, 0.6);
  border: 1px dashed var(--border);
  font-size: 0.82rem;
  color: var(--text-body);
}

/* --------------------------------------------------------------------------
   14. FEATURE CARDS (Why choose us)
   -------------------------------------------------------------------------- */
.feature-card {
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: var(--shadow-card);
}

.feature-card .service-icon {
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 1.12rem;
  margin-bottom: 9px;
}

.feature-card p {
  font-size: 0.92rem;
}

/* Split feature blocks (about) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.split-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 16px;
}

.split-copy p {
  margin-bottom: 16px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-soft);
  font-size: 0.96rem;
}

.check-list .check-ico {
  margin-top: 2px;
}

/* Visual panel used where an image would sit */
.visual-panel {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(320px 200px at 20% 0%, rgba(29, 114, 254, 0.2), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  padding: 34px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.visual-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 80%);
}

.vp-stat {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(7, 13, 24, 0.55);
  border: 1px solid var(--border);
  margin-bottom: 14px;
}

.vp-stat:last-child { margin-bottom: 0; }

.vp-stat .service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.vp-stat strong {
  display: block;
  font-family: var(--font-display);
  color: var(--text-hi);
  font-size: 1rem;
}

.vp-stat span {
  font-size: 0.82rem;
  color: var(--text-body);
}

/* --------------------------------------------------------------------------
   15. DELIVERY METHODOLOGY TIMELINE
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  display: grid;
  gap: 22px;
  max-width: 860px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(56, 189, 248, 0.08));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: flex-start;
}

.timeline-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--surface-2);
  border: 1px solid rgba(56, 189, 248, 0.4);
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent-bright);
  box-shadow: 0 0 0 6px var(--bg-1);
}

.timeline-item h3 {
  font-size: 1.14rem;
  margin-bottom: 6px;
  padding-top: 4px;
}

.timeline-item p {
  font-size: 0.93rem;
}

/* --------------------------------------------------------------------------
   16. COMPARE SERVICES MATRIX (High Contrast)
   -------------------------------------------------------------------------- */
.matrix-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-1);
  box-shadow: var(--shadow-card);
}

.matrix-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-matrix {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.compare-matrix thead th {
  background: var(--surface-2);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  text-align: left;
  padding: 18px 20px;
  border-bottom: 2px solid rgba(56, 189, 248, 0.45);
  white-space: nowrap;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.compare-matrix thead th:first-child {
  min-width: 250px;
}

.compare-matrix tbody td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
  vertical-align: middle;
}

.compare-matrix tbody tr:nth-child(odd) {
  background: var(--bg-1);       /* #0a1122 deep row */
}

.compare-matrix tbody tr:nth-child(even) {
  background: var(--surface);    /* #0f172a elevated row */
}

.compare-matrix tbody tr:hover {
  background: rgba(29, 114, 254, 0.08);
}

.compare-matrix .row-label {
  color: #f8fafc;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.94rem;
}

.compare-matrix .row-label small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text-body);
  font-size: 0.78rem;
  margin-top: 2px;
}

.matrix-yes,
.matrix-no {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-weight: 800;
  font-size: 0.9rem;
}

.matrix-yes {
  color: var(--green);
  background: rgba(34, 197, 94, 0.13);
  border: 1px solid rgba(34, 197, 94, 0.4);
  text-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

.matrix-no {
  color: var(--text-faint);
  background: rgba(100, 116, 139, 0.1);
  border: 1px solid rgba(100, 116, 139, 0.28);
}

.matrix-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 16px 20px;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  font-size: 0.84rem;
  color: var(--text-soft);
}

.matrix-legend span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

/* --------------------------------------------------------------------------
   17. TESTIMONIALS (High Contrast)
   -------------------------------------------------------------------------- */
.rating-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px 46px;
  padding: 30px 34px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(500px 240px at 10% 0%, rgba(29, 114, 254, 0.14), transparent 65%),
    var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 48px;
}

.rating-score {
  display: flex;
  align-items: center;
  gap: 18px;
}

.rating-score .score-num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text-hi);
  line-height: 1;
}

.rating-score .score-stars {
  color: var(--gold);
  font-size: 1.15rem;
  letter-spacing: 3px;
  text-shadow: 0 0 14px rgba(245, 158, 11, 0.45);
}

.rating-score .score-src {
  font-size: 0.84rem;
  color: var(--text-body);
  margin-top: 5px;
}

.rating-meta {
  display: grid;
  gap: 6px;
  padding-left: 40px;
  border-left: 1px solid var(--border);
}

.rating-meta strong {
  font-family: var(--font-display);
  color: var(--text-hi);
  font-size: 1.02rem;
}

.rating-meta span {
  font-size: 0.85rem;
  color: var(--text-body);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: var(--shadow-card);
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 22px;
  font-family: Georgia, serif;
  font-size: 4.6rem;
  line-height: 1;
  color: rgba(56, 189, 248, 0.14);
  pointer-events: none;
}

.t-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 3px;
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.t-quote {
  color: #f1f5f9;                    /* bright high-contrast quote body */
  font-size: 0.97rem;
  line-height: 1.75;
  flex-grow: 1;
  font-weight: 400;
}

.t-person {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.t-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.25), 0 8px 20px rgba(29, 114, 254, 0.35);
}

.t-name {
  font-weight: 700;
  color: #ffffff;                    /* bold white reviewer name */
  font-size: 0.98rem;
  line-height: 1.3;
}

.t-role {
  color: var(--accent-bright);       /* electric blue designation */
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
}

.t-source {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-soft);
  border: 1px solid var(--border);
  background: rgba(19, 29, 53, 0.8);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.7rem;
  white-space: nowrap;
}

.t-source .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

/* Filter chips (testimonials page) */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-chip {
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--outline-border);
  background: transparent;
  color: var(--outline-text);
  font-size: 0.87rem;
  font-weight: 600;
  transition: all var(--transition);
}

.filter-chip:hover {
  border-color: var(--accent-bright);
  color: #fff;
}

.filter-chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-accent);
}

/* --------------------------------------------------------------------------
   18. CONTACT PAGE
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: start;
}

.contact-card {
  padding: 34px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.contact-card h2 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.contact-card > p {
  font-size: 0.92rem;
  margin-bottom: 26px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-soft);
}

.form-field label .req {
  color: var(--danger);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(7, 13, 24, 0.65);
  color: var(--text-hi);
  transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
  min-height: 46px;
}

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

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-faint);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(29, 114, 254, 0.22);
  background: rgba(7, 13, 24, 0.85);
}

.form-field input.is-invalid,
.form-field textarea.is-invalid,
.form-field select.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.field-error {
  font-size: 0.76rem;
  color: var(--danger);
  display: none;
}

.field-error.is-visible {
  display: block;
}

.form-note {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  color: var(--text-faint);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.form-note svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent-bright);
}

.form-success {
  display: none;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.45);
  margin-top: 18px;
}

.form-success.is-visible {
  display: flex;
}

.form-success svg {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

.form-success strong {
  color: #bbf7d0;
  display: block;
  margin-bottom: 3px;
}

.form-success p {
  font-size: 0.86rem;
  color: var(--text-soft);
}

.form-success a {
  font-weight: 700;
}

/* Contact info side */
.contact-aside {
  display: grid;
  gap: 22px;
}

.info-card {
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}

.info-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
}

.info-card h3 {
  font-size: 1.08rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-card h3 svg {
  color: var(--accent-bright);
}

.contact-lines {
  display: grid;
  gap: 14px;
}

.contact-line {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

.contact-line .service-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.contact-line strong {
  display: block;
  color: var(--text-hi);
  font-size: 0.92rem;
  font-weight: 600;
}

.contact-line a,
.contact-line span {
  font-size: 0.88rem;
  color: var(--text-body);
  word-break: break-word;
}

.contact-line a:hover {
  color: var(--accent-bright);
}

/* Support matrix (contact) */
.support-matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.support-matrix th,
.support-matrix td {
  padding: 11px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
}

.support-matrix thead th {
  background: var(--surface-2);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.support-matrix tbody tr:nth-child(odd) { background: var(--bg-1); }
.support-matrix tbody tr:nth-child(even) { background: var(--surface); }
.support-matrix tbody tr:last-child td { border-bottom: none; }

.support-matrix td:first-child {
  color: #f8fafc;
  font-weight: 600;
}

/* Map */
.map-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  background: var(--surface);
}

.map-frame iframe {
  width: 100%;
  height: 380px;
  border: 0;
  filter: invert(0.92) hue-rotate(185deg) saturate(0.75) contrast(0.92) brightness(0.95);
}

.map-pin-note {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: rgba(7, 13, 24, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: var(--text-hi);
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.map-pin-note svg {
  color: var(--accent-bright);
}

/* --------------------------------------------------------------------------
   19. CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding: 74px 0;
  background:
    radial-gradient(680px 300px at 50% -60%, rgba(56, 189, 248, 0.22), transparent 65%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  border-top: 1px solid rgba(56, 189, 248, 0.28);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}

.cta-inner {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.cta-inner h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin-bottom: 14px;
}

.cta-inner p {
  color: var(--text-soft);
  font-size: 1.04rem;
  margin-bottom: 30px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.cta-phone a {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text-hi);
  font-size: 1.05rem;
}

.cta-phone a:hover {
  color: var(--accent-bright);
}

/* --------------------------------------------------------------------------
   20. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: auto;
  background:
    radial-gradient(900px 400px at 90% 0%, rgba(29, 114, 254, 0.09), transparent 60%),
    var(--bg-0);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 1fr 1.1fr;
  gap: 44px;
  padding: 66px 0 48px;
}

.footer-brand .navbar-brand {
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.92rem;
  margin-bottom: 22px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.6);
  color: var(--text-soft);
  transition: all var(--transition);
}

.footer-social a:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-accent);
}

.footer-col h3 {
  font-size: 0.98rem;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.footer-col h3::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  margin-top: 10px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
}

.footer-links {
  display: grid;
  gap: 11px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-body);
  font-size: 0.9rem;
  transition: color var(--transition), transform var(--transition);
}

.footer-links a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.7);
  transition: transform var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-contact {
  display: grid;
  gap: 16px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.89rem;
  color: var(--text-body);
}

.footer-contact li svg {
  color: var(--accent-bright);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact a {
  color: var(--text-body);
}

.footer-contact a:hover {
  color: var(--accent-bright);
}

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding: 22px 0;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  font-size: 0.82rem;
  color: var(--text-faint);
}

.footer-bottom-inner p span {
  color: var(--text-soft);
}

/* --------------------------------------------------------------------------
   21. BACK-TO-TOP & HELPERS
   -------------------------------------------------------------------------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 84px; /* stacked above the floating WhatsApp button */
  z-index: 150;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-accent);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}

.to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.to-top:hover {
  background: #2f84ff;
}

.divider-soft {
  height: 1px;
  background: var(--border-soft);
  border: none;
}

/* --------------------------------------------------------------------------
   22. REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   23. SCROLLBAR
   -------------------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-0);
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 99px;
  border: 2px solid var(--bg-0);
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #1e293b var(--bg-0);
}

/* --------------------------------------------------------------------------
   24. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1060px) {
  .services-grid,
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .nav-link { padding: 10px 10px; }
  .phone-cta span { display: none; }
  .phone-cta { padding: 10px 12px; }
}

@media (max-width: 920px) {
  /* Mobile navigation drawer */
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: calc(var(--header-h));
    left: 0;
    right: 0;
    z-index: 99;
    background: rgba(7, 13, 24, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 18px 22px 26px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease, transform 0.24s ease;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .main-nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-link {
    display: block;
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 1rem;
  }

  .nav-link.is-active {
    background: rgba(29, 114, 254, 0.14);
  }

  .nav-link.is-active::after { display: none; }

  .nav-mobile-cta {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
  }

  .quote-btn { display: none; }

  /* Layout collapse */
  .hero { padding: 72px 0 84px; }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero .lead { max-width: 640px; }

  .split { grid-template-columns: 1fr; gap: 36px; }
  .coverage-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }

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

  .service-detail { grid-template-columns: 1fr; }
  .service-detail .service-icon { width: 56px; height: 56px; }
  .service-features { grid-template-columns: 1fr; }

  .section { padding-block: 72px; }
}

@media (max-width: 700px) {
  .topbar-inner { justify-content: center; }

  .services-grid,
  .testimonials-grid,
  .grid-2,
  .grid-3 { grid-template-columns: 1fr; }

  .form-grid { grid-template-columns: 1fr; }

  .hero-metrics { gap: 14px 26px; }

  .rating-summary { padding: 26px 22px; }
  .rating-meta { padding-left: 24px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 52px 0 40px;
  }

  .float-tr { top: -18px; right: 0; }
  .float-bl { bottom: -18px; left: 0; }
  .float-badge { font-size: 0.78rem; padding: 9px 13px; }
}

@media (max-width: 480px) {
  .container { padding-inline: 18px; }

  .hero { padding: 60px 0 72px; }
  .hero-actions .btn { width: 100%; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat-card { padding: 20px 12px; }

  .topbar-contact { gap: 10px; font-size: 0.78rem; }
  .topbar-contact .hours { display: none; }
  .topbar-contact .divider { display: none; }
  .topbar-social { display: none; }

  .float-badge small { display: none; }
}

/* --------------------------------------------------------------------------
   25. ACCESSIBILITY & REDUCED MOTION
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.65);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   26. BLOG — TECH INSIGHTS (category tabs, article cards, newsletter)
   -------------------------------------------------------------------------- */
.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;
}

.page-hero .badge-pill {
  margin-bottom: 20px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--surface);            /* dark elevated slate #0f172a   */
  border: 1px solid var(--border);       /* subtle #1e293b border         */
  border-radius: var(--radius-lg);
  padding: 26px 24px 24px;
  transition: transform var(--transition), border-color var(--transition),
    box-shadow var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 22px 48px rgba(2, 6, 17, 0.6);
}

.blog-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
}

.blog-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(19, 29, 53, 0.55);
  color: var(--accent-bright);
}

/* Title — high-contrast pure white, electric sky blue on hover */
.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.blog-card h3 a {
  color: #ffffff;
  transition: color var(--transition);
}

.blog-card h3 a:hover,
.blog-card h3 a:focus-visible {
  color: var(--accent-bright);           /* #38bdf8 */
}

/* Excerpt — readable cool slate #94a3b8 */
.blog-excerpt {
  font-size: 0.94rem;
  line-height: 1.72;
  color: var(--text-body);
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
  font-size: 0.82rem;
  color: var(--text-faint);
}

.blog-meta svg {
  color: var(--accent-bright);
  opacity: 0.9;
}

/* "Read Article →" — electric blue #1d72fe */
.blog-read {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent);
}

.blog-read .arrow {
  transition: transform var(--transition);
}

.blog-read:hover,
.blog-read:focus-visible {
  color: var(--accent-bright);
}

.blog-read:hover .arrow,
.blog-read:focus-visible .arrow {
  transform: translateX(4px);
}

/* Newsletter / advisory CTA */
.newsletter-form {
  display: flex;
  align-items: stretch;
  gap: 12px;
  max-width: 540px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 0;
  min-height: 50px;
  background: #0b1322;                   /* simple dark input field       */
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.85rem 1.4rem;
  color: var(--text-hi);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.newsletter-form input::placeholder {
  color: var(--text-faint);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
}

.newsletter-form input.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.newsletter-msg {
  margin-top: 16px;
  min-height: 1.5em;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-soft);
}

.newsletter-msg.is-ok { color: #4ade80; }
.newsletter-msg.is-err { color: var(--danger); }

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

@media (max-width: 700px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   27. LEAD POPUP MODAL
   Auto-opens 3s after page load (once per session). Close via the
   top-right cross, ESC or backdrop click. Form reuses .form-field,
   .field-error and .form-success primitives from section 18.
   -------------------------------------------------------------------------- */
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lead-modal[hidden] { display: none; }

.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 17, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity var(--transition);
}

.lead-modal__card {
  position: relative;
  width: min(560px, 100%);
  max-height: min(92vh, 800px);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 30px 26px;
  box-shadow: 0 30px 80px rgba(2, 6, 17, 0.65);
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.lead-modal.is-open .lead-modal__backdrop { opacity: 1; }
.lead-modal.is-open .lead-modal__card { opacity: 1; transform: none; }

.lead-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(30, 41, 59, 0.55);
  color: var(--text-soft);
  cursor: pointer;
  transition: all var(--transition);
}

.lead-modal__close:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(90deg);
}

.lead-modal__close:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}

.lead-modal__flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(29, 114, 254, 0.14);
  border: 1px solid rgba(29, 114, 254, 0.4);
  color: var(--accent-bright);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-right: 52px;
}

.lead-modal__title {
  margin: 14px 52px 0 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-hi);
  line-height: 1.25;
}

.lead-modal__sub {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--text-body);
}

.lead-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}

.lead-form-grid .form-field--full { grid-column: 1 / -1; }

.lead-form-grid .form-field[hidden] { display: none; }

.lead-form-grid .form-field textarea {
  min-height: 96px;
}

.lead-modal .btn {
  width: 100%;
  min-height: 48px;
  font-size: 0.95rem;
}

.lead-modal__note {
  margin-top: 10px;
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--text-faint);
  text-align: center;
}

.lead-modal__card .form-success {
  margin-top: 4px;
}

.lead-modal__card .form-success p a {
  color: var(--accent-bright);
}

.lead-modal__mailstatus {
  min-height: 1.1em;
  font-size: 0.78rem;
  color: var(--text-faint);
}

.lead-modal__mailstatus.is-ok {
  color: #4ade80;
  font-weight: 600;
}

.lead-modal__card::-webkit-scrollbar { width: 8px; }
.lead-modal__card::-webkit-scrollbar-track { background: transparent; }
.lead-modal__card::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 8px; }

/* --------------------------------------------------------------------------
   28. FLOATING WHATSAPP BUTTON (fixed bottom-right, visible while scrolling)
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 180; /* above content & back-to-top (150), below lead modal (400) */
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35), 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.wa-float svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
  display: block;
}

.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.5);
  opacity: 0;
  animation: wa-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes wa-pulse {
  0%       { transform: scale(1);   opacity: 0.55; }
  70%,100% { transform: scale(1.7); opacity: 0; }
}

.wa-float:hover,
.wa-float:focus-visible {
  background: #2ee06f;
  color: #ffffff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45), 0 6px 14px rgba(0, 0, 0, 0.32);
}

.wa-float:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.65);
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .wa-float {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 50px;
    height: 50px;
  }

  .wa-float svg { width: 25px; height: 25px; }
}

@media (max-width: 560px) {
  .lead-modal { padding: 14px; }

  .lead-modal__card {
    padding: 24px 18px 20px;
    border-radius: 16px;
    max-height: 94vh;
  }

  .lead-modal__title { font-size: 1.28rem; margin-right: 48px; }

  .lead-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
