/* ============================================================
   SOBRE NOSOTROS · Technosense
   Estilos específicos de sobre_nosotros.php
   Depende de variables y componentes globales definidos en main.css
   ============================================================ */

.about-page {
  background: var(--dn-white);
  color: var(--dn-text);
  overflow-x: hidden;
}

/* =========================
   HERO
   ========================= */
.about-hero {
  margin-top: -94px;
  min-height: 500px;
  display: flex;
  align-items: center;
  position: relative;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(0, 60, 141, 0.94), rgba(0, 74, 173, 0.82)),
    url("imgs/banners/banner-1.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  left: -140px;
  top: 110px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  z-index: 1;
  pointer-events: none;
}

.about-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  z-index: 1;
  pointer-events: none;
}

.about-hero__content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding-top: 94px;
}

.about-hero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.about-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.about-hero p {
  max-width: 720px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.18rem;
  line-height: 1.7;
}

.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about-hero .btn-outline-light {
  border-radius: 999px;
  font-weight: 800;
  padding: 0.65rem 1.35rem;
}

/* =========================
   INTRO / QUIÉNES SOMOS
   ========================= */
.about-intro {
  position: relative;
  padding: 90px 0;
  background: var(--dn-bg);
}

.about-intro::before {
  content: "";
  position: absolute;
  top: -110px;
  left: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(0, 74, 173, 0.08);
  pointer-events: none;
}

.about-text-card {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 32px 30px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--dn-border);
  box-shadow: var(--dn-shadow);
}

.about-text-card h2 {
  margin: 10px 0 18px;
  color: var(--dn-text);
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.about-text-card p {
  margin: 0 0 16px;
  color: var(--dn-muted);
  line-height: 1.7;
  font-size: 1.04rem;
}

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

.about-panel {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f7faff);
  border: 1px solid var(--dn-border);
  box-shadow: var(--dn-shadow);
}

.about-panel-header {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.about-panel-header span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--dn-blue);
  opacity: 0.55;
}

.about-panel-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 18px;
  align-items: center;
  padding: 18px 20px;
  margin-bottom: 14px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--dn-border);
}

.about-panel-item:last-child {
  margin-bottom: 0;
}

.about-panel-item strong {
  display: block;
  color: var(--dn-text);
  font-size: 1rem;
  font-weight: 900;
}

.about-panel-item small {
  grid-column: 1 / 2;
  color: var(--dn-muted);
  line-height: 1.5;
}

.about-panel-item b {
  grid-row: 1 / 3;
  grid-column: 2 / 3;
  color: var(--dn-blue);
  font-size: 1.35rem;
  white-space: nowrap;
}

/* =========================
   QUÉ HACEMOS
   ========================= */
.about-services {
  padding: 90px 0;
  background: #ffffff;
}

.about-service-card {
  height: 100%;
  padding: 30px 26px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--dn-border);
  box-shadow: var(--dn-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0, 60, 141, 0.22);
}

.about-service-card__icon {
  width: 68px;
  height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--dn-soft-blue), #ffffff);
  color: var(--dn-blue);
  font-size: 1.75rem;
  box-shadow: inset 0 0 0 1px rgba(0, 74, 173, 0.08);
}

.about-service-card h3 {
  margin: 0 0 12px;
  color: var(--dn-text);
  font-weight: 900;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.about-service-card p {
  margin: 0;
  color: var(--dn-muted);
  line-height: 1.65;
  font-size: 0.98rem;
}

/* =========================
   PROCESO
   ========================= */
.about-process {
  position: relative;
  padding: 90px 0;
  background: var(--dn-bg);
  overflow: hidden;
}

.about-process::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -140px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(0, 60, 141, 0.07);
  pointer-events: none;
}

.about-process .container {
  position: relative;
  z-index: 2;
}

.about-process h2 {
  margin: 10px 0 18px;
  color: var(--dn-text);
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.about-process p {
  color: var(--dn-muted);
  line-height: 1.7;
  font-size: 1.04rem;
}

.about-workflow {
  display: grid;
  gap: 14px;
}

.about-step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--dn-border);
  box-shadow: 0 8px 22px rgba(0, 60, 141, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 60, 141, 0.16);
}

.about-step__number {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: var(--dn-soft-blue);
  color: var(--dn-blue);
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(0, 74, 173, 0.1);
}

.about-step h3 {
  margin: 0 0 6px;
  color: var(--dn-text);
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.about-step p {
  margin: 0;
  color: var(--dn-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* =========================
   MISIÓN / VISIÓN / VALORES
   ========================= */
.about-values {
  padding: 90px 0;
  background: #ffffff;
}

.about-value-card {
  height: 100%;
  padding: 30px 28px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--dn-border);
  box-shadow: var(--dn-shadow);
}

.about-value-card__icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--dn-soft-blue), #ffffff);
  color: var(--dn-blue);
  font-size: 1.55rem;
  box-shadow: inset 0 0 0 1px rgba(0, 74, 173, 0.08);
}

.about-value-card h3 {
  margin: 0 0 12px;
  color: var(--dn-text);
  font-weight: 900;
}

.about-value-card p {
  margin: 0;
  color: var(--dn-muted);
  line-height: 1.65;
}

/* =========================
   DIFERENCIADOR
   ========================= */
.about-difference {
  padding: 0 0 90px;
  background: #ffffff;
}

.about-difference-card {
  padding: 42px 36px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #f7faff);
  border: 1px solid var(--dn-border);
  box-shadow: var(--dn-shadow);
}

.about-difference-card h2 {
  margin: 10px 0 16px;
  color: var(--dn-text);
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.about-difference-card p {
  margin: 0;
  color: var(--dn-muted);
  line-height: 1.7;
  font-size: 1.04rem;
}

.about-difference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.about-difference-grid div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--dn-border);
  color: var(--dn-text);
  font-weight: 800;
  line-height: 1.45;
}

.about-difference-grid i {
  color: var(--dn-blue);
  margin-top: 4px;
}

/* =========================
   CTA FINAL
   ========================= */
.about-cta {
  padding: 90px 0;
  background: var(--dn-bg);
}

.about-cta-card {
  padding: 42px 36px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--dn-blue-dark), var(--dn-blue));
  color: #ffffff;
  text-align: center;
  box-shadow: 0 18px 45px rgba(0, 60, 141, 0.24);
}

.about-cta-card h2 {
  margin: 0 0 12px;
  font-weight: 900;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}

.about-cta-card p {
  max-width: 720px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
  font-size: 1.05rem;
}

.about-cta-card .btn {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: var(--dn-blue-dark) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.about-cta-card .btn:hover {
  background: var(--dn-soft-blue) !important;
  border-color: var(--dn-soft-blue) !important;
  color: var(--dn-blue-dark) !important;
  transform: translateY(-2px);
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 991px) {
  .about-hero {
    margin-top: -86px;
    min-height: 430px;
  }

  .about-hero__content {
    padding-top: 86px;
  }

  .about-intro,
  .about-services,
  .about-process,
  .about-values,
  .about-cta {
    padding: 72px 0;
  }

  .about-difference {
    padding: 0 0 72px;
  }
}

@media (max-width: 768px) {
  .about-hero {
    min-height: 430px;
  }

  .about-hero p {
    font-size: 1.04rem;
  }

  .about-hero__actions .btn {
    width: 100%;
  }

  .about-text-card,
  .about-panel,
  .about-service-card,
  .about-value-card,
  .about-difference-card,
  .about-cta-card {
    border-radius: 22px;
  }

  .about-text-card,
  .about-panel,
  .about-service-card,
  .about-value-card {
    padding: 24px 22px;
  }

  .about-step {
    grid-template-columns: 46px 1fr;
    padding: 16px;
  }

  .about-step__number {
    width: 42px;
    height: 42px;
  }

  .about-difference-card,
  .about-cta-card {
    padding: 32px 22px;
  }

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