/* HISTORY PAGE (CMS page id 1)
   Extracted from components.css (CWV optimization): page-specific styles
   moved out of the global async "default" bundle. Loaded via headContent block of Content/History/History.html.twig */

/* ==========================================================================
   HISTORY PAGE - Company History Page
   ========================================================================== */

/* Hero Section */
.sc-history-hero {
  position: relative;
  height: 750px;
  overflow: hidden;
}

.sc-history-hero-image {
  position: absolute;
  inset: 0;
}

.sc-history-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sc-history-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(var(--color-ink-rgb), 0.9), rgba(var(--color-ink-rgb), 0.7), rgba(var(--color-ink-rgb), 0.5));
}

.sc-history-hero .container-lg {
  position: relative;
  height: 100%;
  display: flex;
  align-items: end;
  z-index: 1;
}

.sc-history-hero-content {
  max-width: 900px;
  margin-bottom: 35px;;
}

.sc-history-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.sc-history-hero-title {
  font-size: 4rem;
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
  line-height: 1.1;
}

.sc-history-hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 700px;
}

/* Who We Are Section */
.sc-history-who-we-are {
  padding: var(--sc-section-space) 0;
  background-color: #f9fafb;
}

.sc-history-section-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}


.sc-section-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  line-height: 1.75;
  margin-top: 32px;
}

/* Origins Section */
.sc-history-origins {
  padding: var(--sc-section-space) 0;
}

.sc-history-origins-header {
  text-align: center;
  margin-bottom: 48px;
}

.sc-history-origins-header .sc-section-title {
  text-align: center;
  margin: 0 auto 24px auto;
}


/* Center all section titles */
.sc-history-section-header .sc-section-title,
.sc-history-origins .sc-section-title,
.sc-history-stats .sc-section-title,
.sc-history-departments .sc-section-title,
.sc-history-team .sc-section-title,
.sc-history-delegations .sc-section-title,
.sc-history-mvv .sc-section-title,
.sc-history-why-choose .sc-section-title,
.sc-history-certifications .sc-section-title,
.sc-delegations-benefits .sc-section-title,
.sc-delegations-expert-advice .sc-expert-advice-title,
.sc-delegations-cta .sc-delegations-cta-title {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
}

.sc-history-origins-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.sc-history-origins-image {
  width: 100%;
  position: sticky;
  top: 100px;
}

.sc-history-origins-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.sc-history-origins-timeline {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Responsive */
@media (max-width: 991px) {
  .sc-history-origins-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sc-history-origins-image {
    position: relative;
    top: 0;
    max-width: 600px;
    margin: 0 auto;
  }
}

.sc-history-team-desc b {
  color: var(--color-brand);
}

.sc-history-timeline-card {
  background: white;
  border-left: 4px solid var(--color-brand);
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.sc-history-timeline-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateX(4px);
}

.sc-history-timeline-card.sc-timeline-highlight {
  border-left-color: var(--color-brand);
  border-left-width: 4px;
  background: rgba(var(--color-brand-rgb), 0.05);

}

.sc-history-timeline-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.sc-history-timeline-year {
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  background: #6b7280;
  padding: 4px 16px;
  border-radius: 20px;
  margin: 0;
  flex-shrink: 0;
}

.sc-timeline-highlight .sc-history-timeline-year {
  background: var(--color-brand);
  color: white;
}

.sc-history-timeline-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0;
}

.sc-history-timeline-desc {
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}

/* Founder Section */
.sc-history-founder {
  background: linear-gradient(135deg, rgba(var(--color-ink-rgb), 0.05), rgba(var(--color-ink-rgb), 0.1));
  border: none;
  border-radius: 16px;
  padding: 48px;
  margin-top: 64px;
}

.sc-history-founder-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: 24px;
}

.sc-history-founder-desc {
  font-size: 1.125rem;
  color: #4b5563;
  line-height: 1.8;
}

.sc-history-founder-desc span {
  font-weight: 600;
  color: #1f2937;
}

/* Stats Section */
.sc-history-stats {
  padding: var(--sc-section-space) 0;
  background: var(--color-brand); 
  color: white;
}

.sc-history-stats .sc-section-title {
  color: white;
}

.sc-history-stats-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin-bottom: 64px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.sc-history-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.sc-history-stat-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.sc-history-stat-card:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.sc-history-stat-value {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1;
}

.sc-history-stat-label {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Icon Styles for Stats */
.sc-icon-users::before {
  content: "👥";
  font-size: 4rem;
}

.sc-icon-building::before {
  content: "🏢";
  font-size: 4rem;
}

.sc-icon-award::before {
  content: "🏆";
  font-size: 4rem;
}

.sc-icon-trending::before {
  content: "📈";
  font-size: 4rem;
}

.sc-icon-wrench::before {
  content: "🔧";
  font-size: 4rem;
}

.sc-icon-droplet::before {
  content: "💧";
  font-size: 4rem;
}

.sc-icon-sun::before {
  content: "☀️";
  font-size: 4rem;
}

.sc-icon-home::before {
  content: "🏠";
  font-size: 4rem;
}

.sc-icon-shopping::before {
  content: "🛒";
  font-size: 4rem;
}

.sc-icon-heart::before {
  content: "❤️";
  font-size: 4rem;
}

.sc-icon-target::before {
  content: "🎯";
  font-size: 4rem;
}

.sc-icon-eye::before {
  content: "👁️";
  font-size: 4rem;
}

/* Departments Section */
.sc-history-departments {
  padding: var(--sc-section-space) 0;
  background-color: #f9fafb;
}

.sc-history-departments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.sc-history-department-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.sc-history-department-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.sc-history-department-image {
  position: relative;
  height: 256px;
  overflow: hidden;
}

.sc-history-department-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sc-history-department-card:hover .sc-history-department-image img {
  transform: scale(1.1);
}

.sc-history-department-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.sc-history-department-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
}

.sc-history-department-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin: 0;
}

.sc-history-department-content {
  padding: 24px;
}

.sc-history-department-content p {
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}

/* Team Section */
.sc-history-team {
  padding: var(--sc-section-space) 0;
}

.sc-history-team-content {
  max-width: 1000px;
  margin: 0 auto;
}

.sc-history-team-number {
  font-size: 1.475rem;
  font-weight: 600;
  text-align: center;
  margin: 32px 0 24px;
  color: #6c767a;
}

.sc-history-team-desc {
  font-size: 1.25rem;
  color: #6b7280;
  line-height: 1.75;
  text-align: center;
  margin-bottom: 48px;
}

.sc-history-team-desc span {
  font-weight: 700;
  color: var(--color-ink);
}

.sc-history-team-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.sc-history-team-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid;
}

.sc-history-team-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.sc-history-team-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: 12px;
}

.sc-history-team-card-desc {
  color: #6b7280;
  line-height: 1.7;
}

/* Delegations Section */
.sc-history-delegations {
  padding: var(--sc-section-space) 0;
  background-color: rgba(249, 250, 251, 0.5);
}

.sc-history-delegations-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  text-align: center;
  margin-bottom: 64px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.sc-history-delegations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.sc-history-delegation-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.sc-history-delegation-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-8px);
}

.sc-history-delegation-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-brand);
  margin-bottom: 12px;
}

.sc-history-delegation-desc {
  font-size: 1.125rem;
  color: #6b7280;
}

/* Mission, Vision, Values Section */
.sc-history-mvv {
  padding: var(--sc-section-space) 0;
}

.sc-history-mv-cards {
  display: grid;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto 64px;
}

.sc-history-mv-card {
  background: white;
  border-left: 4px solid;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.sc-history-mv-card.sc-border-blue {
  border-left-color: var(--color-brand);
}

.sc-history-mv-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.sc-history-mv-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-brand);
  margin: 0;
}

.sc-history-mv-desc {
  font-size: 1.125rem;
  color: #6b7280;
  line-height: 1.75;
  margin: 0;
}

.sc-history-values-title {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: var(--color-brand);
}

.sc-history-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.sc-history-value-card {
  background: white;
  border-radius: 8px;
  padding: 32px 24px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  text-align: left;
}

.sc-history-value-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.sc-history-value-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-brand);
  margin-bottom: 12px;
  line-height: 1.4;
}

.sc-history-value-desc {
  color: #6b7280;
  line-height: 1.7;
  font-size: 0.938rem;
}

/* Why Choose Us Section */
.sc-history-why-choose {
  padding: var(--sc-section-space) 0;
  background: linear-gradient(135deg, rgba(var(--color-ink-rgb), 0.05), rgba(var(--color-ink-rgb), 0.1), rgba(var(--color-ink-rgb), 0.05));
}

.sc-history-why-choose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.sc-history-why-choose-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: white;
  padding: 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.sc-history-why-choose-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.sc-history-why-choose-item svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-ink);
}

.sc-history-why-choose-item p {
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

/* Certifications Section */
.sc-history-certifications {
  padding: 56px 0 0 0;
  background: white;
}

.sc-history-cert-desc {
  font-size: 1.25rem;
  color: #6b7280;
  line-height: 1.75;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 56px;
}

/* CTA Section */
.sc-history-cta {
  padding: 56px 0 0 0;
  background: var(--color-brand);
  color: white;
  margin-bottom: 0;
}

.sc-history-cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.sc-history-cta-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 32px;
}

.sc-history-cta-button {
  display: inline-block;
  padding: 14px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  margin-bottom: 80px;
  background: #ffffff;
  color: var(--color-brand);
  border: none;
  transition: background 0.3s, transform 0.2s;
  text-decoration: none;
}

.sc-history-cta-button:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-brand);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Responsive Design for History Page */
@media (max-width: 1024px) {
  .sc-history-hero-title {
    font-size: 3rem;
  }

  .sc-history-hero-subtitle {
    font-size: 1.25rem;
  }

  .sc-history-origins-grid,
  .sc-history-mv-cards,
  .sc-history-team-cards {
    grid-template-columns: 1fr;
  }

  .sc-history-stats-grid,
  .sc-history-delegations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sc-history-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sc-history-departments-grid,
  .sc-history-why-choose-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sc-history-hero {
    height: 500px;
  }

  .sc-history-hero-title {
    font-size: 2.5rem;
  }

  .sc-history-hero-subtitle {
    font-size: 1.125rem;
  }

  .sc-history-badge {
    font-size: 1rem;
    padding: 10px 20px;
  }

  .sc-section-title {
    font-size: 2.5rem;
  }

  .sc-history-stats-grid,
  .sc-history-delegations-grid,
  .sc-history-values-grid {
    grid-template-columns: 1fr;
  }

  .sc-history-founder {
    padding: 32px 24px;
  }

  .sc-history-cta-title {
    font-size: 2rem;
  }

  .sc-history-cta-subtitle {
    font-size: 1.125rem;
  }
}

