div.services {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 5rem;
}

div.services .title {
  display: flex;
  margin-top: 5rem;
  align-items: center;
  width: 75dvw;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

div.services .title a {
  text-decoration: none;
  background-color: var(--primary-color);
  padding: 10px 15px;
  color: var(--background-color);
  border: 2px solid var(--primary-saturate-color);
  transition: all 0.3s ease;
}

div.services .title a:hover {
  background-color: var(--primary-saturate-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(161, 155, 139, 0.15);
}

div.services .title h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
}

.services-container {
  width: 100%;
  max-width: 1200px;
  margin-top: 3rem;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* Service Category Styles */
.service-category {
  background: white;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 2px solid #f0f0f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-saturate-color));
  transition: left 0.6s ease;
}

.service-category:hover::before {
  left: 100%;
}

.service-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(161, 155, 139, 0.15);
  border-color: var(--primary-color);
}

.category-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.category-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  position: relative;
}

.category-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-saturate-color);
}

.category-description {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Service Card Styles */
.services-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service-card {
  display: flex;
  gap: 3rem;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(161, 155, 139, 0.02), rgba(255, 255, 255, 1));
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
}

.service-card:hover {
  background: linear-gradient(135deg, rgba(161, 155, 139, 0.05), rgba(255, 255, 255, 1));
  transform: translateX(5px);
}

.service-info {
  flex: 1;
}

.service-info h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.service-description {
  font-size: 1.05rem;
  color: var(--secondary-color);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-weight: 500;
  max-width: 65ch;
}

/* Small badge-like text to show which hair types the treatment is suitable for */
.suitable {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.4rem 0.6rem;
  background: var(--primary-saturate-color);
  color: var(--background-color);
  border: 2px solid var(--primary-color);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 0; /* keep square corners to match theme */
}

/* Price Options */
.price-options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.price-options.single-price {
  max-width: 300px;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: white;
  border: 2px solid #f0f0f0;
  transition: all 0.3s ease;
  position: relative;
}

.price-item:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(161, 155, 139, 0.1);
}

.price-item.featured {
  border-color: var(--primary-saturate-color);
  background: linear-gradient(135deg, rgba(161, 155, 139, 0.1), rgba(255, 255, 255, 1));
}

.hair-length {
  font-weight: 500;
  color: var(--secondary-color);
}

.price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-saturate-color);
  background: var(--primary-color-transparent);
  padding: 0.3rem 0.8rem;
}

/* Botox offer badge */
.botox-offer {
  display: inline-block;
  margin: 0.5rem 0 1rem 0;
  padding: 0.35rem 0.8rem;
  background: var(--primary-saturate-color);
  color: var(--background-color);
  border: 1px solid var(--primary-color);
  font-weight: 700;
  border-radius: 0; /* square corners */
  box-shadow: none;
}
/* Service Visual */
.service-visual {
  flex-shrink: 0;
  width: 200px;
  height: 250px;
  position: relative;
  background: linear-gradient(180deg, 
    var(--primary-color) 0%, 
    var(--primary-saturate-color) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hair-length-visual {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.length-indicator {
  background: rgba(255, 255, 255, 0.9);
  color: var(--secondary-color);
  padding: 0.5rem 1rem;
  font-weight: 700;
  font-size: 1.1rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.length-indicator:hover {
  background: white;
  transform: scale(1.05);
}

.length-indicator.short {
  align-self: flex-start;
  margin-left: 1rem;
}

.length-indicator.medium {
  align-self: center;
}

.length-indicator.long {
  align-self: flex-end;
  margin-right: 1rem;
}

/* Botox Card Special Styling */
.service-card.botox {
  background: linear-gradient(135deg, rgba(150, 143, 127, 0.08), rgba(255, 255, 255, 1));
  border: none;
  border-left: 5px solid var(--primary-saturate-color);
}

/* Supplements Section */
.supplements {
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  padding-bottom: 10rem;
}

.supplement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.supplement-item {
  background: white;
  padding: 1.5rem;
  border: 2px solid #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: all 0.3s ease;
}

.supplement-item:hover {
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(161, 155, 139, 0.1);
}

.supplement-icon {
  font-size: 2rem;
  width: 50px;
  text-align: center;
  flex-shrink: 0;
}

.supplement-info {
  flex: 1;
}

.supplement-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.3rem;
}

.supplement-info p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

.supplement-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-saturate-color);
  background: var(--background-color);
  border: 2px solid lightgray;
  padding: 0.3rem 0.8rem;
}

/* OFFERT styling to stand out */
.supplement-price.offert {
  color: var(--background-color);
  background: var(--primary-saturate-color);
  border-color: var(--primary-color);
  box-shadow: none;
  border-radius: 0; /* square corners */
}

/* Enforce square corners across components to match global site style */
/* .service-category,
.price-item,
.supplement-item,
.price,
.supplement-price {
  border-radius: 0;
} */

/* Improve overall readability for small screens and high density */
@media (min-width: 769px) {
  .service-info h3 { font-size: 1.8rem; }
  .service-description { font-size: 1.05rem; }
  .price-item { padding: 1.1rem 1.8rem; }
  .price { font-size: 1.8rem; }
}

/* Benefits Section */
.benefits-section {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-saturate-color));
  color: var(--background-color);
  padding: 3rem 2rem;
  text-align: center;
  margin: 2rem 0;
}

.benefits-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: var(--background-color);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.benefit-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.benefit-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--background-color);
}

.benefit-item p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  text-align: center;
  padding: 4rem 2rem;
  margin-top: 2rem;
}

.cta-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-saturate-color));
  color: var(--background-color);
  text-decoration: none;
  padding: 1.2rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: sticky;
  overflow: hidden;
  bottom: 3rem;
  border: 2px solid lightgray;
  width: max-content;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(150, 143, 127, 0.3);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.service-category {
  animation: slideInLeft 0.6s ease-out forwards;
  opacity: 0;
}

.service-category:nth-child(1) { animation-delay: 0.1s; }
.service-category:nth-child(2) { animation-delay: 0.2s; }
.service-category:nth-child(3) { animation-delay: 0.3s; }
.service-category:nth-child(4) { animation-delay: 0.4s; }

.benefits-section {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
  animation-delay: 0.5s;
}

.cta-section {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
  animation-delay: 0.6s;
}

div.button {
  position: relative;
  height: 1px;
}

div.abs {
  position: absolute;
  top: -10000px;
  height: 10068px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  justify-content: end;
  pointer-events: none;

}

.ready {
  padding-bottom: 10rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  div.services {
    padding-bottom: 1rem;
  }

  div.services .title {
    flex-direction: column;
    width: 90dvw;
    gap: 1rem;
    text-align: center;
  }

  div.services .title h1 {
    font-size: 2rem;
    padding: 0;
  }

  div.services .title a {
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .services-container {
    padding: 0 1rem;
    gap: 2.5rem;
  }

  .service-category {
    padding: 1.5rem;
  }

  .category-header h2 {
    font-size: 1.8rem;
  }

  .category-description {
    font-size: 1rem;
  }

  .service-card {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    text-align: center;
  }

  .service-visual {
    width: 100%;
    height: 150px;
  }

  .hair-length-visual {
    flex-direction: row;
    align-items: center;
  }

  .length-indicator {
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
  }

  .length-indicator.short,
  .length-indicator.long {
    align-self: center;
    margin: 0;
  }

  .supplement-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .supplement-item {
    padding: 1rem;
    gap: 0.8rem;
  }

  .supplement-icon {
    font-size: 1.5rem;
    width: 40px;
  }

  .supplement-info h4 {
    font-size: 1rem;
  }

  .supplement-info p {
    font-size: 0.85rem;
  }

  .supplement-price {
    font-size: 1.1rem;
    padding: 0.2rem 0.6rem;
  }

  .benefits-section {
    padding: 2rem 1rem;
  }

  .benefits-section h2 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }

  .benefit-item {
    padding: 1rem;
  }

  .benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
  }

  .benefit-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .benefit-item p {
    font-size: 0.9rem;
  }

  .cta-section {
    padding: 2.5rem 1rem;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }

  .price-options {
    max-width: none;
  }

  .price-item {
    padding: 0.8rem 1rem;
  }

  .price {
    font-size: 1.2rem;
  }

  .ready {
    padding-bottom: 8rem;
  }
}

@media (max-width: 480px) {
  div.services .title h1 {
    font-size: 1.6rem;
  }

  .category-header h2 {
    font-size: 1.5rem;
  }

  .service-info h3 {
    font-size: 1.3rem;
  }

  .service-description {
    font-size: 0.9rem;
  }

  .cta-content h2 {
    font-size: 1.5rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }
}



.service-category.retouche .category-header h2 {
  color: var(--primary-saturate-color);
}

.service-category.retouche .category-description,
.service-category.retouche .service-description {
  color: #6b6b6b;
}

.service-category.retouche .price-item.featured {
  border-color: var(--primary-saturate-color);
  background: white;
}

.service-category.retouche .price {
  color: var(--primary-saturate-color);
}