/* ==========================================================================
   A1 CoolTech Repair — Core Design System (Mobile-First)
   Primary Theme: Dark Amethyst, Deep Purple, Royal Violet & Soft Mauve
   Fonts: Space Grotesk (Headings) & Inter (Body)
   ========================================================================== */

:root {
  /* Exact Supplied Palette — Dark Amethyst */
  --amethyst-950: #030008;
  --amethyst-900: #060010;
  --amethyst-850: #090018;
  --amethyst-800: #0c0021;
  --amethyst-700: #10002b; /* Primary dark sections */
  --amethyst-500: #310087;
  --amethyst-400: #5400e4;
  --amethyst-300: #8843ff;
  --amethyst-100: #c4a1ff;

  /* Exact Supplied Palette — Deep Purple */
  --deep-purple-900: #07000e;
  --deep-purple-800: #0f001d;
  --deep-purple-700: #16002b;
  --deep-purple-600: #1e0039;
  --deep-purple-500: #240046; /* Secondary dark sections */
  --deep-purple-400: #52009f;
  --deep-purple-300: #8000f7;
  --deep-purple-200: #aa50ff;
  --deep-purple-100: #d5a7ff;

  /* Exact Supplied Palette — Indigo Ink */
  --indigo-ink-700: #18042b;
  --indigo-ink-600: #240541;
  --indigo-ink-500: #3c096c; /* Light section headings */
  --indigo-ink-400: #650fb5;
  --indigo-ink-100: #d9b6f9;

  /* Exact Supplied Palette — Indigo Velvet */
  --indigo-velvet-600: #47137c;
  --indigo-velvet-500: #5a189a;
  --indigo-velvet-200: #bd8ced;
  --indigo-velvet-100: #dec6f6;

  /* Exact Supplied Palette — Royal Violet */
  --royal-violet-600: #622399;
  --royal-violet-500: #7b2cbf; /* Accent buttons */
  --royal-violet-400: #954bd6;
  --royal-violet-100: #e5d2f5;

  /* Exact Supplied Palette — Lavender Purple */
  --lavender-500: #9d4edd; /* Button hover */
  --lavender-400: #b172e4;
  --lavender-200: #d8b9f2;
  --lavender-100: #ecdcf8;

  /* Exact Supplied Palette — Mauve Magic */
  --mauve-magic-500: #c77dff; /* Highlight text */
  --mauve-magic-200: #deb3ff;
  --mauve-magic-100: #f4e5ff;

  /* Exact Supplied Palette — Mauve */
  --mauve-500: #e0aaff;
  --mauve-200: #eccbff;
  --mauve-100: #f2dcff;
  --mauve-50: #f9eeff; /* Light backgrounds */

  /* Neutral / Semantic Tokens */
  --accent-yellow: #ffd166;
  --accent-yellow-soft: #ffe299;
  --surface-white: #ffffff;
  --surface-dark: var(--amethyst-700);
  --surface-dark-alt: var(--deep-purple-500);
  --surface-light: var(--mauve-50);
  --text-on-dark: #f9eeff;
  --text-on-dark-muted: #d8b9f2;
  --text-on-light: #18042b;
  --text-on-light-muted: #491a73;
  --border-dark: rgba(199, 125, 255, 0.18);
  --border-dark-strong: rgba(224, 170, 255, 0.34);
  --border-light: rgba(90, 24, 154, 0.14);

  /* Typography */
  --font-heading: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Radii & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 16px rgba(16, 0, 43, 0.08);
  --shadow-md: 0 12px 32px rgba(16, 0, 43, 0.14);
  --shadow-lg: 0 24px 56px rgba(9, 0, 24, 0.32);
  --shadow-glow: 0 10px 30px rgba(123, 44, 191, 0.38);

  /* Layout */
  --container-max: 1240px;
  --header-height: 76px;
  --transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-on-light);
  background-color: var(--amethyst-700);
  overflow-x: clip;
  padding-bottom: 72px; /* Space for mobile bottom call bar */
}

main,
section,
header,
footer,
.container,
.hero-grid,
.trust-grid,
.why-layout,
.split-feature,
.contact-layout,
.location-card,
.service-detail-card {
  min-width: 0;
}

.hero-grid > *,
.trust-grid > *,
.why-layout > *,
.split-feature > *,
.contact-layout > *,
.location-card > *,
.service-detail-card > *,
.footer-grid > * {
  min-width: 0;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul,
ol {
  list-style: none;
}

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

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

:focus-visible {
  outline: 2px solid var(--mauve-magic-500);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 10px 18px;
  background: var(--royal-violet-500);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.15rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.25;
}

p {
  font-size: 1rem;
  line-height: 1.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mauve-magic-500);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--mauve-magic-500);
  border-radius: 2px;
}

.section-light .eyebrow,
.section-white .eyebrow {
  color: var(--royal-violet-500);
}

.section-light .eyebrow::before,
.section-white .eyebrow::before {
  background: var(--royal-violet-500);
}

.highlight {
  color: var(--accent-yellow);
}

.section-light .highlight,
.section-white .highlight {
  color: var(--royal-violet-500);
}

.contact-info-card .highlight,
.location-address-box .highlight {
  color: var(--accent-yellow);
}

.hero h1,
.page-hero h1,
.section-dark h2,
.section-secondary h2,
.cta-banner h2 {
  color: #ffffff;
}

/* ---------- Containers & Sections ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}

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

.section-dark {
  background-color: var(--amethyst-700);
  color: var(--text-on-dark);
}

.section-secondary {
  background-color: var(--deep-purple-500);
  color: var(--text-on-dark);
}

.section-light {
  background-color: var(--mauve-50);
  color: var(--text-on-light);
}

.section-white {
  background-color: var(--surface-white);
  color: var(--text-on-light);
}

.section-light h2,
.section-white h2,
.section-light h3,
.section-white h3 {
  color: var(--indigo-ink-500);
}

.section-header {
  max-width: 720px;
  margin-bottom: 40px;
}

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

.section-header.centered .eyebrow {
  justify-content: center;
}

.section-lead {
  margin-top: 14px;
  font-size: 1.05rem;
  color: var(--text-on-dark-muted);
}

.section-light .section-lead,
.section-white .section-lead {
  color: var(--text-on-light-muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  min-height: 48px;
  white-space: nowrap;
}

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

.btn-primary {
  background-color: var(--royal-violet-500);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--lavender-500);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(157, 78, 221, 0.45);
}

.btn-secondary {
  background-color: rgba(199, 125, 255, 0.12);
  color: var(--mauve-50);
  border: 1px solid var(--border-dark-strong);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background-color: rgba(199, 125, 255, 0.22);
  border-color: var(--mauve-magic-500);
  transform: translateY(-2px);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--indigo-ink-500);
  border: 1.5px solid var(--indigo-velvet-500);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
  background-color: var(--indigo-ink-500);
  color: #ffffff;
  transform: translateY(-2px);
}

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

/* ---------- Unique Floating Capsule Header & Navigation ---------- */
.site-header {
  position: fixed;
  top: 10px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-inline: 14px;
  pointer-events: none;
  transition: top var(--transition), padding var(--transition);
}

.site-header.scrolled {
  top: 8px;
}

.header-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 64px;
  padding: 8px 12px 8px 14px;
  border-radius: 18px;
  background: rgba(16, 0, 43, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(224, 170, 255, 0.22);
  box-shadow:
    0 12px 32px rgba(3, 0, 8, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background-color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.site-header.scrolled .header-inner {
  background: rgba(12, 0, 33, 0.94);
  border-color: rgba(224, 170, 255, 0.34);
  box-shadow:
    0 16px 40px rgba(3, 0, 8, 0.56),
    0 0 0 1px rgba(157, 78, 221, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Custom Brand Logo (320px Small Mobile Base) */
.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
  max-width: calc(100% - 54px);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(3, 0, 8, 0.28);
}

.brand-logo-img {
  height: 36px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.footer-brand .brand-logo {
  max-width: 100%;
  padding: 8px 14px;
  border-radius: 14px;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* Desktop Recessed Pill-Dock Nav (hidden on mobile) */
.desktop-nav {
  display: none;
  align-items: center;
  padding: 5px;
  border-radius: var(--radius-pill);
  background: rgba(9, 0, 24, 0.52);
  border: 1px solid rgba(199, 125, 255, 0.16);
}

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

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--lavender-100);
  padding: 9px 17px;
  border-radius: var(--radius-pill);
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(199, 125, 255, 0.14);
}

.nav-link.active {
  color: #ffffff;
  font-weight: 600;
  background: linear-gradient(135deg, var(--royal-violet-500), var(--indigo-velvet-500));
  box-shadow: 0 4px 14px rgba(123, 44, 191, 0.45);
}

.nav-link.active::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-yellow);
  box-shadow: 0 0 8px rgba(255, 209, 102, 0.8);
}

.header-cta {
  display: none;
  border: 1px solid rgba(255, 209, 102, 0.48);
  background: linear-gradient(135deg, var(--royal-violet-500), var(--lavender-500));
}

.header-cta svg {
  color: var(--accent-yellow);
}

/* Mobile Menu Toggle */
.menu-toggle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(199, 125, 255, 0.14);
  border: 1px solid rgba(224, 170, 255, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #ffffff;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

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

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

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

/* Floating Mobile Drawer */
.mobile-nav {
  position: fixed;
  top: 82px;
  left: 14px;
  right: 14px;
  background: rgba(12, 0, 33, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(224, 170, 255, 0.28);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(3, 0, 8, 0.65);
  padding: 18px 18px 22px;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 999;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--mauve-50);
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  background: rgba(123, 44, 191, 0.34);
  color: var(--accent-yellow);
}

.mobile-nav-cta {
  width: 100%;
}

/* ---------- Hero Section (Homepage Split-Screen) ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-height) + 42px);
  padding-bottom: 72px;
  background:
    radial-gradient(circle at 18% 15%, rgba(208, 116, 252, 0.18) 0%, transparent 42%),
    radial-gradient(circle at 82% 85%, rgba(157, 78, 221, 0.22) 0%, transparent 48%),
    linear-gradient(155deg, #330352 0%, #280344 48%, #3a0661 82%, #41066a 100%);
  color: var(--text-on-dark);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  margin-top: 20px;
  font-size: 1.06rem;
  color: var(--text-on-dark-muted);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-phone-strip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: rgba(36, 0, 70, 0.72);
  border: 1px solid var(--border-dark);
}

.hero-phone-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(157, 78, 221, 0.22);
  color: var(--mauve-magic-500);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.hero-phone-label {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lavender-200);
}

.hero-phone-number {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.hero-phone-number:hover {
  color: var(--mauve-magic-500);
}

/* Hero Visual Frame */
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-orb {
  position: absolute;
  inset: -24px;
  background: radial-gradient(circle at 60% 40%, rgba(157, 78, 221, 0.34), transparent 65%);
  filter: blur(28px);
  z-index: -1;
  pointer-events: none;
}

.hero-photo-card {
  position: relative;
  border-radius: 0;
  overflow: visible;
  border: none;
  background: transparent;
  box-shadow: none;
}

.hero-photo-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-composite: intersect;
}

.hero-floating-badge {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(16, 0, 43, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(224, 170, 255, 0.26);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.badge-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.badge-sub {
  font-size: 0.82rem;
  color: var(--lavender-200);
}

.badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mauve-magic-500);
  box-shadow: 0 0 0 5px rgba(199, 125, 255, 0.22);
  flex-shrink: 0;
}

/* ---------- Inner Page Hero ---------- */
.page-hero {
  padding-top: calc(var(--header-height) + 46px);
  padding-bottom: 58px;
  background:
    radial-gradient(circle at 85% 20%, rgba(123, 44, 191, 0.26) 0%, transparent 48%),
    var(--amethyst-700);
  color: var(--text-on-dark);
  border-bottom: 1px solid var(--border-dark);
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--lavender-200);
  margin-bottom: 18px;
}

.breadcrumb a:hover {
  color: var(--mauve-magic-500);
}

.breadcrumb span[aria-current="page"] {
  color: var(--mauve-magic-500);
  font-weight: 500;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  max-width: 820px;
}

.page-hero-lead {
  margin-top: 16px;
  font-size: 1.06rem;
  color: var(--text-on-dark-muted);
  max-width: 680px;
}

/* ---------- Section 2: Trust Intro ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.trust-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.trust-card {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.trust-card:hover {
  transform: translateY(-3px);
  border-color: var(--lavender-500);
  box-shadow: var(--shadow-md);
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--mauve-100);
  color: var(--indigo-ink-500);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.icon-box svg {
  width: 24px;
  height: 24px;
}

.icon-box-dark {
  background: rgba(157, 78, 221, 0.16);
  color: var(--mauve-magic-500);
  border: 1px solid rgba(199, 125, 255, 0.24);
}

.trust-card h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

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

/* ---------- Section 3: Common Problems Grid ---------- */
.problems-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.problem-card {
  background: var(--mauve-50);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.problem-card:hover {
  transform: translateY(-4px);
  border-color: var(--royal-violet-500);
  box-shadow: var(--shadow-md);
}

.problem-card h3 {
  font-size: 1.12rem;
  color: var(--indigo-ink-500);
}

.problem-card p {
  font-size: 0.93rem;
  color: var(--text-on-light-muted);
}

/* ---------- Section 4: Our Repair Services (Dark Purple) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-card {
  background: rgba(16, 0, 43, 0.62);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: transform var(--transition), border-color var(--transition), background-color var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--mauve-magic-500);
  background: rgba(30, 0, 57, 0.9);
}

.service-card-thumb {
  margin: -10px -8px 18px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(224, 170, 255, 0.2);
  background: var(--amethyst-800);
}

.service-card-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

.service-num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--mauve-magic-500);
  letter-spacing: 0.08em;
}

.service-card h3 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--mauve-magic-500);
}

.text-link:hover {
  color: var(--mauve-50);
  gap: 12px;
}

/* ---------- Section 5: Why Choose Us ---------- */
.why-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

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

.why-card {
  background: rgba(36, 0, 70, 0.56);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color var(--transition), transform var(--transition);
}

.why-card:hover {
  border-color: var(--lavender-500);
  transform: translateY(-3px);
}

.why-card h3 {
  color: #ffffff;
  font-size: 1.12rem;
  margin-top: 14px;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.94rem;
  color: var(--text-on-dark-muted);
}

/* ---------- Section 6: Working Process Timeline ---------- */
.process-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  position: relative;
}

.process-step {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition);
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--royal-violet-500);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--indigo-ink-500);
  color: var(--mauve-50);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 18px;
}

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

.process-step p {
  font-size: 0.94rem;
  color: var(--text-on-light-muted);
}

/* ---------- Section 7: Location Card ---------- */
.location-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  background: var(--mauve-50);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.location-address-box {
  background: var(--amethyst-700);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.location-address-box h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.location-address-box p {
  color: var(--text-on-dark-muted);
  font-size: 0.96rem;
}

.location-detail-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.location-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--mauve-50);
}

.location-detail-item svg {
  width: 20px;
  height: 20px;
  color: var(--mauve-magic-500);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ---------- Section 8 & FAQ Accordion ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 880px;
  margin-inline: auto;
}

.faq-item {
  background: rgba(16, 0, 43, 0.65);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.section-light .faq-item,
.section-white .faq-item {
  background: var(--surface-white);
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.faq-item.active {
  border-color: var(--mauve-magic-500);
}

.section-light .faq-item.active,
.section-white .faq-item.active {
  border-color: var(--royal-violet-500);
}

.faq-trigger {
  width: 100%;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.06rem;
  font-weight: 600;
  color: #ffffff;
}

.section-light .faq-trigger,
.section-white .faq-trigger {
  color: var(--indigo-ink-500);
}

.faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(199, 125, 255, 0.14);
  color: var(--mauve-magic-500);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform var(--transition), background-color var(--transition);
}

.section-light .faq-icon,
.section-white .faq-icon {
  background: var(--mauve-100);
  color: var(--indigo-ink-500);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--royal-violet-500);
  color: #ffffff;
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}

.faq-panel-inner {
  padding: 0 22px 22px;
  font-size: 0.96rem;
  color: var(--text-on-dark-muted);
}

.section-light .faq-panel-inner,
.section-white .faq-panel-inner {
  color: var(--text-on-light-muted);
}

/* ---------- Final CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--indigo-ink-500) 0%, var(--deep-purple-500) 55%, var(--amethyst-700) 100%);
  border: 1px solid rgba(224, 170, 255, 0.25);
  border-radius: var(--radius-xl);
  padding: 44px 28px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  color: #ffffff;
  margin-bottom: 14px;
}

.cta-banner p {
  color: var(--lavender-100);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 28px;
}

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

/* ---------- About Page Specific ---------- */
.split-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.feature-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.feature-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.principles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.principle-card {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

.principle-card h3 {
  margin-top: 14px;
  margin-bottom: 10px;
}

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

/* ---------- Services Page Detailed Sections ---------- */
.service-detail-list {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.service-detail-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.service-detail-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--mauve-100);
}

.service-detail-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.service-detail-body h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  color: var(--indigo-ink-500);
  margin-bottom: 12px;
}

.service-detail-body > p {
  color: var(--text-on-light-muted);
  margin-bottom: 20px;
}

.service-meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.service-meta-box {
  background: var(--mauve-50);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
}

.service-meta-box h3 {
  font-size: 1rem;
  color: var(--indigo-ink-500);
  margin-bottom: 10px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.93rem;
  color: var(--text-on-light-muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--royal-violet-500);
}

/* Quick Jump Pills on Services Page */
.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.jump-pill {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 500;
  background: rgba(36, 0, 70, 0.72);
  border: 1px solid var(--border-dark);
  color: var(--mauve-50);
}

.jump-pill:hover {
  background: var(--royal-violet-500);
  border-color: var(--mauve-magic-500);
}

/* ---------- Contact Page & Form ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.contact-info-card {
  background: var(--amethyst-700);
  color: var(--text-on-dark);
  border-radius: var(--radius-xl);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: var(--shadow-md);
}

.contact-info-card h2 {
  color: #ffffff;
  font-size: 1.7rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-info-item h3 {
  font-size: 0.95rem;
  color: var(--mauve-magic-500);
  margin-bottom: 4px;
}

.contact-info-item p,
.contact-info-item a {
  color: var(--mauve-50);
  font-size: 0.98rem;
}

.contact-info-item a:hover {
  color: var(--mauve-magic-500);
}

.contact-form-card {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
}

.contact-form-card h2 {
  font-size: 1.7rem;
  color: var(--indigo-ink-500);
  margin-bottom: 8px;
}

.form-intro {
  color: var(--text-on-light-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--indigo-ink-500);
  margin-bottom: 7px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(90, 24, 154, 0.24);
  background: var(--mauve-50);
  color: var(--text-on-light);
  transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.form-control:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--royal-violet-500);
  box-shadow: 0 0 0 4px rgba(123, 44, 191, 0.14);
}

.form-control.is-invalid {
  border-color: #c1121f;
  background: #fff5f5;
}

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

.field-error {
  display: none;
  margin-top: 6px;
  font-size: 0.84rem;
  color: #b00020;
  font-weight: 500;
}

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

.form-status {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  font-size: 0.94rem;
  display: none;
}

.form-status.visible {
  display: block;
}

.form-status.info {
  background: var(--mauve-100);
  border: 1px solid var(--royal-violet-500);
  color: var(--indigo-ink-500);
}

.form-status.error {
  background: #fff2f2;
  border: 1px solid #c1121f;
  color: #8a0c16;
}

/* ---------- Legal Pages (Privacy & Terms) ---------- */
.legal-container {
  max-width: 860px;
  margin-inline: auto;
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
}

.legal-section + .legal-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.legal-section h2 {
  font-size: 1.45rem;
  color: var(--indigo-ink-500);
  margin-bottom: 12px;
}

.legal-section p,
.legal-section li {
  color: var(--text-on-light-muted);
  font-size: 0.97rem;
}

.legal-section p + p {
  margin-top: 10px;
}

.legal-section ul {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-section ul li {
  position: relative;
  padding-left: 20px;
}

.legal-section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--royal-violet-500);
}

/* ---------- Premium Footer ---------- */
.site-footer {
  background-color: var(--amethyst-850);
  color: var(--text-on-dark);
  border-top: 1px solid var(--border-dark);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 48px;
}

.footer-brand p {
  margin-top: 16px;
  color: var(--text-on-dark-muted);
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-col h3 {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.94rem;
  color: var(--text-on-dark-muted);
}

.footer-links a:hover {
  color: var(--mauve-magic-500);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 12px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--mauve-magic-500);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-block: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  font-size: 0.88rem;
  color: var(--lavender-200);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-legal-links a:hover {
  color: var(--mauve-magic-500);
}

/* ---------- Conversion Elements (Sticky Call & Mobile Bar) ---------- */
.floating-call-btn {
  display: none;
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 950;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  background: var(--royal-violet-500);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 12px 32px rgba(16, 0, 43, 0.45), 0 0 0 1px rgba(224, 170, 255, 0.35);
}

.floating-call-btn:hover {
  background: var(--lavender-500);
  transform: translateY(-3px);
}

.mobile-call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 960;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(12, 0, 33, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(199, 125, 255, 0.25);
}

.mobile-call-bar .btn {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  font-size: 0.92rem;
}

/* ---------- Premium Motion, Micro-Interactions & Scroll Reveal ---------- */
@keyframes fadeUpIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes callPulse {
  0% {
    box-shadow: 0 12px 32px rgba(16, 0, 43, 0.45), 0 0 0 0 rgba(255, 209, 102, 0.52);
  }
  70% {
    box-shadow: 0 12px 32px rgba(16, 0, 43, 0.45), 0 0 0 14px rgba(255, 209, 102, 0);
  }
  100% {
    box-shadow: 0 12px 32px rgba(16, 0, 43, 0.45), 0 0 0 0 rgba(255, 209, 102, 0);
  }
}

/* Top Scroll Progress Hairline */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 1100;
  background: linear-gradient(90deg, var(--mauve-magic-500), var(--accent-yellow));
  pointer-events: none;
  transition: width 0.08s linear;
}

/* Staggered Hero Entrance */
.hero-content .eyebrow {
  animation: fadeUpIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.06s both;
}

.hero-content h1,
.page-hero h1 {
  animation: fadeUpIn 0.68s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}

.hero-subtitle,
.page-hero-lead {
  animation: fadeUpIn 0.68s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
}

.hero-actions,
.jump-nav {
  animation: fadeUpIn 0.68s cubic-bezier(0.22, 1, 0.36, 1) 0.34s both;
}

.hero-phone-strip {
  animation: fadeUpIn 0.68s cubic-bezier(0.22, 1, 0.36, 1) 0.44s both;
}

.hero-visual {
  animation: fadeUpIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.hero-photo-card {
  animation: heroFloat 6.5s ease-in-out 1s infinite;
}

/* Button Sheen Sweep */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}

.btn-primary:hover::after {
  left: 140%;
}

/* Icon & Media Hover Micro-Interactions */
.icon-box,
.step-badge {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

.trust-card:hover .icon-box,
.problem-card:hover .icon-box,
.service-card:hover .icon-box,
.why-card:hover .icon-box,
.principle-card:hover .icon-box {
  transform: translateY(-3px) scale(1.07);
  box-shadow: 0 8px 20px rgba(123, 44, 191, 0.28);
}

.process-step:hover .step-badge {
  transform: scale(1.08);
  background: var(--royal-violet-500);
  box-shadow: 0 8px 22px rgba(123, 44, 191, 0.4);
}

.service-detail-media img,
.feature-photo img {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-detail-card:hover .service-detail-media img,
.feature-photo:hover img {
  transform: scale(1.035);
}

.floating-call-btn {
  animation: callPulse 2.8s ease-out infinite;
}

/* Staggered Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
