/* =============================================
   WasteX Environmental — Main Stylesheet
   Brand: charcoal base, WasteX red action color,
   wave blue secondary, brushed-silver neutrals.
   Display type: Rajdhani. Body: Inter.
   ============================================= */

:root {
  /* WasteX brand palette (Original Colors brand reference, Nov 2026) */
  --brand-silver: #B9BDC2;
  --brand-red: #E50914;
  --brand-blue: #009BED;
  --brand-charcoal: #151A20;

  --ink: #151A20;              /* charcoal — navbar, heros, footer */
  --ink-2: #1F262E;            /* raised charcoal surface */
  --primary: #0A6EBD;          /* brand blue, deepened for AA text contrast on white */
  --primary-dark: #08568F;
  --primary-light: #E6F4FD;
  --accent: #E50914;           /* WasteX red — primary calls to action */
  --accent-dark: #B5070F;
  --accent-light: #FDE8E9;
  --steel: #3A4048;
  --text-dark: #151A20;
  --text-body: #374151;
  --text-muted: #6b7280;
  --bg-light: #F4F5F6;
  --bg-white: #ffffff;
  --border: #e3e5e8;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 4px;
  --radius-sm: 2px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Rajdhani', 'Arial Narrow', sans-serif;
  --font-stencil: 'Rajdhani', 'Arial Narrow', sans-serif;
  /* red-over-blue band, echoing the logo's waves */
  --hazard: linear-gradient(90deg, var(--brand-red) 0 55%, var(--brand-blue) 55% 100%);
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text-body); background: var(--bg-white); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }

/* === CONTAINER === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* === TYPOGRAPHY === */
h1 { font-family: var(--font-display); font-size: clamp(2.6rem, 5.5vw, 4rem); font-weight: 700; line-height: 1.05; letter-spacing: 0.01em; color: var(--text-dark); }
h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 700; line-height: 1.1; letter-spacing: 0.01em; color: var(--text-dark); }
h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; letter-spacing: 0.01em; color: var(--text-dark); }
h4 { font-size: 1rem; font-weight: 600; color: var(--text-dark); }
p { color: var(--text-body); }

.text-accent { color: var(--accent-dark); }
.text-primary { color: var(--primary); }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1.5rem; border-radius: var(--radius-sm);
  font-family: var(--font); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.01em; cursor: pointer;
  border: 2px solid transparent; transition: all 0.2s ease;
  text-decoration: none; white-space: nowrap;
}
.btn-lg { padding: 0.85rem 2rem; font-size: 1.02rem; }
.btn-block { width: 100%; justify-content: center; }

.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }

.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }

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

.btn-outline-accent { background: transparent; color: var(--accent-dark); border-color: var(--accent); }
.btn-outline-accent:hover { background: var(--accent); color: #fff; }

.btn-cta-primary { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 700; }
.btn-cta-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }

.btn-cta-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-cta-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

.btn-text { color: var(--primary); font-weight: 600; background: none; border: none; cursor: pointer; font-size: inherit; }
.btn-text:hover { color: var(--accent); text-decoration: underline; }

/* === NAVBAR === */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink); border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.nav-container {
  display: flex; align-items: center; gap: 1rem;
  height: 70px;
}
.nav-brand {
  text-decoration: none; flex-shrink: 0; display: inline-flex; align-items: center; gap: 0.6rem;
}
.nav-brand picture { display: block; }
.logo-img { height: 50px; width: auto; display: block; }
.logo-text { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; line-height: 1; letter-spacing: 0.01em; }
.logo-text-top { color: var(--primary); display: block; }
.logo-text-bottom { color: var(--accent); display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; margin-top: 2px; }

.nav-menu {
  display: flex; align-items: center; gap: 0.25rem;
  margin-left: auto;
}
.nav-link {
  color: rgba(255,255,255,0.82); font-weight: 500; font-size: 0.9rem;
  padding: 0.5rem 0.75rem; border-radius: var(--radius-sm);
  transition: all 0.15s; display: flex; align-items: center; gap: 0.3rem;
  cursor: pointer; text-decoration: none;
}
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,0.08); }
.nav-link.active { box-shadow: inset 0 -2px 0 var(--accent); }

.btn-portal {
  background: rgba(255,255,255,0.1); color: #fff; font-weight: 600;
  border-radius: var(--radius-sm); display: flex; align-items: center; gap: 0.4rem;
}
.btn-portal:hover { background: var(--primary); color: #fff; }
.nav-link.btn-portal.active { box-shadow: none; }
.nav-cta { margin-left: 0.5rem; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 0.5rem; opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all 0.2s; z-index: 200;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  display: block; padding: 0.55rem 0.85rem; color: var(--text-body);
  border-radius: var(--radius-sm); font-size: 0.9rem; transition: all 0.15s;
}
.dropdown li a:hover { background: var(--primary-light); color: var(--primary); }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 0.5rem;
}
.nav-toggle span {
  width: 24px; height: 2px; background: #fff;
  transition: all 0.3s; display: block; border-radius: 2px;
}

/* === SECTIONS === */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header p { max-width: 620px; margin: 1rem auto 0; color: var(--text-muted); font-size: 1.05rem; }
.section-badge {
  display: block; color: var(--accent-dark);
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1rem;
}
.section-badge::after {
  content: ''; display: block; width: 64px; height: 5px;
  background: var(--hazard); margin-top: 0.6rem;
}
.section-header .section-badge::after { margin-left: auto; margin-right: auto; }
.section-badge-accent { color: var(--accent); }

/* === HERO — light, service-first (WM-inspired) === */
.hero {
  background: var(--bg-light);
  position: relative; overflow: hidden;
  padding: 4.5rem 0 5rem;
  border-bottom: 1px solid var(--border);
}

.hero-content {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 4rem; align-items: center; position: relative;
}
.hero-text { color: var(--text-dark); }
.hero-badge {
  display: inline-block;
  color: var(--primary); border: 1px solid rgba(10,110,189,0.35);
  background: var(--bg-white);
  padding: 0.3rem 0.9rem; font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1.25rem;
}
.hero-text h1 { color: var(--text-dark); margin-bottom: 1.25rem; }
.hero-text h1 .text-accent { color: var(--accent-dark); }
.hero-text p { color: var(--text-body); font-size: 1.1rem; margin-bottom: 2rem; max-width: 520px; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-trust {
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
}
.trust-item { display: flex; flex-direction: column; gap: 0.1rem; }
.trust-item strong { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--primary); line-height: 1; }
.trust-item span { font-size: 0.8rem; color: var(--text-muted); }
.trust-divider { width: 1px; height: 36px; background: var(--border); }

/* === QUICK ACCESS STRIP (WM "My WM"-style) === */
.quick-strip { background: var(--primary); }
.quick-strip .container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
}
.quick-strip a {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 1.1rem 1rem; color: #fff; background: var(--primary);
  font-size: 0.95rem; font-weight: 600;
  transition: background 0.15s;
}
.quick-strip a:hover { background: var(--primary-dark); color: #fff; }
.quick-strip svg { color: #fff; opacity: 0.9; flex-shrink: 0; }
@media (max-width: 768px) {
  .quick-strip .container { grid-template-columns: 1fr 1fr; }
}

.hero-visual {
  display: flex; align-items: center; justify-content: center;
}

/* === SIZE PICKER (signature) === */
.size-picker {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 1.5rem 1.5rem 1.75rem; width: 100%; max-width: 460px;
}
.size-picker h3 { margin-bottom: 0.35rem; }
.size-picker-sub { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.1rem; }

.size-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; margin-bottom: 1.25rem; }
.size-tab {
  background: var(--bg-white); border: 2px solid var(--border); border-radius: var(--radius-sm);
  padding: 0.5rem 0.25rem 0.4rem; cursor: pointer; text-align: center;
  transition: border-color 0.15s, background 0.15s;
}
.size-tab-num { display: block; font-family: var(--font-stencil); font-size: 1.5rem; line-height: 1; color: var(--text-dark); }
.size-tab-unit { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-top: 2px; }
.size-tab:hover { border-color: var(--primary); }
.size-tab.active { border-color: var(--accent); background: var(--accent-light); }
.size-tab.active .size-tab-num { color: var(--accent-dark); }
.size-tab:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.size-stage {
  height: 120px; display: flex; align-items: flex-end; justify-content: center;
  border-bottom: 3px solid var(--steel); margin-bottom: 1.1rem; padding-bottom: 0;
}
.dumpster-shape {
  position: relative; background: var(--primary);
  clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%);
  display: flex; align-items: center; justify-content: center;
  transition: width 0.35s ease, height 0.35s ease;
}
.dumpster-shape::after {
  content: ''; position: absolute; top: 8px; left: 12%; right: 5%; height: 4px;
  background: rgba(255,255,255,0.28);
}
.dumpster-num {
  font-family: var(--font-stencil); color: #fff;
  font-size: 2.2rem; line-height: 1; padding-left: 4%;
}

.size-facts { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.25rem; }
.size-facts > div { display: grid; grid-template-columns: 96px 1fr; gap: 0.75rem; align-items: baseline; }
.size-facts dt {
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted);
}
.size-facts dd { font-size: 0.9rem; color: var(--text-dark); margin: 0; }

/* === SERVICES GRID (photo cards, WM-style) === */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: all 0.25s; text-decoration: none; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  border-color: var(--primary); box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.service-card-photo {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-light);
}
.service-card-photo img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease;
}
.service-card:hover .service-card-photo img { transform: scale(1.04); }
.service-card-body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.service-icon {
  width: 56px; height: 56px; background: var(--primary-light);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; color: var(--primary); transition: all 0.25s;
}
.service-card:hover .service-icon { background: var(--primary); color: #fff; }
.service-card h3 { margin-bottom: 0.5rem; }
.service-card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 1rem; }
.service-card-body .card-link { margin-top: auto; }
.card-link { color: var(--accent-dark); font-weight: 600; font-size: 0.9rem; }

/* === WHY PHOTO === */
.why-photo {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md);
  margin-bottom: 1rem; border: 1px solid var(--border);
}
.why-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* === VIDEO SECTION === */
.video-section .container { max-width: 960px; }
.video-frame {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  background: var(--ink);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* === PRICING GRID === */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem; align-items: start;
}
.pricing-card {
  background: var(--bg-white); border: 2px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  position: relative; transition: all 0.25s;
}
.pricing-card.featured {
  border-color: var(--accent); background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff; box-shadow: var(--shadow-lg);
}
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 0.75rem; font-weight: 700;
  padding: 0.25rem 1rem; border-radius: 50px; white-space: nowrap;
}
.plan-name { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; color: inherit; }
.plan-price { font-family: var(--font-display); font-size: 3rem; font-weight: 700; margin: 0.75rem 0; color: inherit; }
.plan-price span { font-size: 1.2rem; font-weight: 400; }
.plan-price .from { font-size: 0.85rem; font-weight: 400; display: block; }
.plan-desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.pricing-card.featured .plan-desc { color: rgba(255,255,255,0.75); }
.plan-features { margin-bottom: 1.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.plan-features li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.9rem; color: var(--text-body); }
.pricing-card.featured .plan-features li { color: rgba(255,255,255,0.9); }

/* === WHY SECTION === */
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.why-content .section-badge { display: block; width: fit-content; }
.why-content h2 { margin: 0.75rem 0 1rem; }
.why-content > p { color: var(--text-muted); margin-bottom: 2rem; }

.why-points { display: flex; flex-direction: column; gap: 1.25rem; }
.why-point { display: flex; gap: 1rem; }
.why-icon {
  width: 42px; height: 42px; min-width: 42px;
  background: var(--primary-light); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; color: var(--primary);
}
.why-point h4 { margin-bottom: 0.2rem; }
.why-point p { color: var(--text-muted); font-size: 0.92rem; }

/* === STATS GRID === */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-box {
  background: var(--bg-light); border-radius: var(--radius); padding: 1.75rem;
  text-align: center; border: 1px solid var(--border);
}
.stat-box.accent { background: var(--primary); border-color: var(--primary); }
.stat-number { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--primary); line-height: 1; }
.stat-box.accent .stat-number { color: #fff; }
.stat-number span { font-size: 1.5rem; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.4rem; }
.stat-box.accent .stat-label { color: rgba(255,255,255,0.8); }

/* === PROCESS === */
.process-section { background: var(--bg-light); }
.process-steps {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 1rem; flex-wrap: wrap;
}
.process-step { flex: 1; min-width: 180px; max-width: 220px; text-align: center; }
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; background: var(--ink); color: #fff;
  border-radius: var(--radius-sm); font-family: var(--font-stencil); font-size: 1.4rem;
  margin: 0 auto 1rem;
}
.process-arrow { font-size: 1.5rem; color: var(--accent); align-self: center; padding-top: 0.5rem; }

/* === TESTIMONIALS === */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.testimonial-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 0.75rem; }
.testimonial-card > p { color: var(--text-body); font-style: italic; margin-bottom: 1.25rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 40px; height: 40px; background: var(--primary); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem;
}
.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span { font-size: 0.82rem; color: var(--text-muted); }

/* === CTA SECTION === */
.cta-section { background: var(--primary); }
.cta-box { text-align: center; padding: 3rem 2rem; }
.cta-box h2 { color: #fff; margin-bottom: 1rem; }
.cta-box p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 2rem; font-size: 1.05rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* === SERVICE DETAIL PAGE === */
.page-hero {
  background: var(--ink);
  position: relative;
  padding: 3.5rem 0;
}
.page-hero-content { color: #fff; }
.page-hero-grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 3rem; align-items: center;
}
.page-hero-photo {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255,255,255,0.18); box-shadow: var(--shadow-lg);
}
.page-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
@media (max-width: 1024px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.page-hero-content .section-badge { color: var(--accent); }
.page-hero-content h1 { color: #fff; margin: 0.75rem 0 1rem; }
.page-hero-content p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 600px; }

.breadcrumb { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.65); font-size: 0.85rem; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep { color: rgba(255,255,255,0.4); font-size: 0.85rem; }
.breadcrumb span { color: rgba(255,255,255,0.9); font-size: 0.85rem; }

/* Sizes Grid */
.sizes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.size-card {
  background: var(--bg-white); border: 2px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem; text-align: center;
  transition: all 0.25s;
}
.size-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.size-number {
  font-family: var(--font-stencil); font-size: 2.6rem; color: var(--primary); line-height: 1;
  margin-bottom: 0.25rem;
}
.size-unit { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }
.size-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.size-card p { font-size: 0.9rem; color: var(--text-muted); }
.size-card.popular { border-color: var(--accent); }
.size-popular-badge {
  display: inline-block; background: var(--accent); color: #fff;
  font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.6rem;
  border-radius: 50px; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.5px;
}

/* Trailer Grid */
.trailer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.trailer-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: all 0.25s;
}
.trailer-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.trailer-card-header {
  background: var(--primary); color: #fff;
  padding: 1.5rem; text-align: center;
}
.trailer-card-header h3 { color: #fff; margin-bottom: 0.25rem; }
.trailer-card-header p { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.trailer-card-body { padding: 1.5rem; }
.trailer-card-body ul { display: flex; flex-direction: column; gap: 0.4rem; }
.trailer-card-body li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.9rem; color: var(--text-body); }
.trailer-card-body li svg { color: var(--primary); flex-shrink: 0; margin-top: 2px; }

/* Feature list */
.feature-list { display: flex; flex-direction: column; gap: 0.75rem; }
.feature-item { display: flex; align-items: flex-start; gap: 0.85rem; padding: 1rem; background: var(--bg-light); border-radius: var(--radius-sm); }
.feature-item svg { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.feature-item h4 { margin-bottom: 0.2rem; font-size: 0.95rem; }
.feature-item p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* Two col layout */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.two-col-wide { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: start; }

/* Info box */
.info-box {
  background: var(--primary-light); border: 1px solid rgba(10,110,189,0.2);
  border-radius: var(--radius); padding: 1.75rem;
}
.info-box h3 { color: var(--primary); margin-bottom: 1rem; }
.info-box ul { display: flex; flex-direction: column; gap: 0.5rem; }
.info-box li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.9rem; }
.info-box li svg { color: var(--primary); flex-shrink: 0; margin-top: 2px; }

.accent-box {
  background: var(--accent-light); border: 1px solid rgba(229,9,20,0.25);
  border-radius: var(--radius); padding: 1.75rem;
}
.accent-box h3 { color: var(--accent); margin-bottom: 1rem; }

/* === FAQ === */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-question {
  width: 100%; text-align: left; padding: 1.1rem 1.5rem;
  background: var(--bg-white); border: none; cursor: pointer;
  font-size: 0.98rem; font-weight: 600; color: var(--text-dark);
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; transition: background 0.15s;
}
.faq-question:hover { background: var(--bg-light); }
.faq-question.open { background: var(--primary-light); color: var(--primary); }
.faq-icon { flex-shrink: 0; transition: transform 0.25s; }
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 1.5rem 1.25rem; color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }
.faq-answer.open { display: block; }

/* === CONTACT === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--text-dark); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 1rem; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-family: var(--font); font-size: 0.95rem;
  color: var(--text-dark); background: var(--bg-white);
  transition: border-color 0.15s, box-shadow 0.15s; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10,110,189,0.16);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-info-card {
  background: var(--bg-light); border-radius: var(--radius); padding: 1.75rem;
  border: 1px solid var(--border);
}
.contact-info-card h3 { margin-bottom: 1.25rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 0.85rem; margin-bottom: 1rem; }
.contact-detail svg { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.contact-detail a { color: var(--text-body); }
.contact-detail a:hover { color: var(--primary); }

/* Alert messages */
.alert {
  padding: 0.9rem 1.25rem; border-radius: var(--radius-sm);
  font-size: 0.92rem; margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info { background: var(--primary-light); color: var(--primary); border: 1px solid rgba(10,110,189,0.25); }

/* === SERVICE AREAS === */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.area-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.area-card h3 { color: var(--primary); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.area-towns { display: flex; flex-direction: column; gap: 0.35rem; }
.area-towns li { font-size: 0.9rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.5rem; }
.area-towns li::before { content: '•'; color: var(--accent); font-size: 1.1rem; }

/* === FOOTER === */
.footer {
  background: var(--ink); color: rgba(255,255,255,0.75);
  position: relative;
  padding: 4rem 0 0;
}
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 8px;
  background: var(--hazard);
}
.footer-col h4 { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.14em; }
.footer-logo { height: 64px; width: auto; }
.footer-tagline {
  display: block; margin-top: 0.6rem; font-family: var(--font-display); font-weight: 600;
  font-size: 0.85rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--brand-silver);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin: 1rem 0 1.5rem; max-width: 260px; }
.footer-col h4 { color: #fff; font-size: 0.9rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col li a { color: rgba(255,255,255,0.6); font-size: 0.88rem; transition: color 0.15s; }
.footer-col li a:hover { color: var(--accent); }
.footer-col .contact-list { gap: 0.75rem; }
.footer-col .contact-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.88rem; }
.footer-col .contact-list li svg { flex-shrink: 0; color: var(--accent); margin-top: 2px; }
.footer-col .contact-list a { color: rgba(255,255,255,0.6); }
.footer-col .contact-list a:hover { color: var(--accent); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem 0; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { color: rgba(255,255,255,0.45); font-size: 0.85rem; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.45); font-size: 0.85rem; transition: color 0.15s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.8); }

.social-links { display: flex; gap: 0.75rem; }
.social-links a {
  width: 36px; height: 36px; background: rgba(255,255,255,0.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65); transition: all 0.2s;
}
.social-links a:hover { background: var(--accent); color: #fff; }

/* === AUTH PAGES === */
.auth-page {
  min-height: 100vh; background: var(--bg-light);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem 1rem;
}
.auth-card {
  background: var(--bg-white); border-radius: var(--radius);
  padding: 2.5rem; width: 100%; max-width: 440px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.auth-logo {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  margin: -2.5rem -2.5rem 1.75rem; padding: 1.5rem 1rem 1.1rem;
  background: var(--ink); border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: 4px solid transparent; border-image: var(--hazard) 1;
}
.auth-logo img { height: 55px; width: auto; }
.auth-logo-sub {
  font-family: var(--font-display); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--brand-silver);
}
.auth-card h1 { font-size: 1.5rem; text-align: center; margin-bottom: 0.4rem; }
.auth-card .auth-sub { text-align: center; color: var(--text-muted); font-size: 0.92rem; margin-bottom: 2rem; }
.auth-form { display: flex; flex-direction: column; gap: 1.1rem; }
.auth-footer { text-align: center; margin-top: 1.5rem; font-size: 0.88rem; color: var(--text-muted); }
.auth-footer a { color: var(--primary); font-weight: 600; }

/* === PORTAL === */
.portal-layout {
  display: grid; grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 70px);
}
.portal-sidebar {
  background: var(--ink); padding: 1.5rem 0;
  position: sticky; top: 70px; height: calc(100vh - 70px);
  overflow-y: auto;
}
.portal-sidebar-header {
  padding: 0 1.25rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 0.75rem;
}
.portal-sidebar-header p { color: rgba(255,255,255,0.55); font-size: 0.8rem; }
.portal-sidebar-header strong { color: #fff; font-size: 0.92rem; display: block; margin-top: 0.2rem; }

.portal-nav-section { padding: 0.5rem 0; }
.portal-nav-section-label {
  padding: 0.4rem 1.25rem; font-size: 0.7rem; font-weight: 700;
  color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 1px;
}
.portal-nav-link {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.65rem 1.25rem; color: rgba(255,255,255,0.65);
  font-size: 0.88rem; font-weight: 500; transition: all 0.15s;
  text-decoration: none; border-left: 3px solid transparent;
}
.portal-nav-link:hover { color: #fff; background: rgba(255,255,255,0.06); }
.portal-nav-link.active { color: #fff; background: rgba(229,9,20,0.18); border-left-color: var(--accent); }
.portal-nav-link svg { opacity: 0.75; }
.portal-nav-link.active svg { opacity: 1; }

.portal-nav-bottom {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1rem 0; border-top: 1px solid rgba(255,255,255,0.1);
}

.portal-main { padding: 2rem 2.5rem; background: var(--bg-light); min-height: calc(100vh - 70px); }
.portal-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem;
}
.portal-header h1 { font-size: 1.75rem; margin-bottom: 0.2rem; }
.portal-header p { color: var(--text-muted); font-size: 0.92rem; }

.portal-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem; margin-bottom: 2rem;
}
.stat-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
  display: flex; align-items: center; gap: 1rem;
  box-shadow: var(--shadow-sm);
}
.stat-card-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.stat-card-icon.dumpster  { background: var(--primary-light); color: var(--primary); }
.stat-card-icon.porta     { background: #fff3e8; color: var(--accent); }
.stat-card-icon.trailer   { background: #f3e8ff; color: #7c3aed; }
.stat-card-icon.active    { background: #e7f5ea; color: #16a34a; }
.stat-card-icon.pending   { background: #fef9e7; color: #d97706; }
.stat-card-icon.total     { background: var(--primary-light); color: var(--primary); }
.stat-card-icon.open      { background: #fef2f2; color: #dc2626; }
.stat-card-icon.in-progress { background: #fef9e7; color: #d97706; }
.stat-card-icon.resolved  { background: #f0fdf4; color: #16a34a; }
.stat-card-number { font-size: 1.6rem; font-weight: 700; color: var(--text-dark); line-height: 1; }
.stat-card-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.2rem; }

.portal-section { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.portal-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.portal-section-header h2 { font-size: 1.1rem; }

/* Rentals table */
.rentals-table, .tickets-table { overflow-x: auto; }
.rentals-table table, .tickets-table table { width: 100%; border-collapse: collapse; }
.rentals-table th, .tickets-table th { padding: 0.65rem 1rem; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.rentals-table td, .tickets-table td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--border); font-size: 0.88rem; vertical-align: middle; }
.rentals-table tr:last-child td, .tickets-table tr:last-child td { border-bottom: none; }
.rentals-table tr:hover td, .tickets-table tr:hover td { background: var(--bg-light); }
.rental-subject, .ticket-subject { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rental-date, .ticket-date { color: var(--text-muted); white-space: nowrap; }

/* Status badges */
.status-badge {
  display: inline-flex; align-items: center;
  padding: 0.2rem 0.65rem; border-radius: 50px;
  font-size: 0.75rem; font-weight: 600; text-transform: capitalize; white-space: nowrap;
}
.status-pending    { background: #fef9e7; color: #b45309; }
.status-confirmed  { background: #eff6ff; color: #1d4ed8; }
.status-active     { background: #f0fdf4; color: #15803d; }
.status-completed  { background: var(--bg-light); color: var(--text-muted); }
.status-cancelled  { background: #fef2f2; color: #b91c1c; }
.status-open       { background: #fef2f2; color: #dc2626; }
.status-in-progress { background: #fef9e7; color: #d97706; }
.status-resolved   { background: #f0fdf4; color: #16a34a; }

.tag {
  display: inline-block; padding: 0.15rem 0.5rem;
  border-radius: 4px; font-size: 0.73rem; font-weight: 600;
  text-transform: capitalize;
}
.tag-type { background: var(--primary-light); color: var(--primary); }
.tag-category { background: var(--bg-light); color: var(--text-muted); border: 1px solid var(--border); }
.tag-priority { }
.priority-high   { background: #fef2f2; color: #b91c1c; }
.priority-medium { background: #fef9e7; color: #b45309; }
.priority-low    { background: #f0fdf4; color: #15803d; }

/* Empty state */
.empty-state {
  text-align: center; padding: 3rem 1rem; color: var(--text-muted);
}
.empty-state svg { margin: 0 auto 1rem; }
.empty-state h3 { margin-bottom: 0.5rem; }
.empty-state p { margin-bottom: 1.5rem; font-size: 0.9rem; }

/* Portal detail */
.detail-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem;
  padding-bottom: 1.5rem; border-bottom: 1px solid var(--border);
}
.detail-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.detail-meta-item label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); display: block; margin-bottom: 0.3rem; }
.detail-meta-item p { font-size: 0.92rem; color: var(--text-dark); }

.updates-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.update-item {
  display: flex; gap: 0.85rem;
}
.update-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; flex-shrink: 0;
}
.update-avatar.staff { background: var(--primary); color: #fff; }
.update-avatar.client { background: var(--accent-light); color: var(--accent); }
.update-bubble {
  flex: 1; background: var(--bg-light); border-radius: var(--radius);
  padding: 0.85rem 1rem;
}
.update-bubble.staff { background: var(--primary-light); }
.update-meta { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.4rem; }
.update-meta strong { color: var(--text-dark); }
.update-message { font-size: 0.92rem; color: var(--text-body); line-height: 1.6; white-space: pre-wrap; }

.reply-form { border-top: 1px solid var(--border); padding-top: 1.5rem; }
.reply-form h3 { margin-bottom: 1rem; font-size: 1rem; }
.admin-controls { display: flex; gap: 1rem; align-items: flex-end; flex-wrap: wrap; margin-top: 1rem; }
.admin-controls .form-group { flex: 1; min-width: 180px; }

/* Quick actions */
.quick-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.quick-action {
  background: var(--bg-light); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem; text-align: center;
  color: var(--text-body); font-size: 0.88rem; font-weight: 500;
  transition: all 0.2s; text-decoration: none; display: flex;
  flex-direction: column; align-items: center; gap: 0.6rem;
}
.quick-action:hover { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }
.quick-action svg { color: var(--primary); }

/* Portal new rental form */
.service-type-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.75rem; margin-bottom: 1.5rem; }
.service-type-option { position: relative; }
.service-type-option input { position: absolute; opacity: 0; }
.service-type-label {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  padding: 1rem; border: 2px solid var(--border); border-radius: var(--radius);
  cursor: pointer; transition: all 0.2s; text-align: center;
  background: var(--bg-white);
}
.service-type-label:hover { border-color: var(--primary); background: var(--primary-light); }
.service-type-option input:checked + .service-type-label { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }
.service-type-label span { font-size: 0.85rem; font-weight: 600; }

/* Filters */
.portal-filters {
  display: flex; gap: 0.75rem; margin-bottom: 1.5rem; flex-wrap: wrap; align-items: center;
}
.filter-select {
  padding: 0.5rem 0.85rem; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 0.88rem; color: var(--text-body);
  background: var(--bg-white); cursor: pointer;
}
.filter-select:focus { outline: none; border-color: var(--primary); }

/* Cookie Banner */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: var(--ink); color: rgba(255,255,255,0.85);
  padding: 1rem 1.5rem; display: none;
  justify-content: space-between; align-items: center;
  gap: 1.5rem; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.cookie-banner.show { display: flex; }
.cookie-banner p { font-size: 0.88rem; color: #fff; }
.cookie-banner a { color: var(--accent); }
.cookie-banner-actions { display: flex; gap: 0.75rem; }
.cookie-decline { background: none; border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.65); padding: 0.45rem 1rem; border-radius: var(--radius-sm); cursor: pointer; font-size: 0.85rem; }
.cookie-decline:hover { border-color: rgba(255,255,255,0.6); }

/* === 404 / ERROR === */
.error-page { text-align: center; padding: 6rem 1.5rem; }
.error-code { font-size: 7rem; font-weight: 900; color: var(--primary); line-height: 1; opacity: 0.2; }
.error-page h1 { margin-bottom: 1rem; }
.error-page p { color: var(--text-muted); max-width: 400px; margin: 0 auto 2rem; }

/* === PRIVACY / TERMS === */
.legal-page { max-width: 760px; margin: 0 auto; padding: 3rem 1.5rem; }
.legal-page h1 { margin-bottom: 0.5rem; }
.legal-page .meta { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 2.5rem; }
.legal-page h2 { margin: 2rem 0 0.75rem; font-size: 1.15rem; }
.legal-page p, .legal-page li { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.75rem; }
.legal-page ul { padding-left: 1.5rem; list-style: disc; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { justify-content: flex-start; }
  .size-picker { max-width: 100%; }
  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .two-col-wide { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .portal-layout { grid-template-columns: 1fr; }
  .portal-sidebar { display: none; }
  .portal-main { padding: 1.5rem; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    background: var(--ink); flex-direction: column; padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08); box-shadow: var(--shadow-md);
    z-index: 99; align-items: stretch; gap: 0;
  }
  .nav-menu.open { display: flex; }
  .has-dropdown { position: static; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: var(--ink-2); border-color: rgba(255,255,255,0.08); margin: 0.25rem 0 0 1rem; }
  .dropdown li a { color: rgba(255,255,255,0.8); }
  .dropdown li a:hover { background: rgba(255,255,255,0.08); color: #fff; }
  .hero { padding: 3rem 0 4rem; }
  .section { padding: 3rem 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; align-items: center; }
  .process-arrow { transform: rotate(90deg); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .portal-stats { grid-template-columns: 1fr 1fr; }
  .detail-meta { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .portal-stats { grid-template-columns: 1fr; }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* === QUOTE ASSISTANT CHAT WIDGET === */
.chat-widget { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 998; }
.chat-toggle {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--accent); color: #fff; border: none; cursor: pointer;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, background 0.2s;
}
.chat-toggle:hover { transform: scale(1.05); background: var(--accent-dark); color: #fff; }
.chat-toggle .chat-toggle-close { display: none; }
.chat-widget.open .chat-toggle .chat-toggle-open { display: none; }
.chat-widget.open .chat-toggle .chat-toggle-close { display: block; }

.chat-panel {
  position: absolute; bottom: 74px; right: 0;
  width: 370px; max-width: calc(100vw - 3rem);
  height: 520px; max-height: calc(100vh - 8rem);
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
  animation: chatIn 0.2s ease;
}
@keyframes chatIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.chat-header {
  background: var(--ink); color: #fff; padding: 1rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
}
.chat-header-title { display: flex; align-items: center; gap: 0.6rem; }
.chat-header-title strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.chat-header-title span { font-size: 0.75rem; color: rgba(255,255,255,0.6); }
.chat-status-dot { width: 9px; height: 9px; border-radius: 50%; background: #4ade80; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(74,222,128,0.2); }
.chat-close { background: none; border: none; color: rgba(255,255,255,0.7); font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0 0.25rem; }
.chat-close:hover { color: #fff; }

.chat-messages { flex: 1; overflow-y: auto; padding: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; background: var(--bg-light); }
.chat-msg { max-width: 85%; padding: 0.65rem 0.9rem; border-radius: var(--radius); font-size: 0.9rem; line-height: 1.5; white-space: pre-wrap; }
.chat-msg.bot { background: var(--bg-white); border: 1px solid var(--border); align-self: flex-start; border-bottom-left-radius: 2px; }
.chat-msg.user { background: var(--primary); color: #fff; align-self: flex-end; border-bottom-right-radius: 2px; }
.chat-msg a { color: var(--accent-dark); font-weight: 600; }
.chat-msg.user a { color: #fff; }
.chat-lead-badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--primary-light); color: var(--primary); border: 1px solid rgba(10,110,189,0.2);
  padding: 0.4rem 0.75rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600;
}

.chat-typing { align-self: flex-start; display: flex; gap: 4px; padding: 0.75rem 0.9rem; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-muted); opacity: 0.5; animation: chatBounce 1.2s infinite; }
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatBounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-5px); opacity: 1; } }

.chat-input { display: flex; gap: 0.5rem; padding: 0.75rem; border-top: 1px solid var(--border); background: var(--bg-white); }
.chat-input input { flex: 1; padding: 0.65rem 0.9rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font); font-size: 0.9rem; }
.chat-input input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(10,110,189,0.14); }
.chat-input button { background: var(--primary); color: #fff; border: none; border-radius: var(--radius-sm); width: 42px; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: background 0.15s; }
.chat-input button:hover { background: var(--primary-dark); }
.chat-input button:disabled { opacity: 0.5; cursor: not-allowed; }
.chat-disclaimer { font-size: 0.72rem; color: var(--text-muted); text-align: center; padding: 0 0.75rem 0.6rem; margin: 0; background: var(--bg-white); }
.chat-disclaimer a { color: var(--text-muted); text-decoration: underline; }

@media (max-width: 480px) {
  .chat-widget { bottom: 1rem; right: 1rem; }
  .chat-panel { height: calc(100vh - 6rem); }
}
