/* ===== PRELOADER ===== */
.preloader {
  position: fixed;
  inset: 0;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-ring {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 4px solid rgba(148, 163, 184, 0.4);
  border-top-color: #22c55e;
  animation: spin 0.9s linear infinite;
  position: relative;
}
.loader-ring::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-right-color: #38bdf8;
  animation: spin 0.8s linear infinite reverse;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== THEME VARIABLES ===== */
:root {
  --primary: #145af2;
  --primary-dark: #0b3ab3;
  --accent: #22c55e;
  --bg: #0b1120;
  --bg-soft: #020617;
  --card-bg: #020617;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --border-subtle: #1e293b;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.75);
  --radius-lg: 18px;
  --radius-pill: 999px;
  --container: 1120px;
}

/* Light theme overrides */
html[data-theme="light"] {
  --bg: #f3f4f6;
  --bg-soft: #ffffff;
  --card-bg: #ffffff;
  --text-main: #111827;
  --text-muted: #6b7280;
  --border-subtle: #e5e7eb;
  --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.15);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #1d263b 0, #020617 45%, #000 100%);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  scroll-behavior: smooth;
}
html[data-theme="light"] body {
  background: radial-gradient(circle at top, #e5e7eb 0, #f3f4f6 45%, #ffffff 100%);
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
section {
  scroll-margin-top: 80px;
}
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.96),
    rgba(15, 23, 42, 0.94)
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}
html[data-theme="light"] header {
  background: rgba(249, 250, 251, 0.92);
  border-bottom-color: rgba(209, 213, 219, 0.9);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  gap: 12px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 20% 20%, #22c55e 0, transparent 55%),
    radial-gradient(circle at 80% 80%, #38bdf8 0, transparent 55%),
    linear-gradient(145deg, #020617, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.9);
}
html[data-theme="light"] .logo-mark {
  background:
    radial-gradient(circle at 20% 20%, #16a34a 0, transparent 55%),
    radial-gradient(circle at 80% 80%, #0ea5e9 0, transparent 55%),
    linear-gradient(145deg, #111827, #020617);
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-text span:first-child {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.brand-text span:last-child {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
}
.nav-links a {
  position: relative;
  padding: 6px 10px;
  color: #cbd5f5;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}
html[data-theme="light"] .nav-links a {
  color: #111827;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, #22c55e, #38bdf8);
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.nav-links a:hover {
  color: #ffffff;
  background: rgba(15, 23, 42, 0.85);
}
html[data-theme="light"] .nav-links a:hover {
  color: #111827;
  background: rgba(229, 231, 235, 0.9);
}
.nav-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Theme toggle pill switch */
.theme-toggle {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.theme-toggle-track {
  position: relative;
  width: 54px;
  height: 28px;
  border-radius: 999px;
  padding: 3px;
  background: linear-gradient(135deg, #020617, #0f172a);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
html[data-theme="light"] .theme-toggle-track {
  background: #e5e7eb;
  border-color: #d1d5db;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
}
.theme-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #f9fafb;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.65);
  transition: transform 0.22s ease;
}
html[data-theme="light"] .theme-toggle-knob {
  transform: translateX(24px);
}
.theme-toggle-icon {
  font-size: 0.85rem;
  width: 18px;
  text-align: center;
  opacity: 0.4;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 1;
}
.theme-toggle-icon-moon {
  color: #e5e7eb;
  margin-left: 4px;
}
.theme-toggle-icon-sun {
  color: #fde68a;
  margin-right: 4px;
}
html[data-theme="dark"] .theme-toggle-icon-moon {
  opacity: 1;
  transform: translateX(0);
}
html[data-theme="dark"] .theme-toggle-icon-sun {
  opacity: 0.3;
  transform: translateX(-2px);
}
html[data-theme="light"] .theme-toggle-icon-sun {
  opacity: 1;
  transform: translateX(0);
}
html[data-theme="light"] .theme-toggle-icon-moon {
  opacity: 0.3;
  transform: translateX(2px);
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at 0 0, rgba(56,189,248,0.24), transparent 55%);
  font-size: 0.8rem;
  color: #e5e7eb;
}
html[data-theme="light"] .phone-pill {
  background: #ffffff;
  color: #111827;
  border-color: rgba(209,213,219,1);
}
.phone-pill span {
  font-weight: 600;
}
.btn-primary {
  border: none;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: #f9fafb;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 14px 35px rgba(22,163,74,0.5);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(22,163,74,0.65);
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

/* Mobile hamburger toggle – pill button with animated bars */
.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
html[data-theme="light"] .hamburger {
  background: #ffffff;
  border-color: #d1d5db;
  box-shadow: 0 2px 6px rgba(15,23,42,0.12);
}
.hamburger span {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  transition: transform 0.22s ease, opacity 0.18s ease, top 0.22s ease, bottom 0.22s ease;
}
html[data-theme="light"] .hamburger span {
  background: #111827;
}
.hamburger span:nth-child(1) {
  top: 8px;
}
.hamburger span:nth-child(2) {
  top: 14px;
}
.hamburger span:nth-child(3) {
  bottom: 8px;
}
.nav-mobile-open .hamburger span:nth-child(1) {
  top: 14px;
  transform: rotate(45deg);
}
.nav-mobile-open .hamburger span:nth-child(2) {
  opacity: 0;
}
.nav-mobile-open .hamburger span:nth-child(3) {
  bottom: 14px;
  transform: rotate(-45deg);
}

.nav-links-mobile {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 0 16px 12px;
  background: radial-gradient(circle at top, rgba(15,23,42,0.98), rgba(15,23,42,0.96));
  border-bottom: 1px solid rgba(30, 64, 175, 0.6);
}
html[data-theme="light"] .nav-links-mobile {
  background: #ffffff;
  border-bottom-color: #e5e7eb;
}
.nav-links-mobile a {
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(15,23,42,0.85);
  border: 1px solid rgba(148,163,184,0.35);
  font-size: 0.9rem;
}
html[data-theme="light"] .nav-links-mobile a {
  background: #f3f4f6;
  color: #111827;
}

/* ===== HERO ===== */
.hero {
  padding: 40px 0 36px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(56,189,248,0.5);
  font-size: 0.75rem;
  color: #bae6fd;
  margin-bottom: 12px;
}
html[data-theme="light"] .hero-kicker {
  background: #e5f3ff;
  color: #1e3a8a;
  border-color: #38bdf8;
}
.hero-kicker span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(34,197,94,0.18);
  color: #bbf7d0;
  font-size: 0.7rem;
}
.hero h1 {
  font-size: clamp(2.05rem, 3.3vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}
.hero h1 span {
  background-image: linear-gradient(120deg, #38bdf8, #22c55e);
  -webkit-background-clip: text;
  color: transparent;
}
.hero-subtitle {
  font-size: 0.97rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 18px;
}

/* Toll-Free highlight box */
.tollfree-highlight {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 10px 12px;
  margin-bottom: 18px;
  border-radius: 14px;
  border: 1px solid rgba(34,197,94,0.7);
  background: radial-gradient(circle at 0 0, rgba(34,197,94,0.28), transparent 55%),
              rgba(15,23,42,0.96);
  box-shadow: 0 12px 30px rgba(22,163,74,0.5);
  max-width: 320px;
}
.tollfree-highlight .tf-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #bbf7d0;
}
.tollfree-highlight .tf-number {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f9fafb;
}
.tollfree-highlight .tf-number:hover {
  text-decoration: underline;
}
.tollfree-highlight .tf-note {
  font-size: 0.8rem;
  color: #d1fae5;
}
.tf-inline {
  font-weight: 600;
  color: #22c55e;
}
.tf-inline:hover {
  text-decoration: underline;
}
html[data-theme="light"] .tollfree-highlight {
  background: #ecfdf3;
  border-color: #4ade80;
  box-shadow: 0 10px 24px rgba(22,163,74,0.25);
}
html[data-theme="light"] .tollfree-highlight .tf-label {
  color: #15803d;
}
html[data-theme="light"] .tollfree-highlight .tf-number {
  color: #166534;
}
html[data-theme="light"] .tollfree-highlight .tf-note {
  color: #166534;
}
html[data-theme="light"] .tf-inline {
  color: #15803d;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.5);
  background: rgba(15,23,42,0.85);
  font-size: 0.8rem;
}
html[data-theme="light"] .hero-badge {
  background: #ffffff;
  border-color: #e5e7eb;
}
.hero-badge strong {
  color: #e5e7eb;
}
html[data-theme="light"] .hero-badge strong {
  color: #111827;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.btn-ghost {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148,163,184,0.55);
  background: rgba(15,23,42,0.75);
  color: #e5e7eb;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn-ghost:hover {
  transform: translateY(-1px);
  background: rgba(15,23,42,0.95);
  border-color: rgba(248,250,252,0.7);
}
html[data-theme="light"] .btn-ghost {
  background: #ffffff;
  color: #111827;
  border-color: #d1d5db;
}
html[data-theme="light"] .btn-ghost:hover {
  background: #e5e7eb;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.hero-meta div span {
  display: block;
  font-size: 0.9rem;
  color: #e5e7eb;
  font-weight: 600;
}
html[data-theme="light"] .hero-meta div span {
  color: #111827;
}

/* Hero visual card */
.hero-card {
  border-radius: 26px;
  background: radial-gradient(circle at 0 0, rgba(56,189,248,0.22), transparent 50%),
              radial-gradient(circle at 100% 100%, rgba(34,197,94,0.3), transparent 55%),
              linear-gradient(145deg, #020617, #020617);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,0.28);
  isolation: isolate;
}
html[data-theme="light"] .hero-card {
  background: radial-gradient(circle at 0 0, rgba(56,189,248,0.18), transparent 50%),
              radial-gradient(circle at 100% 100%, rgba(34,197,94,0.22), transparent 55%),
              linear-gradient(145deg, #ffffff, #e5e7eb);
  border-color: #e5e7eb;
}
.hero-card-inner {
  border-radius: 18px;
  background: radial-gradient(circle at top, rgba(15,23,42,0.95), rgba(15,23,42,0.98));
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}
html[data-theme="light"] .hero-card-inner {
  background: #f9fafb;
}
.hero-photo {
  border-radius: 18px;
  background: radial-gradient(circle at 20% 20%, #1f2937 0, #020617 60%);
  padding: 10px;
  position: relative;
  overflow: hidden;
}
html[data-theme="light"] .hero-photo {
  background: radial-gradient(circle at 20% 20%, #d1d5db 0, #9ca3af 60%);
}
.hero-machine {
  border-radius: 18px;
  background: radial-gradient(circle at top, #111827, #020617);
  border: 1px solid rgba(148,163,184,0.4);
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
html[data-theme="light"] .hero-machine {
  background: radial-gradient(circle at top, #ffffff, #e5e7eb);
  border-color: #d1d5db;
}
.machine-drum {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 4px solid rgba(148,163,184,0.65);
  position: relative;
  box-shadow: inset 0 0 25px rgba(15,23,42,0.9);
  background: radial-gradient(circle at 30% 20%, #38bdf8 0, transparent 40%),
              radial-gradient(circle at 70% 80%, rgba(15,23,42,0.9) 0, #020617 55%);
  animation: drum-spin 7s linear infinite;
}
html[data-theme="light"] .machine-drum {
  box-shadow: inset 0 0 25px rgba(148,163,184,0.6);
}
@keyframes drum-spin {
  to { transform: rotate(360deg); }
}
.machine-drum::after {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  border: 2px dashed rgba(56,189,248,0.8);
}
.spark {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34,197,94,0.9);
  animation: spark 2.1s ease-in-out infinite alternate;
}
.spark:nth-child(1) { top: 16%; left: 18%; }
.spark:nth-child(2) { bottom: 18%; right: 20%; animation-delay: 0.4s; }
.spark:nth-child(3) { bottom: 10%; left: 46%; animation-delay: 0.8s; }
@keyframes spark {
  0% { transform: scale(0.7); opacity: 0.3; }
  100% { transform: scale(1.3); opacity: 1; }
}

.hero-card-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8rem;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(56,189,248,0.6);
  background: rgba(15,23,42,0.85);
  color: #e0f2fe;
  font-size: 0.75rem;
  align-self: flex-start;
}
html[data-theme="light"] .hero-chip {
  background: #e0f2fe;
  color: #1e3a8a;
}
.hero-card-meta h2 {
  font-size: 1.15rem;
  margin-top: 4px;
}
.hero-card-meta p {
  color: var(--text-muted);
}
.hero-card-list {
  margin-top: 8px;
  display: grid;
  gap: 4px;
}
.hero-card-list li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
}
.hero-card-list span.bullet {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #22c55e;
}
.hero-tag-strip {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
}
.hero-tag {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  border: 1px dashed rgba(148,163,184,0.5);
}
html[data-theme="light"] .hero-tag {
  background: #ffffff;
  border-color: #e5e7eb;
}

/* ===== GENERIC SECTION STYLES ===== */
.section {
  padding: 26px 0;
}
.section-header {
  margin-bottom: 18px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.5);
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(15,23,42,0.9);
}
html[data-theme="light"] .section-tag {
  background: #e5f3ff;
  border-color: #bfdbfe;
  color: #1e3a8a;
}
.section-title {
  font-size: 1.35rem;
  margin-top: 8px;
}
.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 620px;
  margin-top: 4px;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 22px;
  align-items: flex-start;
}
.about-card {
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: rgba(15,23,42,0.92);
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: 0 14px 40px rgba(15,23,42,0.8);
}
html[data-theme="light"] .about-card {
  background: #ffffff;
  border-color: #e5e7eb;
  box-shadow: 0 10px 25px rgba(15,23,42,0.08);
}
.about-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.about-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  margin-top: 14px;
}
.about-highlight {
  padding: 10px;
  border-radius: 12px;
  background: rgba(15,23,42,0.95);
  border: 1px solid rgba(30,64,175,0.6);
  font-size: 0.8rem;
}
html[data-theme="light"] .about-highlight {
  background: #f3f4f6;
  border-color: #d1d5db;
}
.about-highlight strong {
  display: block;
  font-size: 0.9rem;
}

.about-faq {
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  background: rgba(15,23,42,0.96);
  border: 1px dashed rgba(148,163,184,0.5);
  font-size: 0.82rem;
  color: var(--text-muted);
}
html[data-theme="light"] .about-faq {
  background: #ffffff;
  border-color: #e5e7eb;
}
.about-faq h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: #e5e7eb;
}
html[data-theme="light"] .about-faq h3 {
  color: #111827;
}
.about-faq ul {
  margin-top: 6px;
  display: grid;
  gap: 4px;
  padding-left: 18px;
}

/* ===== SERVICES ===== */
.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 22px;
  align-items: flex-start;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.service-card {
  position: relative;
  padding: 12px 12px 13px;
  border-radius: 16px;
  background: radial-gradient(circle at top left, rgba(56,189,248,0.18), transparent 60%),
              radial-gradient(circle at bottom right, rgba(34,197,94,0.2), transparent 60%),
              rgba(15,23,42,0.97);
  border: 1px solid rgba(148,163,184,0.5);
  box-shadow: 0 16px 38px rgba(15,23,42,0.85);
  overflow: hidden;
  isolation: isolate;
}
html[data-theme="light"] .service-card {
  background: radial-gradient(circle at top left, rgba(56,189,248,0.15), transparent 60%),
              radial-gradient(circle at bottom right, rgba(34,197,94,0.15), transparent 60%),
              #ffffff;
  border-color: #e5e7eb;
  box-shadow: 0 10px 25px rgba(15,23,42,0.08);
}
.service-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 10px;
  background: rgba(15,23,42,0.95);
  border: 1px solid rgba(148,163,184,0.7);
  font-size: 0.9rem;
  margin-bottom: 6px;
}
html[data-theme="light"] .service-badge {
  background: #f3f4f6;
  border-color: #d1d5db;
}
.service-card h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.service-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.75rem;
}
.service-tag {
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(15,23,42,0.95);
  border: 1px solid rgba(148,163,184,0.4);
}
html[data-theme="light"] .service-tag {
  background: #f3f4f6;
  border-color: #d1d5db;
}
.service-cta {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #bbf7d0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border: none;
  background: transparent;
}
html[data-theme="light"] .service-cta {
  color: #16a34a;
}
.service-cta span {
  font-size: 1rem;
}

.service-side-card {
  padding: 14px 16px;
  border-radius: 16px;
  background: radial-gradient(circle at top, rgba(56,189,248,0.2), transparent 60%),
              rgba(15,23,42,0.97);
  border: 1px solid rgba(37,99,235,0.7);
  box-shadow: 0 20px 45px rgba(15,23,42,0.9);
  font-size: 0.82rem;
}
html[data-theme="light"] .service-side-card {
  background: #f1f5f9;
  border-color: #93c5fd;
  box-shadow: 0 10px 25px rgba(15,23,42,0.08);
}
.service-side-card h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.service-side-card ul {
  margin-top: 6px;
  padding-left: 16px;
  display: grid;
  gap: 4px;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 22px;
  align-items: flex-start;
}
.contact-card {
  padding: 16px 16px;
  border-radius: 18px;
  background: rgba(15,23,42,0.97);
  border: 1px solid rgba(148,163,184,0.4);
  box-shadow: 0 18px 42px rgba(15,23,42,0.9);
  font-size: 0.85rem;
}
html[data-theme="light"] .contact-card {
  background: #ffffff;
  border-color: #e5e7eb;
  box-shadow: 0 10px 25px rgba(15,23,42,0.08);
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}
.contact-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(148,163,184,0.6);
  font-size: 0.9rem;
}
html[data-theme="light"] .contact-icon {
  background: #f3f4f6;
  border-color: #d1d5db;
}
.contact-item strong {
  display: block;
  font-size: 0.9rem;
}
.contact-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.contact-form-card {
  padding: 16px;
  border-radius: 18px;
  background: radial-gradient(circle at top, rgba(34,197,94,0.24), transparent 55%),
              rgba(15,23,42,0.97);
  border: 1px solid rgba(34,197,94,0.7);
  box-shadow: 0 20px 48px rgba(15,23,42,0.95);
}
html[data-theme="light"] .contact-form-card {
  background: #ecfdf3;
  border-color: #4ade80;
  box-shadow: 0 10px 25px rgba(15,23,42,0.08);
}
.contact-form-card h3 {
  font-size: 0.98rem;
  margin-bottom: 8px;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.form-group {
  margin-bottom: 8px;
}
label {
  display: block;
  font-size: 0.78rem;
  margin-bottom: 3px;
  color: #e5e7eb;
}
html[data-theme="light"] label {
  color: #111827;
}
input, select, textarea {
  width: 100%;
  padding: 8px 9px;
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,0.6);
  background: rgba(15,23,42,0.95);
  color: #e5e7eb;
  font-size: 0.8rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea {
  background: #ffffff;
  color: #111827;
  border-color: #d1d5db;
}
input::placeholder,
textarea::placeholder {
  color: #6b7280;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 1px rgba(34,197,94,0.4);
  background: rgba(15,23,42,1);
}
html[data-theme="light"] input:focus,
html[data-theme="light"] select:focus,
html[data-theme="light"] textarea:focus {
  background: #ffffff;
}
textarea {
  min-height: 90px;
  resize: vertical;
}

/* ===== FOOTER & MOBILE FOOTER ===== */
footer {
  border-top: 1px solid rgba(51,65,85,0.9);
  background: radial-gradient(circle at top, #020617 0, #020617 50%, #020617 100%);
  margin-top: 26px;
}
html[data-theme="light"] footer {
  background: #f9fafb;
  border-top-color: #e5e7eb;
}
.footer-main {
  padding: 16px 16px 60px;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.footer-main strong {
  color: #e5e7eb;
}
html[data-theme="light"] .footer-main strong {
  color: #111827;
}
.footer-left a {
  color: #e5e7eb;
  text-decoration: none;
}
.footer-left a:hover {
  text-decoration: underline;
}
html[data-theme="light"] .footer-left a {
  color: #111827;
}

.mobile-footer {
  position: fixed;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: 40;
  background: radial-gradient(circle at top, rgba(15,23,42,0.98), rgba(15,23,42,0.98));
  border-top: 1px solid rgba(30,64,175,0.7);
  display: none;
}
html[data-theme="light"] .mobile-footer {
  background: #ffffff;
  border-top-color: #e5e7eb;
}
.mobile-footer-nav {
  display: flex;
  justify-content: space-around;
  padding: 7px 4px;
}
.mobile-footer-nav button {
  flex: 1;
  border: none;
  background: transparent;
  color: #9ca3af;
  font-size: 0.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 0;
  cursor: pointer;
}
html[data-theme="light"] .mobile-footer-nav button {
  color: #6b7280;
}
.mobile-footer-nav button span.icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  background: rgba(15,23,42,0.95);
}
html[data-theme="light"] .mobile-footer-nav button span.icon {
  background: #f3f4f6;
  border-color: #d1d5db;
}
.mobile-footer-nav button.active {
  color: #e5e7eb;
}
html[data-theme="light"] .mobile-footer-nav button.active {
  color: #111827;
}
.mobile-footer-nav button.active span.icon {
  border-color: #22c55e;
  background: radial-gradient(circle at 0 0, rgba(34,197,94,0.7), rgba(15,23,42,1));
}
html[data-theme="light"] .mobile-footer-nav button.active span.icon {
  background: radial-gradient(circle at 0 0, rgba(34,197,94,0.2), #22c55e);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 76px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.8);
  background: radial-gradient(circle at top, rgba(56,189,248,0.18), rgba(15,23,42,1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #e5e7eb;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 30;
}
html[data-theme="light"] .back-to-top {
  background: radial-gradient(circle at top, rgba(56,189,248,0.1), #ffffff);
  color: #111827;
  border-color: #d1d5db;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .services-layout,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-card-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-card-inner {
    gap: 12px;
  }
  .service-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .about-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .nav-links-mobile {
    display: flex;
  }
  .hero {
    padding-top: 26px;
  }
  .hero h1 {
    font-size: clamp(1.7rem, 6vw, 2.1rem);
  }
  .hero-subtitle {
    font-size: 0.9rem;
  }

  /* Hide phone pill and Book Service button on header in mobile view */
  .nav-cta .phone-pill,
  .nav-cta .btn-primary {
    display: none;
  }

  .about-highlights {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-main {
    padding-bottom: 52px;
  }
  .mobile-footer {
    display: block;
  }
}
@media (max-width: 480px) {
  .hero-badges {
    flex-direction: column;
  }
  .hero-meta {
    flex-direction: column;
  }
  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-main {
    flex-direction: column;
    text-align: center;
  }
}
