/* ============================================
   CAPELO'S GROUP CORP - Premium Construction Design System
   Navy & Safety Orange Palette
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand Colors - Navy & Orange Palette */
  --brand-primary: #0F172A;  /* Deep Midnight */
  --brand-primary-dark: #020617;
  --brand-primary-light: #1e293b;
  --brand-accent: #F97316;   /* Safety Orange */
  --brand-accent-dark: #EA580C;
  --brand-accent-light: #FB923C;
  
  /* Success */
  --brand-success: #10B981;  /* Emerald */
  --brand-success-dark: #059669;
  
  /* Neutrals */
  --ink: #111827;
  --muted: #6b7280;
  --bg: #f8fafc;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  --border-dark: #cbd5e1;
  
  /* Legacy blue still available for specific uses */
  --brand-blue: #1e40af;
  --brand-blue-soft: #dbeafe;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Typography - Inter Font */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;
  
  /* Layout */
  --max-width: 1200px;
  --border-radius: 8px;
  --border-radius-lg: 12px;  /* Consistent 12px radius */
  --border-radius-xl: 16px;
  --section-pad: 5rem;
  --section-pad-sm: 3.5rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  line-height: 1.65;
  background: var(--bg);
  font-size: 1rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 0;
}

.lang-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-primary);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: white;
}

.lang-link.active {
  background: var(--brand-primary);
  color: white;
  border-color: var(--brand-primary);
}

.sticky-urgency-bar .lang-link {
  font-size: 0.85rem;
  padding: 4px 8px;
}

/* Top Bar */
.top-bar {
  background: #1f2937;
  color: white;
  padding: var(--space-xs) 0;
  font-size: var(--font-size-sm);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.top-bar-left,
.top-bar-right {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: white;
  text-decoration: none;
  transition: opacity 0.2s;
}

.top-bar-item:hover {
  opacity: 0.8;
}

.top-bar-item .icon {
  font-size: var(--font-size-base);
}

/* Header */
.main-header {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  gap: var(--space-lg);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: var(--font-size-xl);
  color: var(--brand-blue);
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
}

.logo-text {
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
  align-items: center;
}

.nav-menu a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-menu a:hover {
  color: var(--brand-blue);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-blue);
  transition: width 0.3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  background: var(--brand-primary);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius-lg);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background: var(--brand-primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* High-Contrast CTA Button - Safety Orange */
.btn-primary {
  background: var(--brand-accent);
  color: var(--brand-primary);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: 0 12px 24px -16px rgba(15, 23, 42, 0.35);
}

.btn-primary:hover {
  background: var(--brand-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 16px 28px -18px rgba(15, 23, 42, 0.45);
}

.btn-large {
  padding: var(--space-md) var(--space-xl);
  font-size: var(--font-size-lg);
}

.btn-ghost {
  background: transparent;
  color: var(--brand-blue);
  border: 2px solid var(--brand-blue);
}

.btn-ghost:hover {
  background: var(--brand-blue);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Hero Section - Navy with Blueprint Pattern */
.hero {
  background: 
    linear-gradient(135deg, rgba(15, 23, 42, 0.97) 0%, rgba(30, 41, 59, 0.97) 100%),
    url('https://www.transparenttextures.com/patterns/blueprint.png');
  color: white;
  padding: var(--space-3xl) 0;
  position: relative;
}

/* Blueprint grid overlay effect */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-content h1 {
  font-size: clamp(2.25rem, 3.2vw + 1.25rem, 3.75rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  line-height: 1.2;
  max-width: 18ch;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.1vw + 0.95rem, 1.35rem);
  margin-bottom: var(--space-xl);
  opacity: 0.95;
  font-weight: 400;
  max-width: 38rem;
}

.hero-image {
  text-align: center;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-xl);
  object-fit: contain;
}

.hero-list {
  margin: 0 0 24px;
  padding-left: 20px;
  color: white;
  font-size: 1rem;
}

.hero-list li {
  margin-bottom: 8px;
}

.hero-callout {
  font-size: 1rem;
  margin-top: 12px;
  opacity: 0.9;
}

.hero-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  max-width: 380px;
}

.hero-card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
}

.hero-card-icon::before {
  content: none;
}

.hero-card-title {
  color: #0F172A;
  font-size: 1.35rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.hero-card-text {
  color: #6b7280;
  margin-bottom: 20px;
  font-size: 1rem;
}

.hero-cta {
  width: 100%;
  text-align: center;
}

.hero-chart-container {
  background: linear-gradient(135deg, #0F172A 0%, #1e293b 100%);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.hero-chart-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.hero-chart-container canvas {
  max-height: 180px;
  height: 180px;
}

.hero-chart-spacing {
  margin: 16px 0;
}

/* Quick Services */
.quick-services {
  padding: var(--section-pad) 0;
  background: var(--bg-white);
}

.quick-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.urgency-banner {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  padding: var(--section-pad-sm) 0;
  text-align: center;
}

.urgency-title {
  font-size: clamp(1.5rem, 1.8vw + 1rem, 2rem);
  margin-bottom: 12px;
}

.urgency-text {
  max-width: 700px;
  margin: 0 auto 20px;
  opacity: 0.95;
  font-size: 1rem;
}

.quick-service-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--bg);
  border-radius: var(--border-radius-lg);
  transition: all 0.3s;
  border: 2px solid transparent;
}

.quick-service-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.quick-service-card .service-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.quick-service-icon {
  font-size: 1.55rem;
  color: #0F172A;
  font-weight: 700;
  margin-bottom: 10px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.06);
}

.quick-service-icon::before {
  content: none;
}

.quick-service-card h3 {
  font-size: var(--font-size-xl);
  color: var(--ink);
  font-weight: 600;
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brand-accent);
  margin-bottom: var(--space-sm);
}

.section-header h2 {
  font-size: clamp(1.9rem, 2.2vw + 1.1rem, 3rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0;
}

.section-intro {
  max-width: 600px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1rem;
}

/* About Section */
.about-section {
  padding: var(--section-pad) 0;
  background: var(--bg-white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
}

.about-text {
  font-size: var(--font-size-lg);
  line-height: 1.8;
  color: var(--muted);
}

.about-text p {
  margin-bottom: var(--space-lg);
}

/* Mission & Vision Section */
.mission-vision-section {
  padding: var(--space-xl) 0 var(--space-3xl) 0;
  background: var(--bg-white);
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.mission-vision-card {
  background: var(--bg);
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
}

.mission-vision-card h3 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: var(--space-md);
}

.mission-vision-card p {
  color: var(--muted);
  line-height: 1.8;
  font-size: var(--font-size-lg);
}

.values-section {
  margin-top: var(--space-2xl);
  padding-top: var(--space-2xl);
  border-top: 2px solid var(--border);
}

.values-section h3 {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.values-section > p {
  text-align: center;
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-xl);
  color: var(--muted);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.value-item {
  background: var(--bg);
  padding: var(--space-lg);
  border-radius: var(--border-radius-lg);
  border-left: 4px solid var(--brand-blue);
}

.value-item h4 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: var(--space-sm);
}

.value-item p {
  color: var(--muted);
  line-height: 1.7;
}

/* Services Section */
.services-section {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

/* Financial Roadblocks - Roadmap */
.roadmap-container {
  position: relative;
  padding: 20px 0;
}

.roadmap-container::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 60px;
  bottom: 60px;
  width: 4px;
  background: repeating-linear-gradient(
    to bottom,
    #e2e8f0 0px,
    #e2e8f0 10px,
    transparent 10px,
    transparent 20px
  );
  z-index: 0;
}

.roadblock-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.roadblock-icon-wrapper {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.roadblock-icon {
  width: 26px;
  height: 26px;
  display: block;
}

.roadblock-item.step-1 .roadblock-icon-wrapper {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
}

.roadblock-item.step-2 .roadblock-icon-wrapper,
.roadblock-item.step-3 .roadblock-icon-wrapper,
.roadblock-item.step-4 .roadblock-icon-wrapper,
.roadblock-item.step-5 .roadblock-icon-wrapper,
.roadblock-item.step-6 .roadblock-icon-wrapper {
  background: linear-gradient(135deg, #F97316 0%, #FB923C 100%);
  color: white;
}

.roadblock-item.step-7 .roadblock-icon-wrapper {
  background: linear-gradient(135deg, #0F172A 0%, #1e293b 100%);
  color: white;
}

.roadblock-item.destination .roadblock-icon-wrapper {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  width: 88px;
  height: 88px;
  font-size: 2rem;
}

.roadblock-item.destination .roadblock-icon {
  width: 34px;
  height: 34px;
}

.roadblock-content {
  flex: 1;
  background: white;
  margin-left: 20px;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

.roadblock-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

.roadblock-content p {
  font-size: 1rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.destination-card {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-color: #3b82f6;
}

.destination-title {
  color: #1d4ed8;
}

.destination-text {
  color: #1e40af;
}

.service-card {
  background: var(--bg-white);
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--brand-blue);
  transform: scaleY(0);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
  transform: scaleY(1);
}

.service-number {
  font-size: var(--font-size-5xl);
  font-weight: 800;
  color: var(--brand-blue-soft);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.service-icon-large {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.service-card h3 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-md);
}

.service-card p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.service-book-btn {
  margin-top: var(--space-md);
  width: 100%;
  text-align: center;
  display: block;
}

/* Benefits Section */
.benefits-section {
  padding: var(--section-pad) 0;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-white) 100%);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.benefit-card {
  background: var(--bg-white);
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-accent), var(--brand-accent-light));
  transform: scaleX(0);
  transition: transform 0.3s;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--brand-accent);
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-icon-wrapper {
  margin-bottom: var(--space-lg);
  display: flex;
  justify-content: center;
  align-items: center;
}

.benefit-icon {
  font-size: 2.5rem;
  display: inline-block;
  padding: var(--space-md);
  background: rgba(249, 115, 22, 0.12);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.benefit-card:hover .benefit-icon {
  background: var(--brand-accent);
  transform: scale(1.1) rotate(5deg);
}

.benefit-content h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-md);
}

.benefit-content p {
  color: var(--muted);
  line-height: 1.7;
  font-size: var(--font-size-base);
}

/* Stats Section */
.stats-section {
  padding: var(--section-pad) 0;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
}

.stat-card {
  text-align: center;
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: var(--font-size-5xl);
  font-weight: 800;
  color: white;
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.stat-label {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* Experts Section */
.experts-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-white);
  text-align: center;
}

.experts-cta {
  margin-top: var(--space-xl);
}

/* Testimonials Section */
.testimonials-section {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

/* FAQ */
.faq-item {
  background: #f8fafc;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.faq-question {
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #111827;
  font-size: 1.02rem;
}

.faq-answer {
  padding: 0 20px 16px;
  color: var(--muted);
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-question::after {
  transform: rotate(180deg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.testimonial-card {
  background: var(--bg-white);
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 3.5rem;
  color: var(--brand-accent);
  position: absolute;
  top: 8px;
  left: 16px;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-quote {
  font-style: italic;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 1rem;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.testimonial-badge {
  width: 48px;
  height: 48px;
  background: var(--brand-accent);
  color: var(--brand-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.testimonial-name {
  font-weight: 700;
  color: var(--ink);
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto var(--space-md);
  overflow: hidden;
  border: 3px solid var(--brand-blue);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  background: var(--brand-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--font-size-2xl);
}

.testimonial-content h4 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-xs);
}

.testimonial-title {
  font-size: var(--font-size-sm);
  color: var(--brand-blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-md);
}

.testimonial-text {
  color: var(--muted);
  line-height: 1.7;
  font-style: italic;
}

/* Contact Section */
.contact-section {
  padding: var(--section-pad) 0;
  background: var(--bg-white);
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.contact-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-lg);
  background: var(--bg);
  border-radius: var(--border-radius-lg);
  transition: all 0.3s;
}

.contact-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon::before {
  content: none;
}

.contact-details h3 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: var(--space-xs);
}

.contact-details p,
.contact-details a {
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.contact-details a:hover {
  color: var(--brand-blue);
}

/* Contact Form Section */
.contact-form-section {
  padding: var(--space-3xl) 0;
  background: var(--bg);
}

.contact-form-wrapper {
  max-width: 800px;
  margin: var(--space-2xl) auto 0;
}

.contact-form {
  background: var(--bg-white);
  padding: var(--space-2xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
  color: var(--ink);
  font-size: var(--font-size-base);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  font-size: var(--font-size-base);
  font-family: inherit;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px var(--brand-blue-soft);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-message {
  display: none;
  padding: var(--space-md);
  border-radius: var(--border-radius);
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.form-message-success {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-message-error {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Booking Calendar Section */
.booking-calendar-section {
  padding: var(--section-pad) 0;
  background: var(--bg-white);
}

.calendar-wrapper {
  max-width: 1000px;
  margin: var(--space-2xl) auto 0;
  -webkit-overflow-scrolling: touch;
}

.site-footer {
  background: var(--ink);
  color: white;
  padding: 40px 0;
  text-align: center;
}

.site-footer-title {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.site-footer-text {
  margin-bottom: 8px;
}

.site-footer-copy {
  font-size: 0.95rem;
  opacity: 0.7;
  margin-top: 16px;
}

/* Footer */
.main-footer {
  background: #1f2937;
  color: white;
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-column h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: white;
}

.footer-logo {
  margin-bottom: var(--space-md);
}

.footer-logo-img {
  height: 40px;
  width: auto;
}

.footer-logo-text {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: white;
}

.social-media {
  display: flex;
  gap: var(--space-md);
}

.social-icon {
  font-size: 1.5rem;
  text-decoration: none;
  transition: transform 0.2s;
}

.social-icon:hover {
  transform: scale(1.2);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact .icon {
  flex-shrink: 0;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-contact a:hover {
  color: white;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.subscribe-form input {
  padding: var(--space-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: var(--font-size-base);
}

.subscribe-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.subscribe-form input:focus {
  outline: none;
  border-color: var(--brand-blue);
  background: rgba(255, 255, 255, 0.15);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-bottom a {
  color: #ffffff;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .top-bar-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-xs);
  }
  
  .top-bar-left,
  .top-bar-right {
    flex-direction: column;
    gap: var(--space-xs);
    justify-content: center;
    width: 100%;
  }
  
  .navbar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  
  .logo {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
    gap: var(--space-md);
    text-align: center;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .menu-toggle {
    display: flex;
    margin: 0 auto;
  }
  
  .navbar-cta {
    gap: var(--space-xs);
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
  }
  
  .navbar-cta .btn {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--font-size-sm);
    flex: 1 1 auto;
    min-width: 120px;
    max-width: 200px;
  }
  
  .hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: var(--font-size-4xl);
  }
  
  .hero-subtitle {
    font-size: var(--font-size-xl);
  }
  
  .hero-image {
    order: -1;
  }
  
  .hero-image img {
    max-width: 100%;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: var(--space-lg);
  }

  .calendar-wrapper iframe {
    height: 600px;
  }
}

/* ============================================
   PREMIUM DESIGN ENHANCEMENTS
   Navy & Safety Orange Palette
   ============================================ */

/* Glassmorphism Card Feel */
.service-card, .pain-card, .step-card, .benefit-card, .stat-card, .testimonial-card {
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.08);
  border-radius: var(--border-radius-lg);
  transition: all 0.3s ease;
}

/* Pain cards need transparency for interactivity */
.pain-card {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--border);
}

.pain-card:hover, .pain-card.active {
  border-color: var(--brand-accent);
  box-shadow: 0 8px 25px -8px rgba(249, 115, 22, 0.25);
  transform: translateY(-2px);
}

/* Dashboard Frame for Charts */
.dashboard-frame {
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.dashboard-header {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.dashboard-dots {
  display: flex;
  gap: 6px;
}

.dashboard-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dashboard-dots span:nth-child(1) { background: #ef4444; }
.dashboard-dots span:nth-child(2) { background: #eab308; }
.dashboard-dots span:nth-child(3) { background: #22c55e; }

.dashboard-search {
  flex: 1;
  max-width: 200px;
  height: 28px;
  background: white;
  border-radius: 6px;
  border: 1px solid var(--border-dark);
}

.dashboard-content {
  padding: 24px;
}

.charts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.chart-panel {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.chart-panel--wide {
  margin-top: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.chart-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.chart-title {
  font-size: 1.125rem;
  margin-bottom: 8px;
  color: var(--brand-accent);
}

.chart-title--center {
  text-align: center;
}

.chart-caption {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.chart-caption--center {
  text-align: center;
}

.chart-shell {
  height: 240px;
  max-height: 240px;
  overflow: hidden;
  background: #f8fafc;
  border-radius: 8px;
  padding: 16px;
}

.chart-shell--compact {
  height: 220px;
  max-height: 220px;
}

.chart-canvas {
  max-height: 200px;
  min-height: 180px;
  width: 100%;
  display: block;
  height: 100%;
}

.chart-shell--compact .chart-canvas {
  max-height: 180px;
}


/* Timeline Styles - Horizontal Process */
.timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-accent) 0%, var(--brand-success) 100%);
  border-radius: 2px;
  z-index: 0;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 1;
}

.timeline-step .step-number {
  width: 48px;
  height: 48px;
  background: var(--brand-accent);
  color: var(--brand-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.timeline-step h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.timeline-step p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 200px;
}

/* Sticky Urgency Bar */
.sticky-urgency-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  padding: 10px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.sticky-urgency-bar.visible {
  transform: translateY(0);
}

.sticky-urgency-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.sticky-urgency-bar .countdown-mini {
  background: white;
  color: #dc2626;
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
}

.sticky-urgency-bar .sticky-cta {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.sticky-urgency-bar .sticky-cta:hover {
  background: #f3f4f6;
}

.sticky-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 900px) {
  .sticky-urgency-bar .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sticky-urgency-bar .urgency-text {
    flex: none;
  }

  .sticky-actions {
    flex-direction: column;
  }

  .sticky-urgency-bar .sticky-cta {
    white-space: normal;
    text-align: center;
  }
}

/* Mobile sticky countdown */
.mobile-sticky-countdown {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  padding: 12px;
  z-index: 9998;
  text-align: center;
}

.mobile-sticky-countdown .countdown-value {
  font-weight: 800;
  font-size: 1.25rem;
}

/* Calendar wrapper for mobile */
.calendar-wrapper {
  overflow-x: auto;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border);
  background: white;
}

.calendar-wrapper iframe {
  min-width: 800px;
  border-radius: var(--border-radius-lg);
}

.calendar-scroll-hint {
  display: none;
  text-align: center;
  padding: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

/* Header adjustment for sticky bar */
body.has-sticky-urgency .main-header {
  top: 44px;
}

/* Updated Section Labels to use Orange */

/* Updated Stat Cards to use Navy */
.stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-number {
  color: var(--brand-accent);
}

.stat-label {
  color: rgba(255, 255, 255, 0.85);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .mobile-sticky-countdown {
    display: block;
  }
  
  .calendar-scroll-hint {
    display: block;
  }
  
  .timeline {
    flex-direction: column;
    gap: 32px;
  }
  
  .timeline::before {
    display: none;
  }
  
  .timeline-step {
    flex-direction: row;
    text-align: left;
    gap: 16px;
  }
  
  .timeline-step .step-number {
    flex-shrink: 0;
    margin-bottom: 0;
  }
  
  .timeline-step p {
    max-width: none;
  }
  
  .sticky-urgency-bar .container {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  body.has-sticky-urgency .main-header {
    top: 0;
  }
  
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .hero-content h1 {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }

  .hero-subtitle {
    max-width: none;
  }

  .hero-card {
    width: 100%;
  }

  .charts-grid {
    grid-template-columns: 1fr;
  }

  .chart-panel--wide {
    margin-top: 24px;
  }

  .roadmap-container::before {
    left: 25px;
  }

  .roadblock-icon-wrapper {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .roadblock-content {
    margin-left: 12px;
    padding: 12px 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }
  
  .hero {
    padding: var(--space-2xl) 0;
  }
  
  .about-section,
  .services-section,
  .benefits-section,
  .testimonials-section,
  .contact-section,
  .stats-section,
  .booking-calendar-section,
  .quick-services {
    padding: var(--section-pad-sm) 0;
  }
}

/* Utility Classes */
.hidden {
  display: none;
}

.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;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: var(--space-xs) 0;
}

.hours-list li {
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--border, rgba(0,0,0,0.1));
}

.hours-list li:last-child {
  border-bottom: none;
}

.section-description {
  max-width: 600px;
  margin: var(--space-md) auto 0;
  color: var(--muted);
  text-align: center;
}

.cta-row {
  text-align: center;
  margin-top: 32px;
}

.container-narrow {
  max-width: 800px;
}

.booking-kicker {
  text-align: center;
  margin-bottom: 16px;
  font-weight: 600;
}

.booking-iframe {
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-top: var(--space-lg);
}

