/* ============================================================
   HOME.CSS — BrightWay Enterprises Home Page
   Scandinavian Minimalist + Bento Grid Layout
   ============================================================ */

/* ── HERO ── */
.bw-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-white);
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

.bw-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.bw-hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.bw-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 60px 0;
}

.bw-hero-content {
  position: relative;
  z-index: 2;
}

.bw-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 28px;
}

.bw-hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--highlight);
  border-radius: 50%;
  animation: pulse-soft 2s infinite;
}

.bw-hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.bw-hero h1 .text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bw-hero-desc {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 36px;
}

.bw-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.bw-hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.bw-hero-stat h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.bw-hero-stat p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.bw-hero-visual {
  position: relative;
  z-index: 2;
}

.bw-hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.bw-hero-image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.bw-hero-float-card {
  position: absolute;
  bottom: -24px;
  left: -32px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  animation: float 5s ease-in-out infinite;
}

.bw-hero-float-card .metric {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
}

.bw-hero-float-card .metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── FOUNDER MESSAGE ── */
.founder-section {
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}

.founder-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: center;
}

.founder-portrait {
  width: 300px;
  height: 360px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-content blockquote {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 24px;
  position: relative;
  padding-left: 28px;
  border-left: 4px solid var(--primary);
}

.founder-name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1rem;
}

.founder-title {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ── OVERVIEW ── */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.overview-card {
  padding: 36px 32px;
  border-radius: var(--radius-xl);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.overview-card:hover {
  border-color: var(--border-soft);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.overview-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.overview-card-icon.orange { background: var(--bg-soft); color: var(--primary); }
.overview-card-icon.blue { background: #EFF6FF; color: var(--accent); }
.overview-card-icon.green { background: #ECFDF5; color: var(--highlight); }

.overview-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.overview-card p {
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ── STATISTICS ── */
.stats-section {
  background: linear-gradient(135deg, var(--text-primary), #1E293B);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(249,115,22,0.1), transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(37,99,235,0.08), transparent 50%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 32px 20px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number .orange { color: var(--primary-light); }

.stat-label {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

/* ── SERVICE HIGHLIGHTS (Bento Grid) ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.bento-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  transition: var(--transition-smooth);
  overflow: hidden;
  position: relative;
}

.bento-item:hover {
  border-color: var(--border-soft);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.bento-item.span-2 {
  grid-column: span 2;
}

.bento-item.featured {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  color: #fff;
}

.bento-item.featured h3,
.bento-item.featured p {
  color: #fff;
}

.bento-item.featured p {
  opacity: 0.85;
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.bento-item.featured .bento-icon {
  background: rgba(255,255,255,0.2);
}

.bento-item h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.bento-item p {
  font-size: 0.92rem;
  line-height: 1.65;
}

.bento-image {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 20px;
}

.bento-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── WHY CHOOSE US ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-card {
  display: flex;
  gap: 20px;
  padding: 32px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  transition: var(--transition-smooth);
}

.why-card:hover {
  border-color: var(--border-soft);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.why-card-num {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
}

.why-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.9rem;
}

/* ── INDUSTRIES ── */
.industries-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.industry-chip {
  padding: 12px 28px;
  background: var(--bg-white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.industry-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--bg-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ── TIMELINE ── */
.timeline-container {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--primary-light), var(--border-light));
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 32px;
}

.timeline-dot {
  position: absolute;
  left: -33px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--bg-white);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.timeline-year {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.timeline-title {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 0.92rem;
}

/* ── METHODOLOGY ── */
.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.method-step {
  text-align: center;
  padding: 36px 24px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  position: relative;
  transition: var(--transition-smooth);
}

.method-step:hover {
  border-color: var(--border-soft);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.method-step-num {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
}

.method-step h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.method-step p {
  font-size: 0.88rem;
}

/* ── SUCCESS STORIES ── */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.story-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.story-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.story-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.story-card:hover .story-image img {
  transform: scale(1.05);
}

.story-body {
  padding: 28px;
}

.story-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.story-body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.story-body p {
  font-size: 0.9rem;
}

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.testimonial-stars {
  color: var(--secondary);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── FAQ ── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-question:hover { color: var(--primary); }

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  background: var(--primary);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
}

.faq-answer p {
  padding-bottom: 22px;
  font-size: 0.94rem;
  line-height: 1.7;
}

/* ── INSIGHTS ── */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.insight-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: var(--transition-smooth);
}

.insight-card:hover {
  border-color: var(--border-soft);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.insight-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.insight-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.insight-card p {
  font-size: 0.9rem;
  line-height: 1.65;
}

.insight-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-soft);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 14px;
}

/* ── CONTACT CTA ── */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-2xl);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0 24px;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 50%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto 32px;
}

.cta-section .btn-secondary {
  background: #fff;
  border-color: #fff;
  color: var(--primary);
}

.cta-section .btn-secondary:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.cta-wrapper {
  padding: 100px 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .bw-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .bw-hero-image-wrapper img { height: 380px; }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-item.span-2 { grid-column: span 1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .method-steps { grid-template-columns: repeat(2, 1fr); }
  .stories-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .founder-inner { grid-template-columns: 1fr; }
  .founder-portrait { margin: 0 auto; }
}

@media (max-width: 768px) {
  .overview-grid { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .method-steps { grid-template-columns: 1fr; }
  .stories-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .bw-hero-stats { flex-direction: column; gap: 20px; }
  .cta-section { padding: 48px 24px; margin: 0 16px; border-radius: var(--radius-xl); }
  .bw-hero-float-card { bottom: -16px; left: -8px; }
  .founder-portrait { width: 220px; height: 280px; }
}

@media (max-width: 480px) {
  .bw-hero-actions { flex-direction: column; }
  .bw-hero-actions .btn-primary,
  .bw-hero-actions .btn-secondary { width: 100%; justify-content: center; }
}
