/* ============================================
   RNC APPLIANCE — Modern Viral-Style CSS
   ============================================ */

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

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --accent: #ff0a0a;
  --accent-dark: #cc0000;
  --bg: #030712;
  --bg-card: #111827;
  --bg-card-hover: #1f2937;
  --surface: #0f172a;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border: #1e293b;
  --border-light: #334155;
  --gradient-1: linear-gradient(135deg, #3b82f6, #8b5cf6);
  --gradient-2: linear-gradient(135deg, #ff0a0a, #cc0000);
  --gradient-hero: linear-gradient(135deg, #1e40af 0%, #7c3aed 50%, #2563eb 100%);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.3), 0 2px 4px -2px rgba(0,0,0,0.2);
  --shadow-lg: 0 20px 60px -15px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(59,130,246,0.15);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(3, 7, 18, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(3, 7, 18, 0.95);
  box-shadow: var(--shadow);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
}

.logo-icon {
  font-size: 1.6rem;
  color: var(--primary-light);
  animation: spin 8s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.logo-text { color: var(--text); }
.logo-accent { color: var(--primary-light); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover { color: var(--text); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width var(--transition);
  border-radius: 2px;
}

.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.phone-icon { font-size: 1.1rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, rgba(139,92,246,0.06) 40%, transparent 70%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  color: var(--primary-light);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 32px;
  animation: fadeInDown 0.8s ease-out;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-2 {
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle strong { color: var(--text); }

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.hidden { display: none !important; }

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  background: var(--bg-card);
  border-color: var(--text-dim);
  transform: translateY(-2px);
}

.btn-white {
  background: white;
  color: var(--bg);
  font-weight: 700;
}

.btn-white:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,255,255,0.2);
}

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

.btn-icon { font-size: 1.2rem; }

.arrow {
  display: inline-block;
  transition: transform var(--transition);
}

.btn:hover .arrow { transform: translateY(3px); }

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stat { text-align: center; }

.stat-number {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
}

.stat-number.stars {
  color: #f59e0b;
  font-size: 1.6rem;
  letter-spacing: 2px;
}

.stat-plus {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-light);
}

.stat-label {
  display: block;
  clear: both;
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* --- TRUST BAR --- */
.trust-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.trust-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.trust-icon { font-size: 1.2rem; }

/* --- SECTIONS COMMON --- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  color: var(--primary-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 16px auto 0;
}

/* --- SERVICES --- */
.services {
  padding: 100px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-1);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

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

.service-icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(59,130,246,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon {
  width: 32px;
  height: 32px;
  color: var(--primary-light);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.card-cta {
  background: rgba(59,130,246,0.05);
  border-color: rgba(59,130,246,0.2);
}

.card-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--primary-light);
  font-weight: 600;
  font-size: 0.9rem;
}

.card-link:hover { color: var(--text); }

/* --- WHY US --- */
.why-us {
  padding: 100px 0;
  background: var(--surface);
}

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

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
}

.why-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.why-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  line-height: 1;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- BRANDS MARQUEE --- */
.brands {
  padding: 100px 0;
}

.brands-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 16px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.brand-tag {
  flex-shrink: 0;
  padding: 12px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.brand-tag.highlight {
  background: rgba(59,130,246,0.1);
  border-color: rgba(59,130,246,0.3);
  color: var(--primary-light);
}

/* --- REVIEWS --- */
.reviews {
  padding: 100px 0;
  background: var(--surface);
}

/* Platform Badges */
.review-platforms {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.platform-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 24px;
  transition: all var(--transition);
}

.platform-badge:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.platform-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: white;
  background: #4285f4;
  flex-shrink: 0;
}

.platform-logo.yelp { background: #d32323; }
.platform-logo.thumbtack { background: #009fd9; }

.platform-badge strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.platform-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.platform-stars small {
  color: var(--text-dim);
  font-size: 0.75rem;
  letter-spacing: 0;
  margin-left: 4px;
}

/* Reviews Scrolling Marquee */
.reviews-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  margin-bottom: 20px;
  padding: 4px 0;
}

.reviews-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
}

/* Hover pause is handled via JS */

.review-card {
  flex-shrink: 0;
  width: 360px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition), box-shadow var(--transition);
  position: relative;
}

.review-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.review-source {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-light);
  background: rgba(59,130,246,0.1);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.review-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-text {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 36px;
  height: 36px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
  flex-shrink: 0;
}

.review-author strong {
  display: block;
  font-size: 0.85rem;
}

.review-author span {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.reviews-cta {
  text-align: center;
  margin-top: 32px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.reviews-cta a {
  color: var(--primary-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reviews-cta a:hover { color: var(--text); }

/* --- SERVICE AREA --- */
.service-area {
  padding: 100px 0;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.area-tag {
  padding: 10px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}

.area-tag:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: rgba(59,130,246,0.08);
  transform: translateY(-2px);
}

/* --- DISCOUNT BANNER --- */
.discount-banner {
  padding: 60px 0;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.discount-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.discount-content {
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.discount-badge {
  font-size: 3rem;
  flex-shrink: 0;
}

.discount-content h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}

.discount-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
}

/* --- CONTACT --- */
.contact {
  padding: 100px 0;
  background: var(--surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info .section-tag { margin-bottom: 16px; }

.contact-info .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(59,130,246,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.contact-item a {
  color: var(--text);
  font-weight: 500;
}

.contact-item a:hover { color: var(--primary-light); }

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
}

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

.contact-form select {
  cursor: pointer;
  color: var(--text-dim);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.contact-form select option {
  background: var(--bg-card);
  color: var(--text);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

.contact-form textarea {
  resize: vertical;
  min-height: 80px;
}

/* --- mHelpDesk Integration --- */
.mhelpdesk-form {
  padding: 0;
  background: transparent;
  border: none;
  overflow: hidden;
}

.mhelpdesk-form h3 {
  padding: 28px 32px 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-bottom: 0;
}

.mhelpdesk-form .form-subtitle {
  padding: 8px 32px 20px;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.mhelpdesk-iframe-wrap {
  width: 100%;
  height: 520px;
  overflow: hidden;
  background: #f8fafc;
  border: 2px solid var(--primary);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15), inset 0 0 0 1px rgba(255,255,255,0.1);
}

.mhelpdesk-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- CUSTOMER PORTAL --- */
.customer-portal {
  padding: 100px 0;
}

.portal-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all var(--transition);
}

.portal-card:hover {
  border-color: var(--border-light);
  box-shadow: var(--shadow-glow);
}

.portal-iframe-wrap {
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: #f8fafc;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15);
}

.portal-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.portal-link {
  color: var(--primary-light) !important;
  font-weight: 600 !important;
}

.portal-fallback {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.portal-fallback p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.portal-fallback.show {
  display: block;
}

/* --- FOOTER --- */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer-brand {
  max-width: 300px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 16px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-links h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.footer-links a,
.footer-links span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.footer-links a:hover { color: var(--text); }

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-info .section-title {
    text-align: center;
  }
  .contact-info > p {
    text-align: center;
  }
  .discount-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .navbar {
    background: #030712 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #030712;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 40px;
    z-index: 9999;
  }

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

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    font-size: 1.4rem;
    color: var(--text);
    display: block;
    padding: 12px 20px;
    border-radius: 12px;
    transition: background 0.2s ease;
  }

  .nav-links a:hover {
    background: rgba(59, 130, 246, 0.1);
  }

  .nav-cta { display: none; }

  .hamburger { display: flex; }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
  }

  .hero-stats {
    gap: 20px;
  }

  .stat-number { font-size: 1.8rem; }
  .stat-plus { font-size: 1.8rem; }
  .stat-divider { height: 30px; }

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

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


  .review-platforms {
    flex-direction: column;
    align-items: center;
  }

  .platform-badge {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .review-card {
    width: 300px;
  }

  .reviews-track {
    gap: 14px;
  }

  .footer-top {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 40px;
  }

  .trust-items {
    gap: 16px;
  }

  .trust-item {
    font-size: 0.8rem;
  }

  .section-title {
    font-size: clamp(1.6rem, 5vw, 2.5rem);
  }

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

  .btn-lg {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  .contact-card {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .area-tags {
    gap: 8px;
  }

  .area-tag {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}

/* --- HOW IT WORKS / PROCESS --- */
.how-it-works {
  padding: 100px 0;
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step-card {
  flex: 1;
  max-width: 260px;
  text-align: center;
  padding: 32px 20px;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gradient-1);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: white;
  margin-bottom: 16px;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 80px;
  color: var(--border-light);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .steps-grid {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .step-connector {
    padding-top: 0;
    transform: rotate(90deg);
    margin: -8px 0;
  }

  .step-card {
    max-width: 100%;
  }
}

/* --- TEXT LINK in Contact --- */
.text-link {
  display: inline-block;
  margin-left: 12px;
  font-size: 0.85rem;
  color: var(--primary-light) !important;
  font-weight: 500;
}

.text-link:hover {
  color: var(--text) !important;
}

/* --- TEXT BUTTON in Hero --- */
.btn-text {
  border-color: rgba(59,130,246,0.3);
  color: var(--primary-light);
}

.btn-text:hover {
  background: rgba(59,130,246,0.1);
  border-color: var(--primary);
}

/* --- IFRAME LOADING STATE --- */
.iframe-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #f8fafc;
  z-index: 2;
}

.iframe-loading p {
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 500;
}

.iframe-loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #e2e8f0;
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.mhelpdesk-iframe-wrap {
  position: relative;
}

/* --- BACK TO TOP BUTTON --- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

/* --- STICKY MOBILE ACTION BAR --- */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: rgba(3, 7, 18, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  gap: 10px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.mobile-action-bar.visible {
  transform: translateY(0);
}

.mobile-bar-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  transition: all var(--transition);
  color: white;
}

.mobile-bar-call {
  background: #22c55e;
}

.mobile-bar-call:hover {
  background: #16a34a;
}

.mobile-bar-text {
  background: var(--primary);
}

.mobile-bar-text:hover {
  background: var(--primary-dark);
}

.mobile-bar-book {
  background: var(--accent);
  color: var(--bg);
}

.mobile-bar-book:hover {
  background: var(--accent-dark);
}

@media (max-width: 768px) {
  .mobile-action-bar {
    display: flex;
  }

  /* Add bottom padding to body so content isn't hidden behind bar */
  body {
    padding-bottom: 72px;
  }

  .back-to-top {
    bottom: 84px;
    right: 16px;
  }
}

/* --- APPLY MODAL --- */
.apply-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.apply-modal-overlay.open {
  display: flex;
}

.apply-modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 640px;
  padding: 40px;
  position: relative;
  animation: fadeInUp 0.3s ease-out;
  margin: auto;
}

.apply-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.apply-modal-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-top: 8px;
}

.apply-modal-close {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  margin-top: 4px;
}

.apply-modal-close:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  color: var(--text);
}

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

.apply-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.apply-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.req { color: var(--accent); }

.apply-field input,
.apply-field select,
.apply-field textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
}

.apply-field input:focus,
.apply-field select:focus,
.apply-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

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

.apply-field input[readonly] {
  opacity: 0.7;
  cursor: default;
}

.apply-field select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.apply-field textarea { resize: vertical; min-height: 100px; }

.apply-form-msg {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.apply-form-msg.success {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: #22c55e;
}

.apply-form-msg.error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #ef4444;
}

.apply-modal-footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
}

@media (max-width: 600px) {
  .apply-modal-box { padding: 28px 20px; }
  .apply-form-grid { grid-template-columns: 1fr; }
  .apply-modal-footer { flex-direction: column-reverse; }
  .apply-modal-footer .btn { width: 100%; justify-content: center; }
}

/* --- CAREERS --- */
.careers {
  padding: 100px 0;
  background: var(--surface);
}

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

.career-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.career-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-1);
  opacity: 0;
  transition: opacity var(--transition);
}

.career-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

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

.career-card-general::before {
  background: var(--gradient-2);
}

.career-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.career-icon-wrap {
  width: 52px;
  height: 52px;
  background: rgba(59,130,246,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.career-icon {
  width: 28px;
  height: 28px;
  color: var(--primary-light);
}

.career-header h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.career-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.career-tag {
  display: inline-block;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.2);
  color: var(--primary-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.career-card > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.career-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.career-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.perk-check {
  width: 20px;
  height: 20px;
  background: rgba(34,197,94,0.15);
  color: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .careers-grid {
    grid-template-columns: 1fr 1fr;
  }
  .career-card-general {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .careers-grid {
    grid-template-columns: 1fr;
  }
  .career-card-general {
    grid-column: auto;
  }
}

/* --- SKIP TO CONTENT (Accessibility) --- */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
  z-index: 10000;
  transition: top 0.3s;
}

.skip-to-content:focus {
  top: 0;
}
