/* ============================================================
   THE WHITE DIGITAL — Premium Design System
   Brand: Black & White Luxury | Mobile-First
   ============================================================ */

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

:root {
  --black:       #0f172a;      /* premium dark slate */
  --black-soft:  #1e293b;
  --black-mid:   #334155;
  --gray-900:    #475569;
  --gray-800:    #334155;
  --gray-700:    #4b5563;
  --gray-500:    #9ca3af;
  --gray-300:    #e5e7eb;
  --gray-100:    #f3f4f6;
  --white:       #ffffff;
  --off-white:   #f9fafb;
  --accent:      #4f46e5;      /* vibrant premium indigo */
  --accent-light:#818cf8;
  --accent-dark: #1e1b4b;      /* elegant deep navy */
  --success:     #10b981;
  --error:       #ef4444;
  --warning:     #f59e0b;
  --info:        #3b82f6;

  --font-body:   'Inter', sans-serif;
  --font-head:   'Playfair Display', serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.14);
  --shadow-xl:   0 24px 64px rgba(0,0,0,.18);

  --transition:  .25s cubic-bezier(.4,0,.2,1);
  --nav-h:       70px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- TYPOGRAPHY ---- */
h1,h2,h3,h4,h5 {
  font-family: var(--font-head);
  color: var(--black);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; }
p  { color: var(--gray-700); line-height: 1.75; }

/* ---- CONTAINER ---- */
.container        { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow{ max-width: 760px; margin: 0 auto; padding: 0 24px; }
.container--wide  { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* ---- SECTION ---- */
.section        { padding: 80px 0; }
.section--gray  { background: var(--gray-100); }
.section--black { background: var(--black); }
.section--dark  { background: var(--black-soft); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header p { max-width: 580px; margin: 14px auto 0; font-size: 1.05rem; }
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--black);
  color: var(--gray-300);
  font-size: .78rem;
  padding: 7px 0;
  border-bottom: 1px solid var(--gray-800);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar span { display: flex; align-items: center; gap: 7px; }
.topbar i { color: var(--accent); }
.topbar-social { display: flex; gap: 14px; }
.topbar-social a { color: var(--gray-500); font-size: .8rem; transition: color var(--transition); }
.topbar-social a:hover { color: var(--accent); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,.08);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: box-shadow var(--transition), background var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo     { height: 40px; width: auto; object-fit: contain; }
.navbar-brand { display: flex; align-items: center; }

.nav-menu     { display: flex; align-items: center; gap: 4px; }
.nav-menu > li > a {
  display: block;
  padding: 8px 14px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--gray-800);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active { color: var(--black); background: var(--gray-100); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  background: var(--white);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all var(--transition);
}
/* Bridge: invisible block that fills the gap between nav link and dropdown,
   keeping .has-dropdown in :hover state while the mouse travels across */
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px; /* covers the 2px gap + a little extra */
  background: transparent;
}
.has-dropdown:hover .dropdown {
  opacity: 1; pointer-events: all; transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 9px 14px;
  font-size: .85rem;
  border-radius: var(--radius-sm);
  color: var(--gray-800);
  transition: all var(--transition);
}
.dropdown li a:hover { background: var(--gray-100); color: var(--black); }

/* Nav outline button */
.btn-nav-outline {
  padding: 8px 18px !important;
  border: 1.5px solid var(--black) !important;
  border-radius: var(--radius-full) !important;
  font-size: .82rem !important;
  font-weight: 600 !important;
  background: transparent !important;
}
.btn-nav-outline:hover { background: var(--black) !important; color: var(--white) !important; }

/* Chevron rotation on hover/open */
.nav-chevron {
  font-size: .65rem;
  margin-left: 4px;
  transition: transform var(--transition);
  display: inline-block;
}
.has-dropdown:hover .nav-chevron,
.has-dropdown.open .nav-chevron { transform: rotate(180deg); }

/* Dropdown icon spacing */
.dropdown li a i {
  width: 16px;
  margin-right: 8px;
  color: var(--accent);
  font-size: .8rem;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all var(--transition);
}
/* Hamburger → X animation */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.flash-message {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9999;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  font-size: .9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  animation: slideIn .3s ease;
  max-width: 380px;
}
.flash-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.flash-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.flash-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
@keyframes slideIn { from { opacity:0; transform:translateX(20px); } to { opacity:1; transform:translateX(0); } }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: .92rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: .02em;
}
.btn-primary {
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--black);
}
.btn-primary:hover {
  background: var(--gray-900);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
}
.btn-outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}
.btn-outline:hover { background: var(--black); color: var(--white); transform: translateY(-2px); }
.btn-accent {
  background: var(--accent);
  color: var(--black);
  border: 2px solid var(--accent);
  font-weight: 700;
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,.35);
}
.btn-white {
  background: var(--white);
  color: var(--black);
  border: 2px solid var(--white);
}
.btn-white:hover { background: var(--gray-100); transform: translateY(-2px); }
.btn-sm { padding: 8px 18px; font-size: .82rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(201,168,76,.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(201,168,76,.05) 0%, transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content { position: relative; z-index: 1; }
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.3);
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 22px;
  line-height: 1.15;
}
.hero h1 span { color: var(--accent); }
.hero p {
  color: rgba(255,255,255,.7);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-head);
}
.hero-stat-label { font-size: .8rem; color: rgba(255,255,255,.5); margin-top: 2px; }
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 400px;
}
.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(10px);
}
.hero-card--main { position: relative; z-index: 2; }
.hero-card--back {
  position: absolute;
  top: -20px;
  left: 20px;
  right: -20px;
  z-index: 1;
  background: rgba(201,168,76,.08);
  border-color: rgba(201,168,76,.2);
}
.hero-card-icon {
  width: 48px; height: 48px;
  background: var(--accent);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--black); font-size: 1.2rem; margin-bottom: 16px;
}
.hero-card h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 6px; }
.hero-card p  { color: rgba(255,255,255,.55); font-size: .85rem; margin: 0; }
.hero-card-price {
  margin-top: 14px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--black);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 100%, rgba(201,168,76,.07) 0%, transparent 70%);
}
.page-hero h1 { color: var(--white); position: relative; }
.page-hero p  { color: rgba(255,255,255,.6); position: relative; max-width: 560px; margin: 14px auto 0; font-size: 1.05rem; }
.page-hero--small { padding: 56px 0; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(0,0,0,.12);
}
.card--form { padding: 36px; box-shadow: var(--shadow-md); }

/* Service Card */
.service-card { display: flex; flex-direction: column; }
.service-card__icon {
  width: 56px; height: 56px;
  background: var(--black);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 18px;
  transition: all var(--transition);
}
.service-card:hover .service-card__icon { background: var(--accent); color: var(--black); }
.service-card__body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.service-card__title { margin-bottom: 10px; font-size: 1.1rem; }
.service-card__desc  { color: var(--gray-700); font-size: .9rem; flex: 1; }
.service-card__footer {
  padding: 20px 28px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.service-card__price { font-size: 1.3rem; font-weight: 700; color: var(--black); }
.service-card__price-note { font-size: .75rem; color: var(--gray-500); font-weight: 400; }
.service-card__price-label { font-size: .7rem; color: var(--gray-500); display: block; }

/* Product Card */
.product-card { display: flex; flex-direction: column; position: relative; }
.product-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--gray-100);
}
.product-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.product-card:hover .product-card__img img { transform: scale(1.05); }

/* Service card image */
.service-card .svc-img { aspect-ratio: 16/9; overflow: hidden; background: var(--black); }
.service-card .svc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.service-card:hover .svc-img img { transform: scale(1.05); }
.product-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: var(--black);
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.product-card__featured-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--black);
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: .05em;
}
.product-card__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.product-card__cat  { font-size: .72rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.product-card__title { font-size: 1rem; margin-bottom: 8px; font-family: var(--font-body); font-weight: 600; flex: 1; }
.product-card__desc  { font-size: .85rem; color: var(--gray-500); margin-bottom: 14px; }
.product-card__footer {
  padding: 16px 22px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.product-card__price     { font-size: 1.2rem; font-weight: 700; color: var(--black); }
.product-card__original  { font-size: .85rem; color: var(--gray-400); text-decoration: line-through; margin-left: 6px; }

/* ============================================================
   GRIDS
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ============================================================
   FEATURES / ICON BLOCKS
   ============================================================ */
.feature-block { text-align: center; padding: 32px 24px; }
.feature-icon {
  width: 64px; height: 64px;
  background: var(--black);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1.4rem;
  margin: 0 auto 18px;
}
.feature-block h3 { margin-bottom: 10px; font-size: 1.1rem; }
.feature-block p  { font-size: .9rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.testimonial-stars { color: var(--accent); font-size: 1rem; margin-bottom: 16px; }
.testimonial-text  { font-style: italic; color: var(--gray-700); margin-bottom: 20px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  background: var(--black);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
}
.testimonial-name  { font-weight: 600; font-size: .9rem; }
.testimonial-role  { font-size: .78rem; color: var(--gray-500); }

/* ============================================================
   PROCESS / STEPS
   ============================================================ */
.steps { display: flex; gap: 0; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 1px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--gray-300) 100%);
}
.step { text-align: center; flex: 1; padding: 0 16px; position: relative; }
.step-number {
  width: 56px; height: 56px;
  background: var(--black);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 auto 18px;
  border: 3px solid var(--accent);
  position: relative;
  z-index: 1;
}
.step h4    { margin-bottom: 8px; }
.step p     { font-size: .85rem; }

/* ============================================================
   FORMS
   ============================================================ */
.form-group    { margin-bottom: 20px; }
.form-row      { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label          { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 7px; color: var(--gray-800); }
.form-control  {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-family: inherit;
  color: var(--black);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(0,0,0,.06);
}
.form-control::placeholder { color: var(--gray-500); }
textarea.form-control { resize: vertical; min-height: 110px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' fill='none' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form-hint  { font-size: .78rem; color: var(--gray-500); margin-top: 5px; }
.form-error { font-size: .78rem; color: var(--error); margin-top: 5px; }

/* ============================================================
   PAYMENT MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.75);
  z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(.95);
  transition: transform var(--transition);
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-header h3 { font-family: var(--font-body); font-size: 1.1rem; }
.modal-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-100);
  cursor: pointer;
  font-size: 1rem;
  transition: all var(--transition);
}
.modal-close:hover { background: var(--black); color: var(--white); }
.modal-body    { padding: 28px 32px; }
.modal-footer  { padding: 16px 32px 28px; }
.modal-item-preview {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.modal-item-title { font-weight: 600; font-size: .92rem; }
.modal-item-price { font-size: 1.3rem; font-weight: 700; color: var(--black); }

/* ============================================================
   SUCCESS / PAYMENT STATUS
   ============================================================ */
.payment-success {
  text-align: center;
  padding: 32px 0 8px;
}
.payment-success-icon {
  width: 72px; height: 72px;
  background: #f0fdf4;
  border: 2px solid #bbf7d0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--success);
  font-size: 1.8rem;
  margin: 0 auto 16px;
}
.payment-success h3 { color: var(--success); margin-bottom: 8px; font-family: var(--font-body); }

/* Payment badges */
.payment-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.payment-badge--success  { background: #dcfce7; color: #166534; }
.payment-badge--pending  { background: #fef9c3; color: #854d0e; }
.payment-badge--failed   { background: #fee2e2; color: #991b1b; }
.payment-badge--refunded { background: #ede9fe; color: #5b21b6; }

/* ============================================================
   ALERTS
   ============================================================ */
.alert { padding: 14px 18px; border-radius: var(--radius-md); font-size: .9rem; margin-bottom: 16px; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.alert-info    { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* ============================================================
   ORDER CARD (order lookup page)
   ============================================================ */
.order-card {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
}
.order-card__header {
  padding: 16px 24px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.order-number    { font-family: monospace; font-weight: 700; font-size: .9rem; }
.order-type-badge {
  background: var(--black);
  color: var(--white);
  font-size: .68rem;
  padding: 2px 9px;
  border-radius: var(--radius-full);
  margin-left: 8px;
}
.order-card__body  { padding: 20px 24px; }
.order-card__body p { margin-bottom: 6px; font-size: .9rem; }
.order-card__footer {
  padding: 14px 24px;
  border-top: 1px solid var(--gray-100);
  background: var(--off-white);
}

/* ============================================================
   PRICING TABLE (services page)
   ============================================================ */
.pricing-card {
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--white);
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  border-color: var(--black);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.pricing-card.featured {
  border-color: var(--accent);
  background: var(--black);
}
.pricing-card.featured * { color: var(--white); }
.pricing-card.featured p { color: rgba(255,255,255,.65); }
.pricing-card__popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--black);
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.pricing-price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--black);
  font-family: var(--font-head);
  margin: 16px 0 4px;
}
.pricing-period { font-size: .85rem; color: var(--gray-500); }
.pricing-features { margin: 20px 0 24px; flex: 1; }
.pricing-features li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,.05);
  font-size: .88rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.pricing-card.featured .pricing-features li { border-color: rgba(255,255,255,.08); }
.pricing-features li i { color: var(--accent); margin-top: 2px; flex-shrink: 0; }

/* ============================================================
   TABS (products filter)
   ============================================================ */
.tabs        { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.tab-btn {
  padding: 8px 20px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-full);
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white);
  color: var(--gray-700);
}
.tab-btn:hover,
.tab-btn.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--black); color: var(--gray-300); }
.footer-top { padding: 72px 0 48px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
}
.footer-logo { height: 36px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.45); line-height: 1.7; }
.footer-social  { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: .82rem;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--black); }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul li  { margin-bottom: 10px; }
.footer-col ul a   { font-size: .85rem; color: rgba(255,255,255,.45); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--accent); }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 12px;
}
.footer-contact li i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.btn-footer-cta {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 22px;
  background: var(--accent);
  color: var(--black);
  border-radius: var(--radius-full);
  font-size: .82rem;
  font-weight: 700;
  transition: all var(--transition);
}
.btn-footer-cta:hover { background: var(--accent-light); transform: translateY(-2px); }
.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 16px 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 0;
  display: flex;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}
.footer-bottom p   { font-size: .8rem; color: rgba(255,255,255,.3); }
.footer-links a    { font-size: .78rem; color: rgba(255,255,255,.3); transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }

/* ============================================================
   SCROLL TO TOP + WHATSAPP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 88px;
  right: 20px;
  width: 42px; height: 42px;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 900;
  border: none;
  cursor: pointer;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover   { background: var(--accent); color: var(--black); }

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 52px; height: 52px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  z-index: 900;
  transition: all var(--transition);
}
.whatsapp-float:hover { background: #1ebe57; transform: scale(1.1); }

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.text-center  { text-align: center; }
.text-muted   { color: var(--gray-500); }
.text-success { color: var(--success); }
.text-error   { color: var(--error); }
.text-accent  { color: var(--accent); }
.font-bold    { font-weight: 700; }
.divider { height: 1px; background: var(--gray-100); margin: 40px 0; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.badge-dark   { background: var(--black); color: var(--white); }
.badge-accent { background: var(--accent); color: var(--black); }
.badge-light  { background: var(--gray-100); color: var(--gray-800); }

.feature-list  { list-style: none; padding: 0; }
.feature-list li {
  padding: 7px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--gray-700);
}
.feature-list li i { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* Loading spinner */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: var(--white);
  border-radius: 50%;
  display: inline-block;
  animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Pagination */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.page-btn {
  min-width: 38px; height: 38px;
  padding: 0 10px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all var(--transition);
  white-space: nowrap;
}
.page-btn:hover, .page-btn.active {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.page-btn--prev, .page-btn--next { font-size: .8rem; }
.page-ellipsis {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  color: #aaa; font-size: .85rem;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,.4); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb i { font-size: .65rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ============================================================
   RESPONSIVE — Tablet (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid        { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero-grid          { gap: 40px; }
  .grid-4             { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid       { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   RESPONSIVE — Mobile (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  /* ----- TOPBAR ----- */
  .topbar {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    overflow: hidden !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  /* ----- NAVBAR ----- */
  .nav-toggle { display: flex; }
  .nav-logo   { height: 34px; }

  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    border-top: 2px solid var(--gray-100);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 12px 20px;
    gap: 2px;
    transform: translateY(-110%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    z-index: 999;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-menu.open { transform: translateY(0); }

  .nav-menu > li          { border-bottom: 1px solid var(--gray-100); }
  .nav-menu > li:last-child { border-bottom: none; }
  .nav-menu > li > a {
    padding: 13px 14px;
    font-size: .95rem;
    font-weight: 500;
    border-radius: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav-menu > li > a.active { background: var(--gray-100); }

  /* Mobile dropdown */
  .has-dropdown .dropdown {
    position: static;
    opacity: 1;
    pointer-events: all;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    margin: 0 0 8px;
    display: none;
    min-width: 0;
  }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown li a { padding: 10px 12px; font-size: .88rem; }

  .btn-nav-outline {
    text-align: center;
    margin-top: 6px;
    border-radius: var(--radius-sm) !important;
  }

  /* ----- HERO ----- */
  .hero             { min-height: auto; padding: 52px 0 44px; }
  .hero-grid        { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual      { display: flex; width: 100%; max-width: 320px; margin: 0 auto; }
  .hero-visual .hero-card-stack { max-width: 100%; }
  .hero-visual img  { max-width: 100%; height: auto; }
  .hero h1          { font-size: 2.1rem; line-height: 1.25; }
  .hero p           { font-size: 1rem; }
  .hero-cta         { flex-wrap: wrap; gap: 12px; }
  .hero-stats       { gap: 20px; flex-wrap: wrap; }
  .hero-label       { font-size: .78rem; }

  /* ----- GRIDS ----- */
  .grid-2           { grid-template-columns: 1fr; }
  .grid-3           { grid-template-columns: 1fr; }
  .grid-4           { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .grid-2.grid-2--tablet { grid-template-columns: repeat(2, 1fr); }

  /* ----- CARDS ----- */
  .card             { border-radius: var(--radius-md); }
  .service-card__body { padding: 18px; }
  .service-card__footer { padding: 14px 18px; flex-wrap: wrap; gap: 10px; }
  .product-card__body { padding: 14px; }
  .product-card__footer { padding: 10px 14px; flex-wrap: wrap; gap: 8px; }

  /* ----- SECTIONS ----- */
  .section          { padding: 52px 0; }
  .section-header   { margin-bottom: 32px; }
  .section-header h2 { font-size: 1.7rem; }
  .page-hero        { padding: 40px 0 32px; }
  .page-hero h1     { font-size: 1.8rem; }

  /* ----- STEPS ----- */
  .steps            { flex-direction: column; gap: 20px; }
  .steps::before    { display: none; }
  .step             { padding: 20px; }

  /* ----- PRICING ----- */
  .pricing-grid     { grid-template-columns: 1fr; }
  .pricing-card     { padding: 24px; }
  .pricing-card.featured { transform: none; }

  /* ----- TABS ----- */
  .tabs             { flex-wrap: wrap; gap: 6px; justify-content: flex-start; }
  .tab-btn          { font-size: .8rem; padding: 7px 14px; }

  /* ----- FORM & MODAL ----- */
  .form-row         { grid-template-columns: 1fr; }
  .modal            { margin: 12px; border-radius: var(--radius-lg); max-height: calc(100vh - 24px); }
  .modal-header     { padding: 18px 20px; }
  .modal-body       { padding: 16px 20px; }
  .modal-footer     { padding: 14px 20px 20px; }

  /* ----- FOOTER ----- */
  .footer-grid      { grid-template-columns: 1fr; gap: 28px; }
  .footer-top       { padding: 44px 0 28px; }
  .footer-bottom .container { flex-direction: column; text-align: center; gap: 8px; }
  .footer-logo      { height: 30px; }

  /* ----- BUTTONS ----- */
  .btn-lg           { padding: 13px 24px; font-size: .92rem; }

  /* ----- TRUST BADGES ----- */
  .trust-badges     { grid-template-columns: repeat(3, 1fr); }
  .price-box        { flex-direction: column; text-align: center; }
  .price-box .btn   { width: 100%; }

  /* ----- ABOUT PAGE ----- */
  .about-stats      { flex-wrap: wrap; gap: 16px; }

  /* ----- SERVICE/PRODUCT DETAIL ----- */
  .detail-hero-img  { aspect-ratio: 4/3; }
}

/* ============================================================
   RESPONSIVE — Small Mobile (max 480px)
   ============================================================ */
@media (max-width: 480px) {
  .container        { padding: 0 16px; }
  .section          { padding: 40px 0; }

  .hero             { padding: 40px 0 32px; }
  .hero h1          { font-size: 1.75rem; }
  .hero p           { font-size: .93rem; }
  .hero-cta         { flex-direction: column; }
  .hero-cta .btn    { width: 100%; justify-content: center; }
  .hero-stats       { flex-direction: column; gap: 12px; }
  .hero-stat-number { font-size: 1.6rem; }

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

  .section-header h2 { font-size: 1.5rem; }
  .section-header p  { font-size: .9rem; }

  .page-hero h1     { font-size: 1.6rem; }
  .page-hero p      { font-size: .9rem; }

  .btn-lg           { padding: 13px 20px; font-size: .9rem; }
  .btn-sm           { padding: 7px 14px; font-size: .8rem; }

  .service-card__footer { flex-direction: column; align-items: stretch; }
  .service-card__footer .btn { width: 100%; text-align: center; justify-content: center; }

  .product-card__footer { flex-direction: column; align-items: stretch; }
  .product-card__footer .btn { width: 100%; justify-content: center; }

  .feature-block    { padding: 20px 16px; }
  .testimonial-card { padding: 20px; }

  .pricing-card     { padding: 20px; }

  .trust-badges     { grid-template-columns: 1fr; }

  .modal            { margin: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; position: fixed; bottom: 0; left: 0; right: 0; max-height: 90vh; }
  .modal-overlay    { align-items: flex-end; }
}

/* ============================================================
   RESPONSIVE — Very Small (max 360px)
   ============================================================ */
@media (max-width: 360px) {
  .hero h1          { font-size: 1.55rem; }
  .grid-2.grid-2--tablet { grid-template-columns: 1fr; }
  .tab-btn          { font-size: .75rem; padding: 6px 10px; }
}
/* Fade-in animation — defined in animations.css */

/* ============================================================
   v2.0 ADDITIONS
   ============================================================ */

/* Product/Service detail page image */
.detail-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--black);
  aspect-ratio: 16/9;
  box-shadow: var(--shadow-xl);
}
.detail-hero-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* Product card title link */
.product-card__title a,
a .product-card__title { color: var(--black); text-decoration: none; }
.product-card__title a:hover { color: var(--gray-700); }

/* Price highlight box */
.price-box {
  background: var(--black);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* Trust badges row */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.trust-badge {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
}
.trust-badge i { color: var(--accent); font-size: 1.2rem; display: block; margin-bottom: 6px; }
.trust-badge-title { font-size: .78rem; font-weight: 700; color: var(--black); }
.trust-badge-sub   { font-size: .72rem; color: #888; }

/* After-booking steps */
.booking-steps { display: flex; flex-direction: column; gap: 12px; }
.booking-step  { display: flex; align-items: flex-start; gap: 12px; }
.booking-step-icon {
  width: 34px; height: 34px;
  background: var(--gray-100);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.booking-step-title { font-weight: 600; font-size: .85rem; color: var(--black); }
.booking-step-desc  { font-size: .8rem; color: #888; }

/* Mobile: 2-column product grid — handled in main responsive block above */

/* ============================================================
   HOMEPAGE PREMIUM — Issue 7 additions
   ============================================================ */

/* ---- Brands trust strip ---- */
.brands-strip {
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 20px 0;
}
.brands-strip .container {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.brands-strip__label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #aaa;
  white-space: nowrap;
  flex-shrink: 0;
}
.brands-strip__list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.brand-pill {
  font-size: .78rem;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--gray-100);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-200);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.brand-pill:hover {
  background: var(--black);
  color: var(--white);
}

/* ---- Split CTA section ---- */
.split-cta-section { padding: 80px 0; }
.split-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-cta-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.split-cta-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.75);
  font-size: .95rem;
}
.split-cta-list li i {
  color: var(--accent);
  font-size: .9rem;
  flex-shrink: 0;
}
.split-cta-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.split-stat-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: background var(--transition), transform .2s ease;
}
.split-stat-card:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-2px);
}
.split-stat-card--accent {
  background: rgba(201,168,76,.12);
  border-color: rgba(201,168,76,.3);
}
.split-stat-number {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-head);
  color: var(--white);
  margin-bottom: 6px;
}
.split-stat-card--accent .split-stat-number { color: var(--accent); }
.split-stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  line-height: 1.4;
}

/* ---- CTA Trust row ---- */
.cta-trust-row {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.cta-trust-row span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}
.cta-trust-row i { color: var(--accent); }

/* ---- How It Works steps — light version ---- */
.section .steps .step h4 { color: var(--black); }
.section .steps .step p  { color: var(--gray-600); }

/* ---- Responsive: premium sections ---- */
@media (max-width: 768px) {
  .brands-strip .container { flex-direction: column; align-items: flex-start; gap: 12px; }
  .brands-strip__label { font-size: .68rem; }

  .split-cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .split-cta-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .split-stat-card { padding: 20px 16px; }
  .split-stat-number { font-size: 1.6rem; }

  .cta-trust-row { gap: 16px; }
  .cta-trust-row span { font-size: .78rem; }
}
@media (max-width: 480px) {
  .split-cta-stats { grid-template-columns: 1fr 1fr; }
  .cta-trust-row { flex-direction: column; align-items: center; gap: 12px; }
}

/* ============================================================
   PAYMENT MODAL — Issue 9 enhancements
   ============================================================ */

/* Step progress bar */
.pay-steps {
  display: flex;
  align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid var(--gray-100);
  background: var(--gray-100);
}
.pay-step {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .78rem;
  font-weight: 600;
  color: #bbb;
  transition: color .3s;
}
.pay-step.active  { color: var(--black); }
.pay-step.done    { color: var(--accent); }
.pay-step-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  transition: background .3s, border-color .3s;
  flex-shrink: 0;
}
.pay-step.active .pay-step-num {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.pay-step.done .pay-step-num {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
}
.pay-step-line {
  flex: 1;
  height: 1.5px;
  background: var(--gray-200);
  margin: 0 8px;
  transition: background .3s;
}

/* Info box above forms */
.form-info-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(201,168,76,.08);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  margin-bottom: 18px;
  font-size: .83rem;
  color: #666;
  line-height: 1.5;
}
.form-info-box i {
  color: var(--accent);
  font-size: .9rem;
  margin-top: 1px;
  flex-shrink: 0;
}

/* Required asterisk */
.req { color: #e53e3e; font-weight: 700; }

/* Trust row in modal footer */
.pay-trust-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
  font-size: .72rem;
  color: #aaa;
}
.pay-trust-row span { display: flex; align-items: center; gap: 5px; }
.pay-trust-row i    { color: var(--accent); }

/* After-payment booking steps */
.booking-after-success {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  padding: 16px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  text-align: left;
}
.booking-step { display: flex; align-items: flex-start; gap: 12px; }
.booking-step-icon {
  width: 32px; height: 32px;
  background: var(--white);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: .85rem;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.booking-step-title { font-weight: 600; font-size: .83rem; color: var(--black); }
.booking-step-desc  { font-size: .77rem; color: #888; margin-top: 2px; }

/* Responsive modal adjustments */
@media (max-width: 480px) {
  .pay-step-label { display: none; }
  .pay-steps      { justify-content: center; }
  .pay-trust-row  { gap: 12px; font-size: .68rem; }
}

/* ============================================================
   BLOG — Frontend styles (matches existing design system)
   ============================================================ */

/* Blog card */
.blog-card { display: flex; flex-direction: column; }
.blog-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--black);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.blog-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}
.blog-card:hover .blog-card__img img { transform: scale(1.05); }

.blog-card__body { padding: 22px 22px 14px; flex: 1; }
.blog-card__meta {
  font-size: .75rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.blog-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1.4;
  transition: color var(--transition);
}
.blog-card:hover .blog-card__title { color: var(--gray-700); }
.blog-card__excerpt {
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0;
}
.blog-card__footer {
  padding: 14px 22px 20px;
  border-top: 1px solid var(--gray-100);
  margin-top: 4px;
}

/* Blog detail layout */
.blog-detail-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

/* Article */
.blog-article__header { margin-bottom: 28px; }
.blog-article__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: .8rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 14px;
}
.blog-article__meta i { margin-right: 4px; }
.blog-article__title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--black);
  margin-bottom: 14px;
}
.blog-article__excerpt {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin: 0;
}
.blog-article__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--black);
  margin-bottom: 32px;
  box-shadow: var(--shadow-xl);
}
.blog-article__img img {
  width: 100%; height: auto;
  display: block;
  max-height: 480px;
  object-fit: cover;
}
.blog-article__content {
  font-size: .98rem;
  line-height: 1.9;
  color: #444;
}
.blog-article__content p  { margin-bottom: 18px; }
.blog-article__content h2 { font-size: 1.5rem; margin: 32px 0 14px; color: var(--black); }
.blog-article__content h3 { font-size: 1.2rem; margin: 24px 0 12px; color: var(--black); }

/* Sidebar recent posts */
.blog-sidebar-post {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  transition: opacity var(--transition);
}
.blog-sidebar-post:last-child { border-bottom: none; padding-bottom: 0; }
.blog-sidebar-post:hover { opacity: .75; }
.blog-sidebar-post img {
  width: 64px; height: 48px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  border: 1px solid var(--gray-200);
}
.blog-sidebar-post__title {
  font-size: .83rem;
  font-weight: 600;
  color: var(--black);
  line-height: 1.4;
  margin-bottom: 4px;
}
.blog-sidebar-post__date {
  font-size: .72rem;
  color: #aaa;
}
.blog-sidebar-post__date i { margin-right: 4px; }

/* Responsive */
@media (max-width: 768px) {
  .blog-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .blog-article__title { font-size: 1.55rem; }
}
@media (max-width: 480px) {
  .blog-card__body { padding: 16px 16px 10px; }
  .blog-card__footer { padding: 12px 16px 16px; }
  .blog-article__title { font-size: 1.35rem; }
}

/* ============================================================
   RESPONSIVE OVERRIDES — Full Breakpoint Audit
   Covers all pages, inline grids, and edge cases
   ============================================================ */

/* ---- Images — always responsive ---- */
img { max-width: 100%; height: auto; }

/* ============================================================
   SMALL LAPTOP (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {

  /* Container slightly tighter */
  .container { padding: 0 20px; }

  /* Hero */
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero h1   { font-size: 2.4rem; }

  /* Section header */
  .section-header { margin-bottom: 40px; }

  /* Services page pricing row */
  .pricing-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 20px; }

  /* Blog detail: narrow sidebar */
  .blog-detail-grid { grid-template-columns: 1fr 260px; gap: 32px; }

  /* Admin blog form: collapse side panel */
  .admin-blog-form-grid { grid-template-columns: 1fr !important; }

  /* Product detail trust badges */
  .trust-badges { grid-template-columns: repeat(3, 1fr); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ============================================================
   TABLET (577px – 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* ---- Container ---- */
  .container        { padding: 0 16px; }
  .container--narrow{ padding: 0 16px; }

  /* ---- Typography ---- */
  h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  h2 { font-size: clamp(1.35rem, 4vw, 1.8rem); }

  /* ---- Hero ---- */
  .hero             { min-height: auto; padding: 48px 0 40px; }
  .hero-grid        { grid-template-columns: 1fr; }
  .hero-visual      { display: flex; max-width: 280px; }
  .hero h1          { font-size: 2rem; }
  .hero p           { font-size: .98rem; max-width: 100%; }
  .hero-cta         { flex-wrap: wrap; gap: 10px; }
  .hero-stats       { gap: 20px; flex-wrap: wrap; margin-top: 36px; padding-top: 24px; }

  /* ---- Page hero ---- */
  .page-hero        { padding: 36px 0 28px; }
  .page-hero h1     { font-size: 1.75rem; }
  .page-hero p      { font-size: .92rem; margin-top: 10px; }

  /* ---- Grids ---- */
  .grid-2           { grid-template-columns: 1fr !important; }
  .grid-3           { grid-template-columns: 1fr !important; }
  .grid-4           { grid-template-columns: repeat(2, 1fr) !important; gap: 14px; }

  /* ---- About page inline grid ---- */
  div[style*="grid-template-columns:repeat(3,1fr)"] { grid-template-columns: 1fr !important; }

  /* ---- Services desc cards (service-detail.php) ---- */
  .blog-detail-grid      { grid-template-columns: 1fr !important; gap: 24px; }
  .split-cta-grid        { grid-template-columns: 1fr !important; gap: 32px; }

  /* ---- Service detail price box ---- */
  div[style*="display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap"] {
    flex-direction: column;
    align-items: flex-start;
  }
  div[style*="display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap"] .btn {
    width: 100%;
    justify-content: center;
  }

  /* ---- Product detail: trust badges + buy flow strip ---- */
  .trust-badges { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  div[style*="display:flex;gap:0;margin-top:16px"] { flex-wrap: wrap; }
  div[style*="display:flex;gap:0;margin-top:16px"] > div { flex: 1; min-width: 70px; }

  /* ---- About page: team cards with large avatars ---- */
  div[style*="display:flex;align-items:flex-start;gap:20px;margin-bottom:20px;"] {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* ---- Steps ---- */
  .steps            { flex-direction: column; gap: 16px; }
  .steps::before    { display: none; }
  .step             { padding: 16px 20px; border-left: 3px solid var(--accent); text-align: left; }
  .step-number      { margin: 0 0 12px; }

  /* ---- Pricing ---- */
  .pricing-grid     { grid-template-columns: 1fr !important; max-width: 440px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }

  /* ---- Tabs ---- */
  .tabs             { gap: 6px; }
  .tab-btn          { font-size: .78rem; padding: 7px 12px; }

  /* ---- Forms ---- */
  .form-row         { grid-template-columns: 1fr; }
  .card--form       { padding: 24px; }

  /* ---- Modals ---- */
  .modal-overlay    { padding: 0; align-items: flex-end; }
  .modal {
    margin: 0;
    border-radius: 20px 20px 0 0;
    max-width: 100%;
    max-height: 92vh;
    position: fixed;
    bottom: 0; left: 0; right: 0;
  }
  .modal-header  { padding: 16px 18px; }
  .modal-body    { padding: 14px 18px; }
  .modal-footer  { padding: 12px 18px 20px; }

  /* ---- Pay steps bar ---- */
  .pay-step-label   { display: none; }
  .pay-steps        { justify-content: center; padding: 12px 16px; }

  /* ---- Buttons ---- */
  .btn-lg           { padding: 12px 22px; font-size: .9rem; }

  /* ---- Footer ---- */
  .footer-grid      { grid-template-columns: 1fr; gap: 28px; }
  .footer-top       { padding: 40px 0 24px; }
  .footer-bottom .container { flex-direction: column; text-align: center; gap: 8px; }

  /* ---- Flash messages ---- */
  .flash-message    { right: 12px; left: 12px; max-width: 100%; }

  /* ---- Brands strip ---- */
  .brands-strip .container { flex-direction: column; align-items: flex-start; gap: 10px; }
  .brands-strip__list      { gap: 8px; }

  /* ---- Contact page inline flex ---- */
  div[style*="display:flex;gap:10px;"]:has(.social-icon) { flex-wrap: wrap; }

  /* ---- Order card ---- */
  .order-card__header { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* ---- Blog ---- */
  .blog-detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .blog-article__title { font-size: 1.55rem; }
}

/* ============================================================
   MOBILE (max 576px)
   ============================================================ */
@media (max-width: 576px) {

  /* ---- Base ---- */
  html  { font-size: 15px; }
  .container { padding: 0 14px; }
  .section  { padding: 36px 0; }
  .section-header { margin-bottom: 28px; }
  .section-header h2 { font-size: 1.45rem; }
  .section-header p  { font-size: .88rem; }

  /* ---- Hero ---- */
  .hero             { padding: 36px 0 28px; }
  .hero h1          { font-size: 1.7rem; line-height: 1.2; }
  .hero p           { font-size: .9rem; margin-bottom: 28px; }
  .hero-label       { font-size: .7rem; padding: 5px 12px; }
  .hero-cta         { flex-direction: column; gap: 10px; }
  .hero-cta .btn    { width: 100%; justify-content: center; }
  .hero-stats       { flex-direction: column; gap: 10px; }
  .hero-stat-number { font-size: 1.5rem; }

  /* ---- Page hero ---- */
  .page-hero        { padding: 28px 0 20px; }
  .page-hero h1     { font-size: 1.5rem; }
  .page-hero p      { font-size: .88rem; }
  .page-hero--small { padding: 28px 0; }

  /* ---- Grids ---- */
  .grid-4 { grid-template-columns: 1fr !important; }

  /* ---- Buttons ---- */
  .btn      { padding: 11px 20px; font-size: .86rem; }
  .btn-lg   { padding: 12px 20px; font-size: .88rem; }
  .btn-sm   { padding: 6px 12px; font-size: .78rem; }

  /* ---- Cards ---- */
  .card--form       { padding: 18px; }
  .testimonial-card { padding: 18px; }
  .feature-block    { padding: 18px 14px; }
  .pricing-card     { padding: 20px; }

  /* ---- Service card footer ---- */
  .service-card__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .service-card__footer .btn { width: 100%; justify-content: center; text-align: center; }
  .service-card__footer > div:first-child { text-align: center; }

  /* ---- Product card footer ---- */
  .product-card__footer { flex-direction: column; align-items: stretch; gap: 8px; }
  .product-card__footer .btn { width: 100%; justify-content: center; }

  /* ---- Trust badges ---- */
  .trust-badges { grid-template-columns: 1fr; }

  /* ---- Product detail buy strip ---- */
  div[style*="display:flex;gap:0;margin-top:16px"] { flex-direction: column; }
  div[style*="display:flex;gap:0;margin-top:16px"] > div { border-right: none !important; border-bottom: 1px solid var(--gray-100); }

  /* ---- About page stats ---- */
  div[style*="display:flex;gap:32px;margin-top:32px"] { gap: 16px; flex-wrap: wrap; }

  /* ---- CTA trust row ---- */
  .cta-trust-row { flex-direction: column; align-items: center; gap: 10px; }

  /* ---- Split stat cards ---- */
  .split-cta-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .split-stat-number { font-size: 1.5rem; }

  /* ---- Tabs ---- */
  .tabs   { gap: 5px; }
  .tab-btn { font-size: .74rem; padding: 6px 10px; }

  /* ---- Breadcrumb ---- */
  .breadcrumb { flex-wrap: wrap; gap: 5px; font-size: .74rem; }

  /* ---- Footer ---- */
  .footer-grid { gap: 24px; }
  .footer-col ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
  .footer-col ul li { margin-bottom: 0; }

  /* ---- Scroll top + WhatsApp — prevent overlap ---- */
  .whatsapp-float { width: 46px; height: 46px; font-size: 1.3rem; right: 14px; bottom: 16px; }
  .scroll-top     { width: 38px; height: 38px; right: 14px; bottom: 74px; font-size: .78rem; }

  /* ---- Blog ---- */
  .blog-card__body    { padding: 14px 14px 10px; }
  .blog-card__footer  { padding: 10px 14px 14px; }
  .blog-article__title { font-size: 1.3rem; }
  .blog-sidebar-post img { width: 52px; height: 40px; }

  /* ---- Order lookup ---- */
  .order-card__body { padding: 14px 16px; }
  .order-card__header { padding: 12px 16px; }
}

/* ============================================================
   VERY SMALL MOBILE (max 375px)
   ============================================================ */
@media (max-width: 375px) {
  html  { font-size: 14px; }
  .container { padding: 0 12px; }
  .hero h1  { font-size: 1.55rem; }
  .page-hero h1 { font-size: 1.35rem; }
  .split-cta-stats { grid-template-columns: 1fr; }
  .footer-col ul { grid-template-columns: 1fr; }
  .tab-btn  { font-size: .7rem; padding: 5px 9px; }
  .btn      { font-size: .82rem; }
  .grid-2.grid-2--tablet { grid-template-columns: 1fr !important; }
}

/* ============================================================
   BUG FIX PATCH — Issues 1, 2, 3
   Applied: horizontal overflow, footer mobile, header/logo
   ============================================================ */

/* ================================================================
   ISSUE 1 — PREVENT HORIZONTAL SCROLL ON ALL SCREENS
   ================================================================ */

html {
  overflow-x: hidden;
  /* Ensure the root never exceeds viewport */
}
body {
  overflow-x: hidden;
  /* Hard clamp — nothing escapes the viewport width */
  max-width: 100vw;
}

/* Ensure the fixed nav-menu does NOT create horizontal overflow
   when it is off-screen (translateY keeps it above, not to the side) */
.nav-menu {
  /* Already position:fixed in mobile breakpoint — confirm max-width */
  max-width: 100vw;
}

/* ================================================================
   ISSUE 3 — HEADER & LOGO: Constrain logo width, fix alignment
   ================================================================ */

/* Logo: scale within the navbar — never overflow */
.nav-logo {
  height: 36px;
  width: auto;
  max-width: 200px;     /* hard cap so SVG wordmark never overflows */
  object-fit: contain;
  flex-shrink: 0;       /* don't squish the logo when menu items crowd */
  display: block;
}

/* Navbar container: logo left, toggle right — no overflow */
.navbar .container {
  gap: 16px;            /* breathing room between logo and toggle */
  flex-wrap: nowrap;    /* never wrap — keep single row */
}

/* Hamburger toggle: always right-aligned, fixed size */
.nav-toggle {
  flex-shrink: 0;
  margin-left: auto;    /* push to far right if nav-menu is hidden */
}

@media (max-width: 768px) {
  .nav-logo {
    height: 32px;
    max-width: 160px;
  }
}

@media (max-width: 425px) {
  .nav-logo {
    height: 28px;
    max-width: 140px;
  }
}

@media (max-width: 375px) {
  .nav-logo {
    height: 26px;
    max-width: 120px;
  }
}

@media (max-width: 320px) {
  .nav-logo {
    height: 24px;
    max-width: 108px;
  }
}

/* ================================================================
   ISSUE 2 — FOOTER: Fix broken layout on mobile
   ================================================================ */

/* --- Two phone numbers fix: stack them cleanly --- */
.footer-contact-phones {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 12px;
}
.footer-contact-phones i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}
.footer-phones-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.5;
}

/* --- Footer mobile layout complete fix --- */
@media (max-width: 768px) {

  /* Full single-column stack */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
  .footer-top { padding: 40px 0 28px; }

  /* Column headings */
  .footer-col h4 { margin-bottom: 16px; }

  /* Quick Links & Services: clean 2-col grid */
  .footer-col ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
  }
  .footer-col ul li { margin-bottom: 0; }

  /* Contact column MUST override — single column, no grid */
  .footer-col:last-child ul,
  ul.footer-contact {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px;
    grid-template-columns: unset !important;
  }

  /* Contact list items */
  .footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .85rem;
    flex-wrap: nowrap;
  }

  /* CTA button */
  .btn-footer-cta {
    display: block;
    text-align: center;
    width: 100%;
    margin-top: 16px;
    box-sizing: border-box;
  }

  /* Footer bottom */
  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

@media (max-width: 576px) {

  .footer-top { padding: 32px 0 24px; }

  /* Quick Links & Services: keep 2-col */
  .footer-col ul {
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
  }

  /* Contact: single col, prevent overflow */
  .footer-col:last-child ul,
  ul.footer-contact {
    display: flex !important;
    flex-direction: column !important;
  }

  .footer-contact li,
  .footer-contact-phones {
    font-size: .82rem;
    word-break: break-word;
  }

  /* Social icons wrap */
  .footer-social { flex-wrap: wrap; }
}

@media (max-width: 375px) {

  /* All footer lists: single column on tiny screens */
  .footer-col ul {
    grid-template-columns: 1fr !important;
    gap: 6px;
  }

  .footer-contact li,
  .footer-contact-phones { font-size: .78rem; }
}

@media (max-width: 320px) {

  .footer-top { padding: 28px 0 20px; }
  .footer-col h4 { margin-bottom: 12px; }
  .footer-contact li,
  .footer-contact-phones { font-size: .75rem; }

  .btn-footer-cta {
    font-size: .78rem;
    padding: 9px 16px;
  }
}

/* ================================================================
   BUG FIX PATCH v2 — Stats vertical stacking + Header color break
   ================================================================ */

/* ---------------------------------------------------------------
   FIX 1: Stats section — restore original horizontal row layout
   ROOT CAUSE: 480px and 576px blocks set flex-direction:column
   which broke the original flex-row/wrap behaviour from 768px
   --------------------------------------------------------------- */
@media (max-width: 576px) {
  .hero-stats {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 16px;
  }
  .hero-stat-number { font-size: 1.5rem; }
}

/* ---------------------------------------------------------------
   FIX 2: Header two-colour break on mobile
   ROOT CAUSE 1: .navbar-brand has no background — browser may
   render the element box differently from .navbar surface.
   ROOT CAUSE 2: logo SVG contains fill="white" polygon (W cutout)
   which creates a visible white patch against any non-white zone.
   FIX: Lock every part of the navbar to a single background value.
   --------------------------------------------------------------- */
.navbar-brand,
.navbar .container {
  background: transparent;
}
.navbar-brand img.nav-logo {
  background: transparent !important;
}

/* On scroll the navbar becomes white — keep brand area matching */
.navbar.scrolled,
.navbar.scrolled .navbar-brand {
  background: rgba(255,255,255,.97);
}
.navbar.scrolled .navbar-brand img.nav-logo {
  background: transparent !important;
}

@media (max-width: 768px) {
  .navbar {
    background: var(--white) !important;
  }
  .navbar-brand {
    background: var(--white) !important;
  }
  .navbar-brand img.nav-logo {
    background: transparent !important;
  }
  /* Ensure the nav-toggle does not inherit a rogue background */
  .nav-toggle {
    background: transparent !important;
  }
}


/* ================================================================
   ROOT FIX — White strip between header and hero on mobile
   EXACT CAUSE: body { background: var(--white) } shows through
   behind/below the sticky navbar before hero section paints.
   FIX: Set html background to dark on mobile so no white ever
   appears. Body background unchanged — only html root patched.
   ================================================================ */
@media (max-width: 768px) {
  html {
    background: #0a0a0a;
  }
}


/* ================================================================
   ROOT FIX v2 — Dark line / white strip at top of navbar mobile
   EXACT CAUSE: .topbar border-bottom (1px solid #333) leaves a
   visual remnant on some mobile browsers even with display:none.
   FIX: Full zero-out of topbar + ensure navbar has no border-top
   and sits flush against the very top of the viewport.
   ================================================================ */
@media (max-width: 768px) {
  .navbar {
    border-top: none !important;
    margin-top: 0 !important;
    top: 0 !important;
  }
}

/* =================================================================
   ELITE SaaS REDESIGN OVERRIDES (SNM Consulting Premium Dark Mode)
   ================================================================= */

/* Redefine variables under the Deep Slate-Navy / Graphite / Gold system */
:root {
  --black:       #060912;      /* Luxury Deep Canvas background */
  --black-soft:  #111625;      /* Rich Charcoal-Navy for alternate sections */
  --black-mid:   #161e32;      /* Elevated Slate-Navy for Card Backgrounds */
  --gray-900:    #ffffff;      /* Pure Crisp White */
  --gray-800:    #f1f5f9;      /* High-contrast slate off-white */
  --gray-700:    #cbd5e1;      /* Bright, highly readable silver-slate */
  --gray-500:    #94a3b8;      /* Clear muted slate gray */
  --gray-300:    #212841;
  --gray-100:    #111625;
  
  /* Natural Light CSS tokens for light sections and elements */
  --white:       #ffffff;      /* Pure white for light elements and sections */
  --off-white:   #f8fafc;      /* Airy luxury off-white canvas base */
  --gray-light:  #f5f7fa;      /* Sophisticated cool gray */
  --gray-text:   #334155;      /* Crisp dark slate for readable body text (WCAG AAA) */
  --dark-text:   #090d16;      /* Ultra-dark navy for headings */
  
  /* Premium Shadow Tokens for Light Elements */
  --shadow-premium: 0 12px 30px -10px rgba(15, 23, 42, 0.1);
  --shadow-premium-hover: 0 20px 40px -12px rgba(15, 23, 42, 0.18);
  
  /* Accent Colors */
  --accent:      #4f46e5;      /* Vibrant B2B Royal Indigo */
  --accent-light:#818cf8;      /* Light active highlights */
  --accent-dark: #1e1b4b;      /* Indigo wash */
  
  /* Luxury Champagne Gold System */
  --gold:        #d4af37;      /* Primary Champagne Gold */
  --gold-light:  #f3df95;      /* Glowing soft gold */
  --gold-dark:   #aa8418;      /* Deep Gold/Bronze */
  
  --success:     #10b981;
  --error:       #ef4444;
  --warning:     #f59e0b;
  --info:        #3b82f6;

  --font-body:   'Inter', sans-serif;
  --font-head:   'Outfit', sans-serif; /* High-ticket corporate headings */

  --border-light: rgba(15, 23, 42, 0.09);     /* Sharper element outlines (9% opacity) */
  --border-medium: rgba(212, 175, 55, 0.18);  /* Subtle Gold border tint */
  --border-gold: rgba(212, 175, 55, 0.45);     /* High-contrast Gold border */
  --bg-glass: rgba(255, 255, 255, 0.85);      /* Soft Light Glass */
}


/* Global Core Overrides */
html {
  background-color: var(--black) !important;
  scroll-behavior: smooth;
}
body {
  background: radial-gradient(circle at 50% 0%, #0e162c 0%, #060912 100%) !important;
  background-attachment: fixed !important;
  color: var(--gray-800) !important;
  font-family: var(--font-body) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head) !important;
  color: var(--gray-900) !important;
  letter-spacing: -0.02em;
}

p {
  color: var(--gray-700);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Contextual Paragraph Restructuring for Flawless Alternating Section Readability */
.section p, 
.page-hero p, 
.hero-content p, 
.section--dark-premium p, 
.footer p,
.cta-trust-row span {
  color: var(--gray-700);
}

.section--gray p, 
.section--light p, 
.brands-strip p, 
.brands-strip__label,
.testimonial-card p, 
.card p, 
.card .service-card__desc,
.card .product-card__desc,
.pricing-features li, 
.step p, 
.breadcrumb span, 
.lead p,
section[style*="background: var(--white)"] p,
section[style*="background-color: var(--white)"] p,
section[style*="background: var(--gray-light)"] p,
section[style*="background-color: var(--gray-light)"] p {
  color: var(--gray-text) !important;
}

/* Section Overrides with Luxury Visual Pacing */
.section {
  /* Allow inline styles or standard CSS backgrounds to apply */
}
.section--gray {
  background-color: var(--gray-light) !important;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.section--black {
  background: linear-gradient(180deg, var(--black) 0%, #04060c 100%) !important;
}
.section--dark {
  background-color: var(--black-soft) !important;
}

/* Preloader Styles */
.page-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #060912;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}
.page-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}
.preloader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.preloader-brand-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  animation: pulse-logo 1.6s infinite ease-in-out;
}
.preloader-logo {
  height: 64px !important;
  width: auto !important;
  animation: none !important; /* Pulse managed by brand wrap */
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
  filter: brightness(0) invert(1) !important; /* Crisp high-contrast white vector monogram */
  object-fit: contain !important;
  image-rendering: -webkit-optimize-contrast !important; /* Ultra-crisp HD rendering */
  image-rendering: crisp-edges !important;
}
.preloader-spinner {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(212, 175, 55, 0.1);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin-loader 0.8s linear infinite;
}
@keyframes spin-loader {
  to { transform: rotate(360deg); }
}
@keyframes pulse-logo {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; filter: invert(72%) sepia(61%) saturate(543%) hue-rotate(5deg) brightness(110%) contrast(95%) drop-shadow(0 0 15px rgba(212, 175, 55, 0.4)) !important; }
}

/* Navbar Glassmorphism */
.navbar {
  background: rgba(255, 255, 255, 0.82) !important; /* Premium light glassmorphic nav */
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05) !important;
  position: sticky !important;
  top: 0;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 16px 0 !important;
  height: auto !important;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95) !important; /* Perfect light scroll wash */
  padding: 11px 0 !important;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08) !important;
  border-bottom-color: rgba(170, 132, 28, 0.12) !important; /* Soft luxury gold underline on scroll */
}
.nav-menu > li > a {
  color: var(--dark-text) !important; /* Crisp dark navy text */
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  letter-spacing: 0.2px;
  padding: 8px 16px !important;
  border-radius: 6px;
  transition: all 0.25s ease !important;
}
.nav-menu > li > a:hover {
  color: var(--accent) !important; /* Brand royal blue on hover */
  background: rgba(79, 70, 229, 0.04) !important;
}
.nav-menu > li > a.active {
  color: var(--accent) !important;
  font-weight: 700 !important;
  background: rgba(79, 70, 229, 0.06) !important;
}

/* Dropdown Menu styling */
.dropdown {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 15px 40px -10px rgba(15, 23, 42, 0.15) !important;
  backdrop-filter: blur(20px) !important;
  border-radius: 8px !important;
  padding: 8px 0 !important;
}
.dropdown li a {
  color: var(--gray-text) !important;
  font-weight: 500;
  transition: all 0.2s ease;
  padding: 10px 20px !important;
}
.dropdown li a:hover {
  color: var(--accent) !important;
  background: rgba(79, 70, 229, 0.04) !important;
}

/* Brand Logo fixes (Dynamic Champagne Gold Mapping) */
.nav-logo, .footer-logo, .admin-sidebar-logo, .admin-login-logo {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease !important;
  height: 48px !important;
  width: auto !important;
}
.navbar-brand .nav-logo {
  filter: none !important; /* Absolutely native brand color monogram on light header */
  height: 56px !important; /* Make the logo bigger! */
  max-height: 56px !important;
  background: transparent !important; /* Ensure background is always transparent */
}
.navbar-brand .nav-logo:hover {
  transform: scale(1.05) translateY(-1px) !important; /* Premium micro-hover */
}
.admin-login-logo {
  /* Elegant Gold Monogram Filter for dark/contrast backdrops */
  filter: invert(72%) sepia(61%) saturate(543%) hue-rotate(5deg) brightness(97%) contrast(88%) !important;
}
.footer-logo {
  height: 64px !important;
  width: auto !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: brightness(0) invert(1) !important; /* Crisp high-contrast white vector monogram */
  display: inline-block !important;
  object-fit: contain !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease !important;
}
.footer-logo:hover {
  transform: scale(1.05) translateY(-2px) !important;
  filter: invert(72%) sepia(61%) saturate(543%) hue-rotate(5deg) brightness(110%) contrast(95%) !important; /* Luxury champagne gold glow on hover */
}

.nav-mobile-brand {
  display: none;
}
@media (max-width: 768px) {
  .nav-mobile-brand {
    display: flex !important;
    padding: 20px 24px !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
    justify-content: center !important;
    align-items: center !important;
    background: var(--white) !important;
  }
  .nav-mobile-brand .nav-logo {
    filter: none !important; /* Native monogram on mobile drawer head */
  }
}

/* Button Upgrades */
.btn {
  border-radius: 6px !important; /* Premium boxy-rounded format */
  font-family: var(--font-body) !important;
  letter-spacing: 0.5px;
  font-weight: 700 !important;
  text-transform: uppercase;
  font-size: 0.8rem !important;
  padding: 12px 24px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.btn-primary {
  background: linear-gradient(135deg, var(--black) 0%, #1e293b 100%) !important;
  border: none !important;
  color: #ffffff !important;
}
.btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px -5px rgba(15, 23, 42, 0.25) !important;
}
.btn-outline {
  background: transparent !important;
  border: 1.5px solid var(--border-medium) !important;
  color: var(--dark-text) !important;
}
.btn-outline:hover {
  background: rgba(79, 70, 229, 0.04) !important;
  border-color: var(--accent) !important;
  color: var(--accent) !important;
  transform: translateY(-2px) !important;
}
.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #3b82f6 100%) !important; /* Royal Blue CTA */
  border: none !important;
  color: white !important;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.15) !important;
}
.btn-accent:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.35) !important;
}

/* Card Overrides (Balanced Light Design) */
.card {
  background: var(--white) !important; /* Clean premium white backdrop */
  border: 1px solid var(--border-light) !important;
  border-radius: 12px !important;
  box-shadow: var(--shadow-premium) !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.card:hover {
  border-color: var(--accent) !important; /* Elegant royal blue brand highlight */
  box-shadow: var(--shadow-premium-hover) !important;
  transform: translateY(-4px) !important;
}
.card p, .card .service-card__desc, .card .product-card__desc {
  color: var(--gray-text) !important;
}
.card h3, .card h3 a, .card h4 {
  color: var(--dark-text) !important;
}
.card label, .card-form label, .form-group label {
  color: var(--dark-text) !important;
  font-weight: 600 !important;
}
.card h3 a:hover {
  color: var(--accent) !important;
}


.service-card-image-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}
.service-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover .service-card-image-wrap img {
  transform: scale(1.04);
}
.service-card__body {
  background: transparent !important;
  padding: 28px 24px 24px 24px !important;
}
.service-card__footer {
  background: var(--gray-light) !important;
  border-top: 1px solid var(--border-light) !important;
  padding: 20px 24px !important;
}
.service-card__price {
  color: var(--dark-text) !important;
}

/* Tab Button upgrades */
.tab-btn {
  background: var(--white) !important;
  border: 1.5px solid var(--border-light) !important;
  color: var(--gray-text) !important;
  border-radius: 6px !important;
  font-family: var(--font-body);
  font-weight: 700;
  padding: 10px 22px !important;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-premium);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
}
.tab-btn:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}
.tab-btn.active {
  background: linear-gradient(135deg, var(--accent) 0%, #3b82f6 100%) !important;
  color: white !important;
  border-color: var(--accent) !important;
  box-shadow: 0 4px 15px -3px rgba(79, 70, 229, 0.35) !important;
}

/* Pricing Cards */
.pricing-card {
  background: var(--white) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: 16px !important;
  box-shadow: var(--shadow-premium) !important;
}
.pricing-card:hover {
  border-color: var(--accent) !important;
  box-shadow: var(--shadow-premium-hover) !important;
}
.pricing-price {
  color: var(--dark-text) !important;
}
.pricing-features li {
  border-bottom-color: var(--border-light) !important;
  color: var(--gray-text) !important;
}

/* Testimonial Cards (Premium glass-light design) */
.testimonial-card {
  background: var(--white) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: 16px !important;
  box-shadow: var(--shadow-premium) !important;
  padding: 35px 30px !important;
}
.testimonial-card:hover {
  border-color: var(--accent) !important;
  box-shadow: var(--shadow-premium-hover) !important;
}
.testimonial-avatar {
  background: linear-gradient(135deg, var(--accent) 0%, #3b82f6 100%) !important;
  color: white !important;
  font-weight: 800 !important;
}
.testimonial-name {
  color: var(--dark-text) !important;
  font-family: var(--font-head);
}
.testimonial-text {
  color: var(--gray-text) !important;
}
.testimonial-role {
  color: var(--gray-text) !important;
}

/* Workflow Steps (Airy Premium Light blocks) */
.step {
  background: var(--white) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: 12px !important;
  padding: 35px 30px !important;
  box-shadow: var(--shadow-premium) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.step:hover {
  border-color: var(--accent) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-premium-hover) !important;
}
.step-number {
  background: linear-gradient(135deg, var(--accent) 0%, #3b82f6 100%) !important;
  border-color: var(--accent) !important;
  color: white !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25) !important;
}
.step h4 {
  color: var(--dark-text) !important;
}
.step p {
  color: var(--gray-text) !important;
}

/* Forms and Inputs */
.form-control {
  background: var(--white) !important;
  border: 1.5px solid var(--border-light) !important;
  color: var(--dark-text) !important;
  border-radius: 6px !important;
  transition: all 0.3s ease;
}
.form-control:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(170, 132, 28, 0.1) !important;
}
.form-control::placeholder {
  color: #94a3b8 !important;
}

/* Modals */
.modal {
  background: var(--white) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: 16px !important;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15) !important;
}
.modal h3, .modal label {
  color: var(--dark-text) !important;
}
.modal-header {
  border-bottom-color: var(--border-light) !important;
}
.modal-close {
  background: var(--gray-light) !important;
  color: var(--gray-text) !important;
}
.modal-close:hover {
  background: var(--black) !important;
  color: var(--white) !important;
}
.modal-item-preview {
  background: var(--gray-light) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: 8px !important;
}
.modal-item-title {
  color: var(--dark-text) !important;
}
.modal-item-price {
  color: var(--gold) !important;
}

/* Topbar Polish */
.topbar {
  background: #04060b !important; /* Premium graphite dark top bar */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  color: #94a3b8 !important;
}
.topbar i {
  color: var(--gold-light) !important;
}

/* Footer Refinements */
.footer {
  background: #04060b !important; /* Premium dark graphite */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 80px 0 0 0 !important;
}
.footer-top {
  padding-bottom: 50px !important;
}
.footer-col h4 {
  font-family: var(--font-head) !important;
  color: #ffffff !important;
  font-size: 0.95rem !important;
  margin-bottom: 24px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  position: relative !important;
  padding-bottom: 12px !important;
}
.footer-col h4::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 32px !important;
  height: 2px !important;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%) !important;
  border-radius: 2px !important;
}
.footer-col ul li {
  margin-bottom: 12px !important;
}
.footer-col ul li a {
  color: #94a3b8 !important;
  font-size: 0.92rem !important;
  transition: all 0.25s ease !important;
}
.footer-col ul li a:hover {
  color: var(--gold-light) !important;
  padding-left: 4px;
}
.footer-contact li {
  color: #94a3b8 !important;
}
.footer-contact li i {
  color: var(--gold-light) !important;
}
.footer-social {
  margin-top: 24px !important;
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.footer-social a:hover {
  background: var(--gold-light) !important;
  color: #060912 !important;
  border-color: var(--gold-light) !important;
  transform: translateY(-2px);
}
.footer-disclaimer {
  background: rgba(0,0,0,0.3) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 24px 0 !important;
}
.footer-bottom {
  background: #020306 !important;
  padding: 20px 0 !important;
  color: #64748b !important;
}

.btn-footer-cta {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%) !important;
  color: #060912 !important;
  border-radius: 6px !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-size: 0.8rem !important;
  padding: 10px 22px !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.btn-footer-cta:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4) !important;
}

/* Premium Dark Variant Classes */
.section--dark-premium {
  background: var(--black-soft) !important;
  color: #ffffff !important;
}
.section--dark-premium h2, .section--dark-premium h3, .section--dark-premium h4 {
  color: #ffffff !important;
}
.section--dark-premium p {
  color: #94a3b8 !important;
}
.section--dark-premium .feature-block h3 {
  color: #ffffff !important;
}
.section--dark-premium .feature-block p {
  color: #94a3b8 !important;
}

/* Mobile Drawer enhancements */
@media (max-width: 768px) {
  .nav-menu {
    background: var(--white) !important;
    border-top: 1px solid rgba(15, 23, 42, 0.06) !important;
    box-shadow: 0 15px 50px rgba(15, 23, 42, 0.15) !important;
    padding: 20px !important;
  }
  .nav-menu > li {
    border-bottom: 1px solid rgba(15, 23, 42, 0.04) !important;
  }
  .nav-menu > li > a {
    color: var(--dark-text) !important;
  }
  .nav-menu > li > a.active {
    background: rgba(79, 70, 229, 0.04) !important;
    color: var(--accent) !important;
  }
  .has-dropdown .dropdown {
    background: rgba(15, 23, 42, 0.02) !important;
    border-radius: 8px !important;
    border: 1px solid rgba(15, 23, 42, 0.04) !important;
  }
  .nav-toggle span {
    background: var(--dark-text) !important;
  }
}

/* =================================================================
   ACCESSIBILITY & CONTRAST REFINEMENTS (SaaS Luxury Visibility)
   ================================================================= */

/* 1. Icon Containers Refinements (Why Choose Us Glowing Glass Badges) */
.feature-icon {
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  background: rgba(59, 130, 246, 0.12) !important;
  border: 1.5px solid rgba(59, 130, 246, 0.3) !important;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.2) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 20px !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.feature-block:hover .feature-icon {
  background: rgba(59, 130, 246, 0.22) !important;
  border-color: rgba(59, 130, 246, 0.55) !important;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.4) !important;
  transform: translateY(-3px) scale(1.05) !important;
}
.feature-icon i {
  color: #60a5fa !important;
  text-shadow: 0 0 8px rgba(96, 165, 250, 0.4) !important;
  font-size: 1.35rem !important;
}

/* 2. Contact Page Icon Wrappers */
.contact-info-icon-wrap {
  width: 48px !important;
  height: 48px !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  background: rgba(59, 130, 246, 0.12) !important;
  border: 1.5px solid rgba(59, 130, 246, 0.3) !important;
  color: #3b82f6 !important;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.15) !important;
  transition: all 0.3s ease !important;
}
.contact-info-icon-wrap:hover {
  background: rgba(59, 130, 246, 0.2) !important;
  border-color: rgba(59, 130, 246, 0.5) !important;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.25) !important;
  color: #60a5fa !important;
  transform: translateY(-2px);
}

/* 3. Milestone Checklist Icon Containers */
.checklist-icon-container {
  min-width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background: rgba(59, 130, 246, 0.12) !important;
  border: 1.5px solid rgba(59, 130, 246, 0.3) !important;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 2px !important;
  transition: all 0.3s ease !important;
}
.checklist-icon-container i {
  color: #3b82f6 !important;
  font-size: 0.72rem !important;
}

/* 4. Light Card Contrast & Headings Visibility */
.card h3, .card h3 a, .card h4, .pricing-card h3, .testimonial-name {
  color: var(--dark-text) !important;
  font-weight: 700 !important;
}
.card p, .testimonial-text, .testimonial-role, .pricing-features li {
  color: var(--gray-text) !important;
  font-weight: 500 !important;
}
.card:hover {
  border-color: var(--accent) !important;
  box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.16) !important;
}
.pricing-price {
  color: var(--dark-text) !important;
  font-weight: 800 !important;
}

/* 5. Button Accessibility & Outline Hover Transitions */
.btn-outline {
  border: 1.8px solid var(--border-light) !important;
  color: var(--dark-text) !important;
  font-weight: 700 !important;
  background: rgba(255, 255, 255, 0.8) !important;
}
.btn-outline:hover {
  background: rgba(79, 70, 229, 0.08) !important;
  border-color: var(--accent) !important;
  color: var(--accent) !important;
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.1) !important;
}
.btn-accent {
  font-weight: 800 !important;
}

/* 6. Footer Visibility and Dividers Upgrade */
.footer p, .footer-contact li, .footer-disclaimer p {
  color: #cbd5e1 !important;
}
.footer-brand p {
  font-size: 0.88rem !important;
  color: #94a3b8 !important;
  line-height: 1.7 !important;
  margin-top: 16px !important;
  margin-bottom: 24px !important;
  max-width: 320px !important;
}
.footer-col h4 {
  color: #ffffff !important;
  font-weight: 700 !important;
}
.footer-col ul li a {
  color: #94a3b8 !important;
  font-weight: 500 !important;
  display: inline-block !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease !important;
}
.footer-col ul li a:hover {
  color: var(--gold-light) !important;
  transform: translateX(4px) !important;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.3) !important;
}
.footer-disclaimer {
  border-top-color: rgba(255, 255, 255, 0.08) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  color: #94a3b8 !important;
}
.footer-bottom a {
  color: #cbd5e1 !important;
  transition: color 0.2s ease !important;
}
.footer-bottom a:hover {
  color: #ffffff !important;
}
.footer-social a {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #cbd5e1 !important;
}
.footer-social a:hover {
  background: linear-gradient(135deg, var(--accent) 0%, #3b82f6 100%) !important;
  border-color: var(--accent) !important;
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.45) !important;
}
/* Footer logo silhouette color filter removed to preserve native branding color */

/* 7. Navbar Readability and Active Navigation overrides */
.navbar {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1.5px solid rgba(15, 23, 42, 0.08) !important;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.99) !important;
  box-shadow: 0 10px 35px -10px rgba(15, 23, 42, 0.12) !important;
  border-bottom-color: rgba(15, 23, 42, 0.08) !important;
}
.nav-menu > li > a {
  color: #1e293b !important;
  font-weight: 600 !important;
}
.nav-menu > li > a:hover {
  color: var(--accent) !important;
  background: rgba(79, 70, 229, 0.05) !important;
}
.nav-menu > li > a.active {
  color: var(--accent) !important;
  font-weight: 700 !important;
  background: rgba(79, 70, 229, 0.08) !important;
}
.divider {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Premium Homepage Advisory Steps Overrides */
.steps {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 32px !important;
    position: relative !important;
    padding-top: 30px !important;
}
.steps::before {
    display: none !important;
}
.steps .step {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
    border-radius: 24px !important;
    padding: 48px 32px 36px !important;
    box-shadow: 0 10px 30px -10px rgba(9, 13, 22, 0.04), 0 1px 3px rgba(9, 13, 22, 0.02) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative !important;
    text-align: center !important;
    z-index: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
}
.steps .step:hover {
    border-color: rgba(79, 70, 229, 0.2) !important;
    transform: translateY(-8px) !important;
    box-shadow: 0 24px 48px -15px rgba(9, 13, 22, 0.08), 0 12px 24px -12px rgba(9, 13, 22, 0.04) !important;
}
.steps .step-number {
    position: absolute !important;
    top: -28px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 56px !important;
    height: 56px !important;
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%) !important;
    border: 5px solid #ffffff !important;
    color: #ffffff !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    font-family: var(--font-head) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    box-shadow: 0 8px 16px rgba(79, 70, 229, 0.25) !important;
    z-index: 2 !important;
    margin: 0 !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease !important;
}
.steps .step:hover .step-number {
    transform: translateX(-50%) scale(1.08) !important;
    box-shadow: 0 12px 20px rgba(79, 70, 229, 0.35) !important;
}
.steps .step h4 {
    color: #090d16 !important;
    font-family: var(--font-head) !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    margin-bottom: 14px !important;
    letter-spacing: -0.3px !important;
}
.steps .step p {
    color: #475569 !important;
    font-family: var(--font-body) !important;
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
    margin: 0 !important;
}


/* --- ULTIMATE PREMIUM HOMEPAGE REDESIGN --- */
/* 1. Brands Strip */
.brands-strip {
    background: linear-gradient(135deg, #090d16 0%, #0f172a 100%) !important;
    border-top: 1px solid rgba(212, 175, 55, 0.15) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15) !important;
    padding: 40px 0 !important;
}
.brands-strip .brands-strip__label {
    color: #d4af37 !important;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.2) !important;
}
.brands-strip .brand-pill {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    color: #f8fafc !important;
    border-radius: 30px !important;
    padding: 8px 18px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(10px) !important;
}
.brands-strip .brand-pill:hover {
    background: rgba(212, 175, 55, 0.15) !important;
    border-color: #d4af37 !important;
    color: #d4af37 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.25) !important;
}

/* 2. Advisory Steps */
.section .steps {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 32px !important;
    position: relative !important;
    padding-top: 40px !important;
}
.section .steps::before {
    display: none !important;
}
.section .steps .step {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
    border-radius: 24px !important;
    padding: 50px 32px 36px !important;
    box-shadow: 0 10px 30px -10px rgba(9, 13, 22, 0.04), 0 1px 3px rgba(9, 13, 22, 0.02) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative !important;
    text-align: center !important;
    z-index: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin-top: 28px !important;
}
.section .steps .step:hover {
    border-color: rgba(79, 70, 229, 0.2) !important;
    transform: translateY(-8px) !important;
    box-shadow: 0 24px 48px -15px rgba(9, 13, 22, 0.08), 0 12px 24px -12px rgba(9, 13, 22, 0.04) !important;
}
.section .steps .step-number {
    position: absolute !important;
    top: -28px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 56px !important;
    height: 56px !important;
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%) !important;
    border: 5px solid #ffffff !important;
    color: #ffffff !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    box-shadow: 0 8px 16px rgba(79, 70, 229, 0.25) !important;
    z-index: 2 !important;
    margin: 0 !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease !important;
}
.section .steps .step:hover .step-number {
    transform: translateX(-50%) scale(1.1) !important;
    box-shadow: 0 12px 20px rgba(79, 70, 229, 0.35) !important;
}
.section .steps .step h4 {
    color: #090d16 !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    margin-bottom: 14px !important;
}
.section .steps .step p {
    color: #475569 !important;
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
    margin: 0 !important;
}


/* =================================================================
   GLOBAL MOBILE RESPONSIVENESS OVERRIDES
   ================================================================= */
@media (max-width: 768px) {
    /* 1. Navbar Logo Fix (Invert white logo to dark for visibility on light menu) */
    .nav-mobile-brand .nav-logo {
        filter: invert(1) brightness(0) !important; 
        background: transparent !important;
    }
    
    /* 2. Universal Grid Stacking */
    .hero-grid,
    .hero-stats,
    .grid-2,
    .grid-3,
    .grid-4,
    [class*="grid-"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* 3. Hero Adjustments */
    .hero-visual {
        max-width: 100% !important;
        margin-top: 30px !important;
    }
    .hero-card-stack {
        height: auto !important;
        min-height: 280px !important;
    }
    
    /* 4. Fix minmax overflow on small screens */
    [style*="minmax(320px"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    [style*="repeat(2, 1fr)"],
    [style*="repeat(3, 1fr)"],
    [style*="repeat(4, 1fr)"],
    [style*="1.2fr 0.8fr"],
    [style*="1fr 1.2fr"],
    [style*="1.25fr 0.75fr"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* Fix any hardcoded flex rows */
    [style*="display: flex"][style*="align-items: center"] {
        flex-wrap: wrap !important;
    }
}


/* =================================================================
   V3 - HEADINGS & TEXT VISIBILITY FIXES
   ================================================================= */
/* Fix for light sections (White/Gray backgrounds) */
.section .section-header h2,
.section:not([class*="dark"]):not([class*="black"]) .section-header h2 {
    color: #090d16 !important;
}
.section .section-header p,
.section:not([class*="dark"]):not([class*="black"]) .section-header p {
    color: #334155 !important;
}
.section .section-label,
.section:not([class*="dark"]):not([class*="black"]) .section-label {
    color: #d4af37 !important;
}

/* Fix for dark sections (Dark/Black backgrounds) */
.section--dark-premium .section-header h2,
.section--dark .section-header h2,
.section--black .section-header h2,
section[style*="background: var(--black)"] .section-header h2,
section[style*="background: var(--black-soft)"] .section-header h2 {
    color: #ffffff !important;
}
.section--dark-premium .section-header p,
.section--dark .section-header p,
.section--black .section-header p,
section[style*="background: var(--black)"] .section-header p,
section[style*="background: var(--black-soft)"] .section-header p {
    color: #94a3b8 !important;
}

/* Fix for Client Reviews / Testimonials explicitly */
.testimonial-text {
    color: #334155 !important;
}
.testimonial-author h4 {
    color: #090d16 !important;
}
.testimonial-role {
    color: #64748b !important;
}

/* =================================================================
   V5 - ELITE DARK-GLASSMORPHIC HEADER REDESIGN SYSTEM
   ================================================================= */

/* 1. Global Navbar Dark-Glassmorphism Styles */
.navbar, #mainNav {
  background: rgba(6, 9, 18, 0.72) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  position: sticky !important;
  top: 0;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  padding: 16px 0 !important;
  height: auto !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4) !important;
}

/* Scrolled state desktop/mobile transition */
.navbar.scrolled {
  background: rgba(4, 6, 12, 0.95) !important;
  padding: 11px 0 !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 15px rgba(212, 175, 55, 0.1) !important;
  border-bottom-color: rgba(212, 175, 55, 0.15) !important; /* Soft luxury gold underline glow */
}

/* 2. Brand & Logo Layout */
.navbar-brand {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
}

/* Native Portrait Logo Sizing & Quality */
.navbar-brand .nav-logo,
.navbar-brand img.nav-logo {
  filter: brightness(0) invert(1) !important; /* High contrast crisp white vector monogram for dark background */
  height: 56px !important;
  max-height: 56px !important;
  width: auto !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease !important;
}
.navbar-brand .nav-logo:hover,
.navbar-brand img.nav-logo:hover {
  transform: scale(1.05) translateY(-1px) !important;
  filter: invert(72%) sepia(61%) saturate(543%) hue-rotate(5deg) brightness(110%) contrast(95%) !important; /* Glows gold on hover */
}

/* 3. Navigation Links Style */
.nav-menu > li > a {
  color: #cbd5e1 !important; /* Premium silver slate */
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  letter-spacing: 0.3px;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
}
.nav-menu > li > a:hover {
  color: var(--gold) !important;
  background: rgba(212, 175, 55, 0.05) !important;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.25) !important;
}
.nav-menu > li > a.active {
  color: var(--gold) !important;
  font-weight: 700 !important;
  background: rgba(212, 175, 55, 0.09) !important;
  border: 1px solid rgba(212, 175, 55, 0.15) !important;
}

/* Dropdown Sub-menu Polish */
.has-dropdown .dropdown {
  background: rgba(6, 9, 18, 0.96) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6) !important;
  border-radius: 12px !important;
}
.has-dropdown .dropdown li a {
  color: #cbd5e1 !important;
  transition: all 0.25s ease !important;
}
.has-dropdown .dropdown li a:hover {
  color: var(--gold) !important;
  background: rgba(212, 175, 55, 0.06) !important;
}

/* 4. Custom Gold Hamburger Toggle Style */
.nav-toggle {
  background: transparent !important;
  border: none !important;
  width: 44px;
  height: 44px;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.3s !important;
}
.nav-toggle:hover {
  background: rgba(212, 175, 55, 0.08) !important;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold) !important; /* Gold horizontal bars */
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease !important;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg) !important;
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0 !important;
  transform: scaleX(0) !important;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg) !important;
}

/* 5. Mobile Responsive Adjustments (768px and below) */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex !important;
  }
  
  /* Topbar Zero-Out */
  .topbar {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    overflow: hidden !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
  
  /* Mobile Navbar Sizing & Padding */
  .navbar, #mainNav {
    background: rgba(6, 9, 18, 0.88) !important;
    padding: 8px 0 !important;
    height: auto !important;
    min-height: 60px !important;
  }
  
  /* Mobile Portrait Logo scaling */
  .navbar-brand img.nav-logo,
  .navbar-brand .nav-logo {
    height: 48px !important;
    max-height: 48px !important;
  }
  
  /* Symmetrical 3-Column Stats Grid on Mobile */
  .hero-stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
    text-align: center !important;
  }
  .hero-stat-number {
    font-size: 1.8rem !important;
  }
  .hero-stat-label {
    font-size: 0.68rem !important;
    letter-spacing: 0.2px !important;
    line-height: 1.3 !important;
  }
  
  /* Mobile Slide-Out Drawer Panel */
  .nav-menu {
    position: fixed !important;
    top: 60px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(6, 9, 18, 0.95) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 24px !important;
    gap: 12px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    transform: translateY(-100%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s !important;
    z-index: 999 !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8) !important;
    overflow-y: auto !important;
  }
  .nav-menu.open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  /* Mobile Menu Logo Header */
  .nav-mobile-brand {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 16px 0 28px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin-bottom: 16px !important;
    background: transparent !important;
  }
  .nav-mobile-brand .nav-logo {
    height: 64px !important;
    max-height: 64px !important;
    filter: brightness(0) invert(1) !important; /* Crisp white monogram in drawer */
  }
  
  /* Mobile Menu List Items */
  .nav-menu > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
    padding-bottom: 6px !important;
  }
  .nav-menu > li:last-child {
    border-bottom: none !important;
  }
  .nav-menu > li > a {
    font-size: 1.1rem !important;
    padding: 12px 16px !important;
    display: block !important;
    color: #cbd5e1 !important;
  }
  .nav-menu > li > a.active {
    color: var(--gold) !important;
    background: rgba(212, 175, 55, 0.06) !important;
    border-color: rgba(212, 175, 55, 0.15) !important;
  }
  
  /* Mobile Dropdowns inside Drawer */
  .has-dropdown .dropdown {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    padding: 8px 12px !important;
    margin-top: 8px !important;
    border-radius: 8px !important;
    display: none !important; /* Toggled via JS */
  }
  .has-dropdown.open .dropdown {
    display: block !important;
  }
  .has-dropdown .dropdown li a {
    padding: 10px 14px !important;
    font-size: 0.95rem !important;
  }
}

/* Extra breakpoint scaling */
@media (max-width: 425px) {
  .navbar-brand img.nav-logo,
  .navbar-brand .nav-logo {
    height: 44px !important;
  }
}
@media (max-width: 375px) {
  .navbar-brand img.nav-logo,
  .navbar-brand .nav-logo {
    height: 42px !important;
  }
}
@media (max-width: 320px) {
  .navbar-brand img.nav-logo,
  .navbar-brand .nav-logo {
    height: 40px !important;
  }
}

/* =================================================================
   V6 - ELITE MOBILE RESPONSIVENESS & SPACING COMPRESSION SYSTEM
   ================================================================= */
@media (max-width: 768px) {
  /* 1. Universal Layout & Section Padding Compression */
  .section, 
  section,
  .story-section,
  .leadership-section,
  .timeline-section,
  .value-section,
  .explore-cta {
    padding: 32px 0 !important;
  }
  
  /* Hero & Header Compression */
  .about-hero,
  .hero,
  .page-hero,
  .hero-section {
    padding: 48px 0 32px !important;
  }
  
  /* Compressing inline custom PHP spacings dynamically */
  [style*="padding: 120px 0 80px 0"],
  [style*="padding:120px 0 80px 0"],
  [style*="padding: 120px 0 100px"],
  [style*="padding:120px 0 100px"],
  [style*="padding: 120px 0"],
  [style*="padding:120px 0"],
  [style*="padding: 80px 0 100px"],
  [style*="padding:80px 0 100px"],
  [style*="padding: 80px 0 100px 0"],
  [style*="padding:80px 0 100px 0"] {
    padding: 40px 0 !important;
  }
  
  [style*="padding: 40px"],
  [style*="padding:40px"],
  [style*="padding: 28px 24px 24px 24px"],
  [style*="padding:28px 24px 24px 24px"] {
    padding: 20px !important;
  }
  
  /* 2. Margin & Gap Compression */
  .section-header, 
  [style*="margin-bottom: 50px"],
  [style*="margin-bottom:50px"] {
    margin-bottom: 24px !important;
  }
  
  [style*="margin-top: 40px"],
  [style*="margin-top:40px"],
  [style*="margin-top: 32px"],
  [style*="margin-top:32px"] {
    margin-top: 16px !important;
  }
  
  /* Grid Gaps Compression */
  .grid-2,
  .grid-3,
  .grid-4,
  [class*="grid-"],
  [style*="gap: 56px"],
  [style*="gap:56px"],
  [style*="gap: 30px"],
  [style*="gap:30px"] {
    gap: 16px !important;
  }
  
  /* 3. Typography & Sizing Enhancements */
  h1 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
  h2 {
    font-size: 1.6rem !important;
    line-height: 1.25 !important;
  }
  h3 {
    font-size: 1.3rem !important;
  }
  p {
    font-size: 0.92rem !important;
    line-height: 1.65 !important;
  }
  .about-hero h1 {
    font-size: 2.2rem !important;
  }
  .story-heading {
    font-size: 1.7rem !important;
  }
  
  /* 4. Grid Stack Fixes (Strict stack-first layout) */
  .story-grid,
  .blog-detail-grid,
  .footer-grid,
  .hero-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Extra optimization for small phones */
@media (max-width: 480px) {
  .about-hero,
  .hero,
  .page-hero {
    padding: 36px 0 24px !important;
  }
  .section, 
  section {
    padding: 24px 0 !important;
  }
}

/* Service Card Image Badge Clipping Fix */
.service-card-image-wrap div[style*="bottom: -20px"],
.service-card-image-wrap div[style*="bottom:-20px"],
.service-card-image-wrap div[style*="bottom: 12px"] {
  bottom: 12px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
}

/* ============================================================
   PROFESSIONAL FOOTER MOBILE RESPONSIVENESS OVERRIDES
   ============================================================ */
@media (max-width: 768px) {
  .footer {
    padding: 40px 0 0 0 !important;
  }
  .footer-top {
    padding-bottom: 24px !important;
  }
  .footer-grid {
    gap: 28px !important;
  }
  .footer-brand p {
    margin-top: 12px !important;
    margin-bottom: 16px !important;
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
  }
  .footer-social {
    margin-top: 16px !important;
    gap: 10px !important;
  }
  .footer-social a {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.75rem !important;
  }
  .footer-col h4 {
    margin-bottom: 16px !important;
    padding-bottom: 8px !important;
    font-size: 0.9rem !important;
  }
  .footer-col h4::after {
    width: 24px !important;
  }
  .footer-col ul {
    gap: 8px 16px !important;
  }
  .footer-col ul li {
    margin-bottom: 0 !important;
  }
  ul.footer-contact {
    gap: 8px !important;
  }
  .footer-contact li {
    font-size: 0.82rem !important;
    margin-bottom: 0 !important;
  }
  .footer-contact-phones {
    margin-bottom: 0 !important;
  }
  .btn-footer-cta {
    margin-top: 12px !important;
    padding: 8px 20px !important;
    font-size: 0.78rem !important;
  }
}
@media (max-width: 480px) {
  .footer {
    padding: 30px 0 0 0 !important;
  }
  .footer-top {
    padding-bottom: 20px !important;
  }
}

/* ============================================================
   PROFESSIONAL LOGO BRAND TEXT HIGHLIGHTS (TRUST BUILDING)
   ============================================================ */
.brand-text-wrap {
  display: flex !important;
  flex-direction: column !important;
  margin-left: 14px !important;
  line-height: 1.15 !important;
  text-align: left !important;
}
.brand-name {
  font-family: 'Outfit', sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.brand-subtitle {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  color: var(--gold-light) !important; /* Elegant gold tagline */
  margin-top: 2px !important;
}
.navbar-brand:hover .brand-name {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Responsive Brand Text Scaling */
@media (max-width: 480px) {
  .brand-name {
    font-size: 1.05rem !important;
    letter-spacing: 0.3px !important;
  }
  .brand-subtitle {
    font-size: 0.58rem !important;
    letter-spacing: 0.8px !important;
  }
  .brand-text-wrap {
    margin-left: 8px !important;
  }
}
@media (max-width: 375px) {
  .brand-name {
    font-size: 0.95rem !important;
  }
  .brand-subtitle {
    font-size: 0.55rem !important;
    letter-spacing: 0.6px !important;
  }
}
@media (max-width: 320px) {
  .brand-subtitle {
    display: none !important;
  }
}

/* ============================================================
   DESKTOP MODE SPACING REDUCTIONS (GLOBAL COMPACTION)
   ============================================================ */
@media (min-width: 769px) {
  .section {
    padding: 60px 0 !important;
  }
  [style*="padding: 140px 0 110px 0"],
  [style*="padding:140px 0 110px 0"] {
    padding: 100px 0 70px 0 !important;
  }
  [style*="padding: 100px 0"],
  [style*="padding:100px 0"],
  [style*="padding: 110px 0"],
  [style*="padding:110px 0"] {
    padding: 70px 0 !important;
  }
  [style*="padding: 80px 0 100px 0"],
  [style*="padding:80px 0 100px 0"],
  [style*="padding-bottom: 100px"],
  [style*="padding-bottom:100px"] {
    padding-bottom: 70px !important;
  }
  .section-header {
    margin-bottom: 36px !important;
  }
  .section-header p {
    margin-top: 10px !important;
  }
  .grid-2, .grid-3, .grid-4 {
    gap: 28px !important;
  }
}

/* Preloader & Footer Brand Logo Integration */
.footer-brand-link:hover .brand-name {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Highly specific custom uploaded logo style override to disable inversion/color-change filters */
img.is-custom-logo, 
.nav-logo.is-custom-logo, 
.footer-logo.is-custom-logo, 
.preloader-logo.is-custom-logo, 
.admin-sidebar-logo.is-custom-logo, 
.admin-login-logo.is-custom-logo {
  filter: none !important;
  background: transparent !important;
}
