/* ===============================
   About Page Styles
   =============================== */

.about-hero {
  background: linear-gradient(to bottom, #f8f7f6, #eceae8);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 85vh;
  line-height: 70px;
  padding: 4rem 3rem;
  gap: 4rem;
}

.about-hero img {
  width: 45%;
  max-width: 600px;
  border-radius: var(--radius-lg, 20px);
  object-fit: cover;
  box-shadow: var(--shadow-md, 0 10px 25px rgba(0, 0, 0, 0.1));
}

.about-hero-content {
  flex: 1;
  max-width: 600px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: #0d0d0d;
  margin-bottom: 1rem;
  line-height: 0.9;
}

.about-hero-content h1 .brand-name {
  color: var(--color-accent, #f17824);
  font-size: 2.1em;
}

.about-hero-content p {
  font-size: 1.15rem;
  color: var(--color-text-medium, #444);
  line-height: 1.7;
  max-width: 90%;
}

/* Responsive layout */
@media (max-width: 900px) {
  .about-hero {
    flex-direction: column;
    text-align: center;
    padding: 6rem 1rem 1rem;
  }

  .about-hero img {
    width: 95%;
    max-width: none;
    margin-top: 1rem;
  }

  .about-hero-content {
    max-width: 94%;
    text-align: left;
  }

  .about-hero-content h1 {
    font-size: clamp(1.62rem, 5.4vw, 2.16rem);
    line-height: 0.9;
  }

  .about-hero-content h1 .brand-name {
    font-size: 2.3em;
  }

  .about-hero-content p {
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 0.1;
  }

  .about-text h2 {
    font-size: 2rem;
  }

  .about-text p {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .about-values h2 {
    font-size: 1.8rem;
  }

  .value-card h3 {
    font-size: 1.1rem;
  }
}

/* ===============================
   About Story Section
   =============================== */

.about-story {
  display: flex;
  justify-content: center;
  padding: 6rem 2rem;
  background: #fff;
  padding-left: 10px;
  padding-right: 40px;
}

.about-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  align-items: center;
  width: 80vw;
  margin-inline: auto;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-lg, 20px);
  box-shadow: var(--shadow-sm, 0 10px 25px rgba(0, 0, 0, 0.08));
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--color-primary, #1c1208);
}

.about-text p {
  line-height: 1.6;
  margin-bottom: 1.2rem;
  color: #333;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

/* ===============================
   About Values Section
   =============================== */

.about-values {
  background: linear-gradient(to bottom, #f7f5f3, #f1efec);
  padding: 6rem 2rem;
  text-align: center;
}

.about-values h2 {
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: var(--color-primary, #1c1208);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: var(--container-max, 1100px);
  margin-inline: auto;
}

.value-card {
  background: #fff;
  border-radius: var(--radius-md, 16px);
  padding: 2rem;
  box-shadow: var(--shadow-sm, 0 10px 25px rgba(0, 0, 0, 0.05));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md, 0 15px 35px rgba(0, 0, 0, 0.1));
}

.value-card h3 {
  font-size: 1.3rem;
  color: #0f3441;
  margin-bottom: 1rem;
}

/* ===============================
   Contact Section
   =============================== */

#contact-section {
  margin-top: 4rem;
  background: linear-gradient(to bottom, #faf8f6, #f0eeeb);
}

/* ===============================
   Pricing Section (About Page)
   =============================== */

#pricing-section {
  display: block;
  position: relative;
  padding: 0px 0;
  margin: 80px 0;
  background: linear-gradient(to bottom right, var(--color-bg-light, #f6f5f3), var(--color-bg-medium, #ebe8e5));
  overflow: visible;
  z-index: 1;
}

/* Allow pricing section to expand properly */
#pricing-section .pricing-groups {
  position: relative !important;
  min-height: 100px;
  height: auto !important;
  overflow: visible !important;
}

/* Keep non-active groups hidden */
#pricing-section .pricing-cards {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

#pricing-section .pricing-cards.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

/* ===============================
   Utility Classes
   =============================== */

.accent {
  color: var(--color-accent, #f17824);
}

strong {
  color: var(--color-accent, #f17824);
  font-weight: 700;
}