/* Custom Design System & Variable Tokens */
:root, body.theme-navy, body.theme-imperial {
  /* Direction 1: Trust Navy + Warm Gold (Recommended) */
  --primary-rgb: 15, 41, 66;
  --primary-800: #0f2942; /* Headers, primary text */
  --primary-900: #0a1c2e;
  --primary-700: #1c4f8f; /* Primary buttons, links */
  --primary-50: #f6f8fb;  /* Soft section background */
  
  --accent-rgb: 201, 154, 63;
  --accent-500: #c99a3f; /* CTA accents, badges, trust markers */
  --accent-600: #b08229;
  --accent-400: #dfb256;
  --gold-100: #f5ecd8;   /* Soft highlight background */
  
  --emerald-500: #2e7d5b; /* Verified checkmarks */
  --emerald-600: #226045;
  
  --text-dark: #0f2942;
  --text-medium: #4a5568; /* Slate 600 body text */
  --text-light: #64748b;
  --text-white: #ffffff;
  
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --bg-light: #f6f8fb;
  --bg-white: #ffffff;
  
  --max-width: 1200px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 41, 66, 0.08);
  --shadow-lg: 0 20px 40px -15px rgba(15, 41, 66, 0.14);
  --shadow-glow: 0 0 25px rgba(201, 154, 63, 0.28);
  
  --font-heading: 'Lora', 'Outfit', serif;
  --font-body: 'Inter', sans-serif;
}

/* Direction 2: Professional Teal + Charcoal */
body.theme-teal, body.theme-dark {
  --primary-rgb: 26, 37, 48;
  --primary-800: #1a2530; /* Charcoal headers & primary text */
  --primary-900: #111a24;
  --primary-700: #0e6b6b; /* Teal 700 primary buttons */
  --primary-50: #f4f7f7;  /* Soft bg */
  
  --accent-rgb: 20, 163, 163;
  --accent-500: #14a3a3; /* Teal 500 CTAs */
  --accent-600: #0e6b6b;
  --accent-400: #38c7c7;
  --gold-100: #e0f2f1;
  
  --emerald-500: #e0a92e; /* Amber secondary accent */
  --emerald-600: #b8861d;
  
  --text-dark: #1a2530;
  --text-medium: #4a5568; /* Slate body text */
  --text-light: #64748b;
  --text-white: #ffffff;
  
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --bg-light: #f4f7f7;
  --bg-white: #ffffff;
  
  --shadow-md: 0 10px 25px -5px rgba(26, 37, 48, 0.1);
  --shadow-lg: 0 20px 40px -15px rgba(26, 37, 48, 0.18);
  --shadow-glow: 0 0 25px rgba(20, 163, 163, 0.3);
  
  --font-heading: 'Lora', 'Outfit', serif;
  --font-body: 'Inter', sans-serif;
}

/* Direction 3: Deep Green + Cream (Property / Land Angle) */
body.theme-green, body.theme-emerald {
  --primary-rgb: 20, 52, 43;
  --primary-800: #14342b; /* Green 900 headers */
  --primary-900: #0d231d;
  --primary-700: #1f6b4f; /* Green 600 CTAs */
  --primary-50: #faf6ee;  /* Cream soft bg */
  
  --accent-rgb: 185, 138, 46;
  --accent-500: #b98a2e; /* Brass accents */
  --accent-600: #966f21;
  --accent-400: #d4a74b;
  --gold-100: #f7eedb;
  
  --emerald-500: #1f6b4f;
  --emerald-600: #14342b;
  
  --text-dark: #14342b;
  --text-medium: #44504a; /* Slate body text */
  --text-light: #64748b;
  --text-white: #ffffff;
  
  --border-light: #e6dfd3;
  --border-medium: #d6ccbe;
  --bg-light: #faf6ee;
  --bg-white: #ffffff;
  
  --shadow-md: 0 10px 25px -5px rgba(20, 52, 43, 0.1);
  --shadow-lg: 0 20px 40px -15px rgba(20, 52, 43, 0.16);
  --shadow-glow: 0 0 25px rgba(185, 138, 46, 0.3);
  
  --font-heading: 'Lora', 'Outfit', serif;
  --font-body: 'Inter', sans-serif;
}

/* Single Round Theme Toggle Button */
.theme-toggle-round-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 1.5px solid var(--border-medium);
  color: var(--primary-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  outline: none;
}

.theme-toggle-round-btn:hover {
  transform: scale(1.08) rotate(15deg);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  border-color: var(--accent-500);
}

.theme-toggle-round-btn:active {
  transform: scale(0.95);
}

.theme-toast-notification {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  background: var(--primary-800);
  color: var(--text-white);
  border: 1px solid var(--accent-500);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.theme-toast-notification.active {
  opacity: 1;
  transform: translateY(0);
}

/* Global Reset & Base Styling */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-800);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

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

/* Grid & Layout Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

.hidden {
  display: none !important;
}

/* Custom Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-800);
  color: var(--text-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--primary-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background-color: var(--accent-500);
  color: var(--text-white);
  box-shadow: var(--shadow-sm);
}

.btn-accent:hover {
  background-color: var(--accent-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary-800);
  color: var(--primary-800);
}

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

.btn-large {
  padding: 16px 32px;
  font-size: 1.125rem;
  border-radius: var(--radius-md);
}

.w-full {
  width: 100%;
}

/* Navigation Header */
.main-header {
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.main-header.scrolled {
  height: 70px;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.1));
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), filter 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-link:hover .brand-logo-img {
  transform: scale(1.08);
  filter: drop-shadow(0 4px 10px rgba(217, 119, 6, 0.35));
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-800);
  letter-spacing: -0.4px;
}

.logo-badge {
  background-color: var(--accent-500);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
}

.desktop-menu {
  display: flex;
  gap: 32px;
}

.nav-item {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-medium);
}

.nav-item:hover {
  color: var(--accent-500);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Menu Button */
.menu-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.menu-toggle-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary-800);
  transition: all 0.3s ease;
}

/* Mobile Menu Active States */
.menu-toggle-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle-btn.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-white);
  z-index: 90;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-overlay.active {
  transform: translateX(0);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 40px;
}

.mobile-nav-item {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-800);
}

.mobile-nav-item.btn {
  width: 80%;
  margin-top: 16px;
  color: var(--text-white);
}

/* Hero Section Style */
.hero-section {
  padding-top: calc(var(--header-height) + 48px);
  padding-bottom: 80px;
  background: radial-gradient(circle at 80% 20%, rgba(217, 119, 6, 0.04) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(15, 23, 42, 0.03) 0%, transparent 50%);
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(15, 23, 42, 0.05);
  color: var(--primary-800);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--emerald-500);
  border-radius: 50%;
  display: inline-block;
}

.badge-dot.accent {
  background-color: var(--accent-500);
}

.hero-title {
  font-size: 3.25rem;
  letter-spacing: -1px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary-800) 0%, #1e1b4b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-medium);
  margin-bottom: 36px;
  max-width: 580px;
}

/* Quick Selector Card */
.quick-selector-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.selector-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.selector-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.selector-dropdown {
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-800);
  background-color: transparent;
  cursor: pointer;
  width: 100%;
}

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

.selector-btn {
  padding: 14px 28px;
}

/* Hero Trust Metrics */
.hero-trust-metrics {
  display: flex;
  gap: 32px;
  align-items: center;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-800);
}

.metric-label {
  font-size: 0.8125rem;
  color: var(--text-light);
  font-weight: 500;
}

.metric-divider {
  width: 1px;
  height: 24px;
  background-color: var(--border-light);
}

/* Hero Graphic elements */
.hero-graphic-container {
  position: relative;
  display: flex;
  justify-content: center;
}

.graphic-glow {
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.08) 0%, transparent 60%);
  z-index: -1;
  top: -10%;
}

.hero-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  transition: transform 0.5s ease;
}

.hero-image:hover {
  transform: scale(1.02);
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  z-index: 5;
  animation: floatUpDown 6s ease-in-out infinite;
}

.badge-top {
  top: 15%;
  left: -10%;
}

.badge-bottom {
  bottom: 15%;
  right: -5%;
  animation-delay: 3s;
}

.badge-icon {
  background-color: var(--accent-500);
  color: var(--text-white);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.badge-texts {
  display: flex;
  flex-direction: column;
}

.badge-main {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-800);
}

.badge-sub {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* Keyframes float */
@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Trust Ribbon Banner */
.trust-ribbon {
  background-color: var(--primary-800);
  padding: 32px 0;
  color: var(--text-white);
}

.ribbon-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.ribbon-title {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-white);
  opacity: 0.6;
}

.ribbon-logos {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.ribbon-logo-item {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-white);
  opacity: 0.4;
  transition: opacity 0.3s;
}

.ribbon-logo-item:hover {
  opacity: 0.8;
}

/* Services Layout Section */
.services-section {
  padding: 100px 0;
  background-color: var(--bg-white);
}

.section-header {
  max-width: 600px;
  margin: 0 auto 60px auto;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

/* Service Catalog Controls: Search & Category Filters */
.service-catalog-controls {
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.service-search-box {
  position: relative;
  width: 100%;
  max-width: 580px;
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--text-light);
}

.search-input {
  width: 100%;
  padding: 14px 44px 14px 48px;
  font-size: 0.95rem;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  background: var(--bg-light);
  color: var(--text-dark);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
  transition: all 0.3s ease;
}

.search-input:focus {
  border-color: var(--accent-500);
  background: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.15);
}

.clear-search-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(100, 116, 139, 0.15);
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-medium);
  transition: all 0.2s ease;
}

.clear-search-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.service-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  background: var(--bg-white);
  color: var(--text-medium);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-btn:hover {
  border-color: var(--primary-700);
  color: var(--primary-800);
  background: var(--bg-light);
}

.filter-btn.active {
  background: var(--primary-800);
  color: var(--bg-white);
  border-color: var(--primary-800);
  box-shadow: var(--shadow-md);
}

.filter-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.08);
  color: inherit;
}

.filter-btn.active .filter-badge {
  background: rgba(255, 255, 255, 0.2);
  color: var(--bg-white);
}

.service-results-count {
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 500;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

/* Service Card Design */
.service-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card.filtered-out {
  display: none !important;
}

.card-category-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  background: rgba(100, 116, 139, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  width: fit-content;
}

optgroup {
  font-weight: 700;
  color: var(--primary-800);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-500);
  background-color: var(--bg-white);
  box-shadow: var(--shadow-lg);
}

.card-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.card-badge.popular {
  background-color: #fef3c7;
  color: #d97706;
}

.card-badge.premium {
  background-color: #dbeafe;
  color: #2563eb;
}

.card-icon-wrapper {
  width: 56px;
  height: 56px;
  background-color: rgba(15, 23, 42, 0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.service-card:hover .card-icon-wrapper {
  background-color: var(--primary-800);
  color: var(--text-white);
}

.font-icon {
  font-size: 28px;
}

.card-title {
  font-size: 1.375rem;
  margin-bottom: 12px;
}

.card-desc {
  font-size: 0.9375rem;
  color: var(--text-medium);
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.card-features li {
  font-size: 0.875rem;
  color: var(--text-medium);
  position: relative;
  padding-left: 20px;
}

.card-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--emerald-500);
  font-weight: 700;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  margin-top: auto;
}

.card-footer .card-cta {
  width: 100%;
  text-align: center;
}


/* Calculator Section Styles */
.calculator-section {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.calculator-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.calc-inputs-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.calc-tabs {
  display: flex;
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
}

.calc-tab-btn {
  flex: 1;
  border: none;
  padding: 18px 12px;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s;
}

.calc-tab-btn.active {
  background-color: var(--bg-white);
  color: var(--primary-800);
  border-bottom: 3px solid var(--accent-500);
}

.calc-form {
  padding: 32px;
}

.form-group {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-800);
}

.form-control-input {
  width: 100%;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-dark);
  font-weight: 500;
  transition: all 0.3s;
  background-color: var(--bg-light);
}

.form-control-input:focus {
  border-color: var(--accent-500);
  background-color: var(--bg-white);
}

/* Radio button toggle buttons */
.radio-toggle-group {
  display: flex;
  gap: 12px;
}

.radio-label {
  flex: 1;
  cursor: pointer;
  position: relative;
}

.radio-label input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-label span {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--bg-light);
  color: var(--text-medium);
  font-weight: 600;
  transition: all 0.3s;
  text-align: center;
}

.radio-label input:checked + span {
  border-color: var(--accent-500);
  background-color: rgba(217, 119, 6, 0.05);
  color: var(--accent-600);
}

/* Custom Checkbox styles */
.checkbox-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.checkbox-label input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-box {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-medium);
  border-radius: 4px;
  background-color: var(--bg-white);
  position: relative;
  transition: all 0.3s;
  flex-shrink: 0;
}

.checkbox-label input:checked ~ .checkbox-box {
  background-color: var(--accent-500);
  border-color: var(--accent-500);
}

.checkbox-label input:checked ~ .checkbox-box::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 9px;
  border: solid var(--text-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  top: 2px;
  left: 6px;
}

.addon-text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-medium);
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.addon-price {
  font-weight: 700;
  color: var(--primary-800);
}

/* Summary Card breakdown */
.calc-summary-card {
  background-color: var(--primary-900);
  border-radius: var(--radius-md);
  padding: 40px;
  color: var(--text-white);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 110px;
}

.summary-card-title {
  color: var(--text-white);
  font-size: 1.375rem;
  margin-bottom: 24px;
}

.summary-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 20px 0;
}

.breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
}

.val-bold {
  font-weight: 600;
  color: var(--text-white);
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.total-label {
  font-size: 1.125rem;
  font-weight: 700;
}

.total-price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.total-value {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent-400);
  line-height: 1;
}

.total-disclaimer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.card-security-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  margin-top: 16px;
}

/* How It Works Timeline Styles */
.how-it-works {
  padding: 100px 0;
  background-color: var(--bg-white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.step-card {
  position: relative;
  padding: 24px;
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all 0.3s;
}

.step-card:hover {
  border-color: var(--accent-500);
  background-color: var(--bg-white);
  transform: translateY(-4px);
}

.step-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(217, 119, 6, 0.15);
  line-height: 1;
  margin-bottom: 16px;
}

.step-card:hover .step-num {
  color: var(--accent-500);
}

.step-title {
  font-size: 1.125rem;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Consultation request form styling */
.consultation-section {
  padding: 100px 0;
  background: radial-gradient(circle at 10% 20%, rgba(15, 23, 42, 0.05) 0%, transparent 60%),
              linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.consultation-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.consultation-text h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.consultation-text p {
  color: var(--text-medium);
  font-size: 1.0625rem;
  margin-bottom: 32px;
}

.consultation-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.consultation-checklist li {
  display: flex;
  gap: 12px;
  font-weight: 600;
  color: var(--primary-800);
}

.consultation-checklist li span {
  color: var(--emerald-500);
  font-weight: 800;
}

.consultation-form-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.form-title {
  font-size: 1.625rem;
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 32px;
}

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

.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }

/* Form Success Overlays */
.form-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-white);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.success-icon {
  width: 64px;
  height: 64px;
  background-color: var(--emerald-500);
  color: var(--text-white);
  font-size: 2rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 8px 16px rgba(16, 185, 129, 0.2);
}

.form-success-overlay h4 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.form-success-overlay p {
  font-size: 0.9375rem;
  color: var(--text-medium);
  margin-bottom: 24px;
}

.case-id {
  font-weight: 700;
  color: var(--primary-800);
  background-color: rgba(15, 23, 42, 0.05);
  padding: 2px 8px;
  border-radius: 4px;
}

.rm-card {
  width: 100%;
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  text-align: left;
  margin-bottom: 32px;
}

.rm-avatar {
  font-size: 2rem;
  width: 48px;
  height: 48px;
  background-color: var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rm-details {
  display: flex;
  flex-direction: column;
}

.rm-name {
  font-weight: 700;
  color: var(--primary-800);
}

.rm-role {
  font-size: 0.75rem;
  color: var(--text-light);
}

.rm-time {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--emerald-600);
  margin-top: 2px;
}

/* Reviews Carousel Styles */
.reviews-section {
  padding: 100px 0;
  background-color: var(--bg-white);
  overflow: hidden;
}

.carousel-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 0 40px;
}

.carousel-track-container {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  width: 300%; /* 3 slides */
}

.testimonial-slide {
  width: 100%;
  flex-shrink: 0;
  padding: 20px;
  text-align: center;
}

.rating-stars {
  color: var(--accent-500);
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.testimonial-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--primary-800);
  margin-bottom: 32px;
}

.testimonial-author {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.author-avatar {
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  background-color: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
}

.author-meta {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  color: var(--primary-800);
  font-size: 0.9375rem;
}

.author-info {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* Carousel Control Arrows */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background-color: var(--bg-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-light);
  z-index: 10;
  transition: all 0.3s;
}

.carousel-control:hover {
  background-color: var(--primary-800);
  color: var(--text-white);
  border-color: var(--primary-800);
}

.carousel-control.prev { left: -10px; }
.carousel-control.next { right: -10px; }

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-medium);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}

.indicator.active {
  background-color: var(--accent-500);
  width: 24px;
  border-radius: 4px;
}

/* FAQs Accordion Styles */
.faqs-section {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.faqs-container {
  max-width: 800px;
}

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

.accordion-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.3s;
}

.accordion-item:hover {
  border-color: var(--border-medium);
}

.accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-800);
  cursor: pointer;
}

.accordion-arrow {
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--text-light);
  border-bottom: 2px solid var(--text-light);
  transform: rotate(45deg);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-right: 4px;
}

.accordion-header[aria-expanded="true"] .accordion-arrow {
  transform: rotate(-135deg);
  border-color: var(--accent-500);
}

.accordion-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-collapse.show {
  max-height: 500px; /* arbitrary height to slide down */
}

.accordion-body {
  padding: 0 24px 24px 24px;
  font-size: 0.9375rem;
  color: var(--text-medium);
  border-top: 1px solid transparent;
}

.accordion-body ul {
  list-style: none;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.accordion-body ul li {
  position: relative;
  padding-left: 20px;
}

.accordion-body ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-500);
  font-weight: 700;
}

/* Footer Section */
.main-footer {
  background-color: var(--primary-900);
  padding: 80px 0 0 0;
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 0.6fr 1.6fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  text-decoration: none;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
  transition: transform 0.25s ease;
}

.footer-logo:hover .footer-logo-img {
  transform: scale(1.08);
}

.footer-logo .logo-text {
  color: var(--text-white);
  font-size: 1.35rem;
}

.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 24px;
}

.footer-contact {
  font-size: 0.875rem;
  color: var(--text-white);
  line-height: 1.8;
}

.footer-links-title {
  color: var(--text-white);
  font-size: 1rem;
  margin-bottom: 24px;
}

.footer-link {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-link:hover {
  color: var(--accent-400);
  transform: translateX(4px);
}

.disclaimer-text {
  font-size: 0.75rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px 0;
  font-size: 0.8125rem;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer-bottom-links .footer-link {
  margin-bottom: 0;
}

/* Responsiveness Settings - Media Queries */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-trust-metrics {
    justify-content: center;
  }
  
  .badge-top {
    left: 0;
  }
  
  .calculator-container {
    grid-template-columns: 1fr;
  }
  
  .calc-summary-card {
    position: static;
  }
  
  .consultation-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .desktop-menu {
    display: none;
  }
  
  .menu-toggle-btn {
    display: flex;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .quick-selector-card {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 12px;
  }
  
  .selector-divider {
    width: 100%;
    height: 1px;
  }
  
  .selector-btn {
    width: 100%;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .consultation-form-card {
    padding: 32px 24px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .ribbon-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .ribbon-logos {
    justify-content: center;
    gap: 24px;
  }
  
  .carousel-wrapper {
    padding: 0 10px;
  }
  
  .carousel-control {
    display: none;
  }
  
  .testimonial-text {
    font-size: 1.125rem;
  }
}

/* ==========================================
   HD Service Posters Showcase Section
   ========================================== */
.posters-section {
  padding: 96px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
}

.poster-filters-container {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.poster-filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  background-color: var(--bg-white);
  padding: 8px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  justify-content: center;
}

.poster-filter-btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: transparent;
  border: none;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-medium);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.poster-filter-btn:hover {
  color: var(--primary-800);
  background-color: var(--primary-50);
}

.poster-filter-btn.active {
  background-color: var(--primary-800);
  color: var(--text-white);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.posters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.poster-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.poster-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: rgba(217, 119, 6, 0.3);
}

.poster-card.filtered-out {
  display: none !important;
}

.poster-img-container {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  padding-top: 150%;
  background-color: #0a0f1d;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.poster-img-container picture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.poster-img-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s ease;
}

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

.hd-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
}

.poster-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  padding: 20px;
}

.poster-card:hover .poster-overlay {
  opacity: 1;
}

.btn-zoom-preview {
  font-size: 0.875rem;
  padding: 10px 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.poster-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.poster-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-500);
  margin-bottom: 6px;
}

.poster-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-800);
  margin-bottom: 4px;
}

.poster-subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 12px;
}

.poster-desc {
  font-size: 0.9375rem;
  color: var(--text-medium);
  margin-bottom: 20px;
  line-height: 1.5;
  flex-grow: 1;
}

.poster-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.poster-btn {
  padding: 8px 10px;
  font-size: 0.8125rem;
  width: 100%;
}

.card-footer-split {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn-view-hd-card {
  font-size: 0.8125rem;
  padding: 8px 12px;
  border-color: var(--accent-500);
  color: var(--accent-600);
  white-space: nowrap;
}

.btn-view-hd-card:hover {
  background-color: var(--accent-500);
  color: #ffffff;
}

/* ==========================================
   Ultra HD Poster Lightbox Modal
   ========================================== */
.hd-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.hd-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.hd-modal-container {
  width: 100%;
  max-width: 1200px;
  height: 92vh;
  background-color: #0b0f19;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hd-modal-header {
  padding: 16px 24px;
  background-color: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.hd-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-hd-tag {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.hd-modal-title {
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 600;
}

.hd-modal-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.zoom-controls {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.zoom-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background-color 0.2s ease;
}

.zoom-btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.zoom-level-text {
  color: var(--accent-400);
  font-weight: 700;
  font-size: 0.875rem;
  min-width: 48px;
  text-align: center;
}

.btn-modal-download {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.hd-modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.125rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.hd-modal-close:hover {
  background-color: #ef4444;
  border-color: #ef4444;
}

.hd-modal-body {
  flex: 1;
  overflow: auto;
  position: relative;
  background-color: #070a11;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: grab;
}

.hd-modal-body:active {
  cursor: grabbing;
}

.hd-image-wrapper {
  transition: transform 0.15s ease-out;
  display: inline-block;
  transform-origin: center center;
}

.hd-modal-image {
  max-height: 78vh;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  user-select: none;
}

/* ==========================================
   WhatsApp Contact Button Styling
   ========================================== */
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  font-weight: 600;
  border: none;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #20bd5a 0%, #0e7065 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  color: #ffffff !important;
}

.whatsapp-btn-icon {
  font-size: 1.1em;
  margin-right: 6px;
}

/* Sticky Floating WhatsApp Button (Bottom-Right) */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  border-radius: var(--radius-full);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9375rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
  color: #ffffff;
}

.whatsapp-float-icon {
  font-size: 1.35rem;
}

.whatsapp-float-text {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .whatsapp-float {
    bottom: 18px;
    right: 18px;
    padding: 10px 16px;
    font-size: 0.875rem;
  }

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

  .poster-actions {
    grid-template-columns: 1fr;
  }

  .hd-modal-container {
    height: 96vh;
    border-radius: var(--radius-sm);
  }

  .hd-modal-header {
    padding: 12px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hd-modal-controls {
    width: 100%;
    justify-content: space-between;
  }

  .hd-modal-title {
    font-size: 1rem;
  }
}

/* Subpage & Detail Layout Mobile Responsiveness */
@media (max-width: 768px) {
  .detail-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .service-hero {
    padding: 100px 0 40px !important;
  }

  .service-hero-title {
    font-size: 1.85rem !important;
  }

  .legal-page-title {
    font-size: 1.85rem !important;
  }

  .legal-card, .detail-card {
    padding: 20px !important;
  }
}

@media (max-width: 480px) {
  .card-footer-split {
    flex-direction: column;
    align-items: stretch;
  }

  .card-footer-split .btn {
    width: 100%;
    text-align: center;
  }

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

  .hero-title {
    font-size: 1.75rem !important;
  }
}



