/* CHM BEAUTY — PROFHILO & PROFHILO STRUCTURA */

.ps-page {
  --red: #b70e17;
  --red-dark: #7f1820;
  --orange: #ff6f23;
  --ink: #411f20;
  --text: #493d39;
  --muted: #756863;
  --cream: #fff8f3;
  --line: rgba(183, 14, 23, 0.14);

  overflow: hidden;
  color: var(--text);
  background: #fff;
  font-family: "Times New Roman", Times, serif;
}

.ps-page *,
.ps-page *::before,
.ps-page *::after {
  box-sizing: border-box;
}

.ps-page sup {
  font-size: 0.48em;
  vertical-align: super;
}

.ps-container {
  width: min(1220px, calc(100% - 48px));
  margin-inline: auto;
}

.ps-eyebrow {
  display: inline-block;

  color: var(--red);

  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

/* ========================================
   INTRO
======================================== */

.ps-intro {
  padding: 95px 0 82px;

  text-align: center;

  background:
    radial-gradient(
      circle at 10% 0,
      rgba(255, 111, 35, 0.1),
      transparent 31%
    ),
    linear-gradient(180deg, #fff, #fff8f3);
}

.ps-intro h1 {
  margin: 18px 0 12px;

  color: var(--ink);

  font-size: clamp(48px, 6vw, 76px);
  font-weight: 500;
  line-height: 1.04;
}

.ps-intro h2 {
  max-width: 900px;
  margin: 0 auto 38px;

  color: var(--red);

  font-size: clamp(23px, 2.6vw, 34px);
  font-weight: 500;
  line-height: 1.25;
}

.ps-lead {
  max-width: 1050px;
  margin: 0 auto;

  font-family: Arial, sans-serif;
  font-size: 17px;
  line-height: 1.82;
}

/* ========================================
   BENEFITS
======================================== */

.ps-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;

  margin-top: 52px;

  text-align: left;
}

.ps-benefits article {
  position: relative;

  padding: 30px;

  border: 1px solid var(--line);
  border-radius: 22px;

  background: rgba(255, 255, 255, 0.86);

  box-shadow: 0 18px 45px rgba(101, 42, 24, 0.07);
}

.ps-benefits article > span {
  color: var(--orange);

  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.ps-benefits h3 {
  margin: 18px 0 11px;

  color: var(--ink);

  font-size: 25px;
  text-transform: uppercase;
}

.ps-benefits p {
  margin: 0;

  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

/* ========================================
   SECTIONS
======================================== */

.ps-section {
  padding: 100px 0;
}

.ps-section--light {
  background: #fff;
}

.ps-section--warm {
  background: linear-gradient(145deg, #fff8f3, #f8eee8);
}

/* ========================================
   SECTION HEADINGS
======================================== */

.ps-heading {
  display: flex;
  align-items: flex-start;
  gap: 22px;

  margin-bottom: 48px;
}

.ps-section-number {
  display: grid;
  flex: 0 0 54px;
  place-items: center;

  height: 54px;

  border-radius: 50%;

  color: #fff;
  background: linear-gradient(
    135deg,
    var(--red),
    var(--orange)
  );

  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;

  box-shadow: 0 12px 25px rgba(183, 14, 23, 0.2);
}

.ps-heading h2 {
  max-width: 1000px;
  margin: 12px 0 0;

  color: var(--ink);

  font-size: clamp(36px, 4.2vw, 55px);
  font-weight: 500;
  line-height: 1.08;
}

/* ========================================
   CONTENT GRID
======================================== */

.ps-grid {
  display: grid;
  align-items: start;
  gap: 64px;
}

.ps-grid--text-image {
  grid-template-columns:
    minmax(0, 1.12fr)
    minmax(380px, 0.88fr);
}

/* بخش Profhilo Structura: عکس بزرگ‌تر و متن کمی باریک‌تر */

.ps-grid--image-text {
  grid-template-columns:
    minmax(480px, 1.05fr)
    minmax(0, 0.95fr);

  gap: 48px;
}

.ps-grid--image-text > .ps-image--portrait {
  width: 100%;
  max-width: none;
  min-height: 0;
  aspect-ratio: 1248 / 662;
  margin: 25px 0 0;
}

.ps-grid--image-text > .ps-image--portrait img {
  width: 100%;
  height: 100%;
  min-height: 0;

  display: block;

  object-fit: contain;
  object-position: center;
}

.ps-copy p {
  margin: 0 0 24px;

  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.82;
}

/* ========================================
   IMAGES
======================================== */

.ps-image {
  position: relative;

  min-height: 520px;
  margin: 0;
  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: 130px 24px 130px 24px;

  background:
    radial-gradient(
      circle at 75% 20%,
      rgba(255, 111, 35, 0.18),
      transparent 28%
    ),
    linear-gradient(145deg, #fff, #f2ddd2);

  box-shadow: 0 24px 55px rgba(98, 42, 25, 0.13);
}

.ps-image img {
  display: block;

  width: 100%;
  height: 100%;
  min-height: inherit;

  object-fit: cover;
  object-position: center;
}

/* ========================================
   IMAGE PLACEHOLDERS
======================================== */

.ps-placeholder {
  position: absolute;
  inset: 20px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;

  border: 1px dashed rgba(183, 14, 23, 0.35);
  border-radius: inherit;

  text-align: center;
}

.ps-placeholder strong {
  display: grid;
  place-items: center;

  width: 65px;
  height: 65px;

  border-radius: 50%;

  color: #fff;
  background: linear-gradient(
    135deg,
    var(--red),
    var(--orange)
  );

  font-family: Arial, sans-serif;
  font-size: 12px;
}

.ps-placeholder span {
  color: var(--ink);
  font-size: 26px;
}

.ps-placeholder small {
  color: var(--muted);

  font-family: Arial, sans-serif;
  font-size: 12px;
}

/* ========================================
   TREATMENT AREAS
======================================== */

.ps-areas-card {
  margin-top: 34px;
  padding: 28px 26px 26px;

  border-left: 4px solid var(--orange);
  border-radius: 0 20px 20px 0;

  background: var(--cream);
}

.ps-areas-card h3 {
  margin: 0 8px 20px;

  color: var(--ink);
  font-size: 25px;
}

.ps-area-tags span {
  padding: 9px 14px;

  border: 1px solid var(--line);
  border-radius: 999px;

  color: var(--red-dark);
  background: #fff;

  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.ps-image--small {
  width: calc(100% + 20px);
  min-height: 0;
  aspect-ratio: 1296 / 472;
  margin: 0 0 0 -10px;

  overflow: hidden;
  border-radius: 22px;
  background: #eeeeee;
  box-shadow: none;
}

.ps-image--small img {
  display: block;

  width: 100%;
  height: 100%;
  min-height: 0;

  object-fit: contain;
  object-position: center;

  background: #eeeeee;
}

/* عکس افقی Profhilo Structura ــ P3 */

.ps-grid--image-text > .ps-image--portrait {
  width: 100%;
  min-height: 0;
  aspect-ratio: 1248 / 662;

  overflow: hidden;

  background: #eeeeee;
}

.ps-grid--image-text > .ps-image--portrait img {
  display: block;

  width: 100%;
  height: 100%;
  min-height: 0;

  object-fit: contain;
  object-position: center;

  background: #eeeeee;
}

.ps-area-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;

  margin-top: 30px;
}

.ps-area-tags strong {
  width: 100%;
  margin-bottom: 4px;

  color: var(--ink);
  font-size: 23px;
}

/* ========================================
   TREATMENT
======================================== */

.ps-treatment {
  padding: 100px 0;

  background: #fff;
}

.ps-heading--center {
  justify-content: center;
  text-align: center;
}

.ps-treatment-intro {
  max-width: 1060px;
  margin: 0 auto 45px;

  text-align: center;

  font-family: Arial, sans-serif;
  font-size: 17px;
  line-height: 1.8;
}

.ps-treatment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}

.ps-treatment-grid article {
  padding: 27px 23px;

  border: 1px solid var(--line);
  border-radius: 20px;

  background: #fffaf7;

  box-shadow: 0 13px 34px rgba(100, 40, 22, 0.06);
}

.ps-treatment-grid article > span {
  color: var(--orange);

  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.ps-treatment-grid h3 {
  margin: 15px 0 10px;

  color: var(--ink);
  font-size: 22px;
}

.ps-treatment-grid p {
  margin: 0;

  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.65;
}

/* ========================================
   RESULTS
======================================== */

.ps-results {
  display: grid;
  gap: 14px;

  margin-top: 36px;
}

.ps-results article {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 26px;

  padding: 25px 30px;

  border-bottom: 1px solid var(--line);
}

.ps-results h3 {
  margin: 0;

  color: var(--ink);
  font-size: 23px;
}

.ps-results p {
  margin: 0;

  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

/* ========================================
   CTA
======================================== */

.ps-cta {
  padding: 20px 0 105px;
}

.ps-cta-card {
  padding: 75px 60px;

  border-radius: 34px;

  color: #fff;

  background:
    radial-gradient(
      circle at 10% 15%,
      rgba(255, 185, 120, 0.28),
      transparent 25%
    ),
    linear-gradient(
      135deg,
      #74151c,
      #ad0d17 58%,
      #e95c22
    );

  box-shadow: 0 28px 65px rgba(121, 21, 29, 0.25);

  text-align: center;
}

.ps-cta .ps-eyebrow--light {
  display: inline-block;
  padding: 10px 17px;
  border-radius: 999px;

  color: #ffe1ad;
  background: rgba(255, 255, 255, 0.1);
}
.ps-cta .hy-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;

  padding: 16px 27px;
  border: none;
  border-radius: 999px;

  color: var(--red-dark);
  background: #ffffff;

  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;

  box-shadow: 0 15px 35px rgba(60, 5, 12, 0.22);
  transition: transform 0.3s ease;
}

.ps-cta .hy-cta-button > span {
  color: inherit;
  background: transparent !important;
  box-shadow: none !important;
}

.ps-cta .hy-cta-button:hover {
  transform: translateY(-4px);
}

.ps-cta h2 {
  margin: 20px 0 18px;

  color: #fff;

  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.05;
}

.ps-cta h2 span {
  display: block;
  color: #ffe1ad;
}

.ps-cta p {
  max-width: 780px;
  margin: 0 auto 30px;

  font-family: Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
}

.ps-cta a {
  display: inline-flex;
  align-items: center;
  gap: 15px;

  padding: 16px 27px;

  border-radius: 999px;

  color: var(--red-dark);
  background: #fff;

  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;

  box-shadow: 0 15px 35px rgba(60, 5, 12, 0.22);

  transition: 0.3s;
}

.ps-cta a:hover {
  transform: translateY(-4px);
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 1050px) {
  .ps-grid--text-image,
  .ps-grid--image-text {
    grid-template-columns: 1fr;
  }

  .ps-grid--image-text .ps-image {
    order: 2;
  }

  .ps-image--portrait {
    width: min(100%, 760px);
    min-height: 580px;
    margin-inline: auto;
  }

  .ps-grid--image-text > .ps-image--portrait {
     width: min(100%, 850px);
    min-height: 0;
    aspect-ratio: 1248 / 662;
    margin: 20px auto 0;
  }

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

/* ========================================
   MOBILE
======================================== */

@media (max-width: 768px) {
  .ps-container {
    width: min(100% - 30px, 680px);
  }

  .ps-intro {
    padding: 60px 0;
  }

  .ps-intro h1 {
    font-size: clamp(39px, 11vw, 54px);
  }

  .ps-intro h2 {
    font-size: 23px;
  }

  .ps-lead {
    font-size: 15px;
  }

  .ps-benefits {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .ps-benefits article {
    padding: 24px;
  }

  .ps-section,
  .ps-treatment {
    padding: 68px 0;
  }

  .ps-heading {
    display: block;
    margin-bottom: 34px;
    text-align: center;
  }

  .ps-section-number {
    margin: 0 auto 17px;
  }

  .ps-heading h2 {
    font-size: clamp(32px, 9vw, 43px);
  }

  .ps-grid {
    gap: 34px;
  }

  .ps-copy p {
    font-size: 15px;
  }

  .ps-image--portrait {
    min-height: 430px;
    border-radius: 90px 20px 90px 20px;
  }

  .ps-image--small {
     width: calc(100% + 12px);
    min-height: 0;
    aspect-ratio: 1296 / 472;
    margin-left: -6px;
    border-radius: 18px;
  }

  .ps-grid--image-text > .ps-image--portrait {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1248 / 662;
    margin: 10px auto 0;

    border-radius: 45px 14px 45px 14px;
  }

  .ps-areas-card {
    padding: 22px 16px 16px;
  }

  .ps-areas-card h3 {
    margin: 0 8px 16px;
  }

  .ps-treatment-intro {
    font-size: 15px;
  }

  .ps-treatment-grid {
    grid-template-columns: 1fr;
  }

  .ps-results article {
    grid-template-columns: 1fr;
    gap: 9px;

    padding: 23px 8px;
  }

  .ps-cta {
    padding: 5px 0 70px;
  }

  .ps-cta-card {
    padding: 55px 24px;
    border-radius: 24px;
  }

  .ps-cta h2 {
    font-size: 38px;
  }

  .ps-cta p {
    font-size: 15px;
  }

  .ps-cta a {
    width: 100%;
    justify-content: center;

    padding: 16px 18px;
  }
}

/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 420px) {
  .ps-image--portrait {
    min-height: 370px;
  }

  .ps-benefits h3 {
    font-size: 21px;
  }

  .ps-cta h2 {
    font-size: 33px;
  }
}