/* ==========================================================================
   Sección "Nosotras" — se dibuja con js/about-section.js
   Medidas y colores por defecto tomados del sitio original.
   ========================================================================== */

.about {
  --about-bg: #fcf8ed;
  --about-min-h: 883px;
  --about-min-h-mobile: 0px;
  --about-cols: 30fr 40fr 30fr;
  --about-title: #bc9b5d;
  --about-subtitle: #4d4d4d;
  --about-text: #000;

  --f-about-title: "Cinzel", "Trajan Pro", Georgia, serif;
  --f-about-subtitle: "Barlow", "Helvetica Neue", Arial, sans-serif;

  display: grid;
  grid-template-columns: var(--about-cols);
  min-height: var(--about-min-h);
  margin-top: 33px;
  background: #fff;
}

.about[hidden] { display: none; }

/* ---------- Imágenes laterales ---------- */

.about__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #000;
}

.about__media picture { display: contents; }

.about__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focal, 50% 50%);
}

/* ---------- Texto ---------- */

.about__content {
  display: flex;
  justify-content: center;
  padding: 43px 32px 50px;
  background: var(--about-bg);
  color: var(--about-text);
}

.about__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 489px;
}

.about__title {
  margin: 0 0 24px;
  color: var(--about-title);
  font-family: var(--f-about-title);
  font-size: clamp(48px, 5.6vw, 90px);
  font-weight: 400;
  line-height: .9;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.about__subtitle {
  margin: 0 0 24px;
  color: var(--about-subtitle);
  font-family: var(--f-about-subtitle);
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

/* Texto enriquecido del editor */
.about__body {
  align-self: stretch;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.4;
}
.about__body > :first-child { margin-top: 0; }
.about__body > :last-child { margin-bottom: 0; }
.about__body p { margin: 0 0 .8em; }
.about__body ul,
.about__body ol { margin: 0 0 .8em; padding-left: 1.1em; }
.about__body ul { list-style: disc; }
.about__body ol { list-style: decimal; }
.about__body li { margin: 0; }
.about__body li > p { margin: 0; }
.about__body strong,
.about__body b { font-weight: 700; }
.about__body h3,
.about__body h4 { margin: 1em 0 .4em; font-weight: 700; }
.about__body a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.about__body a:hover { color: #751fff; }

.about__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablet: la columna de texto gana espacio */
@media (max-width: 1100px) {
  .about:not(.about--no-left):not(.about--no-right) { grid-template-columns: 25fr 50fr 25fr; }
  .about--no-left,
  .about--no-right { grid-template-columns: 1fr 1fr; }
  .about__content { padding: 40px 28px; }
  .about__body { font-size: 16px; }
}

/* Móvil: texto arriba y las dos imágenes debajo, una al lado de la otra */
@media (max-width: 800px) {
  .about,
  .about:not(.about--no-left):not(.about--no-right) {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "text text"
      "left right";
    min-height: var(--about-min-h-mobile);
    margin-top: 24px;
  }
  .about--no-left,
  .about--no-right { grid-template-areas: "text text" "media media"; }

  .about__content { grid-area: text; padding: 40px 20px 44px; }
  .about__media--left  { grid-area: left; }
  .about__media--right { grid-area: right; }
  .about--no-left .about__media,
  .about--no-right .about__media { grid-area: media; }

  .about__media { aspect-ratio: 3 / 4; }
  .about--no-left .about__media,
  .about--no-right .about__media { aspect-ratio: 4 / 3; }
  .about__img { object-position: var(--focal-mobile, var(--focal, 50% 50%)); }

  .about__title { font-size: clamp(40px, 12vw, 64px); margin-bottom: 18px; }
  .about__subtitle { font-size: 14px; margin-bottom: 20px; }
}
