/* =========================
   ABOUT PAGE
========================= */
.about-page {
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.04) 1.2px, transparent 2px),
    linear-gradient(180deg, #0f1320 0%, #090d17 100%);
  background-size:
    22px 22px,
    cover;
  color: #fff;
}

/* =========================
   HERO SOBRE NOSOTROS
========================= */
.about-hero {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(6, 10, 20, 0.96) 0%,
      rgba(5, 10, 22, 0.94) 44%,
      rgba(7, 12, 24, 0.74) 72%,
      rgba(8, 12, 22, 0.45) 100%
    ),
    linear-gradient(180deg, #080c16 0%, #050913 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 30%, rgba(255, 255, 255, 0.1), transparent 18%),
    radial-gradient(circle at 20% 24%, rgba(255, 255, 255, 0.05), transparent 18%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.03) 0 18%, transparent 18% 100%),
    radial-gradient(circle, rgba(255, 255, 255, 0.03) 1.2px, transparent 2px);
  background-size:
    auto,
    auto,
    cover,
    22px 22px;
  opacity: 0.95;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.14),
      transparent 18%,
      transparent 82%,
      rgba(0, 0, 0, 0.18)
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.025),
      transparent 28%,
      transparent 72%,
      rgba(0, 0, 0, 0.12)
    );
}

.about-hero-container {
  position: relative;
  z-index: 2;
  min-height: 460px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 24px;
}

.about-hero-text {
  position: relative;
  z-index: 3;
  max-width: 560px;
  color: #fff;
  padding: 24px 0;
}

.about-hero-text h1 {
  font-size: clamp(40px, 5vw, 76px);
  line-height: 0.94;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
  color: #f5f5f5;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.about-hero-text p {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 24px;
}

.about-hero-text p strong {
  font-weight: 900;
  color: #ffffff;
}

.about-red-btn {
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ff2028, #d90f18);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease,
    background-color 0.22s ease;
}

.about-red-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.24);
  filter: brightness(1.05);
}

.about-red-btn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.35);
  outline-offset: 3px;
}

.about-hero-media {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  height: 100%;
}

.about-hero-media img {
  width: min(100%, 520px);
  max-height: 430px;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.3));
  display: block;
  pointer-events: none;
}

/* =========================
   HISTORIA
========================= */
.about-history-section {
  position: relative;
  background:
    radial-gradient(circle, rgba(0, 0, 0, 0.035) 1.25px, transparent 1.9px),
    linear-gradient(180deg, #f3f3f3 0%, #ededed 100%);
  background-size:
    22px 22px,
    cover;
  padding: 38px 0 34px;
  color: #1c1d24;
}

.about-history-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    transparent 0 16%,
    rgba(0, 0, 0, 0.02) 16% 18%,
    transparent 18% 100%
  );
  opacity: 0.7;
}

.about-history-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  gap: 32px;
  align-items: center;
}

.about-history-image {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
  min-height: 320px;
  background: #e9e9e9;
}

.about-history-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  max-width: none;
}

.about-history-text h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  font-weight: 900;
  color: #181a22;
  margin-bottom: 22px;
}

.about-history-text p {
  font-size: 18px;
  line-height: 1.75;
  color: #3b3e46;
  margin-bottom: 18px;
}

.about-history-text p strong {
  color: #22252e;
  font-weight: 800;
}

/* =========================
   MISIÓN Y VISIÓN
========================= */
.about-values-section {
  position: relative;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.04) 1.35px, transparent 2px),
    linear-gradient(180deg, #171b26 0%, #10141d 100%);
  background-size:
    22px 22px,
    cover;
}

.about-values-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    transparent 0 18%,
    rgba(255, 255, 255, 0.018) 18% 20%,
    transparent 20% 100%
  );
  opacity: 0.85;
}

.about-values-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-value-card {
  min-height: 240px;
  padding: 46px 34px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.015)),
    rgba(14, 17, 26, 0.45);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.about-value-card:last-child {
  border-right: none;
}

.about-value-card h3 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  font-weight: 900;
  color: #fff;
  margin-bottom: 18px;
}

.about-value-card p {
  max-width: 520px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
}

.about-value-card p strong {
  color: #fff;
}

/* =========================
   CTA CENTRAL
========================= */
.about-cta-section {
  position: relative;
  background:
    radial-gradient(circle, rgba(0, 0, 0, 0.035) 1.25px, transparent 1.9px),
    linear-gradient(180deg, #e8e8ea 0%, #f2f2f2 100%);
  background-size:
    22px 22px,
    cover;
  padding: 38px 0 34px;
  color: #1c1d24;
}

.about-cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    transparent 0 18%,
    rgba(0, 0, 0, 0.03) 18% 20%,
    transparent 20% 100%
  );
  opacity: 0.75;
}

.about-cta-box {
  position: relative;
  z-index: 2;
  text-align: center;
}

.about-cta-box h2 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  font-weight: 900;
  color: #1c1d24;
  margin-bottom: 18px;
}

.about-cta-box p {
  max-width: 760px;
  margin: 0 auto 28px;
  font-size: 20px;
  line-height: 1.65;
  color: #4b4e56;
}

/* =========================
   GALERÍA
========================= */
.about-gallery-section {
  position: relative;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.045) 1.35px, transparent 2px),
    linear-gradient(180deg, #171b26 0%, #11151e 100%);
  background-size:
    22px 22px,
    cover;
  padding: 0 0 30px;
}

.about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.about-gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  background: #11141d;
}

.about-gallery-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  max-width: none;
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

@media (hover: hover) {
  .about-gallery-card:hover img {
    transform: scale(1.04);
    filter: brightness(1.03);
  }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1280px) {
  .about-hero {
    min-height: 430px;
  }

  .about-hero-container {
    min-height: 430px;
  }

  .about-hero-media img {
    max-height: 390px;
  }
}

@media (max-width: 1100px) {
  .about-hero {
    min-height: auto;
  }

  .about-hero-container {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 72px;
    padding-bottom: 24px;
    text-align: center;
  }

  .about-hero-text {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
  }

  .about-hero-media {
    justify-content: center;
  }

  .about-hero-media img {
    max-height: 320px;
  }

  .about-history-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .about-value-card {
    min-height: 210px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .about-value-card:last-child {
    border-bottom: none;
  }

  .about-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .about-hero-container {
    padding-top: 78px;
    padding-bottom: 22px;
  }

  .about-hero-text h1 {
    font-size: 42px;
    margin-bottom: 16px;
  }

  .about-hero-text p {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .about-hero-media img {
    max-height: 260px;
  }

  .about-red-btn {
    width: 100%;
    min-height: 52px;
    font-size: 15px;
    padding: 0 16px;
  }

  .about-history-section,
  .about-cta-section {
    padding: 30px 0 26px;
  }

  .about-history-image {
    min-height: 250px;
  }

  .about-history-text h2 {
    font-size: 34px;
    margin-bottom: 18px;
  }

  .about-history-text p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 14px;
  }

  .about-value-card {
    min-height: 190px;
    padding: 34px 22px;
  }

  .about-value-card h3 {
    font-size: 30px;
    margin-bottom: 14px;
  }

  .about-value-card p {
    font-size: 16px;
  }

  .about-cta-box h2 {
    font-size: 36px;
    margin-bottom: 14px;
  }

  .about-cta-box p {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .about-gallery-card {
    min-height: 220px;
  }
}

@media (max-width: 560px) {
  .about-hero-container {
    padding-top: 72px;
    padding-bottom: 20px;
  }

  .about-hero-text h1 {
    font-size: 34px;
    margin-bottom: 14px;
  }

  .about-hero-text p {
    font-size: 16px;
  }

  .about-hero-media img {
    max-height: 220px;
  }

  .about-history-image {
    min-height: 210px;
  }

  .about-history-text h2 {
    font-size: 28px;
  }

  .about-history-text p {
    font-size: 15px;
  }

  .about-value-card h3,
  .about-cta-box h2 {
    font-size: 28px;
  }

  .about-value-card p,
  .about-cta-box p {
    font-size: 15px;
  }

  .about-gallery-grid {
    grid-template-columns: 1fr;
  }

  .about-gallery-card {
    min-height: 240px;
  }
}

@media (max-width: 420px) {
  .about-hero-container {
    padding-top: 68px;
  }

  .about-hero-text h1 {
    font-size: 30px;
  }

  .about-hero-text p {
    font-size: 15px;
  }

  .about-hero-media img {
    max-height: 190px;
  }

  .about-history-image {
    min-height: 190px;
  }

  .about-history-text h2 {
    font-size: 24px;
  }

  .about-value-card {
    padding: 28px 16px;
  }

  .about-value-card h3,
  .about-cta-box h2 {
    font-size: 24px;
  }

  .about-gallery-card {
    min-height: 220px;
  }
}
