/* ============================================
   OSCA COMPLEMENT SERVICES — DESIGN SYSTEM
   Professional, Lively, Responsive
   ============================================ */

:root {
  /* Core Palette */
  --primary: #0b1226;
  --primary-light: #162044;
  --secondary: #57534a;
  --muted: #78716a;
  --accent: #c9971c;
  --accent-light: #e4b43a;
  --accent-text: #8a6410; /* darker gold for TEXT on light surfaces (passes WCAG AA) */
  --accent-glow: rgba(201, 151, 28, 0.12);
  --accent-glow-strong: rgba(201, 151, 28, 0.22);

  /* Extended Palette */
  --blue: #1e3a8a;
  --blue-light: #3b82f6;
  --blue-glow: rgba(59, 130, 246, 0.1);
  --teal: #0f766e;
  --teal-light: #14b8a6;

  /* Surfaces */
  --bg: #fdfcfa;
  --bg-soft: #f7f4ee;
  --bg-muted: #efe9dc;
  --bg-warm: #fbf3de;
  --border: #e6ded0;
  --border-light: #f0ebe0;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(11, 18, 38, 0.04);
  --shadow: 0 4px 24px rgba(11, 18, 38, 0.06);
  --shadow-md: 0 8px 32px rgba(11, 18, 38, 0.08);
  --shadow-lg: 0 16px 48px rgba(11, 18, 38, 0.12);
  --shadow-gold: 0 8px 32px rgba(201, 151, 28, 0.18);
  --shadow-inset: inset 0 2px 4px rgba(11, 18, 38, 0.04);
  --shadow-focus: 0 0 0 3px rgba(201, 151, 28, 0.35);

  /* Radii */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-base: 0.35s var(--ease-out);
  --transition-slow: 0.5s var(--ease-out);

  /* Layout */
  --max-width: 1280px;
  --section-pad: 100px;
  --nav-height: 76px;
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--primary);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

::selection {
  background: var(--accent);
  color: var(--primary);
}

/* Visible keyboard focus everywhere, without disturbing mouse users */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.nav-cta:focus-visible,
.btn:focus-visible,
.btn-small:focus-visible {
  outline-offset: 3px;
  box-shadow: var(--shadow-focus);
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  z-index: 1000;
  transition: var(--transition-base);
}

/*
  The translucent nav background + blur live on a pseudo-element rather
  than on .nav itself. backdrop-filter/filter/transform on an ancestor
  creates a new containing block for position:fixed descendants — since
  .nav-links (the mobile menu) is fixed and lives inside .nav, it was
  being pulled into that same blurred compositing layer instead of
  painting as a solid opaque panel. Isolating the blur on ::before keeps
  .nav-links fully opaque.
*/
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(11, 18, 38, 0.82);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  transition: var(--transition-base);
}

.nav.scrolled::before {
  background: rgba(11, 18, 38, 0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

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

.logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--accent);
  font-weight: 800;
}

.logo-mark {
  flex-shrink: 0;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-light);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-cta {
  padding: 11px 26px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.25), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.nav-cta:hover::before { opacity: 1; }

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition-base);
  transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Menu Overlay */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: #0b1226;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 28px 40px;
    gap: 0;
    transform: translateX(100%);
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.4s var(--ease-out), visibility 0s linear 0.4s, box-shadow 0.4s;
    display: flex;
    box-shadow: none;
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    box-shadow: -8px 0 40px rgba(0,0,0,0.4);
    transition: transform 0.4s var(--ease-out), visibility 0s, box-shadow 0.4s;
  }

  .nav-links li {
    width: 100%;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.35s var(--ease-out);
  }

  .nav-links.open li {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-links.open li:nth-child(1) { transition-delay: 0.08s; }
  .nav-links.open li:nth-child(2) { transition-delay: 0.14s; }
  .nav-links.open li:nth-child(3) { transition-delay: 0.20s; }
  .nav-links.open li:nth-child(4) { transition-delay: 0.26s; }
  .nav-links.open li:nth-child(5) { transition-delay: 0.32s; }

  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    font-size: 17px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: var(--transition-fast);
  }

  .nav-links a::after {
    content: '→';
    font-size: 14px;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s var(--ease-out);
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--accent-light);
    padding-left: 8px;
  }

  .nav-links a:hover::after,
  .nav-links a.active::after {
    opacity: 1;
    transform: translateX(0);
  }

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

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 170px 0 120px;
  background: linear-gradient(135deg, var(--primary) 0%, #13204a 40%, var(--blue) 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Fine grain texture for a less "flat digital gradient" premium feel */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(201,151,28,0.1) 0%, transparent 65%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 20px) scale(1.05); }
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(201,151,28,0.1);
  color: var(--accent-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
  border: 1px solid rgba(201,151,28,0.2);
  backdrop-filter: blur(8px);
}

.hero-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.8px;
  max-width: 720px;
  margin-bottom: 24px;
  color: #fff;
}

.hero h1 span {
  color: var(--accent-light);
  position: relative;
}

.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 540px;
  margin-bottom: 44px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(201,151,28,0.25);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.3), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-outline {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(201,151,28,0.08);
  color: var(--accent-light);
  transform: translateY(-3px);
}

.btn-small {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (hover: hover) and (pointer: fine) {
  .btn-small:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(201,151,28,0.3);
  }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-alt {
  background: var(--bg-warm);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 18px;
  color: var(--primary);
}

.section-header p {
  font-size: 17px;
  color: var(--secondary);
  line-height: 1.7;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 16px;
}

/* Small hairline that gives .section-label an intentional, engineered
   feel rather than a floating caption */
.section-label::before {
  content: '';
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 1px;
}

/* ============================================
   FLIP CARDS — Professional 3D
   ============================================ */
.flip-card {
  perspective: 1200px;
  height: 100%;
  min-height: 440px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s var(--ease-out);
  transform-style: preserve-3d;
}

@media (hover: hover) and (pointer: fine) {
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.flip-card-front {
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .flip-card:hover .flip-card-front {
    box-shadow: var(--shadow-lg);
    border-color: rgba(201,151,28,0.2);
  }
}

.flip-card-back {
  background: linear-gradient(145deg, var(--primary), #1a2d5c 60%, var(--blue));
  color: #fff;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 36px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
}

.flip-card-back::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(201,151,28,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(59,130,246,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.flip-card-back h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--accent-light);
  position: relative;
}

.flip-card-back p {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin-bottom: 28px;
  position: relative;
}

.flip-img {
  width: 100%;
  height: 210px;
  background: linear-gradient(135deg, var(--bg-muted), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.flip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.6s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .flip-card:hover .flip-img img {
    transform: scale(1.08);
  }
}

.flip-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.flip-body h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
}

.flip-body p {
  font-size: 14.5px;
  color: var(--secondary);
  line-height: 1.6;
  flex: 1;
}

.flip-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--accent-glow), var(--blue-glow));
  border: 1px solid rgba(201,151,28,0.1);
}

.flip-icon svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-text);
  transition: gap 0.3s var(--ease-out);
}

.card-link::after {
  content: '→';
  transition: transform 0.3s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .flip-card:hover .card-link {
    gap: 10px;
  }
}

/* Flip hint badge */
.flip-hint {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  background: rgba(11,18,38,0.6);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.9);
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255,255,255,0.1);
}

.flip-hint svg {
  width: 12px;
  height: 12px;
}

/* ============================================
   REGULAR CARDS
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

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

@media (max-width: 640px) {
  .card-grid,
  .card-grid-3,
  .card-grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--blue-light));
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201,151,28,0.25);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--accent-glow), var(--blue-glow));
  border: 1px solid rgba(201,151,28,0.1);
  transition: transform 0.3s var(--ease-spring);
}

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

.card-icon-center {
  margin: 0 auto 16px;
}

@media (hover: hover) and (pointer: fine) {
  .card:hover .card-icon {
    transform: scale(1.1) rotate(-4deg);
  }
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-muted), var(--border));
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  overflow: hidden;
}

.step-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-text);
  margin-bottom: 12px;
}

.contact-card {
  margin-bottom: 18px;
}

.contact-card-last {
  margin-bottom: 0;
}

.contact-card-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--accent-text);
}

.process-step-number {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-text), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.card p {
  font-size: 15px;
  color: var(--secondary);
  line-height: 1.65;
}

/* ============================================
   FEATURE ROWS
   ============================================ */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-muted), var(--border));
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  box-shadow: var(--shadow-md);
}

.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.8s var(--ease-out);
}

.feature-img:hover img {
  transform: scale(1.05);
}

.feature-content h2 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.6px;
  color: var(--primary);
}

.feature-content h2 span {
  color: var(--accent-text);
}

.feature-content p {
  font-size: 16px;
  color: var(--secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--secondary);
  transition: var(--transition-fast);
}

.feature-list li:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.feature-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--primary);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
  box-shadow: 0 2px 8px rgba(201,151,28,0.25);
}

@media (max-width: 900px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .feature-img {
    min-height: 300px;
    order: -1;
  }
  .feature-content h2 {
    font-size: 28px;
  }
}

/* ============================================
   STATS
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201,151,28,0.2);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--blue-light));
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-text), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 14px;
  color: var(--secondary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   LISTING CARDS
   ============================================ */
.listing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-base);
}

.listing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201,151,28,0.2);
}

.listing-img {
  height: 220px;
  background: linear-gradient(135deg, var(--bg-muted), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.listing-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.6s var(--ease-out);
}

.listing-card:hover .listing-img img {
  transform: scale(1.08);
}

.listing-body {
  padding: 24px;
}

.listing-body h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}

.listing-body p {
  font-size: 14px;
  color: var(--secondary);
  margin-bottom: 16px;
  line-height: 1.55;
}

.listing-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.listing-price {
  font-weight: 800;
  color: var(--accent-text);
  font-size: 16px;
}

.listing-tag {
  padding: 5px 12px;
  background: var(--bg-muted);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #13204a 50%, var(--blue) 100%);
  color: #fff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,151,28,0.08) 0%, transparent 65%);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 65%);
  border-radius: 50%;
}

.cta-section h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.5px;
}

.cta-section p {
  font-size: 18px;
  opacity: 0.75;
  max-width: 560px;
  margin: 0 auto 36px;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary);
  color: #94a3b8;
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 18px;
  display: inline-block;
}

.footer-brand p {
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 320px;
  color: #94a3b8;
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: 14.5px;
  color: #94a3b8;
  transition: var(--transition-fast);
  display: inline-block;
}

.footer-col a:hover {
  color: var(--accent-light);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #a8a29e;
}

.credit-link {
  color: #a8a29e;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(148,163,184,0.4);
  transition: var(--transition-fast);
}

.credit-link:hover {
  color: var(--accent-light);
  text-decoration-color: var(--accent-light);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--primary);
  background: var(--bg);
  transition: var(--transition-fast);
}

/* Native <select> dropdown panel: force a light, opaque scheme so the
   OS/browser doesn't render it with dark or transparent system colors
   inherited from a dark ancestor. This is the most common cause of a
   "dropdown menu color not showing properly" complaint. */
.form-group select {
  color-scheme: light;
  background-color: var(--bg);
  color: var(--primary);
}

.form-group select option {
  background-color: var(--bg);
  color: var(--primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

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

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--primary) 0%, #13204a 50%, var(--blue) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,151,28,0.08) 0%, transparent 65%);
  border-radius: 50%;
}

.page-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: #fff;
  position: relative;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  position: relative;
  line-height: 1.6;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
  position: relative;
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--accent-light);
}

/* ============================================
   QUOTE STEPS
   ============================================ */
.quote-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.quote-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: var(--transition-fast);
}

.quote-step.active {
  color: var(--accent-text);
}

.quote-step .step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition-base);
}

.quote-step.active .step-num {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(201,151,28,0.25);
}

.step-line {
  width: 40px;
  height: 2.5px;
  background: var(--border);
  border-radius: 2px;
}

/* ============================================
   ANIMATIONS & UTILITIES
   ============================================ */
.gradient-text {
  background: linear-gradient(135deg, var(--accent-text), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.45s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.55s; opacity: 1; transform: translateY(0); }

/* ============================================
   TRUCK ANIMATION — 3 TRUCKS
   ============================================ */
.truck-scene {
  position: relative;
  width: 100%;
  height: 200px;
  margin-top: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  perspective: 1000px;
}

.truck-road {
  position: absolute;
  bottom: 14px;
  left: -10%;
  right: -10%;
  height: 28px;
  background: linear-gradient(180deg, 
    rgba(25,35,55,0.9) 0%, 
    rgba(15,25,45,0.95) 40%, 
    rgba(10,20,40,1) 100%);
  border-top: 2px solid rgba(201,151,28,0.25);
  border-radius: 4px;
}

.road-lines {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  height: 3px;
  display: flex;
  gap: 50px;
  animation: roadScroll 0.6s linear infinite;
}

.road-line {
  width: 50px;
  height: 3px;
  background: rgba(201,151,28,0.4);
  border-radius: 1px;
  box-shadow: 0 0 6px rgba(201,151,28,0.2);
}

@keyframes roadScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100px); }
}

/* ---- Truck 1: Big (Foreground) ---- */
.truck-shadow-1 {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 340px;
  height: 14px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.45) 0%, transparent 70%);
  animation: shadowMove1 14s linear infinite;
  animation-delay: -3s;
  z-index: 3;
}

@keyframes shadowMove1 {
  0% { left: -380px; }
  100% { left: calc(100% + 60px); }
}

.truck-1 {
  position: absolute;
  bottom: 36px;
  left: -380px;
  animation: truckDrive1 14s linear infinite;
  animation-delay: -3s;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.4));
  z-index: 3;
}

.truck-1 .truck-svg {
  width: 340px;
  height: auto;
  display: block;
}

@keyframes truckDrive1 {
  0% { left: -380px; }
  100% { left: calc(100% + 60px); }
}

/* ---- Truck 2: Medium (Mid-ground) ---- */
.truck-shadow-2 {
  position: absolute;
  bottom: 28px;
  left: 0;
  width: 220px;
  height: 10px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.3) 0%, transparent 70%);
  animation: shadowMove2 10s linear infinite;
  animation-delay: -6s;
  z-index: 2;
}

@keyframes shadowMove2 {
  0% { left: -260px; }
  100% { left: calc(100% + 40px); }
}

.truck-2 {
  position: absolute;
  bottom: 48px;
  left: -260px;
  animation: truckDrive2 10s linear infinite;
  animation-delay: -6s;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.25));
  z-index: 2;
  opacity: 0.85;
}

.truck-2 .truck-svg {
  width: 220px;
  height: auto;
  display: block;
}

@keyframes truckDrive2 {
  0% { left: -260px; }
  100% { left: calc(100% + 40px); }
}

/* ---- Truck 3: Small (Background) ---- */
.truck-shadow-3 {
  position: absolute;
  bottom: 42px;
  left: 0;
  width: 140px;
  height: 8px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.2) 0%, transparent 70%);
  animation: shadowMove3 18s linear infinite;
  animation-delay: -12s;
  z-index: 1;
}

@keyframes shadowMove3 {
  0% { left: -170px; }
  100% { left: calc(100% + 30px); }
}

.truck-3 {
  position: absolute;
  bottom: 58px;
  left: -170px;
  animation: truckDrive3 18s linear infinite;
  animation-delay: -12s;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.15));
  z-index: 1;
  opacity: 0.55;
}

.truck-3 .truck-svg {
  width: 140px;
  height: auto;
  display: block;
}

@keyframes truckDrive3 {
  0% { left: -170px; }
  100% { left: calc(100% + 30px); }
}

/* ---- Shared animations ---- */
.truck-body-group {
  animation: suspensionBounce 0.55s ease-in-out infinite alternate;
}

@keyframes suspensionBounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-2px); }
}

.wheel-spin {
  animation: wheelRotate 0.35s linear infinite;
  transform-origin: center;
}

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

.smoke-particle {
  animation: smokeFloat 1.2s ease-out infinite;
  opacity: 0;
}

.smoke-particle:nth-child(1) { animation-delay: 0s; }
.smoke-particle:nth-child(2) { animation-delay: 0.3s; }
.smoke-particle:nth-child(3) { animation-delay: 0.6s; }
.smoke-particle:nth-child(4) { animation-delay: 0.9s; }

@keyframes smokeFloat {
  0% { opacity: 0.7; transform: translate(0, 0) scale(0.3); }
  30% { opacity: 0.5; transform: translate(-15px, -8px) scale(0.7); }
  70% { opacity: 0.2; transform: translate(-35px, -22px) scale(1.1); }
  100% { opacity: 0; transform: translate(-55px, -35px) scale(1.5); }
}

.headlight-beam {
  animation: beamPulse 2s ease-in-out infinite;
}

@keyframes beamPulse {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.4; }
}

.wind-lines {
  position: absolute;
  top: 30%;
  left: 0;
  right: 0;
  height: 80px;
  overflow: hidden;
  pointer-events: none;
}

.wind-line {
  position: absolute;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  border-radius: 1px;
  animation: windMove 1.2s linear infinite;
}

.wind-line:nth-child(1) { width: 100px; top: 20%; animation-delay: 0s; }
.wind-line:nth-child(2) { width: 150px; top: 45%; animation-delay: 0.4s; }
.wind-line:nth-child(3) { width: 80px; top: 70%; animation-delay: 0.8s; }
.wind-line:nth-child(4) { width: 120px; top: 30%; animation-delay: 0.2s; }
.wind-line:nth-child(5) { width: 90px; top: 55%; animation-delay: 0.6s; }

@keyframes windMove {
  0% { left: -200px; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@media (max-width: 768px) {
  .truck-scene { height: 160px; }
  .truck-1 .truck-svg { width: 260px; }
  .truck-1 { bottom: 30px; }
  .truck-shadow-1 { width: 260px; bottom: 8px; }
  .truck-2 .truck-svg { width: 170px; }
  .truck-2 { bottom: 42px; }
  .truck-shadow-2 { width: 170px; bottom: 24px; }
  .truck-3 .truck-svg { width: 110px; }
  .truck-3 { bottom: 52px; }
  .truck-shadow-3 { width: 110px; bottom: 36px; }
  .truck-road { height: 22px; bottom: 10px; }
  .road-lines { bottom: 20px; }
}

@media (max-width: 480px) {
  .truck-scene { height: 130px; }
  .truck-1 .truck-svg { width: 200px; }
  .truck-1 { bottom: 24px; }
  .truck-shadow-1 { width: 200px; bottom: 6px; }
  .truck-2 .truck-svg { width: 130px; }
  .truck-2 { bottom: 34px; }
  .truck-shadow-2 { width: 130px; bottom: 18px; }
  .truck-3 .truck-svg { width: 85px; }
  .truck-3 { bottom: 44px; }
  .truck-shadow-3 { width: 85px; bottom: 30px; }
}

/* ============================================
   MOBILE FLIP CARDS
   ============================================ */
@media (max-width: 900px) {
  .flip-card {
    min-height: 400px;
  }

  .flip-card:hover .flip-card-inner {
    transform: none;
  }

  .flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
  }
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 900px) {
  :root {
    --section-pad: 70px;
    --nav-height: 70px;
  }

  .hero {
    padding: 140px 0 80px;
    min-height: auto;
  }

  .hero h1 {
    letter-spacing: -1px;
  }

  .page-hero {
    padding: 130px 0 60px;
  }

  .cta-section {
    padding: 70px 0;
  }
}

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

  .hero {
    padding: 120px 0 60px;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .hero-btns .btn {
    width: 100%;
  }

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

  .section-header {
    margin-bottom: 44px;
  }

  .feature-content h2 {
    font-size: 26px;
  }

  .stat-number {
    font-size: 40px;
  }

  .card {
    padding: 28px;
  }

  .flip-body {
    padding: 22px;
  }

  .quote-steps {
    gap: 12px;
  }

  .step-line {
    width: 24px;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .stagger-children > * {
    opacity: 1;
    transform: none;
  }
}


/* ============================================
   SKIP LINK (keyboard / screen-reader users)
   ============================================ */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--accent);
  color: var(--primary);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  z-index: 2000;
  transition: top 0.2s var(--ease-out);
}

.skip-link:focus {
  top: 12px;
}

/* ============================================
   IMAGE PLACEHOLDERS
   When a photo is missing, its <img> removes itself and the box shows
   a branded gradient with a faint logo mark instead of broken-image
   icons or bracketed placeholder text. Real photos cover this.
   ============================================ */
.flip-img,
.listing-img,
.feature-img {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='14' fill='none' stroke='%23c9971c' stroke-width='1.8' opacity='.35'/%3E%3Cpath d='M16,2 A14,14 0 0,1 16,30 A7,7 0 0,1 16,16 A7,7 0 0,0 16,2 Z' fill='%23c9971c' opacity='.35'/%3E%3C/svg%3E"),
    linear-gradient(135deg, var(--bg-muted), var(--border));
  background-repeat: no-repeat;
  background-position: center;
  background-size: 64px, cover;
}

.team-avatar {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='14' fill='none' stroke='%23c9971c' stroke-width='1.8' opacity='.35'/%3E%3Cpath d='M16,2 A14,14 0 0,1 16,30 A7,7 0 0,1 16,16 A7,7 0 0,0 16,2 Z' fill='%23c9971c' opacity='.35'/%3E%3C/svg%3E"),
    linear-gradient(135deg, var(--bg-muted), var(--border));
  background-repeat: no-repeat;
  background-position: center;
  background-size: 34px, cover;
}

/* ============================================
   NAV — room for six links on mid-size screens
   ============================================ */
@media (min-width: 901px) and (max-width: 1100px) {
  .nav-links { gap: 22px; }
}
@media (max-width: 900px) {
  .nav-links.open li:nth-child(6) { transition-delay: 0.38s; }
}

/* ============================================
   UTILITIES
   ============================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.hero-cta-row { margin-top: 28px; position: relative; }
.page-hero .hero-cta-row .btn { color: var(--primary); }
.btn-wa { background: #1fa855; color: #fff; box-shadow: 0 4px 16px rgba(31,168,85,0.25); }

/* ============================================
   PRODUCT CATALOG
   ============================================ */
.catalog-controls {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  justify-content: space-between; margin-bottom: 20px;
}
.catalog-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab, .chip {
  font: inherit; cursor: pointer; border: 1px solid var(--border); background: var(--bg);
  color: var(--secondary); transition: var(--transition-fast);
}
.tab {
  padding: 11px 20px; border-radius: var(--radius-full); font-size: 14px; font-weight: 700;
}
.chip {
  padding: 7px 15px; border-radius: var(--radius-full); font-size: 13px; font-weight: 600;
}
.tab.active, .chip.active {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
@media (hover: hover) and (pointer: fine) {
  .tab:not(.active):hover, .chip:not(.active):hover { border-color: var(--accent); color: var(--primary); }
}
.catalog-search input {
  width: min(360px, 100%); padding: 12px 18px; border: 2px solid var(--border);
  border-radius: var(--radius-full); font: inherit; font-size: 15px; background: var(--bg); color: var(--primary);
}
.catalog-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }
.catalog-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.catalog-meta { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.catalog-cat {
  font-size: 15px; font-weight: 800; letter-spacing: 0.4px; color: var(--primary);
  margin: 28px 0 10px; padding-bottom: 8px; border-bottom: 2px solid var(--accent-glow-strong);
}
.catalog-cat:first-child { margin-top: 8px; }
.product-row {
  display: grid; grid-template-columns: 1fr auto auto auto; gap: 18px; align-items: center;
  padding: 14px 18px; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); margin-bottom: 8px; transition: var(--transition-fast);
}
@media (hover: hover) and (pointer: fine) {
  .product-row:hover { border-color: rgba(201,151,28,0.35); box-shadow: var(--shadow); }
}
.product-row.is-out { opacity: 0.6; }
.product-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.product-name { font-weight: 700; font-size: 15px; color: var(--primary); }
.product-sold { font-size: 12.5px; color: var(--muted); }
.product-price { text-align: right; min-width: 120px; font-size: 15px; color: var(--primary); }
.product-price strong { font-weight: 800; color: var(--accent-text); }
.product-price small { color: var(--muted); font-size: 12px; }
.price-request { font-size: 13px; color: var(--muted); font-weight: 600; }
.badge {
  font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-full);
  white-space: nowrap;
}
.badge.available { background: #e7f6ec; color: #15753a; }
.badge.limited { background: #fff4d6; color: #8a5a00; }
.badge.out { background: #eee; color: #666; }
.btn-add {
  font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap;
  padding: 9px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--accent);
  background: transparent; color: var(--primary); transition: var(--transition-fast);
}
.btn-add.on { background: var(--accent); color: var(--primary); }
.btn-add:disabled { cursor: not-allowed; border-color: var(--border); color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .btn-add:not(:disabled):hover { background: var(--accent-glow-strong); }
  .btn-add.on:hover { background: var(--accent-light); }
}
.catalog-empty {
  text-align: center; padding: 40px 20px; color: var(--secondary); background: var(--bg-warm);
  border-radius: var(--radius-md);
}
.catalog-note { font-size: 13px; color: var(--muted); margin-top: 22px; line-height: 1.6; }

@media (max-width: 700px) {
  .product-row { grid-template-columns: 1fr auto; gap: 8px 12px; padding: 14px; }
  .product-price { text-align: left; min-width: 0; grid-column: 1; }
  .badge { grid-column: 2; grid-row: 1; justify-self: end; }
  .btn-add { grid-column: 1 / -1; width: 100%; padding: 11px; }
}

/* sticky quote bar */
.quote-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  background: var(--primary); color: #fff; padding: 14px 0;
  box-shadow: 0 -8px 30px rgba(0,0,0,0.25); border-top: 2px solid var(--accent);
}
.quote-bar[hidden] { display: none; }
.quote-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.quote-bar-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.quote-bar .btn { padding: 11px 22px; font-size: 14px; }
.quote-bar-clear {
  font: inherit; font-size: 13px; background: none; border: none; color: rgba(255,255,255,0.7);
  cursor: pointer; text-decoration: underline; padding: 8px;
}
@media (max-width: 600px) {
  /* Phone layout: count + Clear on the first row, the two actions side by side below */
  .quote-bar { padding: 10px 0 max(10px, env(safe-area-inset-bottom)); }
  .quote-bar-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; align-items: center; text-align: left; }
  .quote-bar-actions { display: contents; }
  #quoteBarCount { grid-column: 1; grid-row: 1; font-size: 14px; font-weight: 600; }
  .quote-bar-clear { grid-column: 2; grid-row: 1; justify-self: end; padding: 4px 2px; font-size: 13px; }
  .quote-bar .btn { grid-row: 2; width: 100%; align-self: stretch; min-height: 46px; padding: 10px 6px; font-size: 13px; line-height: 1.2; text-align: center; white-space: normal; }
  #quoteBarWa { grid-column: 1; }
  #quoteBarWa + .btn { grid-column: 2; }
  #quoteBarWa[hidden] + .btn { grid-column: 1 / -1; }
  body.has-quote-bar { padding-bottom: 112px; }
}

/* quote page: selected items */
.quote-items {
  background: var(--bg-warm); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 22px 24px; margin-bottom: 32px;
}
.quote-items[hidden] { display: none; }
.quote-items h3 { font-size: 16px; margin-bottom: 12px; }
.quote-items ul { list-style: none; }
.quote-items li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14.5px;
}
.quote-items li:last-child { border-bottom: 0; }
.quote-remove {
  font: inherit; font-size: 13px; background: none; border: none; color: var(--accent-text);
  cursor: pointer; font-weight: 700; padding: 4px 8px;
}
.quote-add-more { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--accent-text); }

/* real estate listings */
.property-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.property-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: var(--transition-base);
}
.property-card.is-sold { opacity: 0.65; }
@media (hover: hover) and (pointer: fine) {
  .property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(201,151,28,0.25); }
}
.property-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.property-card h3 { font-size: 18px; line-height: 1.3; }
.property-meta { font-size: 13.5px; color: var(--muted); }
.property-details { font-size: 14.5px; color: var(--secondary); line-height: 1.6; flex: 1; }
.property-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--border); }
.property-price { color: var(--accent-text); font-size: 18px; font-weight: 800; }

/* ============================================
   CATEGORY PICTURE GRID (e-commerce style)
   ============================================ */
[hidden] { display: none !important; }

.cat-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px;
}
.cat-tile {
  display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden; transition: var(--transition-base);
}
.cat-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-muted); }
.cat-fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--accent); background: linear-gradient(135deg, var(--bg-warm), var(--bg-muted));
}
.cat-fallback svg { width: 58px; height: 58px; opacity: 0.85; }
.cat-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.cat-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 2px; }
.cat-name { font-weight: 700; font-size: 15.5px; line-height: 1.3; color: var(--primary); }
.cat-count { font-size: 12.5px; color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .cat-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(201,151,28,0.35); }
  .cat-tile:hover .cat-media img { transform: scale(1.06); }
}
@media (max-width: 520px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cat-body { padding: 11px 12px 13px; }
  .cat-name { font-size: 14px; }
  .cat-fallback svg { width: 44px; height: 44px; }
}

.catalog-crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 14px;
}
.crumb-back { color: var(--accent-text); font-weight: 700; }
.crumb-sep { color: var(--muted); }
.crumb-now { color: var(--primary); font-weight: 700; }
.catalog-viewall { color: var(--accent-text); font-weight: 700; }

/* ============================================
   CONTACT LINKS, MAP, FLOATING WHATSAPP
   ============================================ */
.btn-wa { background: #15803d; box-shadow: 0 4px 16px rgba(21,128,61,0.25); }
.btn-outline-dark {
  background: transparent; color: var(--primary); border: 1.5px solid var(--border);
}
@media (hover: hover) and (pointer: fine) {
  .btn-outline-dark:hover { border-color: var(--accent); background: var(--accent-glow); transform: translateY(-3px); }
}
.contact-link { color: var(--accent-text); font-weight: 700; }
.contact-actions { margin-top: 10px; font-size: 14px; }
@media (hover: hover) and (pointer: fine) { .contact-link:hover { text-decoration: underline; } }
.form-alt { text-align: center; font-size: 14px; color: var(--secondary); margin-top: 10px; }
.form-alt a { color: var(--accent-text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.map-embed {
  aspect-ratio: 16 / 7; min-height: 300px; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--border); background: var(--bg-muted);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 24px; }
@media (max-width: 640px) { .map-embed { aspect-ratio: 4 / 3; } }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 850; display: flex; align-items: center; gap: 8px;
  background: #15803d; color: #fff; padding: 13px 20px; border-radius: var(--radius-full);
  font-weight: 700; font-size: 14px; box-shadow: 0 8px 28px rgba(21,128,61,0.4); transition: var(--transition-base);
}
.wa-float svg { width: 22px; height: 22px; flex-shrink: 0; }
@media (hover: hover) and (pointer: fine) { .wa-float:hover { transform: translateY(-3px); box-shadow: 0 12px 34px rgba(21,128,61,0.5); } }
body.has-quote-bar .wa-float { bottom: 92px; }
@media (max-width: 600px) {
  .wa-float { right: 14px; bottom: 14px; padding: 14px; }
  .wa-float-label { display: none; }
  body.has-quote-bar .wa-float { bottom: 120px; }
}

/* ============================================
   PRODUCT CARDS (own photo: images/products/<SKU>.jpg)
   ============================================ */
.catalog-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.view-toggle { display: inline-flex; border: 1px solid var(--border); border-radius: var(--radius-full); overflow: hidden; background: var(--bg); }
.vt { font: inherit; font-size: 13px; font-weight: 700; padding: 8px 18px; border: 0; background: transparent; color: var(--secondary); cursor: pointer; }
.vt.active { background: var(--primary); color: #fff; }
.print-btn {
  font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; padding: 9px 18px; border-radius: var(--radius-full);
  border: 1.5px solid var(--border); background: var(--bg); color: var(--primary); transition: var(--transition-fast);
}
@media (hover: hover) and (pointer: fine) { .print-btn:hover { border-color: var(--accent); } }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; margin-bottom: 8px; }
.product-card {
  display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden; transition: var(--transition-base);
}
.product-card.is-out { opacity: 0.65; }
.pc-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-muted); }
.pc-art {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bg-warm), var(--bg-muted));
}
.pc-art svg { width: 52px; height: 52px; opacity: 0.8; }
.pc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.pc-media .badge { position: absolute; top: 10px; left: 10px; z-index: 2; box-shadow: var(--shadow-sm); }
.pc-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pc-name { font-size: 15px; line-height: 1.3; font-weight: 700; color: var(--primary); }
.pc-body .product-price { text-align: left; min-width: 0; margin-top: 4px; }
.pc-body .btn-add { margin-top: auto; width: 100%; padding: 10px; }
.pc-body .product-sold { margin-bottom: 2px; }
@media (hover: hover) and (pointer: fine) {
  .product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(201,151,28,0.3); }
  .product-card:hover .pc-media img { transform: scale(1.05); }
}
@media (max-width: 520px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pc-body { padding: 11px 11px 13px; }
  .pc-name { font-size: 14px; }
  .pc-art svg { width: 42px; height: 42px; }
}

/* ============================================
   HOMEPAGE HERO SEARCH
   ============================================ */
.hero-search {
  display: flex; gap: 10px; max-width: 540px; margin: 0 0 22px; padding: 6px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-full); backdrop-filter: blur(8px);
}
.hero-search input {
  flex: 1; min-width: 0; font: inherit; font-size: 15px; color: #fff; background: transparent;
  border: 0; padding: 10px 16px; outline: none;
}
.hero-search input::placeholder { color: rgba(255,255,255,0.6); }
.hero-search:focus-within { border-color: var(--accent-light); box-shadow: 0 0 0 4px rgba(228,180,58,0.2); }
.hero-search .btn { padding: 11px 24px; font-size: 14px; border-radius: var(--radius-full); }
@media (max-width: 480px) { .hero-search .btn { padding: 11px 16px; } }

/* ============================================
   PRINT (price list as a clean PDF)
   ============================================ */
.print-only { display: none; }
@media print {
  .nav, .footer, .page-hero, .cta-section, .quote-bar, .wa-float, .bot, .skip-link, .catalog-controls, .catalog-chips,
  .catalog-crumbs, .catalog-tools, .catalog-meta, .catalog-note, .section-header { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section { padding: 0 !important; }
  .container { max-width: 100%; padding: 0; }
  .print-only { display: flex !important; flex-direction: column; gap: 4px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid #000; font-size: 10pt; }
  .print-only strong { font-size: 15pt; }
  .catalog-cat { margin: 14px 0 4px; font-size: 11pt; border-bottom: 1px solid #999; break-after: avoid; }
  .product-row { grid-template-columns: 1fr auto; padding: 4px 0; border: 0; border-bottom: 1px dotted #bbb; border-radius: 0; margin: 0; break-inside: avoid; }
  .product-row .badge, .product-row .btn-add { display: none; }
  .product-price strong { color: #000; }
}

/* ============================================
   OSCA ASSISTANT (site-wide chat guide)
   ============================================ */
.bot { position: fixed; right: 20px; bottom: 20px; z-index: 880; font-family: inherit; }
body.has-quote-bar .bot { bottom: 92px; }

.bot-launcher {
  display: flex; align-items: center; gap: 10px; cursor: pointer; border: 1.5px solid var(--accent);
  background: var(--primary); color: #fff; padding: 9px 20px 9px 10px; border-radius: var(--radius-full);
  font: inherit; font-size: 14px; font-weight: 700; box-shadow: 0 10px 32px rgba(11,18,38,0.35);
  transition: var(--transition-base); position: relative;
}
.bot-launcher::after {
  content: ''; position: absolute; inset: -5px; border-radius: inherit; border: 2px solid var(--accent);
  opacity: 0; animation: botPulse 3.2s ease-out 1.5s 3;
}
@keyframes botPulse { 0% { opacity: 0.55; transform: scale(0.96); } 100% { opacity: 0; transform: scale(1.12); } }
.bot-launcher-ico { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(228,180,58,0.14); }
.bot-launcher-ico svg { width: 26px; height: 26px; }
@media (hover: hover) and (pointer: fine) { .bot-launcher:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(11,18,38,0.45); } }
.bot.open { z-index: 1200; }
.bot.open .bot-launcher { display: none; }

.bot-nudge {
  position: absolute; right: 0; bottom: 66px; width: max-content; max-width: 250px; display: flex; align-items: flex-start;
  background: #fff; border: 1px solid var(--border); border-radius: 16px 16px 4px 16px; box-shadow: var(--shadow-lg);
  animation: botIn 0.35s var(--ease-out);
}
.bot-nudge[hidden] { display: none; }
.bot-nudge-text { font: inherit; font-size: 13.5px; line-height: 1.45; text-align: left; color: var(--primary); background: none; border: 0; cursor: pointer; padding: 12px 6px 12px 14px; }
.bot-nudge-x { background: none; border: 0; cursor: pointer; color: var(--muted); padding: 8px; }
.bot-nudge-x svg { width: 12px; height: 12px; display: block; }
@keyframes botIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.bot-panel {
  position: absolute; right: 0; bottom: 0; width: 392px; max-width: calc(100vw - 28px); height: 580px; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px);
  display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--border); border-radius: 20px;
  box-shadow: 0 24px 70px rgba(11,18,38,0.35); overflow: hidden; animation: botIn 0.3s var(--ease-out);
}
.bot-panel[hidden] { display: none; }
.bot-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 16px; background: linear-gradient(135deg, var(--primary), #1a2d5c); color: #fff; }
.bot-avatar { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: rgba(228,180,58,0.15); border: 1px solid rgba(228,180,58,0.4); }
.bot-avatar svg { width: 28px; height: 28px; }
.bot-title { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; flex: 1; }
.bot-title strong { font-size: 15px; }
.bot-title span { font-size: 11.5px; color: rgba(255,255,255,0.72); }
.bot-human {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--primary);
  background: var(--accent-light); padding: 7px 11px; border-radius: var(--radius-full); white-space: nowrap;
}
.bot-human svg { width: 14px; height: 14px; }
.bot-close { background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; border-radius: 8px; }
.bot-close svg { width: 18px; height: 18px; display: block; }

.bot-log { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); scroll-behavior: smooth; }
.bot-msg { display: flex; animation: botIn 0.25s var(--ease-out); }
.bot-msg.user { justify-content: flex-end; }
.bot-msg .bubble { max-width: 86%; padding: 10px 14px; font-size: 14.5px; line-height: 1.5; border-radius: 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
.bot-msg.from-bot .bubble { background: #fff; border: 1px solid var(--border); color: var(--primary); border-bottom-left-radius: 4px; }
.bot-msg.user .bubble { background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.bot-msg.typing .bubble { display: flex; gap: 5px; padding: 14px 16px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: botDot 1.1s infinite ease-in-out; }
.dot:nth-child(2) { animation-delay: 0.15s; } .dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes botDot { 0%, 60%, 100% { opacity: 0.3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

.bot-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.bot-chip, .bot-btn {
  font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; padding: 8px 14px; border-radius: var(--radius-full);
  border: 1.5px solid var(--accent-text); background: #fff; color: var(--accent-text); text-align: center; text-decoration: none; transition: var(--transition-fast);
}
@media (hover: hover) and (pointer: fine) { .bot-chip:hover, .bot-btn:hover { background: var(--accent-text); color: #fff; } }
.bot-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px; width: 100%; }
.bot-card-title { display: block; font-size: 14.5px; margin-bottom: 6px; color: var(--primary); }
.bot-card ul { list-style: none; margin: 0 0 10px; }
.bot-card li { font-size: 13.5px; color: var(--secondary); padding: 3px 0 3px 14px; position: relative; line-height: 1.45; overflow-wrap: anywhere; }
.bot-card li::before { content: ''; position: absolute; left: 0; top: 0.8em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.bot-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.bot-prods { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.bot-prod { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; }
.bot-prod-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.bot-prod-info strong { font-size: 13.5px; color: var(--primary); line-height: 1.3; }
.bot-prod-info span { font-size: 12px; color: var(--secondary); }
.bot-add { font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; padding: 7px 11px; border-radius: 9px; border: 1.5px solid var(--accent); background: transparent; color: var(--primary); white-space: nowrap; }
.bot-add.on { background: var(--accent); }
.bot-add:disabled { cursor: not-allowed; color: var(--muted); border-color: var(--border); }
.bot-more { font-size: 13px; font-weight: 700; color: var(--accent-text); padding: 2px 4px; }

.bot-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--border); background: #fff; }
.bot-form input { flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-full); color: var(--primary); background: var(--bg); }
.bot-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.bot-send { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--primary); color: var(--accent-light); cursor: pointer; display: grid; place-items: center; flex-shrink: 0; }
.bot-send svg { width: 18px; height: 18px; }
.bot-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 11px; color: var(--muted); padding: 0 14px 10px; background: #fff; }
.bot-clear { flex-shrink: 0; font: inherit; font-size: 12px; font-weight: 600; color: var(--accent-dark, #8a6410); background: none; border: 1px solid currentColor; border-radius: 999px; padding: 4px 11px; cursor: pointer; }
.bot-clear:hover, .bot-clear:focus-visible { background: rgba(201,151,28,0.12); }

@media (max-width: 600px) {
  .bot { right: 14px; bottom: 14px; }
  body.has-quote-bar .bot { bottom: 120px; }
  .bot-launcher { padding: 9px; }
  .bot-launcher-label { display: none; }
  .bot.open { right: 0; bottom: 0; left: 0; top: 0; }
  .bot-panel { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none; border-radius: 0; border: 0; }
  .bot-head { padding-top: max(14px, env(safe-area-inset-top)); }
  .bot-form { padding-bottom: 10px; }
  .bot-foot { padding-bottom: max(9px, env(safe-area-inset-bottom)); }
  .bot-form input { font-size: 16px; }
  .bot-title strong, .bot-title span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bot-human span { display: none; }
  .bot-human { padding: 9px; }
  .bot-human svg { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) { .bot-launcher::after { animation: none; } }


/* ---- Layout safety (added): grid/flex children may shrink, form fields never exceed their column ---- */
.form-group, .form-row > *, .feature-content, .feature-grid > *, .contact-grid > * { min-width: 0; }
input, select, textarea { max-width: 100%; }
.feature-row > *, .feature-row > * > * { min-width: 0; }
@media (min-width: 901px) { .feature-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 900px) { .feature-row { grid-template-columns: minmax(0, 1fr); } }
.map-embed { width: 100%; max-width: 100%; min-width: 0; }
@media (max-width: 640px) { .map-embed { min-height: 0; } }
.contact-link { overflow-wrap: anywhere; min-width: 0; }

/* Homepage hero: content can never be wider than the screen */
.hero-inner { min-width: 0; width: 100%; max-width: 100%; }
.hero-search { width: 100%; max-width: min(540px, 100%); box-sizing: border-box; }
.hero-search input { min-width: 0; width: 100%; }
.hero-search .btn { flex-shrink: 0; }
@media (max-width: 480px) {
  .hero-search { gap: 6px; }
  .hero-search input { padding: 10px 12px; font-size: 14px; text-overflow: ellipsis; }
}

@media (max-width: 340px) {
  .nav-inner .logo { font-size: 19px; gap: 6px; }
  .nav-inner .logo svg { width: 26px; height: 26px; }
}

/* Decorative glows must never sit on top of (or swallow taps for) the content */
.cta-section::before, .cta-section::after, .hero::before, .hero::after, .page-hero::before, .page-hero::after { pointer-events: none; }
.cta-section > .container { position: relative; z-index: 1; }

/* Chat header: clear-conversation button (tap once to arm, again to confirm) */
.bot-clear-top { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; font: inherit; font-size: 12px; font-weight: 600; color: #fff; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.28); border-radius: 999px; padding: 7px 11px; cursor: pointer; }
.bot-clear-top:hover, .bot-clear-top:focus-visible { background: rgba(255,255,255,0.22); }
.bot-clear-top.confirm { background: #b3261e; border-color: #b3261e; }
@media (max-width: 480px) {
  .bot-head { gap: 8px; padding-left: 12px; padding-right: 8px; }
  .bot-clear-top:not(.confirm) span { display: none; }
  .bot-clear-top:not(.confirm) { padding: 9px; }
  .bot-title span { display: none; }
}
@media (max-width: 400px) { .bot-avatar { display: none; } .bot-title { min-width: 0; flex: 1; } }

/* Homepage divisions: 8 cards, last row centred on desktop */
.units-grid { grid-template-columns: repeat(6, 1fr); }
.units-grid > .flip-card { grid-column: span 2; min-width: 0; }
.units-grid > .flip-card:nth-last-child(2) { grid-column: 2 / span 2; }
@media (max-width: 900px) {
  .units-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .units-grid > .flip-card, .units-grid > .flip-card:nth-last-child(2) { grid-column: auto; }
}
@media (max-width: 640px) { .units-grid { grid-template-columns: minmax(0, 1fr); } }

/* About: founder / CEO feature */
.founder { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 56px; align-items: center; max-width: 920px; margin: 0 auto; }
.founder-photo { border-radius: var(--radius-lg, 20px); overflow: hidden; box-shadow: 0 20px 50px rgba(11,18,38,0.18); border: 1px solid var(--border, #e8e1d4); background: var(--bg-muted, #f1ece2); }
.founder-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 12%; }
.founder-text h3 { font-size: 28px; line-height: 1.2; margin: 6px 0 14px; }
.founder-text p { color: var(--muted, #5b5648); line-height: 1.75; margin-bottom: 22px; }
@media (max-width: 800px) {
  .founder { grid-template-columns: minmax(0, 1fr); gap: 28px; text-align: center; }
  .founder-photo { max-width: 300px; margin: 0 auto; }
}

.founder-origin { font-size: 14px; font-weight: 600; color: var(--gold-dark, #8a6a12); margin: -6px 0 16px !important; letter-spacing: 0.02em; }

/* Reveal animation: every child shows, however many there are (the first six keep their staggered delays) */
.stagger-children.visible > * { opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(n+7) { transition-delay: 0.6s; }

/* Projects: status badges + filter */
.listing-price.completed { color: #12803d; background: #e5f5ea; border-radius: 99px; padding: 3px 10px; font-size: 12px; font-weight: 700; }
.listing-price.ongoing { color: #8a6a0e; background: #fff1c9; border-radius: 99px; padding: 3px 10px; font-size: 12px; font-weight: 700; }
.proj-filter { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 0 0 26px; }
.proj-filter button { font: inherit; font-weight: 600; font-size: 14px; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border, #e7e1d2); background: #fff; color: var(--text, #171a26); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.proj-filter button:hover { border-color: #c99a1f; }
.proj-filter button.on { background: #0b1226; color: #fff; border-color: #0b1226; }
.listing-card.is-hidden { display: none; }
.proj-empty { grid-column: 1 / -1; text-align: center; color: #6a6a73; padding: 30px 10px; }

/* ============================================
   STAFF LOGIN (nav + footer)
   ============================================ */
.nav-links .nav-staff a { display: inline-flex; align-items: center; gap: 8px; }
.nav-links .nav-staff a::after { display: none; }
.nav-links .nav-staff .staff-ico { flex-shrink: 0; }

/* Desktop: a small lock button at the end of the menu */
@media (min-width: 901px) {
  .nav-links .nav-staff a {
    width: 36px; height: 36px; justify-content: center; padding: 0;
    border: 1px solid rgba(255,255,255,0.18); border-radius: 50%;
    color: rgba(255,255,255,0.65);
  }
  .nav-links .nav-staff a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-links .nav-staff a:hover, .nav-links .nav-staff a:focus-visible { color: var(--accent-light); border-color: var(--accent); }
}

/* Mobile: a clear gold-outlined button below Contact */
@media (max-width: 900px) {
  .nav-links.open li:nth-child(7) { transition-delay: 0.44s; }
  .nav-links li.nav-staff { margin-top: 28px; }
  .nav-links .nav-staff a {
    display: flex; justify-content: center; gap: 10px; width: 100%;
    padding: 15px 18px; font-size: 16px; font-weight: 600;
    color: var(--accent-light);
    background: rgba(226,177,58,0.08);
    border: 1px solid rgba(226,177,58,0.45); border-radius: 12px;
  }
  .nav-links .nav-staff a:hover, .nav-links .nav-staff a:active { padding-left: 18px; background: rgba(226,177,58,0.16); }
  .nav-links .nav-staff .staff-ico { width: 18px; height: 18px; }
}

/* ============================================
   HOME HERO — laptop & desktop: headline, search and buttons on top,
   the truck animation along the bottom at a larger size, all within the first screen
   ============================================ */
@media (min-width: 901px) {
  .hero { min-height: 100vh; min-height: 100svh; padding: 98px 0 18px; align-items: stretch; }
  .hero-inner { display: flex; flex-direction: column; align-self: stretch; max-width: var(--max-width); margin-left: auto; margin-right: auto; }
  .hero-label { align-self: flex-start; margin-bottom: 14px; padding: 7px 18px; }
  .hero h1 { font-size: clamp(34px, min(4vw, 6.6vh), 62px); max-width: 960px; margin-bottom: 12px; letter-spacing: -1.4px; }
  .hero p { font-size: 16.5px; line-height: 1.6; max-width: 600px; margin-bottom: 16px; }
  .hero-search { margin-bottom: 12px; }
  .hero-btns .btn { padding: 13px 30px; }
  .truck-scene { order: 10; margin: auto 0 0; padding-top: 8px; height: clamp(205px, 29vh, 330px); flex-shrink: 0; }

  .truck-1 .truck-svg { width: 420px; }
  .truck-shadow-1 { width: 420px; }
  .truck-2 .truck-svg { width: 250px; }
  .truck-shadow-2 { width: 250px; }
  .truck-3 .truck-svg { width: 160px; }
  .truck-shadow-3 { width: 160px; }
  .truck-1, .truck-shadow-1 { animation-name: truckDrive1L; }
  .truck-shadow-1 { animation-name: shadowMove1L; }
}
@keyframes truckDrive1L { 0% { left: -470px; } 100% { left: calc(100% + 60px); } }
@keyframes shadowMove1L { 0% { left: -470px; } 100% { left: calc(100% + 60px); } }

@media (min-width: 1500px) {
  .truck-1 .truck-svg { width: 540px; }
  .truck-shadow-1 { width: 540px; }
  .truck-2 .truck-svg { width: 320px; }
  .truck-shadow-2 { width: 320px; }
  .truck-3 .truck-svg { width: 200px; }
  .truck-shadow-3 { width: 200px; }
  .truck-1 { animation-name: truckDrive1XL; }
  .truck-shadow-1 { animation-name: shadowMove1XL; }
  .truck-2 { animation-name: truckDrive2XL; }
  .truck-shadow-2 { animation-name: shadowMove2XL; }
  .truck-scene { height: clamp(260px, 32vh, 380px); }
}
@keyframes truckDrive1XL { 0% { left: -600px; } 100% { left: calc(100% + 60px); } }
@keyframes shadowMove1XL { 0% { left: -600px; } 100% { left: calc(100% + 60px); } }
@keyframes truckDrive2XL { 0% { left: -340px; } 100% { left: calc(100% + 40px); } }
@keyframes shadowMove2XL { 0% { left: -340px; } 100% { left: calc(100% + 40px); } }

/* The road runs the full width of the screen */
@media (min-width: 901px) {
  .hero .truck-scene { width: 100vw; margin-left: calc(50% - 50vw); }
}

/* ---- Site photo gallery, lightbox and truck video (added) ---- */
.site-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 901px) { .site-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.site-gallery figure { margin: 0; }
.site-gallery button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 14px; overflow: hidden; position: relative; aspect-ratio: 3 / 2; box-shadow: var(--shadow-sm, 0 2px 8px rgba(11,18,38,.08)); }
.site-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.site-gallery button:hover img { transform: scale(1.05); }
.site-gallery figcaption { font-size: 13px; color: var(--muted, #5b6173); margin-top: 8px; line-height: 1.4; }
.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(8,12,26,.92); display: none; align-items: center; justify-content: center; padding: 18px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 10px; }
.lightbox-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.video-frame { width: 100%; max-width: 340px; margin: 0 auto; border-radius: 18px; overflow: hidden; background: #0b1226; box-shadow: var(--shadow-lg, 0 18px 40px rgba(11,18,38,.25)); }
.video-frame video { display: block; width: 100%; height: auto; max-height: 78vh; background: #0b1226; }
.portrait-img { width: 100%; max-width: 380px; margin: 0 auto; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg, 0 18px 40px rgba(11,18,38,.25)); }
.portrait-img img { display: block; width: 100%; height: auto; }
.media-col { display: flex; align-items: center; justify-content: center; }
