/* =========================
   ABOUT PAGE
========================= */

.madam-about-page {
  width: 100%;
  background: var(--color-white);
}

/* =========================
  ABOUT HERO
========================= */

.about-hero {
  position: relative;
  width: 100%;
  min-height: 520px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  z-index: 1;
}

.about-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-hero-content {
  max-width: 820px;
  text-align: center;
  color: var(--color-white);
}

.about-hero-content h1 {
  margin: 0 0 18px;
  font-family: var(--font-main);
  font-size: 61px;
  line-height: 1.05;
  font-weight: 600;
  color: var(--color-white);
}

.about-hero-content h1 em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
}

.about-hero-content p {
  max-width: 760px;
  margin: 0 auto 30px;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--color-white);
}

.about-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 46px;
  padding: 12px 28px;
  border-radius: 999px;
  background: #25d366;
  color: var(--color-white);
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease;
}

.about-whatsapp-btn:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

/* =========================
   ABOUT INTRO SECTION
========================= */

.about-overlap-section {
  width: 100%;
  padding-block: 86px 92px;
  background: var(--color-white);
}

.about-overlap-container {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.about-overlap-image {
  width: 65%;
  height: 560px;
  border-radius: 8px;
  overflow: hidden;
}

.about-overlap-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.about-overlap-card {
  position: absolute;
  right: var(--page-padding);
  top: 50%;
  transform: translateY(-50%);
  width: 42%;
  max-width: 520px;
  min-height: 420px;
  background: #f3f6ef;
  border-radius: 8px;
  padding: 64px 58px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-overlap-card h2 {
  margin: 0 0 22px;
  font-family: var(--font-main);
  font-size: 36px;
  line-height: 1.12;
  font-weight: 500;
  color: var(--color-dark);
}

.about-overlap-card p {
  margin: 0 0 18px;
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  color: rgba(34, 34, 34, 0.82);
}

.about-overlap-card p:last-child {
  margin-bottom: 0;
}

/* =========================
   ABOUT AUDIENCE SECTION
========================= */

.about-audience-section {
  width: 100%;
  background: var(--color-white);
  padding-block: 40px 86px;
}

.about-audience-heading {
  text-align: center;
  margin-bottom: 52px;
}

.about-audience-heading h2 {
  margin: 0;
  font-family: var(--font-main);
  font-size: 36px;
  line-height: 1.15;
  font-weight: 400;
  color: var(--color-dark);
}

.about-audience-heading h2 em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--color-green);
}

.about-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.about-audience-card {
  min-height: 190px;
  border: 2px dashed rgba(34, 34, 34, 0.14);
  border-radius: 2px;
  padding: 42px 28px 34px;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-check {
  width: 44px;
  height: 28px;
  display: block;
  margin-bottom: 24px;
  position: relative;
}

.about-check::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0;
  width: 18px;
  height: 34px;
  border-right: 4px solid rgba(34, 34, 34, 0.78);
  border-bottom: 4px solid rgba(34, 34, 34, 0.78);
  transform: rotate(45deg);
}

.about-audience-card h3 {
  margin: 0 0 14px;
  font-family: var(--font-main);
  font-size: 18px;
  line-height: 1.3;
  font-weight: 400;
  color: var(--color-dark);
}

.about-audience-card p {
  margin: 0;
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 300;
  color: rgba(34, 34, 34, 0.72);
}

/* =========================
   ABOUT BANNER
========================= */

.about-banner-section {
  position: relative;
  width: 100%;
  min-height: 680px;
  background-image:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.08) 0%,
      rgba(0, 0, 0, 0.04) 38%,
      rgba(0, 0, 0, 0.00) 70%
    ),
    url("../images/about/about-baner.webp");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.about-banner-grid {
  min-height: 680px;
  display: flex;
  align-items: center;
}

.about-banner-content {
  max-width: 600px;
  color: var(--color-dark);
  z-index: 2;
}

.about-banner-content h1 {
  margin: 0 0 22px;
  font-family: var(--font-main);
  font-size: clamp(42px, 5vw, 54px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -1.5px;
  color: var(--color-dark);
}

.about-banner-content h1 em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--color-green);
}

.about-banner-content p {
  max-width: 520px;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--color-dark);
}

/* =========================
   ABOUT PHILOSOPHY SECTION
========================= */

.about-philosophy-section {
  width: 100%;
  background: var(--color-white);
  padding-block: 76px 96px;
}

.about-philosophy-heading {
  text-align: center;
  margin-bottom: 42px;
}

.about-philosophy-heading h2 {
  margin: 0;
  font-family: var(--font-main);
  font-size: 36px;
  line-height: 1.15;
  font-weight: 400;
  color: var(--color-dark);
}

.about-philosophy-heading h2 em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--color-green);
}

.about-philosophy-grid {
  max-width: 1180px;
  min-height: 650px;
  max-height: 900px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  overflow: hidden;
  border-radius: 8px;
  background: #f3f6ef;
}

/* =========================
   VIDEO COLUMN
========================= */

.about-philosophy-video {
  position: relative;
  width: 100%;
  min-height: 650px;
  overflow: hidden;
  background: #ddd;
}

.about-philosophy-video video,
.about-philosophy-video img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* =========================
   PRODUCT COLUMN
========================= */

.about-philosophy-product {
  width: 100%;
  min-height: 650px;
  background: #f3f6ef;
  text-decoration: none;
  color: var(--color-dark);
  padding: 72px 42px 58px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about-philosophy-product-image {
  position: relative;
  width: 100%;
  max-width: 280px;
  height: 420px;
  margin-bottom: 34px;
}

.about-philosophy-product-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.about-philosophy-product-image .product-img-main {
  opacity: 1;
  transform: scale(1);
}

.about-philosophy-product-image .product-img-hover {
  opacity: 0;
  transform: scale(1.04);
}

.about-philosophy-product:hover .product-img-main {
  opacity: 0;
  transform: scale(0.98);
}

.about-philosophy-product:hover .product-img-hover {
  opacity: 1;
  transform: scale(1);
}

.about-philosophy-product-info {
  text-align: center;
}

.about-philosophy-product-info h3 {
  margin: 0 0 8px;
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 400;
  color: var(--color-dark);
}

.about-philosophy-product-info p {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  color: var(--color-dark);
}

.about-philosophy-product-info del {
  font-size: 12px;
  color: rgba(34, 34, 34, 0.45);
  margin-right: 6px;
}

.about-philosophy-product-info ins {
  text-decoration: none;
  color: #c86b22;
}

/* =========================
   TEXT COLUMN
========================= */

.about-philosophy-content {
  min-height: 650px;
  background: #f3f6ef;
  padding: 96px 58px 72px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-philosophy-text {
  margin-bottom: 62px;
}

.about-philosophy-text h3 {
  max-width: 380px;
  margin: 0 0 18px;
  font-family: var(--font-main);
  font-size: 27px;
  line-height: 1.22;
  font-weight: 400;
  color: var(--color-dark);
}

.about-philosophy-text p {
  max-width: 380px;
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 300;
  color: rgba(34, 34, 34, 0.76);
}

.about-philosophy-text p:last-child {
  margin-bottom: 0;
}

.about-philosophy-features {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.about-philosophy-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.about-feature-icon {
  width: 42px;
  height: 42px;
  color: rgba(34, 34, 34, 0.78);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about-feature-icon svg {
  width: 38px;
  height: 38px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-philosophy-feature p {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 400;
  color: var(--color-dark);
}


/* =========================
   FORM + INFO SECTION
========================= */

.contact-main-section {
  padding-block: 86px 96px;
}

.contact-layout {
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.contact-form-panel h2,
.contact-info-panel h2 {
  margin: 0 0 28px;
  font-family: var(--font-main);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--color-dark);
}

.contact-form-wrapper {
  width: 100%;
}

.contact-form-wrapper form {
  display: grid;
  gap: 18px;
}

.contact-form-wrapper p {
  margin: 0;
}

.contact-form-wrapper label {
  display: block;
  font-size: 0;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea,
.contact-form-wrapper select {
  width: 100%;
  border: 1px solid rgba(34, 34, 34, 0.16);
  border-radius: 4px;
  background: var(--color-white);
  padding: 14px 16px;
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.4;
  color: var(--color-dark);
  outline: none;
}

.contact-form-wrapper input,
.contact-form-wrapper select {
  height: 48px;
}

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

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus,
.contact-form-wrapper select:focus {
  border-color: #606b57;
}

.contact-form-wrapper input[type="submit"] {
  width: 92px;
  height: 42px;
  justify-self: end;
  border: none;
  border-radius: 999px;
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.contact-form-wrapper input[type="submit"]:hover {
  background: #606b57;
}

.contact-info-panel {
  padding-top: 0;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(34, 34, 34, 0.12);
  margin-bottom: 34px;
}

.contact-info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-dark);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.4;
}

.contact-info-row:hover {
  color: #606b57;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-info-icon {
  width: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-service-hours h3 {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--color-dark);
}

.contact-service-hours p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(34, 34, 34, 0.72);
}


/* =========================
   ABOUT RESPONSIVE
========================= */

@media (max-width: 1024px) {

  /* INTRO: card pasa debajo de la imagen */
  .about-overlap-container {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .about-overlap-image {
    width: 100%;
    height: 520px;
    border-radius: 8px 8px 0 0;
  }

  .about-overlap-card {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: calc(100% - 8%);
    max-width: none;
    min-height: auto;
    margin: -82px auto 0;
    border-radius: 8px;
    padding: 48px 40px;
    z-index: 2;
  }

  /* WHO IS: columna */
  .about-audience-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .about-audience-card {
    min-height: 170px;
  }

  /* PHILOSOPHY: una columna */
  .about-philosophy-grid {
    max-height: none;
    grid-template-columns: 1fr;
  }

  .about-philosophy-video,
  .about-philosophy-product,
  .about-philosophy-content {
    min-height: auto;
  }

  .about-philosophy-video {
    height: 560px;
  }

  .about-philosophy-product {
    padding: 44px 36px;
  }

  .about-philosophy-content {
    padding: 56px 36px;
  }

  /* FORM + CONTACT INFO */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }
}

@media (max-width: 768px) {

  /* =========================
     ABOUT HERO MOBILE
  ========================= */

  .about-hero {
    min-height: 640px;
    background-size: cover;
    background-position: center;
  }

  .about-hero-overlay {
    background: rgba(0, 0, 0, 0.55);
  }

  .about-hero-inner {
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-block: 0;
  }

  .about-hero-content {
    width: 100%;
    max-width: 92%;
    text-align: center;
    margin-inline: auto;
  }

  .about-hero-content h1 {
    font-size: 42px;
    line-height: 1.08;
    margin-bottom: 16px;
  }

  .about-hero-content p {
    max-width: 100%;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.5;
  }

  /* =========================
     ABOUT INTRO MOBILE
  ========================= */

  .about-overlap-section {
    padding-block: 56px 64px;
  }

  .about-overlap-container {
    padding-inline: var(--page-padding);
  }

  .about-overlap-image {
    height: 430px;
    border-radius: 8px;
  }

  .about-overlap-card {
    width: calc(100% - 8%);
    margin-top: -64px;
    padding: 38px 26px;
    text-align: center;
  }

  .about-overlap-card h2 {
    font-size: 31px;
  }

  .about-overlap-card p {
    font-size: 15px;
  }

  /* =========================
     WHO IS MADAM AFRIC MOBILE
  ========================= */

  .about-audience-section {
    padding-block: 28px 64px;
  }

  .about-audience-heading {
    margin-bottom: 34px;
  }

  .about-audience-heading h2 {
    font-size: 31px;
  }

  .about-audience-card {
    padding: 36px 22px 30px;
  }

  .about-audience-card h3 {
    font-size: 18px;
  }

  .about-audience-card p {
    font-size: 15px;
  }

  /* =========================
   ABOUT BANNER MOBILE
========================= */
  .about-banner-section {
    min-height: 640px;
    background-image:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.50) 0%,
        rgba(0, 0, 0, 0.26) 42%,
        rgba(0, 0, 0, 0.04) 100%
      ),
      url("../images/about/about-baner-mobile.webp");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    align-items: flex-start;
  }

  .about-banner-grid {
    min-height: 640px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 52px;
  }

  .about-banner-content {
    max-width: 92%;
    text-align: center;
    margin-inline: auto;
  }

  .about-banner-content h1 {
    font-size: 38px;
    line-height: 1.08;
    letter-spacing: -0.8px;
    color: var(--color-white);
    margin-bottom: 16px;
  }

  .about-banner-content h1 em {
    color: var(--color-white);
  }

  .about-banner-content p {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-white);
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .about-banner-section,
  .about-banner-grid {
    min-height: 600px;
  }

  .about-banner-grid {
    padding-top: 46px;
  }

  .about-banner-content h1 {
    font-size: 34px;
  }
  /* =========================
     PHILOSOPHY MOBILE
  ========================= */

  .about-philosophy-section {
    padding-block: 56px 68px;
  }

  .about-philosophy-heading {
    margin-bottom: 32px;
  }

  .about-philosophy-heading h2 {
    font-size: 31px;
  }

  .about-philosophy-grid {
    border-radius: 8px;
  }

  .about-philosophy-video {
    height: 460px;
  }

  .about-philosophy-product {
    min-height: auto;
    padding: 26px 22px;
    display: grid;
    grid-template-columns: 105px 1fr;
    gap: 16px;
    align-items: center;
    justify-content: initial;
    text-align: left;
    background: #f3f6ef;
  }

  .about-philosophy-product-image {
    width: 105px;
    height: 105px;
    max-width: none;
    margin-bottom: 0;
    background: var(--color-white);
    border-radius: 8px;
    padding: 10px;
  }

  .about-philosophy-product-image img {
    position: absolute;
    inset: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    object-fit: contain;
  }

  .about-philosophy-product-info {
    text-align: left;
  }

  .about-philosophy-product-info h3 {
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 1.25;
    text-align: left;
  }

  .about-philosophy-product-info p {
    margin: 0;
    font-size: 15px;
    text-align: left;
  }

  .about-philosophy-content {
    padding: 42px 26px;
  }

  .about-philosophy-text {
    margin-bottom: 44px;
  }

  .about-philosophy-text h3 {
    max-width: 100%;
    font-size: 24px;
  }

  .about-philosophy-text p,
  .about-philosophy-feature p {
    max-width: 100%;
    font-size: 15px;
  }

  .about-philosophy-features {
    gap: 32px;
  }

  /* =========================
     CONTACT FORM MOBILE
  ========================= */

  .contact-main-section {
    padding-block: 52px 62px;
  }

  .contact-layout {
    display: flex;
    flex-direction: column;
    gap: 46px;
    max-width: 100%;
  }

  .contact-form-panel,
  .contact-info-panel {
    width: 100%;
  }

  .contact-form-panel {
    order: 1;
  }

  .contact-info-panel {
    order: 2;
  }


  .about-hero,
  .about-hero-inner {
    min-height: 600px;
  }

  .about-hero-content h1 {
    font-size: 36px;
  }

  .about-overlap-image {
    height: 360px;
  }

  .about-overlap-card {
    width: calc(100% - 6%);
    margin-top: -52px;
    padding: 32px 22px;
  }

  .about-overlap-card h2 {
    font-size: 28px;
  }


  .about-philosophy-video {
    height: 390px;
  }

  .about-philosophy-product {
    grid-template-columns: 92px 1fr;
    gap: 14px;
  }

  .about-philosophy-product-image {
    width: 92px;
    height: 92px;
  }

  .about-philosophy-content {
    padding: 36px 22px;
  }

  .about-philosophy-text h3 {
    font-size: 22px;
  }
}








