/* =========================================================
   CONSTRUFLORIDA — NOSOTROS
   Archivo: estilos/nosotros.css
   ========================================================= */

.about-page {
  background: var(--paper);
  color: var(--ink);
}

/* =========================================================
   HERO — NOSOTROS COMPACTO
   ========================================================= */

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  height: 330px;
  min-height: 330px;
  overflow: hidden;
  background: var(--green);
}

.about-hero-copy {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  color: #fff;
}

.about-hero-copy-inner {
  width: min(590px, calc(100% - 72px));
  padding-block: 32px;
}

.about-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 14px;
  color: #e5c49c;
  font-size: var(--page-eyebrow);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.about-hero-eyebrow span {
  display: block;
  width: 23px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--orange);
}

.about-hero h1 {
  max-width: 570px;
  margin: 0;
  color: #fff;
  font-size: clamp(39px, 3.25vw, 49px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -2.4px;
}

.about-hero h1 em {
  color: var(--orange);
  font-style: normal;
}

.about-hero-description {
  max-width: 500px;
  margin: 16px 0 20px;
  color: rgb(255 255 255 / 76%);
  font-size: var(--page-body);
  line-height: 1.65;
}

.about-hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.about-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 27px;
  min-height: 46px;
  padding: 0 18px;
  background: var(--orange);
  color: #17382e;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}

.about-hero-primary span {
  font-size: 18px;
  font-weight: 400;
}

.about-hero-primary:hover {
  transform: translateY(-2px);
  background: #ffc172;
}

.about-hero-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgb(255 255 255 / 34%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease;
}

.about-hero-secondary:hover {
  color: #f0cea4;
  border-color: var(--orange);
}

.about-hero-visual {
  position: relative;
  height: 330px;
  min-height: 330px;
  margin: 0;
  overflow: hidden;
  background: #d8d4c9;
}

.about-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 61%;
}

.about-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(25 61 50 / 14%), transparent 30%),
    linear-gradient(0deg, rgb(14 42 33 / 38%), transparent 34%);
  pointer-events: none;
}

.about-hero-visual figcaption {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 15px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgb(255 255 255 / 85%);
  font-size: 8px;
}

.about-hero-visual figcaption span:first-child {
  font-weight: 700;
  letter-spacing: 1.5px;
}

/* =========================================================
   QUIÉNES SOMOS
   ========================================================= */

.about-story {
  display: grid;
  grid-template-columns: minmax(330px, .82fr) minmax(560px, 1.18fr);
  align-items: start;
  gap: clamp(64px, 8vw, 120px);
  padding-block: 76px;
}

.about-story-heading h2,
.about-section-heading h2,
.about-materials-intro h2,
.about-categories-heading h2,
.about-cta h2 {
  margin: 0;
  font-size: var(--page-h2);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -1.8px;
}

.about-story-heading h2,
.about-materials-intro h2 {
  color: var(--green);
}

.about-story-content {
  max-width: 690px;
}

.about-story-content p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: var(--page-body);
  line-height: 1.8;
}

.about-story-content .about-story-lead {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: -.5px;
}

.about-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 3px;
  padding-bottom: 7px;
  border-bottom: 1px solid #999f9b;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.about-inline-link span {
  color: var(--orange-dark);
  font-size: 18px;
}

/* =========================================================
   PROPUESTA
   ========================================================= */

.about-principles {
  padding-block: 70px;
  border-block: 1px solid var(--line);
  background: var(--soft);
}

.about-section-heading {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(260px, 390px);
  align-items: end;
  gap: 60px;
  margin-bottom: 38px;
}

.about-section-heading h2 {
  color: var(--green);
}

.about-section-heading > p {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.about-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.about-principle-card {
  min-height: 235px;
  padding: 28px;
  background: #fff;
}

.about-principle-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.about-principle-number {
  color: #996035;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.about-principle-line {
  width: 30px;
  height: 2px;
  background: var(--orange);
}

.about-principle-card h3 {
  margin: 48px 0 0;
  color: var(--green);
  font-size: var(--page-h3);
  line-height: 1.2;
}

.about-principle-card p {
  max-width: 300px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: var(--page-body);
  line-height: 1.68;
}

/* =========================================================
   MATERIALES
   ========================================================= */

.about-materials {
  display: grid;
  grid-template-columns: minmax(330px, .72fr) minmax(560px, 1.28fr);
  align-items: center;
  gap: clamp(58px, 7vw, 100px);
  padding-block: 76px;
}

.about-materials-intro > p:not(.eyebrow) {
  max-width: 450px;
  margin: 22px 0 24px;
  color: var(--muted);
  font-size: var(--page-body);
  line-height: 1.78;
}

.about-materials-mosaic {
  display: grid;
  grid-template-columns: 1.32fr .68fr;
  grid-template-rows: 1fr 1fr;
  gap: 9px;
}

.about-materials-mosaic figure {
  position: relative;
  min-height: 170px;
  margin: 0;
  overflow: hidden;
  background: #e8e8e2;
}

.about-materials-mosaic .about-mosaic-main {
  grid-row: 1 / span 2;
  min-height: 390px;
}

.about-materials-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.about-materials-mosaic figure:hover img {
  transform: scale(1.025);
}

.about-materials-mosaic figcaption {
  position: absolute;
  bottom: 11px;
  left: 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  background: rgb(248 248 244 / 94%);
  color: var(--green);
}

.about-materials-mosaic figcaption > span {
  color: #996035;
  font-size: 8px;
  font-weight: 700;
}

.about-materials-mosaic figcaption div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.about-materials-mosaic figcaption strong {
  font-size: 10px;
}

.about-materials-mosaic figcaption small {
  color: var(--muted);
  font-size: 8px;
}

/* =========================================================
   CATEGORÍAS
   ========================================================= */

.about-categories {
  padding-block: 68px;
  background: var(--green);
  color: #fff;
}

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

.about-categories-heading .eyebrow {
  color: #e3c5a0;
}

.about-categories-heading h2 {
  color: #fff;
}

.about-category-list {
  border-top: 1px solid rgb(255 255 255 / 17%);
}

.about-category-list a {
  display: grid;
  grid-template-columns: 52px minmax(190px, 1fr) minmax(100px, .55fr) 28px;
  align-items: center;
  gap: 20px;
  min-height: 63px;
  border-bottom: 1px solid rgb(255 255 255 / 17%);
  color: #fff;
  text-decoration: none;
  transition: padding-left .2s ease, background .2s ease;
}

.about-category-list a:hover {
  padding-left: 9px;
  background: rgb(255 255 255 / 4%);
}

.about-category-list a > span {
  color: #d6b993;
  font-size: 8px;
  letter-spacing: 1.5px;
}

.about-category-list strong {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -.5px;
}

.about-category-list small {
  color: rgb(255 255 255 / 48%);
  font-size: 8px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.about-category-list b {
  color: var(--orange);
  font-size: 18px;
  font-weight: 400;
}

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

.about-cta {
  padding-block: 56px;
  background: var(--green-dark);
  color: #fff;
}

.about-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 65px;
}

.about-cta .eyebrow {
  color: #dfc19c;
}

.about-cta h2 {
  max-width: 640px;
  color: #fff;
}

.about-cta p:not(.eyebrow) {
  max-width: 520px;
  margin: 16px 0 0;
  color: #cbd7d1;
  font-size: var(--page-body);
  line-height: 1.7;
}

.about-cta-actions {
  display: flex;
  flex-direction: column;
  min-width: 220px;
  gap: 10px;
}

.about-cta-secondary {
  padding-block: 7px;
  color: #dbe4df;
  font-size: 10px;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 5px;
}

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

@media (max-width: 1050px) {
  .about-hero {
    grid-template-columns: 1fr 1fr;
    height: 320px;
    min-height: 320px;
  }

  .about-hero-visual {
    height: 320px;
    min-height: 320px;
  }

  .about-hero-copy-inner {
    width: calc(100% - 50px);
  }

  .about-hero h1 {
    font-size: clamp(35px, 4.1vw, 45px);
  }

  .about-story,
  .about-materials {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .about-section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-principles-grid {
    grid-template-columns: 1fr;
  }

  .about-principle-card {
    min-height: 185px;
  }

  .about-principle-card h3 {
    margin-top: 29px;
  }
}

@media (max-width: 780px) {
  .about-hero {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
  }

  .about-hero-copy {
    order: 1;
    display: block;
  }

  .about-hero-copy-inner {
    width: calc(100% - 40px);
    margin-inline: auto;
    padding: 38px 0 42px;
  }

  .about-hero-visual {
    order: 2;
    min-height: 215px;
    height: 215px;
  }

  .about-hero h1 {
    font-size: clamp(38px, 11vw, 49px);
    letter-spacing: -2.1px;
  }

  .about-hero-actions {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .about-story,
  .about-materials {
    padding-block: 56px;
  }

  .about-principles,
  .about-categories {
    padding-block: 54px;
  }

  .about-materials-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .about-materials-mosaic .about-mosaic-main {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 270px;
  }

  .about-materials-mosaic figure:not(.about-mosaic-main) {
    min-height: 145px;
  }

  .about-category-list a {
    grid-template-columns: 35px 1fr 26px;
    gap: 12px;
    min-height: 61px;
  }

  .about-category-list small {
    display: none;
  }

  .about-category-list strong {
    font-size: 20px;
  }

  .about-cta-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .about-cta-actions {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .about-hero h1 {
    font-size: 38px;
  }

  .about-hero-description {
    font-size: 12px;
  }

  .about-hero-visual {
    min-height: 185px;
    height: 185px;
  }

  .about-story-content .about-story-lead {
    font-size: 19px;
  }

  .about-materials-mosaic .about-mosaic-main {
    min-height: 225px;
  }

  .about-materials-mosaic figure:not(.about-mosaic-main) {
    min-height: 110px;
  }

  .about-materials-mosaic figure:not(.about-mosaic-main) figcaption {
    display: none;
  }
}
