/* =========================================
   AQUA CLEAN — Vanilla CSS Stylesheet
   ========================================= */

/* CSS Variables */
:root {
  --radius-global: 16px;
  /* Colors */
  --primary: #00B5FF;
  --primary-hover: #009ce0;
  --primary-rgb: 0, 181, 255;
  
  --secondary: #425C9A;
  --secondary-hover: #35497B;
  --secondary-rgb: 66, 92, 154;
  
  --base-white: #FFFFFF;
  --bg-light: #F8FAFC;
  
  --text-dark: #0F172A;
  --text-body: #64748B;
  --text-light: #CBD5E1;
  
  --border-color: #E2E8F0;

  /* Spacing (8px Grid) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;
  --space-16: 128px;
  
  /* Section Spacing Responsive */
  --section-pad: clamp(50px, 6vw, 82px);
  --container-max: 1200px;
  
  /* Typography */
  --font-base: "HelveticaNeueLTGeo", "Helvetica Neue", Arial, sans-serif;
  --font-heading: "HelveticaNeueLTGeo", "Helvetica Neue", Arial, sans-serif;
  
  /* Transitions */
  --t-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --t-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-primary: 0 8px 24px rgba(0, 181, 255, 0.25);
  --shadow-hover: 0 12px 32px rgba(0, 181, 255, 0.35);

  /* Gold gradient (Premium) */
  --gold-gradient: linear-gradient(135deg, #C9972A 0%, #E8C040 50%, #C9972A 100%);
  --gold-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}

/* =========================================
   Typography & Fonts
   ========================================= */

@font-face {
  font-family: "HelveticaNeueLTGeo";
  src: url("../Fonts/HELVETICA NEUE LT GEO 45 LIGHT.TTF") format("truetype");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "HelveticaNeueLTGeo";
  src: url("../Fonts/HELVETICA NEUE LT GEO 65 MEDIUM.TTF") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "HelveticaNeueLTGeo";
  src: url("../Fonts/HELVETICA NEUE LT GEO 75 BOLD.TTF") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "HelveticaNeueLTGeo";
  src: url("../Fonts/HELVETICA NEUE LT GEO 85 HEAVY.TTF") format("truetype");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "HelveticaNeueLTGeo";
  src: url("../Fonts/HELVETICA NEUE LT GEO 95 BLACK.TTF") format("truetype");
  font-weight: 900;
  font-display: swap;
}

/* =========================================
   Reset & Base Styles
   ========================================= */
html {
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-base);
  color: var(--text-body);
  background-color: var(--base-white);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

/* Image Protection */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

/* Ensure structural elements do not force screen overflow */
.container, main, section, header, footer, .navbar, .hero-content, .service-cards, .grid-4, .furniture-grid, .condition-grid, .quote-container, .card, .quote-step-content {
  max-width: 100%;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.125rem, 1.5vw, 1.25rem); }

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

ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

@media (max-width: 767px) {
  .container {
    padding: 0 20px;
  }
}

.section {
  padding: var(--section-pad) 0;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-white { color: var(--base-white); }
.text-light { color: var(--text-light); }
.bg-light { background-color: var(--bg-light); }
.bg-secondary { background-color: var(--secondary); }
.mb-section { margin-bottom: var(--space-6); }
.mt-4 { margin-top: var(--space-2); }
.mt-8 { margin-top: var(--space-8); }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  background-color: var(--primary);
  color: var(--base-white);
  font-size: 0.875rem;
  font-weight: 700;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-global);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-subtitle {
  font-size: 1.125rem;
  max-width: 600px;
  margin: var(--space-3) auto 0;
  color: var(--text-body);
}

/* =========================================
   Buttons
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 12px 24px;
  font-weight: 700;
  border-radius: var(--radius-global);
  transition: all var(--t-fast);
}

.btn:active {
  transform: scale(0.98);
}

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

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

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

.btn-outline:hover {
  border-color: var(--primary);
  background-color: rgba(0, 181, 255, 0.05);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--base-white);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-outline-white:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: var(--base-white);
}

.btn-white {
  background-color: var(--base-white);
  color: var(--secondary);
}

.btn-white:hover {
  background-color: rgba(255,255,255,0.9);
  transform: translateY(-2px);
}

.btn-success, .btn-whatsapp {
  background-color: #25D366;
  color: white;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-success:hover, .btn-whatsapp:hover {
  background-color: #22bf5b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-messenger {
  background-color: #0084FF;
  color: white;
  box-shadow: 0 4px 14px rgba(0, 132, 255, 0.3);
}

.btn-messenger:hover {
  background-color: #0073e6;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 132, 255, 0.4);
}

.btn-text {
  color: var(--text-body);
  padding: var(--space-2);
}

.btn-text:hover {
  color: var(--primary);
}

/* =========================================
   Navbar
   ========================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all var(--t-normal);
  background: transparent;
  padding: var(--space-3) 0;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  padding: var(--space-2) 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--base-white);
  transition: color var(--t-normal);
}

.navbar.scrolled .logo {
  color: var(--text-dark);
}

.logo i {
  font-size: 1.75rem;
  color: var(--primary) !important;
}

.logo-image {
  height: 30px;
  width: auto;
  transition: opacity var(--t-fast);
}
.logo-after {
  display: none;
}
.navbar.scrolled .logo-before {
  display: none;
}
.navbar.scrolled .logo-after {
  display: block;
}

.desktop-nav {
  display: none;
  gap: var(--space-5);
}

.desktop-nav a {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--base-white);
  transition: color var(--t-fast);
}

.navbar.scrolled .desktop-nav a {
  color: var(--text-body);
}

.desktop-nav a:hover, .navbar.scrolled .desktop-nav a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-actions .btn-primary {
  padding-top: 9px;
  padding-bottom: 9px;
}

.lang-btn {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--base-white);
  padding: var(--space-1) var(--space-2);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-global);
  transition: all var(--t-fast);
}

.navbar.scrolled .lang-btn {
  color: var(--text-body);
  border-color: var(--border-color);
}

.lang-btn:hover {
  background: rgba(255,255,255,0.1);
}

.navbar.scrolled .lang-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.menu-toggle {
  display: block;
  font-size: 1.75rem;
  color: var(--base-white);
}

.navbar.scrolled .menu-toggle {
  color: var(--text-dark);
}

@media (min-width: 900px) {
  .desktop-nav { display: flex; }
  .menu-toggle { display: none; }
}

/* =========================================
   Custom Language Switcher
   ========================================= */
.custom-lang-switcher {
  position: relative;
  display: inline-block;
  cursor: pointer;
  outline: none;
  font-family: inherit;
  user-select: none;
}

.custom-lang-switcher .lang-selected {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-global);
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--base-white);
  transition: all var(--t-fast);
}

.navbar.scrolled .custom-lang-switcher .lang-selected {
  background: #ffffff;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.custom-lang-switcher .lang-selected i {
  font-size: 0.875rem;
  transition: transform var(--t-fast);
}

.custom-lang-switcher.open .lang-selected i {
  transform: rotate(180deg);
}

.custom-lang-switcher .lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  min-width: 80px;
  border-radius: var(--radius-global);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--t-fast);
  z-index: 1000;
  border: 1px solid rgba(0,0,0,0.05);
}

.custom-lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-lang-switcher .lang-option {
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: background var(--t-fast);
  text-align: center;
}

.custom-lang-switcher .lang-option:hover {
  background: var(--bg-alt);
}

.custom-lang-switcher .lang-option.active {
  background: var(--primary);
  color: var(--base-white);
}

@media (max-width: 899px) {
  .custom-lang-switcher { display: none; }
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 160px 0 100px;
  display: flex;
  flex-direction: column;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../images/rbili-aveji-qimwmenda-tbilisi.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(66, 92, 154, 0.9) 0%, rgba(15, 23, 42, 0.8) 100%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  color: var(--base-white);
  max-width: 1000px;
  margin-bottom: var(--space-10);
  margin-top: auto;
}

.hero-content h1 {
  color: var(--base-white);
  margin-bottom: var(--space-4);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-5);
}

.hero-badges {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: var(--radius-global);
  font-size: 0.875rem;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.2);
}

.badge i {
  color: var(--primary);
  font-size: 1.125rem;
}

/* =========================================
   Service Cards List
   ========================================= */
.service-cards-wrapper {
  margin-top: auto;
  z-index: 10;
}

.service-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: -60px; /* Overlap hero */
}

@media (min-width: 768px) {
  .service-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  position: relative;
  background: var(--base-white);
  border-radius: var(--radius-global);
  padding: var(--space-4) var(--space-3);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  border: 1px solid var(--border-color);
  transition: transform var(--t-normal), box-shadow var(--t-normal), border-color var(--t-normal);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0, 181, 255, 0.1);
  border-color: rgba(0, 181, 255, 0.2);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-global);
  background: rgba(0, 181, 255, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: var(--space-3);
}

.card h3 {
  margin-bottom: var(--space-2);
  font-size: 1.125rem;
  color: var(--text-dark);
}

.card-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: var(--space-4);
  flex-grow: 1;
}

.card-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: 0.875rem; /* This sets it strictly to 14px in rem scale */
  font-weight: 500;
  color: var(--text-dark);
}

.text-primary-check {
  color: var(--primary);
  font-size: 1.125rem;
}

.card-features .text-faded {
  color: #94A3B8;
  opacity: 0.5;
}

.card-features .opacity-0 {
  opacity: 0;
}

.card-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--radius-global);
  box-shadow: 0 4px 12px rgba(0, 181, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-recommended {
  border: 2px solid var(--primary);
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 181, 255, 0.15);
}

.card-recommended:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 181, 255, 0.25);
}

.card-premium {
  background: var(--secondary);
  border: none;
  box-shadow: 0 16px 40px rgba(0, 27, 58, 0.4);
  color: var(--base-white);
}

.card-premium h3 {
  color: var(--base-white);
}

.card-premium .card-features li {
  color: rgba(255, 255, 255, 0.9);
}

.card-premium .card-icon {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.card-premium .card-icon i {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-premium .btn-primary {
  background: var(--gold-gradient);
  box-shadow: var(--gold-shadow);
  color: #FFF;
}

.card-premium .btn-primary:hover {
  background: linear-gradient(135deg, #B5841F 0%, #D4A820 50%, #B5841F 100%);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.55);
  transform: translateY(-2px);
}

.card-premium .text-faded {
  color: rgba(255, 255, 255, 0.4);
}

.card-premium .opacity-0 {
  opacity: 0 !important;
}

@media (max-width: 767px) {
  .hero-bg {
    background-image: url('../images/rbili-aveji-mobiluri-qimwmenda-tbilisi.jpg');
    background-attachment: scroll; /* better performance on mobile */
  }

  .card-deluxe { transform: none; border-width: 1px; }
  .card-deluxe:hover { transform: translateY(-8px); }
  .card-badge { top: 16px; right: 16px; }
  .service-cards { margin-top: 20px; }

  /* Mobile Flex and Grid Adjustments to fit within 100vw */
  .nav-actions {
    gap: 8px;
  }
  .nav-actions .btn-primary {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
  .logo {
    font-size: 1.25rem;
  }
  .logo-image {
    height: 26px;
  }
  .nav-actions .lang-btn {
    padding: 6px 10px;
  }
  .furniture-grid {
    gap: 12px;
  }
  .condition-grid {
    gap: 12px;
  }
  .quote-container {
    padding: 24px 16px;
    margin-top: 24px;
  }
  .quote-progress {
    margin-bottom: 24px;
  }
  .step-line {
    width: 30px;
    margin: 0 8px;
  }
  .quote-nav {
    flex-direction: column;
    gap: 12px;
  }
  .quote-nav .btn {
    width: 100%;
    justify-content: center;
  }
  .price-val {
    font-size: 2rem;
  }
  .card {
    padding: 32px 20px;
  }
  .why-card {
    padding: 20px;
  }

  /* Hero text: left-aligned on mobile */
  .hero-content {
    text-align: left;
  }

  /* Pricing filter bar: wrap to 2 lines if needed */
  .pricing-filter-bar {
    display: flex;
    flex-wrap: wrap;
    width: calc(100vw - 40px);
    border-radius: var(--radius-global);
    justify-content: stretch;
  }
  .filter-side {
    flex: 1;
    justify-content: center;
    padding: 10px 12px;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }

  /* Pricing card item name: 14px */
  #pricing .horizontal-card .pricing-name {
    font-size: 0.875rem !important;
  }

  /* Mobile lang switcher row visible inside hamburger menu */
  .mobile-lang-row {
    display: flex;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    width: 100%;
    margin-top: 8px;
  }
  .lang-select-mobile {
    color: var(--text-dark) !important;
    border-color: var(--border-color) !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
  }

  /* Hide main lang select from nav-actions on mobile */
  .nav-actions .lang-select:not(.lang-select-mobile) {
    display: none;
  }
}

/* Mobile lang row hidden on desktop */
.mobile-lang-row {
  display: none;
}

/* =========================================
   Calculator (Quote Builder)
   ========================================= */
.quote-container {
  max-width: 700px;
  margin: var(--space-6) auto 0;
  background: var(--base-white);
  border-radius: var(--radius-global);
  padding: var(--space-6) var(--space-4);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

@media (min-width: 640px) {
  .quote-container { padding: var(--space-8) var(--space-6); }
}

.quote-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
}

.step {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--border-color);
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: all var(--t-normal);
}

.step.active {
  background: var(--primary);
  color: var(--base-white);
  box-shadow: 0 0 0 4px rgba(0, 181, 255, 0.2);
}

.step-line {
  height: 2px;
  width: 60px;
  background: var(--border-color);
  margin: 0 var(--space-2);
}

.quote-step-content {
  animation: fadeIn 0.3s ease;
}

.quote-step-content.hidden {
  display: none;
}

.quote-step-content h3 {
  margin-bottom: var(--space-4);
  color: var(--text-dark);
}

/* Furniture Grid */
.furniture-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

@media (min-width: 640px) {
  .furniture-grid { grid-template-columns: repeat(4, 1fr); }
}

.furn-btn {
  background: var(--bg-light);
  border: 2px solid transparent;
  border-radius: var(--radius-global);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  transition: all var(--t-fast);
  color: var(--text-body);
}

.furn-btn i { font-size: 2.5rem; color: var(--secondary); transition: color var(--t-fast); }
.furn-btn span { font-weight: 700; font-size: 0.875rem; }

.furn-btn:hover { background: rgba(0, 181, 255, 0.05); }
.furn-btn.selected {
  border-color: var(--primary);
  background: rgba(0, 181, 255, 0.05);
  color: var(--primary);
}
.furn-btn.selected i { color: var(--primary); }

/* Condition Grid */
.condition-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.cond-btn {
  background: var(--bg-light);
  border: 2px solid transparent;
  border-radius: var(--radius-global);
  padding: 16px 20px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
  transition: all var(--t-fast);
}

.cond-btn:hover { background: rgba(0, 181, 255, 0.05); }
.cond-btn.selected {
  border-color: var(--primary);
  background: rgba(0, 181, 255, 0.05);
  color: var(--primary);
}

/* Quote Nav */
.quote-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Quote Result */
.quote-result {
  background: linear-gradient(135deg, rgba(0, 181, 255, 0.05) 0%, rgba(66, 92, 154, 0.05) 100%);
  border: 1px solid rgba(0, 181, 255, 0.2);
  border-radius: var(--radius-global);
  padding: var(--space-5);
  margin-bottom: var(--space-6);
}

.result-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-4);
}

.price-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

.price-box p { font-size: 0.875rem; color: var(--text-body); }
.price-val { font-size: 2.5rem; font-weight: 900; color: var(--primary); line-height: 1; }

/* =========================================
   Why Choose Us
   ========================================= */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

.why-card {
  background: var(--base-white);
  padding: var(--space-4);
  border-radius: var(--radius-global);
  border: 1px solid var(--border-color);
  text-align: left;
  transition: all var(--t-normal);
  display: flex;
  flex-direction: column;
}

.why-card:hover {
  border-color: rgba(0, 181, 255, 0.3);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.why-card h3 {
  margin-bottom: var(--space-2);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.why-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
  flex-grow: 1;
}

.why-icon {
  width: 56px;
  height: 56px;
  margin: 0 0 var(--space-3) 0;
  background: rgba(0, 181, 255, 0.1);
  color: var(--primary);
  border-radius: var(--radius-global);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  transition: transform var(--t-fast);
}

.why-card:hover .why-icon {
  transform: scale(1.1);
  background: rgba(0, 181, 255, 0.2);
}

/* =========================================
   Before / After Slider
   ========================================= */
.ba-slider-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 336px;
  margin: var(--space-6) auto 0;
  overflow: hidden;
  border-radius: var(--radius-global);
  box-shadow: var(--shadow-md);
  user-select: none;
}

@media (min-width: 768px) { .ba-slider-container { height: 456px; } }

.ba-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.ba-before {
  z-index: 1;
}

.ba-after {
  z-index: 2;
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
  transition: clip-path 0.2s ease-out;
}

.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--base-white);
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 10;
  transition: left 0.2s ease-out;
}

.ba-slider-container.dragging .ba-handle,
.ba-slider-container.dragging .ba-after {
  transition: none;
}

.ba-arrows {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  background: var(--primary);
  color: var(--base-white);
  border-radius: 50%;
  border: 3px solid var(--base-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  box-shadow: var(--shadow-md);
}

.ba-label {
  position: absolute;
  top: var(--space-3);
  background: rgba(0,0,0,0.6);
  color: var(--base-white);
  padding: 4px 12px;
  border-radius: var(--radius-global);
  font-size: 0.875rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
  z-index: 5;
}

.ba-label.left { left: var(--space-3); }
.ba-label.right { right: var(--space-3); }

/* =========================================
   Testimonials Carousel
   ========================================= */
.carousel-container {
  max-width: 800px;
  margin: var(--space-8) auto 0;
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card {
  min-width: calc(100% - 48px);
  margin: 0 24px;
  padding: var(--space-3);
  box-sizing: border-box;
  background: var(--base-white);
  border-radius: var(--radius-global);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  display: flex !important;
  flex-direction: column;
  transition: transform var(--t-normal), box-shadow var(--t-normal);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.stars {
  color: var(--primary);
  font-size: 1.125rem;
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-bottom: var(--space-2);
}

.review-text {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: var(--space-3);
  color: var(--text-dark);
}

.review-author {
  font-size: 0.875rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.mini-gallery {
  display: flex;
  gap: 8px;
  margin-top: auto;
  border-radius: var(--radius-global);
}

.gallery-item {
  width: 50%;
  position: relative;
  border-radius: var(--radius-global);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  aspect-ratio: 1 / 1;
  height: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-global);
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
  padding: 4px 0;
}

@media (min-width: 768px) {
  .carousel-container {
    max-width: 860px;
  }
  .review-card {
    min-width: calc(50% - 48px);
    margin: 0 24px;
    padding: var(--space-4);
  }
}

@media (min-width: 1024px) {
  .carousel-container {
    max-width: 1200px;
  }
  .review-card {
    min-width: calc(33.333% - 48px);
  }
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all var(--t-fast);
}

.carousel-dots .dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* =========================================
   Language Dropdown
   ========================================= */
.lang-select {
  appearance: none;
  background-color: transparent;
  color: var(--base-white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 8px 32px 8px 16px;
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--radius-global);
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  transition: all var(--t-fast);
}

.lang-select option {
  color: var(--text-dark);
  background-color: var(--base-white);
}

.lang-select:hover {
  border-color: var(--base-white);
  background-color: rgba(255, 255, 255, 0.1);
}

.lang-select:focus {
  outline: none;
  border-color: var(--base-white);
}

/* When navbar scrolled — switch to dark text and border */
.navbar.scrolled .lang-select {
  color: var(--text-dark);
  border-color: var(--border-color);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}
.navbar.scrolled .lang-select:hover {
  border-color: var(--primary);
  background-color: rgba(0, 181, 255, 0.05);
}

/* =========================================
   FAQ Accordion
   ========================================= */
.max-w-md { max-width: 800px; margin: 0 auto; }

.accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.acc-item {
  background: var(--base-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-global);
  overflow: hidden;
  transition: border-color var(--t-fast);
}

.acc-item:hover { border-color: rgba(0, 181, 255, 0.4); }

.acc-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  background: transparent;
}

.acc-header i {
  color: var(--text-light);
  font-size: 1.25rem;
  transition: transform var(--t-normal), color var(--t-normal);
}

.acc-item.open .acc-header { color: var(--primary); }
.acc-item.open .acc-header i {
  transform: rotate(180deg);
  color: var(--primary);
}

.acc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.acc-content p {
  padding: 0 var(--space-4) var(--space-4);
  color: var(--text-body);
}

/* =========================================
   Footer
   ========================================= */
.footer {
  background: var(--secondary);
  padding: var(--space-10) 0 var(--space-4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: var(--space-6);
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: var(--space-4); }
}

.footer h4 {
  font-size: 1.125rem;
  margin-bottom: 24px;
  color: var(--base-white);
  line-height: 1.2;
}

.footer-brand .logo {
  display: inline-flex;
  margin-bottom: 24px;
}

.footer-desc { 
  color: rgba(255,255,255,0.7); 
  max-width: 300px; 
  margin-top: 0 !important; 
}

.social-links {
  display: flex;
  gap: var(--space-2);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-global);
  color: var(--base-white);
  font-size: 1.25rem;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

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

.footer-links nav a {
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.footer-links nav a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}

.footer-contact i {
  font-size: 1.25rem;
}

.footer-bottom {
  padding-top: var(--space-4);
  text-align: center;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-up-1 { animation: fadeUp 0.6s ease-out forwards; }
.fade-up-2 { animation: fadeUp 0.6s ease-out 0.1s forwards; opacity: 0; }
.fade-up-3 { animation: fadeUp 0.6s ease-out 0.2s forwards; opacity: 0; }
.fade-up-4 { animation: fadeUp 0.6s ease-out 0.3s forwards; opacity: 0; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   Gallery Modal
   ========================================= */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast);
}

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

.gallery-modal-content {
  background: var(--bg-light);
  border-radius: var(--radius-global);
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: var(--space-4);
  transform: scale(0.95);
  transition: transform var(--t-fast);
  overflow: hidden;
}

.modal-overlay.open .gallery-modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #FFF;
  border: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  transition: all var(--t-fast);
  z-index: 10;
}

.modal-close:hover {
  background: var(--gray-light);
  color: var(--primary);
}

.gallery-modal-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: 36px;
  flex: 1;
  min-height: 0;
}

@media (min-width: 768px) {
  .gallery-modal-body {
    flex-direction: row;
    margin-top: 24px;
  }
}

.gallery-modal-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.gallery-modal-tag {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-2);
  text-align: center;
  flex-shrink: 0;
}

.gallery-modal-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-global);
  display: block;
  min-height: 0;
}

/* Ensure cursor points on mini-galleries */
.mini-gallery {
  cursor: pointer;
  transition: opacity var(--t-fast);
}
.mini-gallery:hover {
  opacity: 0.85;
}


/* =========================================
   Pricing Section
   ========================================= */
.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
  background: var(--bg-light);
  padding: 8px;
  border-radius: var(--radius-global);
  width: fit-content;
  margin: 0 auto var(--space-8) auto;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.pricing-tab {
  background: transparent;
  border: none;
  padding: 12px 32px;
  border-radius: var(--radius-global);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--t-fast);
  font-size: 1rem;
}

.pricing-tab:hover {
  color: var(--primary);
}

.pricing-tab.active {
  background: var(--primary);
  color: #FFF;
  box-shadow: var(--shadow-sm);
  pointer-events: none;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

@media (max-width: 1400px) {
  .pricing-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

.pricing-card {
  background: #FFFFFF;
  border-radius: var(--radius-global);
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: none;
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
  border: 1px solid #EBEBEB;
}

.pricing-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  background: #F5FBFF;
}

.pricing-name {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.15;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
}

.pricing-illu {
  width: 65px;
  height: 65px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-fast);
}

.pricing-card:hover .pricing-illu {
  transform: scale(1.05);
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: auto;
  background: rgba(0, 181, 255, 0.05);
  padding: 4px 10px;
  border-radius: var(--radius-global);
}

.pricing-illu img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-global);
  background: #FFF;
}

#pricing .container { max-width: 100%; padding: 0 4%; }


/* Grouped List Structural Overrides */
.pricing-group {
  margin-bottom: var(--space-8);
  width: 100%;
}
.pricing-category-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-4);
  padding-bottom: 8px;
  border-bottom: 3px solid rgba(0, 181, 255, 0.2);
  display: inline-block;
}
.pricing-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  width: 100%;
}
@media (max-width: 900px) {
  .pricing-list { grid-template-columns: 1fr; }
}

.horizontal-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 20px !important;
  border-radius: var(--radius-global);
  background: #FFFFFF;
  text-align: left !important;
  box-shadow: none;
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
  border: 1px solid #EBEBEB;
  gap: var(--space-4);
  margin: 0;
  height: auto;
  position: relative;
  overflow: hidden;
}
.horizontal-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #00B5FF, #7DD8FF);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  border-radius: var(--radius-global) var(--radius-global) 0 0;
}
.horizontal-card:hover {
  border-color: rgba(0, 181, 255, 0.3);
  background: #F7FCFF;
  transform: none !important;
}
.horizontal-card:hover::before {
  transform: scaleX(1);
}
.pricing-illu-wrap {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  background: var(--bg-light);
  border-radius: var(--radius-global);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.pricing-illu-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pricing-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.horizontal-card .pricing-name {
  font-size: 1.05rem !important;
  margin-bottom: 0 !important;
  min-height: auto !important;
  line-height: 1.3 !important;
  justify-content: flex-start !important;
  text-align: left !important;
}
.pricing-price-badge {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  background: rgba(0, 181, 255, 0.08);
  padding: 8px 16px;
  border-radius: var(--radius-global);
  flex-shrink: 0;
  white-space: nowrap;
}

/* ── Premium pricing: gold price badges ── */
#pricing-premium .pricing-price-badge {
  background: var(--gold-gradient);
  color: #FFF;
  border: none;
  box-shadow: var(--gold-shadow);
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

#pricing-premium .horizontal-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  background: #FFFDF5;
}

#pricing-premium .horizontal-card::before {
  background: var(--gold-gradient);
}

/* Ensure the grid wrapper spans full width properly within container constraints */
#pricing-basic {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}
#pricing .container { max-width: 1200px !important; padding: 0 var(--space-4) !important; }


/* Sub-Tabs Structural Overrides */
.pricing-subtabs {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
  width: 100%;
}
.pricing-subtab {
  background: transparent;
  border: 1px solid rgba(0, 181, 255, 0.3);
  padding: 8px 24px;
  border-radius: var(--radius-global);
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all var(--t-fast);
  font-size: 0.95rem;
}
.pricing-subtab:hover {
  background: rgba(0, 181, 255, 0.05);
}
.pricing-subtab.active {
  background: rgba(0, 181, 255, 0.15);
  color: var(--primary);
  border-color: var(--primary);
  pointer-events: none;
}
.pricing-subgrid {
  width: 100%;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.pricing-group { display: none !important; } 
.pricing-category-title { display: none !important; }


/* =========================================
   Dual Toggle Merge Filter System
   ========================================= */
.pricing-filter-system {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}
.pricing-filter-system::-webkit-scrollbar { height: 4px; }
.pricing-filter-system::-webkit-scrollbar-thumb { background: var(--gray-light); border-radius: var(--radius-global); }

@media (min-width: 768px) {
  .pricing-filter-system {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
  }
}

.merged-pill-wrapper {
  display: flex;
  align-items: center;
  background: var(--base-white);
  border-radius: var(--radius-global);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 4px;
  position: relative;
  transition: all var(--t-fast);
  border: 1px solid transparent;
  flex-shrink: 0;
}
.merged-pill-wrapper:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.merged-pill-wrapper.active { border-color: rgba(0, 181, 255, 0.2); }

.filter-pill {
  background: transparent;
  color: var(--text-light);
  border: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 24px;
  border-radius: var(--radius-global);
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.filter-pill.primary {
  background: var(--primary);
  color: #FFF;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dropdown-icon { font-size: 1.1rem; transition: transform var(--t-fast); }
.dropdown-icon.open { transform: rotate(180deg); }

.secondary-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: 4px;
}
.sec-chip {
  background: #F0F8FF;
  border: 1px solid #B5DFFF;
  color: var(--text-dark);
  padding: 6px 14px;
  border-radius: var(--radius-global);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  white-space: nowrap;
  animation: slideIn 0.3s ease;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}
.sec-chip button {
  background: transparent;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  border-radius: 50%;
  transition: all var(--t-fast);
}
.sec-chip button:hover { background: #B5DFFF; color: var(--primary); }

.filter-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--base-white);
  border-radius: var(--radius-global);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 16px;
  min-width: 250px;
  z-index: 100;
  display: none;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(0,0,0,0.05);
}
.filter-dropdown.show {
  display: flex;
  animation: fadeUp 0.2s ease;
}
.dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--gray-light);
  padding-bottom: 8px;
}
.dropdown-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
}
.btn-clear {
  background: transparent;
  border: none;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
}
.btn-clear:hover { text-decoration: underline; }

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: opacity var(--t-fast);
  margin: 0;
}
.dropdown-item:hover { opacity: 0.7; }
.dropdown-item input {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
  cursor: pointer;
}
  
/* Show basic items properly initially by reverting legacy display none styles */



/* =========================================
   Unified Dual Filter Bar System (Photo Match)
   ========================================= */
.pricing-filter-bar-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-8);
  width: 100%;
}

.pricing-subgrid {
  transition: opacity 0.25s ease;
}
.pricing-filter-bar {
  display: inline-flex;
  background: var(--base-white);
  border-radius: var(--radius-global);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  padding: 6px;
  position: relative;
  align-items: center;
}
.filter-side {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-global);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.filter-primary {
  background: var(--primary);
  color: #FFF;
  box-shadow: 0 4px 10px rgba(0, 181, 255, 0.2);
  transition: background var(--t-normal), box-shadow var(--t-normal);
}

.filter-primary.premium-active {
  background: var(--gold-gradient);
  box-shadow: var(--gold-shadow);
  color: #FFF;
}
.filter-secondary {
  background: transparent;
  color: var(--text-dark);
}
.filter-secondary:hover {
  background: rgba(0,0,0,0.03);
}

.filter-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  background: var(--base-white);
  border-radius: var(--radius-global);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 8px;
  min-width: 200px;
  z-index: 100;
  display: none;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.05);
}
#dropdown-primary { left: 0; right: auto; min-width: 250px; }
#dropdown-secondary { left: auto; right: 0; min-width: 280px; }

@media (max-width: 600px) {
  .pricing-filter-bar {
    flex-direction: column;
    border-radius: var(--radius-global);
    width: 100%;
    max-width: 320px;
    padding: 8px;
    gap: 8px;
  }
  .filter-side {
    width: 100%;
    justify-content: space-between;
  }
  #dropdown-primary, #dropdown-secondary {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 280px;
  }
  #dropdown-primary {
    top: 60px;
    z-index: 102;
  }
}

.filter-dropdown.show {
  display: flex;
  animation: fadeUp 0.2s ease;
}
.dropdown-item {
  padding: 12px 16px;
  cursor: pointer;
  border-radius: var(--radius-global);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: all var(--t-fast);
}
.dropdown-item:hover {
  background: rgba(0, 181, 255, 0.08);
  color: var(--primary);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.hero-actions .btn {
  flex: 1 1 260px;
  max-width: 320px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hero-actions {
    justify-content: flex-start;
    margin-top: 16px;
    margin-bottom: 24px;
  }
  .hero {
    padding: 110px 0 60px;
  }
  .hero-content {
    margin-bottom: 24px;
  }
}

/* Mobile Language Switcher Styles */
.mobile-lang-row {
  display: none;
}
@media (max-width: 900px) {
  .mobile-lang-row {
    display: block;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.1);
    width: 100%;
  }

  .lang-select-mobile {
    padding: 8px 12px;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: var(--radius-global);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-dark);
    background-color: white;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    width: 100%;
  }

  .nav-actions .lang-select {
    display: none !important;
  }
}

/* Mobile Filter Dropdown Animation Fix */
@keyframes fadeUpMobile {
  from {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 600px) {
  .filter-dropdown.show {
    animation: fadeUpMobile 0.2s ease forwards !important;
  }
}

/* =========================================
   Scroll to Top Button
   ========================================= */
.scroll-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: var(--base-white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 181, 255, 0.3);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

@media (hover: hover) {
  .scroll-to-top:hover {
    transform: translateY(-4px) scale(1.05); /* scale up and slight lift */
    background-color: #009FE5; /* darken primary slightly */
    box-shadow: 0 12px 30px rgba(0, 181, 255, 0.4);
  }
}

.scroll-to-top:active {
  transform: translateY(0) scale(0.95);
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 46px; /* Optimized 44+ px touch target size */
    height: 46px;
    font-size: 1.25rem;
  }
}

/* =========================================
   Fluid Mobile Optimizations (<=480px)
   (e.g., iPhone SE to iPhone 15 Pro Max)
   ========================================= */
@media (max-width: 480px) {
  /* Header & Navigation Fixes */
  .navbar .container {
    padding: 0 clamp(12px, 3.5vw, 20px) !important;
  }
  
  .logo {
    gap: clamp(4px, 2vw, 8px);
    flex-shrink: 1;
    min-width: 0;
  }
  
  .logo img {
    height: clamp(34px, 10vw, 42px) !important;
    width: auto !important;
    max-width: 150px !important;
    object-fit: contain !important;
    flex-shrink: 1;
  }
  
  .logo-text {
    font-size: clamp(0.95rem, 4.5vw, 1.15rem) !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .nav-actions {
    gap: clamp(6px, 2vw, 12px);
    flex-shrink: 0;
  }
  
  .nav-actions .btn-primary {
    padding: clamp(8px, 2.5vw, 12px) clamp(12px, 3.5vw, 20px) !important;
    font-size: clamp(0.8rem, 2.5vw, 0.95rem);
    white-space: nowrap;
  }
  
  .custom-lang-switcher {
    padding: clamp(4px, 1.5vw, 6px) clamp(6px, 2vw, 10px);
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
  }
  
  .menu-toggle {
    margin-left: 2px;
  }

  /* Pricing / Horizontal Card Fixes */
  #pricing .container {
    padding: 0 clamp(12px, 3.5vw, 20px) !important;
  }

  .horizontal-card {
    padding: clamp(12px, 3.5vw, 18px) clamp(10px, 4vw, 20px) !important;
    gap: clamp(8px, 2.5vw, 16px) !important;
  }
  
  .pricing-illu-wrap {
    width: clamp(48px, 13vw, 70px) !important;
    height: clamp(48px, 13vw, 70px) !important;
    padding: clamp(6px, 2vw, 12px) !important;
  }
  
  .pricing-details {
    min-width: 0;
  }

  .horizontal-card .pricing-name {
    font-size: clamp(0.85rem, 3.5vw, 1.05rem) !important;
    line-height: 1.3 !important;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}

/* =========================================
   Universal Pricing Wrap
   ========================================= */
.mobile-break-br {
  display: block !important;
}

.horizontal-card .pricing-name {
  display: block !important;
}

.horizontal-card .pricing-name .mobile-break {
  display: inline-block !important;
  margin-top: 2px;
  font-size: 0.9em;
  opacity: 0.85;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .pricing-price-badge {
    font-size: clamp(0.95rem, 4vw, 1.15rem) !important;
    padding: clamp(6px, 2vw, 8px) clamp(10px, 3vw, 16px) !important;
    flex-shrink: 0;
    min-width: max-content;
  }
}

/* Blog Nav Link Mobile Override */
@media (max-width: 899px) {
  .desktop-nav a.nav-blog-link {
    color: var(--primary) !important;
    font-weight: 800;
  }
}


/* =========================================
   BLOG STYLES
   ========================================= */

/* Horizontal compact header */
.blog-hub-header {
  padding: 88px 0 0;
  background: var(--bg-light);
}
.blog-hub-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 24px;
  border-bottom: 1px solid #e8edf2;
}
.blog-hub-text {
  width: 100%;
  margin-bottom: 8px;
}
.blog-hub-title {
  color: var(--text-dark);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 8px;
  line-height: 1.1;
}
.blog-hub-subtitle {
  color: var(--text-faded, #64748b);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.4;
}

/* Filter Pills — centered */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.filter-pill {
  background: transparent;
  border: 1px solid #dde3ea;
  color: var(--text-body);
  padding: 7px 18px;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 0.875rem;
  white-space: nowrap;
}
.filter-pill:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: var(--text-dark);
}
.filter-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(0, 180, 216, 0.35);
}

.filter-pill-sos {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #fee2e2;
  color: #ef4444;
  padding: 7px 18px;
  border-radius: 40px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 0.875rem;
  text-decoration: none;
  white-space: nowrap;
}
.filter-pill-sos:hover {
  background: #ef4444;
  color: #fff;
  border-color: #ef4444;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
  transform: translateY(-1px);
}

/* Featured Post */
.blog-featured {
  margin: 0 0 28px;
}

/* Grid Spanning for Featured Post when NOT filtered - Stronger Selector */
#blogGrid:not(.is-filtered) > .blog-featured {
  grid-column: 1 / -1 !important;
  display: block !important;
  width: 100% !important;
  margin-bottom: 24px;
}

/* Revert Featured Post to regular card when filtered */
.blog-grid.is-filtered .blog-featured {
  grid-column: auto !important;
  margin: 0 !important;
}

.blog-grid.is-filtered .blog-card-featured {
  flex-direction: column !important;
  width: 100% !important;
}

.blog-grid.is-filtered .blog-card-featured .blog-card-thumb-wrapper {
  width: 100% !important;
  height: 210px !important;
  min-height: 210px !important;
  max-height: 210px !important;
}

.blog-grid.is-filtered .blog-card-featured .blog-card-thumb {
  position: static !important;
  width: 100% !important;
  height: 100% !important;
}

.blog-grid.is-filtered .blog-card-featured .blog-card-content {
  width: 100% !important;
  padding: 24px !important;
  justify-content: flex-start !important;
}

.blog-grid.is-filtered .blog-card-featured .blog-card-title {
  font-size: 1.2rem !important;
}

.blog-grid.is-filtered .blog-card-featured .blog-card-excerpt {
  -webkit-line-clamp: 3 !important;
  line-clamp: 3 !important;
}
.blog-card {
  height: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  border: 1px solid #eef1f5;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px -10px rgba(0, 180, 216, 0.3);
  border-color: rgba(0, 180, 216, 0.2);
}

/* Card thumb height — fixed default for mobile */
.blog-card-thumb-wrapper {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  height: 210px;
  min-height: 210px;
  max-height: 210px;
}
.blog-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.blog-card:hover .blog-card-thumb {
  transform: scale(1.05);
}

/* Floating badge */
.blog-category-tag-inline {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(0, 180, 216, 0.08);
  border: 1px solid rgba(0, 180, 216, 0.18);
  padding: 5px 12px;
  border-radius: 8px;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  align-self: flex-start;
}

/* Card Content */
.blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-category-tag { display: none; }

.blog-card-title {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.45;
  font-weight: 800;
  transition: color 0.25s ease;
}
.blog-card:hover .blog-card-title {
  color: var(--primary);
}
.blog-card-excerpt {
  color: var(--text-body);
  font-size: 0.93rem;
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Meta row */
.blog-card-meta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-faded, #64748b);
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
  gap: 8px;
}
.blog-card-meta::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--primary);
  transition: width 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-radius: 2px;
}
.blog-card:hover .blog-card-meta::after { width: 100%; }

.read-more-btn {
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  font-size: 0.88rem;
}
.read-more-btn i { transition: transform 0.3s ease; }
.blog-card:hover .read-more-btn i { transform: translateX(5px); }

.read-time {
  white-space: nowrap;
  font-size: 0.82rem;
}

/* Featured horizontal layout */
.blog-card-featured { flex-direction: column; }
@media (min-width: 700px) {
  .blog-card-featured { flex-direction: row; }
  .blog-card-featured .blog-card-thumb-wrapper {
    width: 48%;
    height: auto;
    min-height: 320px;
    max-height: none;
  }
  .blog-card-featured .blog-card-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .blog-card-featured .blog-card-content {
    width: 52%;
    padding: 36px 40px;
    justify-content: center;
  }
  .blog-card-featured .blog-card-title { font-size: 1.6rem; }
}

/* Grid */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding-bottom: 80px;
}
@media (min-width: 640px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile filters stacked */
@media (max-width: 640px) {
  .blog-hub-header-inner { flex-direction: column; align-items: flex-start; }
}

/* Single Article Reading View */
.article-header {
  padding: 100px 0 16px;
  text-align: left;
}
.article-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}
.blog-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-faded);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.blog-back-btn:hover {
  color: var(--primary);
  transform: translateX(-4px);
}
.article-title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--text-dark);
}
.article-view-counter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px !important; /* Force smaller gap toward image */
  color: var(--text-body);
  font-size: 0.95rem;
  background: white;
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.article-view-counter i {
  color: var(--primary);
  font-size: 1rem;
}
.article-trust-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  color: var(--text-body);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 24px;
}
.article-trust-meta div {
  display: flex;
  align-items: center;
  gap: 6px;
}
.article-hero-img {
  width: 100%;
  height: clamp(240px, 40vw, 460px);
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  margin-bottom: 48px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  display: block;
}
.article-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-body);
}
.article-content h2 {
  font-size: 1.6rem;
  color: var(--text-dark);
  margin: 48px 0 20px;
}
.article-content h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin: 32px 0 16px;
}
.article-content p { margin-bottom: 24px; }
.article-content ul, .article-content ol { margin-bottom: 24px; padding-left: 20px; }
.article-content li { margin-bottom: 12px; }
.article-content img { border-radius: 12px; max-width: 100%; height: auto; margin: 32px 0; }

/* Inline Conversion CTA */
.inline-cta {
  background: linear-gradient(135deg, rgba(0,180,216,0.08) 0%, rgba(0,180,216,0.03) 100%);
  border-left: 4px solid var(--primary);
  border-radius: 0 16px 16px 0;
  padding: 32px 24px;
  margin: 48px 0;
  box-shadow: 0 4px 20px rgba(0,180,216,0.05);
}
.inline-cta-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.inline-cta-text { font-size: 1rem; margin-bottom: 20px; }
.inline-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.inline-cta .btn { padding: 12px 24px; font-size: 0.95rem; }
@media(max-width: 500px) {
  .inline-cta-actions { flex-direction: column; }
  .inline-cta .btn { width: 100%; justify-content: center; }
}


/* =========================================
   ARTICLE CONTENT ENHANCEMENTS
   ========================================= */

/* Highlighted text */
.article-content mark {
  background: rgba(0, 180, 216, 0.15);
  color: inherit;
  border-radius: 4px;
  padding: 1px 4px;
  font-weight: 600;
}

/* Strong - brand color */
.article-content strong {
  color: var(--text-dark);
  font-weight: 800;
}

/* Internal links in article */
.article-content a.article-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(0, 180, 216, 0.4);
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}
.article-content a.article-link:hover {
  text-decoration-color: var(--primary);
}

/* Pull Quote / Stat Box */
.article-pull-quote {
  text-align: center;
  padding: 40px 32px;
  margin: 48px 0;
  background: linear-gradient(135deg, rgba(0,180,216,0.06) 0%, rgba(0,180,216,0.02) 100%);
  border-radius: 20px;
  border: 1px solid rgba(0,180,216,0.15);
  position: relative;
}
.article-pull-quote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.15;
  line-height: 1;
  font-family: Georgia, serif;
}
.article-pull-stat {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}
.article-pull-text {
  font-size: 1rem;
  color: var(--text-body);
  font-weight: 500;
}

/* Styled list with brand checkmarks */
.article-content ul.article-list {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}
.article-content ul.article-list li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.7;
}
.article-content ul.article-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: var(--primary);
  border-radius: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 3px;
}

/* Warning / Key-info alert box */
.article-alert {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(239, 68, 68, 0.06);
  border-left: 4px solid #ef4444;
  border-radius: 0 12px 12px 0;
  padding: 20px 20px;
  margin: 32px 0;
}
.article-alert i {
  font-size: 1.5rem;
  color: #ef4444;
  flex-shrink: 0;
  margin-top: 2px;
}
.article-alert p {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--text-body);
}

.article-hero-img { width: 100%; height: 210px; object-fit: cover; object-position: center; border-radius: 16px; margin-bottom: 48px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); display: block; }
