/* ============================================
   SOOTHRA — Page-Specific Styles
   Styles for inner pages (about, products,
   science, testimonials, contact, blog)
   ============================================ */

/* ─── PAGE HERO BANNER ─── */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-deep-green);
  padding-top: 80px;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(var(--color-deep-green-rgb), 0.9) 0%,
    rgba(var(--color-deep-green-rgb), 0.75) 50%,
    rgba(var(--color-lavender-rgb), 0.2) 100%
  );
  z-index: 2;
}

.page-hero__content {
  position: relative;
  z-index: 3;
  padding: var(--space-20) 0;
  max-width: 700px;
}

.page-hero__eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-lavender);
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.page-hero__eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background-color: var(--color-lavender);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

.page-hero__title em {
  font-style: italic;
  color: var(--color-lavender);
}

.page-hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  max-width: 560px;
}


/* ─── BREADCRUMBS ─── */
.breadcrumbs {
  background-color: var(--color-cream);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border-light);
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-light);
  flex-wrap: wrap;
}

.breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.breadcrumbs__link {
  color: var(--color-deep-green);
  font-weight: 400;
  transition: opacity var(--duration-base) var(--ease-out);
}

.breadcrumbs__link:hover {
  opacity: 0.7;
}

.breadcrumbs__separator {
  color: var(--color-text-light);
  font-size: var(--text-xs);
}

.breadcrumbs__current {
  color: var(--color-text-secondary);
  font-weight: 500;
}


/* ─── ABOUT PAGE ─── */
.about-expanded__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-expanded__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.about-expanded__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-expanded__image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
}

.about-expanded__text {
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--color-text-secondary);
  line-height: 1.9;
  margin-bottom: var(--space-6);
}

.about-expanded__text:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  float: left;
  line-height: 1;
  margin-right: var(--space-3);
  color: var(--color-deep-green);
}

/* Brand Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.pillar-card {
  text-align: center;
  padding: var(--space-10) var(--space-6);
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-deep-green), var(--color-lavender));
  transform: scaleX(0);
  transition: transform var(--duration-base) var(--ease-out);
}

.pillar-card:hover::before {
  transform: scaleX(1);
}

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

.pillar-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(var(--color-deep-green-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
}

.pillar-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-deep-green);
}

.pillar-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-deep-green);
  margin-bottom: var(--space-3);
}

.pillar-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}


/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.team-card {
  text-align: center;
  padding: var(--space-10);
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  transition: all var(--duration-base) var(--ease-out);
}

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

.team-card__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-5);
  border: 3px solid var(--color-border-light);
}

.team-card__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-deep-green);
  margin-bottom: var(--space-2);
}

.team-card__role {
  font-size: var(--text-sm);
  color: var(--color-coral);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

.team-card__bio {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Certifications */
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.cert-card {
  text-align: center;
  padding: var(--space-8) var(--space-6);
  background: rgba(var(--color-deep-green-rgb), 0.04);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
}

.cert-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-4);
  color: var(--color-deep-green);
}

.cert-card__icon svg {
  width: 100%;
  height: 100%;
}

.cert-card__title {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-deep-green);
  margin-bottom: var(--space-2);
}

.cert-card__text {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  line-height: 1.6;
}


/* ─── PRODUCTS PAGE ─── */
.product-filter {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-12);
  flex-wrap: wrap;
}

.product-filter__btn {
  padding: var(--space-3) var(--space-6);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
  background: var(--color-white);
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
}

.product-filter__btn:hover {
  border-color: var(--color-deep-green);
  color: var(--color-deep-green);
}

.product-filter__btn.active {
  background-color: var(--color-deep-green);
  color: var(--color-white);
  border-color: var(--color-deep-green);
}

/* Extended Product Cards */
.product-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
  transition: all var(--duration-base) var(--ease-out);
  margin-bottom: var(--space-10);
}

.product-detail-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.product-detail-card:nth-child(even) {
  direction: rtl;
}

.product-detail-card:nth-child(even) > * {
  direction: ltr;
}

.product-detail-card__image {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-10);
}

.product-detail-card__image--pain {
  background: linear-gradient(135deg, #f8f7f4, #e8f5e9);
}

.product-detail-card__image--sleep {
  background: linear-gradient(135deg, #f3ecfb, #e8eaf6);
}

.product-detail-card__image--stress {
  background: linear-gradient(135deg, #f8f7f4, #fff3e0);
}

.product-detail-card__image--holistic {
  background: linear-gradient(135deg, #f5f8f0, #e8f5e9);
}

.product-detail-card__image img {
  max-width: 80%;
  max-height: 320px;
  object-fit: contain;
}

.product-detail-card__badge {
  position: absolute;
  top: var(--space-6);
  left: var(--space-6);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.product-detail-card:nth-child(even) .product-detail-card__badge {
  left: auto;
  right: var(--space-6);
}

.product-detail-card__badge--pain {
  background-color: rgba(var(--color-deep-green-rgb), 0.1);
  color: var(--color-deep-green);
}

.product-detail-card__badge--sleep {
  background-color: rgba(var(--color-lavender-rgb), 0.3);
  color: #6a4f8a;
}

.product-detail-card__badge--stress {
  background-color: rgba(var(--color-coral-rgb), 0.1);
  color: var(--color-coral);
}

.product-detail-card__badge--holistic {
  background-color: rgba(var(--color-lime-rgb), 0.3);
  color: #3d6b2e;
}

.product-detail-card__body {
  padding: var(--space-12) var(--space-10);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-detail-card__category {
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-coral);
  margin-bottom: var(--space-3);
}

.product-detail-card__name {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-deep-green);
  margin-bottom: var(--space-4);
}

.product-detail-card__desc {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

.product-detail-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.product-detail-card__feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.product-detail-card__feature svg {
  width: 18px;
  height: 18px;
  color: var(--color-deep-green);
  flex-shrink: 0;
}

.product-detail-card__cta {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}


/* ─── SCIENCE PAGE ─── */
.science-deep__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.science-deep__visual {
  position: relative;
  text-align: center;
}

.science-deep__visual img {
  max-width: 100%;
  border-radius: var(--radius-xl);
}

/* Mechanism cards */
.mechanism-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.mechanism-card {
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
  transition: all var(--duration-base) var(--ease-out);
}

.mechanism-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
}

.mechanism-card__step {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  color: var(--color-lime);
  margin-bottom: var(--space-4);
  opacity: 0.6;
}

.mechanism-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-white);
  margin-bottom: var(--space-3);
}

.mechanism-card__text {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

/* Research stats */
.research-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.research-stat {
  text-align: center;
  padding: var(--space-8);
}

.research-stat__number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  color: var(--color-deep-green);
  margin-bottom: var(--space-2);
}

.research-stat__label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: var(--space-12);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-deep-green), var(--color-lavender));
}

.timeline__item {
  position: relative;
  margin-bottom: var(--space-10);
  padding-left: var(--space-10);
}

.timeline__dot {
  position: absolute;
  left: -26px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-deep-green);
  border: 3px solid var(--color-cream);
}

.timeline__year {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-coral);
  margin-bottom: var(--space-2);
}

.timeline__title {
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-deep-green);
  margin-bottom: var(--space-2);
}

.timeline__text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}


/* ─── TESTIMONIALS PAGE ─── */
.testimonials-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  padding: var(--space-12) 0;
}

.testimonials-stat {
  text-align: center;
}

.testimonials-stat__number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  color: var(--color-white);
  margin-bottom: var(--space-2);
}

.testimonials-stat__label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
}

/* Expanded testimonial cards */
.testimonials-expanded__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.testimonial-expanded {
  padding: var(--space-10);
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
}

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

.testimonial-expanded__quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--color-lavender);
  line-height: 1;
  margin-bottom: var(--space-2);
  opacity: 0.6;
}

.testimonial-expanded__condition {
  display: inline-block;
  padding: var(--space-1) var(--space-4);
  background: rgba(var(--color-deep-green-rgb), 0.08);
  color: var(--color-deep-green);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-5);
}

.testimonial-expanded__text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial-expanded__author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border-light);
}

.testimonial-expanded__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-border-light);
}

.testimonial-expanded__name {
  font-weight: 600;
  color: var(--color-deep-green);
  font-size: var(--text-base);
}

.testimonial-expanded__location {
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

.testimonial-expanded__stars {
  display: flex;
  gap: 2px;
  margin-top: var(--space-1);
}

.testimonial-expanded__stars svg {
  width: 14px;
  height: 14px;
  fill: #f5a623;
}

/* Doctor endorsements */
.endorsement-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-8);
  padding: var(--space-10);
  background: rgba(var(--color-deep-green-rgb), 0.03);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  margin-bottom: var(--space-6);
  align-items: center;
}

.endorsement-card__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-deep-green);
}

.endorsement-card__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-deep-green);
  margin-bottom: var(--space-1);
}

.endorsement-card__title {
  font-size: var(--text-sm);
  color: var(--color-coral);
  font-weight: 500;
  margin-bottom: var(--space-4);
}

.endorsement-card__text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.8;
  font-style: italic;
}


/* ─── CONTACT PAGE ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.contact-form {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-md);
}

.contact-form__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-deep-green);
  margin-bottom: var(--space-2);
}

.contact-form__subtitle {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-8);
}

.contact-form .form-group {
  margin-bottom: var(--space-5);
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.contact-info__card {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  padding: var(--space-6);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  transition: all var(--duration-base) var(--ease-out);
}

.contact-info__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(var(--color-deep-green-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-deep-green);
}

.contact-info__label {
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-deep-green);
  margin-bottom: var(--space-1);
}

.contact-info__value {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.contact-info__value a {
  color: var(--color-deep-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-info__value a:hover {
  color: var(--color-coral);
}

/* Map embed */
.contact-map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  margin-top: var(--space-8);
  height: 300px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}


/* ─── BLOG / KNOWLEDGE CENTRE ─── */
/* Featured article */
.blog-featured {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
  margin-bottom: var(--space-12);
  transition: all var(--duration-base) var(--ease-out);
}

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

.blog-featured__image {
  position: relative;
  min-height: 350px;
}

.blog-featured__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-featured__body {
  padding: var(--space-12) var(--space-10);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-featured__tag {
  display: inline-block;
  width: fit-content;
  padding: var(--space-1) var(--space-4);
  background: rgba(var(--color-coral-rgb), 0.1);
  color: var(--color-coral);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-5);
}

.blog-featured__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-deep-green);
  margin-bottom: var(--space-4);
  line-height: 1.2;
}

.blog-featured__excerpt {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

.blog-featured__read {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-deep-green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: gap var(--duration-base) var(--ease-out);
}

.blog-featured__read:hover {
  gap: var(--space-4);
  color: var(--color-coral);
}

.blog-featured__read svg {
  transition: transform var(--duration-base) var(--ease-out);
}

.blog-featured__read:hover svg {
  transform: translateX(4px);
}

/* Blog category filter */
.blog-filter {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
}

.blog-filter__btn {
  padding: var(--space-2) var(--space-5);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  background: var(--color-white);
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
}

.blog-filter__btn:hover {
  border-color: var(--color-deep-green);
  color: var(--color-deep-green);
}

.blog-filter__btn.active {
  background-color: var(--color-deep-green);
  color: var(--color-white);
  border-color: var(--color-deep-green);
}

/* Blog article grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
  transition: all var(--duration-base) var(--ease-out);
}

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

.blog-card__image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}

.blog-card__body {
  padding: var(--space-6);
}

.blog-card__tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: rgba(var(--color-deep-green-rgb), 0.08);
  color: var(--color-deep-green);
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-deep-green);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-4);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__read {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-deep-green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: gap var(--duration-base) var(--ease-out);
}

.blog-card__read:hover {
  gap: var(--space-3);
  color: var(--color-coral);
}


/* Newsletter */
.newsletter {
  background: var(--color-deep-green);
  border-radius: var(--radius-xl);
  padding: var(--space-16) var(--space-12);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(var(--color-lavender-rgb), 0.08);
}

.newsletter::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(var(--color-lime-rgb), 0.06);
}

.newsletter__content {
  position: relative;
  z-index: 2;
}

.newsletter__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.newsletter__text {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-8);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter__form {
  display: flex;
  gap: var(--space-3);
  max-width: 480px;
  margin: 0 auto;
}

.newsletter__input {
  flex: 1;
  padding: var(--space-4) var(--space-6);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  outline: none;
  transition: border-color var(--duration-base) var(--ease-out);
}

.newsletter__input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter__input:focus {
  border-color: var(--color-lavender);
}

.newsletter__submit {
  padding: var(--space-4) var(--space-8);
  background: var(--color-white);
  color: var(--color-deep-green);
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
  white-space: nowrap;
}

.newsletter__submit:hover {
  background: var(--color-lime);
  transform: translateY(-2px);
}


/* ─── FORM STYLES (contact page extended) ─── */
.contact-form label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-deep-green);
  margin-bottom: var(--space-2);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-primary);
  background: var(--color-cream);
  outline: none;
  transition: border-color var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
  min-height: 48px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--color-deep-green);
  box-shadow: 0 0 0 3px rgba(var(--color-deep-green-rgb), 0.1);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555555' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px;
}


/* ─── STATS BAR (reusable) ─── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  padding: var(--space-16) 0;
}

.stats-bar--bordered {
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--color-border-light);
}

.stat-item__number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  color: var(--color-deep-green);
  line-height: 1;
  margin-bottom: var(--space-3);
}

.stat-item__label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.5;
}


/* ─── RESPONSIVE — ALL PAGES ─── */
@media (max-width: 1024px) {
  .about-expanded__grid,
  .science-deep__grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

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

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

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

  .product-detail-card {
    grid-template-columns: 1fr;
  }

  .product-detail-card:nth-child(even) {
    direction: ltr;
  }

  .product-detail-card__image {
    min-height: 300px;
  }

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

  .blog-featured {
    grid-template-columns: 1fr;
  }

  .blog-featured__image {
    min-height: 250px;
  }

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

  .research-stats,
  .stats-bar,
  .testimonials-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-expanded__grid {
    grid-template-columns: 1fr;
  }

  .endorsement-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .endorsement-card__avatar {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 40vh;
  }

  .page-hero__title {
    font-size: var(--text-4xl);
  }

  .pillars-grid,
  .certifications-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-form {
    padding: var(--space-8);
  }

  .contact-form .form-row {
    grid-template-columns: 1fr;
  }

  .newsletter {
    padding: var(--space-10) var(--space-6);
  }

  .newsletter__form {
    flex-direction: column;
  }

  .newsletter__submit {
    width: 100%;
  }

  .product-detail-card__body {
    padding: var(--space-8) var(--space-6);
  }

  .product-detail-card__cta {
    flex-direction: column;
  }

  .product-detail-card__cta .btn {
    width: 100%;
  }

  .research-stats,
  .stats-bar,
  .testimonials-stats {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .timeline {
    padding-left: var(--space-8);
  }

  .timeline::before {
    left: 12px;
  }

  .timeline__item {
    padding-left: var(--space-6);
  }

  .timeline__dot {
    left: -22px;
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .page-hero__content {
    padding: var(--space-12) 0;
  }

  .product-filter,
  .blog-filter {
    gap: var(--space-2);
  }

  .product-filter__btn,
  .blog-filter__btn {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
  }

  .blog-card__image {
    height: 160px;
  }
}
