/* ============================================================
   DLSAV — Digital Lifestyle Solutions
   Main Stylesheet — Matching dlsav.net Light Luxury Aesthetic
   White backgrounds · Blue + charcoal accents · Serif headings
   ============================================================ */

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

:root {
  /* Brand Colors — from dlsav.net */
  --blue-primary:    #1B6FC8;
  --blue-dark:       #0D4A9E;
  --blue-mid:        #2E7FD9;
  --blue-light:      #3ABDF0;
  --blue-pale:       #EAF3FB;
  --blue-pale-2:     #D6EAF8;

  /* Neutrals */
  --white:           #FFFFFF;
  --off-white:       #F8F9FA;
  --light-grey:      #F2F4F6;
  --mid-grey:        #E5E8EC;
  --border-grey:     #DDE2E8;
  --text-dark:       #111827;
  --text-body:       #374151;
  --text-muted:      #6B7280;
  --text-light:      #9CA3AF;

  /* Charcoal / Dark sections */
  --charcoal:        #1A1A2A;
  --charcoal-mid:    #23233A;
  --charcoal-card:   #2A2A40;

  /* Accents */
  --gold:            #C8A84B;
  --gold-light:      #F5E6B8;

  /* Pastel card colors — from dlsav.net icon grid */
  --pastel-yellow:   #FEF9EC;
  --pastel-blue:     #EBF3FB;
  --pastel-pink:     #FDEEF0;
  --pastel-peach:    #FEF0EA;
  --pastel-sky:      #E8F5FE;
  --pastel-lavender: #EEF0FD;
  --pastel-green:    #EBF7F2;
  --pastel-purple:   #F3EFFE;

  /* Typography */
  --font-head:    'Playfair Display', 'Georgia', serif;
  --font-sub:     'Montserrat', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Layout */
  --nav-h:        80px;
  --max-width:    1200px;
  --radius-sm:    6px;
  --radius:       12px;
  --radius-lg:    20px;
  --radius-xl:    28px;

  /* Shadows */
  --shadow-sm:    0 1px 4px rgba(0,0,0,0.06);
  --shadow:       0 4px 20px rgba(0,0,0,0.08);
  --shadow-md:    0 8px 32px rgba(0,0,0,0.1);
  --shadow-lg:    0 16px 48px rgba(0,0,0,0.12);
  --shadow-blue:  0 8px 32px rgba(27,111,200,0.18);

  --transition:   0.25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--blue-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}
h4, h5, h6 {
  font-family: var(--font-sub);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--blue-primary);
  color: var(--white);
  border-color: var(--blue-primary);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}
.btn-outline {
  background: transparent;
  color: var(--blue-primary);
  border-color: var(--blue-primary);
}
.btn-outline:hover {
  background: var(--blue-primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--text-dark);
  color: var(--white);
  border-color: var(--text-dark);
}
.btn-dark:hover {
  background: var(--charcoal-mid);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--text-dark);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: #b8952f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,168,75,0.3);
}
.btn-sm {
  padding: 10px 22px;
  font-size: 0.8rem;
}
.btn-lg {
  padding: 17px 40px;
  font-size: 0.95rem;
}

/* ---------- Navigation ---------- */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-grey);
  transition: box-shadow var(--transition);
}
#site-nav.scrolled {
  box-shadow: var(--shadow);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  /* No overflow:hidden here — it clips the dropdown menu */
}

/* Logo — DLSAV brand mark */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-box { display: none; }
.nav-logo-sub-wrap { display: none; }
/* Logo image */
.nav-logo-img      { display: block; height: 44px; width: auto; max-width: none; flex-shrink: 0; }
.footer-logo-img   { display: block; height: 40px; width: auto; max-width: none; }
.nav-logo-mark     { display: none; }
.nav-logo-mark-bg, .nav-logo-mark-accent, .nav-logo-mark-screen { display: none; }
.nav-logo-text-wrap { display: none; }
.nav-logo-text      { display: none; }
.nav-logo-name      { display: none; }
.nav-logo-sub       { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 1;
  min-width: 0;
}
.nav-links a {
  color: var(--text-body);
  font-family: var(--font-sub);
  font-size: 0.79rem;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--blue-primary);
  background: var(--blue-pale);
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { cursor: pointer; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border-grey);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 220px;
  z-index: 200;
  padding: 6px 0;
  list-style: none;
}
.nav-dropdown-menu li a {
  display: block;
  padding: 9px 18px;
  color: var(--text-body);
  font-size: 0.8rem;
  border-radius: 0;
  text-transform: none;
  letter-spacing: 0;
}
.nav-dropdown-menu li a:hover { background: var(--blue-pale); color: var(--blue-primary); }
/* Dropdown shown ONLY via .open class (JS-controlled) — no CSS hover to avoid conflicts */
.nav-dropdown.open .nav-dropdown-menu { display: block; }
/* Chevron rotation when open */
.nav-dropdown.open > a .fa-chevron-down { transform: rotate(180deg); }
.nav-dropdown > a .fa-chevron-down { transition: transform .25s ease; display: inline-block; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-phone {
  font-family: var(--font-sub);
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-phone:hover { color: var(--blue-primary); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.nav-toggle:hover { background: var(--light-grey); }
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-grey);
  padding: 20px 32px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow);
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  color: var(--text-body);
  font-family: var(--font-sub);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all var(--transition);
}
.nav-drawer a:hover, .nav-drawer a.active {
  color: var(--blue-primary);
  background: var(--blue-pale);
}
.drawer-cta {
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-grey);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}
/* Hero with full-width luxury interior photo */
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, #0a1628 0%, #0d2240 40%, #0a1628 100%);
  z-index: 0;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  z-index: 0;
  opacity: 0.55;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(8,18,38,0.68) 0%,
    rgba(8,18,38,0.48) 50%,
    rgba(8,18,38,0.18) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px 32px;
  width: 100%;
}
.hero-text { max-width: 640px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sub);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--blue-light);
  margin-bottom: 20px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  height: 1px;
  width: 30px;
  background: var(--blue-light);
  opacity: 0.5;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}
.hero h1 em {
  font-style: italic;
  color: var(--blue-light);
}

.hero-desc {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-family: var(--font-sub);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- Stats Band Grid ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item {
  padding: 28px 16px;
}
.stat-number {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--blue-primary);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  font-family: var(--font-sub);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-number { font-size: 2rem; }
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(105deg, #0a1628 0%, #0e2444 60%, #0a1628 100%);
  background-size: cover;
  background-position: center;
  padding: calc(var(--nav-h) + 80px) 32px 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero-bg-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 0;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,12,30,0.62) 0%, rgba(5,12,30,0.78) 100%);
  z-index: 1;
}
.page-hero-content { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 14px;
}
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.75); }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sub);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--blue-light); }
.breadcrumb .sep { opacity: 0.4; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-white  { background: var(--white); }
.section-light  { background: var(--off-white); }
.section-grey   { background: var(--light-grey); }
.section-dark   { background: var(--charcoal); }
.section-blue   { background: var(--blue-pale); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--blue-primary);
  margin-bottom: 12px;
}
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--text-dark);
  margin-bottom: 16px;
}
.section-header p { color: var(--text-muted); font-size: 1rem; line-height: 1.75; }
.section-header.light h2 { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,0.65); }
.section-header.light .section-eyebrow { color: var(--blue-light); }

/* ---------- Service Icon Cards (matching dlsav.net pastel grid) ---------- */
.icon-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.icon-card {
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.icon-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.icon-card-yellow  { background: var(--pastel-yellow); }
.icon-card-blue    { background: var(--pastel-blue); }
.icon-card-pink    { background: var(--pastel-pink); }
.icon-card-peach   { background: var(--pastel-peach); }
.icon-card-sky     { background: var(--pastel-sky); }
.icon-card-lavender{ background: var(--pastel-lavender); }
.icon-card-green   { background: var(--pastel-green); }
.icon-card-purple  { background: var(--pastel-purple); }
.icon-card-tan     { background: #FEF5EA; }

.icon-card-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}
.icon-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.icon-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.icon-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: var(--font-sub);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-primary);
  transition: gap var(--transition);
}
.icon-card-link:hover { gap: 10px; }

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

.card {
  background: var(--white);
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-pale-2);
}
.card-dark {
  background: var(--charcoal-card);
  border-color: rgba(255,255,255,0.06);
}
.card-dark h3 { color: var(--white); }
.card-dark p { color: rgba(255,255,255,0.65); }
.card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; }
.card-icon {
  width: 52px; height: 52px;
  background: var(--blue-pale);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  color: var(--blue-primary);
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-sub);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-primary);
  transition: gap var(--transition);
}
.card-link:hover { gap: 10px; }

/* ---------- Split Layout ---------- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.split-text .section-eyebrow { display: block; margin-bottom: 10px; }
.split-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}
.split-text p { color: var(--text-muted); margin-bottom: 14px; line-height: 1.75; }

/* ---------- Feature List ---------- */
.feature-list { display: flex; flex-direction: column; gap: 12px; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: var(--off-white);
  border: 1px solid var(--border-grey);
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
}
.feature-item:hover {
  border-color: var(--blue-pale-2);
  background: var(--blue-pale);
}
.feature-check {
  width: 22px; height: 22px; flex-shrink: 0;
  background: var(--blue-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 0.65rem;
  margin-top: 2px;
}
.feature-item h4 { font-size: 0.9rem; color: var(--text-dark); margin-bottom: 2px; }
.feature-item p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.55; margin: 0; }

/* ---------- Photo Placeholder ---------- */
.photo-placeholder {
  background: var(--light-grey);
  border: 2px dashed var(--border-grey);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.82rem;
  gap: 8px;
  min-height: 300px;
  text-align: center;
  padding: 24px;
}
.photo-placeholder .ph-icon { font-size: 2.5rem; opacity: 0.35; }
.photo-placeholder .ph-label { font-weight: 600; color: var(--text-muted); font-size: 0.9rem; }
.photo-placeholder .ph-sub { font-size: 0.75rem; color: var(--text-light); line-height: 1.5; }

/* ---------- Real Image — Split Sections ---------- */
.split-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  min-height: 380px;
}
.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.split-img:hover img { transform: scale(1.03); }

/* ---------- Real Image — Gallery Grid ---------- */
/* Responsive video/iframe container */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.video-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.gallery-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}
.gallery-img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-img:hover img { transform: scale(1.05); }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: var(--white);
  font-family: var(--font-sub);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 28px 14px 12px;
  text-transform: uppercase;
}

/* ---------- Project Gallery Carousel ---------- */
.pg-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl, 20px);
  box-shadow: var(--shadow-lg);
  background: var(--text-dark);
  user-select: none;
}
.pg-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.pg-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
@media (max-width: 768px) {
  .pg-slide { grid-template-columns: 1fr; }
  .pg-slide-caption { order: 2; }
  .pg-slide-img { order: 1; min-height: 240px; }
}
.pg-slide-img {
  min-height: 460px;
  overflow: hidden;
}
.pg-slide-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.pg-carousel:hover .pg-slide-img img { transform: scale(1.04); }
.pg-slide-caption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 48px;
  background: var(--text-dark);
}
.pg-slide-tag {
  display: inline-block;
  background: var(--blue-primary);
  color: var(--white);
  font-family: var(--font-sub);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  width: fit-content;
}
.pg-slide-caption h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.25;
}
.pg-slide-caption p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  line-height: 1.7;
}
.pg-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.2s;
  z-index: 10;
  backdrop-filter: blur(4px);
}
.pg-btn:hover { background: rgba(255,255,255,0.3); transform: translateY(-50%) scale(1.1); }
.pg-btn-prev { left: 16px; }
.pg-btn-next { right: 16px; }
.pg-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.pg-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}
.pg-dot.active {
  background: var(--white);
  transform: scale(1.35);
}
@media (max-width: 768px) {
  .pg-slide-caption { padding: 28px 24px; }
  .pg-slide-caption h3 { font-size: 1.15rem; }
  .pg-slide-img { min-height: 240px; }
  .pg-btn { width: 36px; height: 36px; font-size: 0.75rem; }
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--charcoal);
  padding: 20px 0;
}
.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sub);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.trust-item-icon { color: var(--blue-light); font-size: 1rem; }

/* ---------- Process Steps ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 34px; left: 12.5%; right: 12.5%;
  height: 1px;
  background: var(--border-grey);
  z-index: 0;
}
.process-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 0 24px;
  position: relative; z-index: 1;
}
.step-num {
  width: 68px; height: 68px;
  background: var(--white);
  border: 2px solid var(--blue-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue-primary);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.process-step h3 { font-size: 1rem; margin-bottom: 8px; font-family: var(--font-sub); color: var(--text-dark); }
.process-step p { font-size: 0.83rem; color: var(--text-muted); }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 3px; margin-bottom: 14px; }
.testimonial-text {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 22px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 46px; height: 46px;
  background: var(--blue-pale);
  border: 2px solid var(--blue-pale-2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--blue-primary);
  flex-shrink: 0;
}
.testimonial-name { font-family: var(--font-sub); font-weight: 700; font-size: 0.92rem; color: var(--text-dark); }
.testimonial-role { font-size: 0.78rem; color: var(--text-muted); }

/* ---------- CTA Band ---------- */
.cta-band {
  background: linear-gradient(105deg, #081226 0%, #0d2140 50%, #081226 100%);
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(58,189,240,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58,189,240,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.cta-band-content { position: relative; z-index: 2; }
.cta-band h2 {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 14px;
}
.cta-band p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto; margin-right: auto;
}
.cta-band .btn-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Area Tags ---------- */
.area-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; justify-content: center; }
.area-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--white);
  border: 1px solid var(--border-grey);
  color: var(--text-muted);
  font-family: var(--font-sub);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 100px;
  transition: all var(--transition);
}
.area-tag:hover { border-color: var(--blue-primary); color: var(--blue-primary); }

/* ---------- Divider ---------- */
.divider { height: 1px; background: var(--border-grey); margin: 52px 0; }
.divider-sm { height: 1px; background: var(--border-grey); margin: 32px 0; }

/* ---------- Highlight Box ---------- */
.highlight-box {
  background: var(--blue-pale);
  border: 1px solid var(--blue-pale-2);
  border-left: 4px solid var(--blue-primary);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}
.highlight-box h4 { color: var(--blue-dark); margin-bottom: 6px; font-size: 0.9rem; }
.highlight-box p { font-size: 0.88rem; color: var(--text-body); margin: 0; }

/* ---------- Contact Form ---------- */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label {
  font-family: var(--font-sub);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--off-white);
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
  width: 100%;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-light); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(27,111,200,0.1);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit { width: 100%; padding: 16px; font-size: 0.95rem; justify-content: center; }

/* ---------- Blog ---------- */
.blog-card {
  background: var(--white);
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-card-img {
  height: 210px;
  background: var(--light-grey);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-size: 0.82rem;
  flex-direction: column; gap: 6px;
}
.blog-card-body { padding: 26px; }
.blog-meta { display: flex; gap: 14px; font-size: 0.75rem; color: var(--text-light); margin-bottom: 10px; }
.blog-tag {
  display: inline-block;
  background: var(--blue-pale);
  color: var(--blue-primary);
  font-family: var(--font-sub);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.blog-card h3 { font-size: 1.02rem; margin-bottom: 8px; line-height: 1.4; }
.blog-card h3 a { color: var(--text-dark); }
.blog-card h3 a:hover { color: var(--blue-primary); }
.blog-card p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.65; }

/* ---------- Footer ---------- */
#site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.6);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
/* Footer logo — use SVG image */
.footer-logo-mark {
  display: none; /* replaced by .footer-logo-img */
}
.footer-logo-img {
  height: 42px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1); /* white version on dark footer */
}
.footer-logo-mark::after {
  content: '';
  display: none;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  line-height: 1;
}
.footer-logo-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}
.footer-logo-sub {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.86rem;
  margin-bottom: 10px;
}
.footer-contact-icon { color: var(--blue-light); font-size: 0.85rem; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.6); }
.footer-contact-item a:hover { color: var(--blue-light); }

.footer-col h4 {
  font-family: var(--font-sub);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--blue-light); }

.footer-bottom {
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.35); }
.footer-bottom a:hover { color: var(--blue-light); }
.footer-legal { display: flex; gap: 20px; }

/* ---------- Responsive ---------- */

/* ── Video container responsive fix ── */
.video-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.video-container iframe,
.video-container video {
  display: block;
  width: 100%;
  border: none;
}

@media (max-width: 1100px) {
  /* Switch nav to hamburger on tablet — prevents FREE QUOTE overflow */
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 1024px) {
  .card-grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(2,1fr); gap: 40px; }
  .process-steps::before { display: none; }
  .icon-card-grid { grid-template-columns: repeat(3,1fr); }
  /* Tighten split gap on tablet */
  .split-section { gap: 48px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 70px; }
  section { padding: 64px 0; }
  .container { padding: 0 20px; }

  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero h1 { font-size: 2.2rem; }
  .hero-stats { gap: 20px; }

  /* All multi-col card grids → single column */
  .card-grid-2,
  .card-grid-3,
  .card-grid-4 { grid-template-columns: 1fr; }
  .icon-card-grid { grid-template-columns: repeat(2,1fr); }
  .split-section { grid-template-columns: 1fr; gap: 40px; }
  .split-section.reverse { direction: ltr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .process-steps { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  /* Gallery images full-width on mobile */
  .gallery-img img { height: 220px; }
  /* Stats grid: 2 cols on small screens */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.85rem; }
  .btn { padding: 12px 22px; font-size: 0.82rem; }
  .hero-actions { flex-direction: column; }
  .trust-items { gap: 20px; }
  .icon-card-grid { grid-template-columns: 1fr; }
  /* Stack stats to 1 col on very small screens */
  .stats-grid { grid-template-columns: 1fr; }
  /* Gallery single col */
  .gallery-img img { height: 200px; }
}
