/* =========================================
   NOMAD BYTE STUDIOS — Nosotros
   ========================================= */

.nav-cta {
  color: var(--accent) !important;
  border: 1px solid rgba(200, 255, 0, 0.35);
  padding: 7px 14px !important;
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover {
  background: var(--accent) !important;
  color: var(--black) !important;
}

.nosotros-wrap {
  /* No definir padding-top aquí: lo gestiona .page en global.css */
  padding-right: 60px;
  padding-bottom: 0;
  padding-left: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  margin-bottom: 100px;
  align-items: start;
}

.about-text p {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(240, 237, 230, 0.65);
  margin-bottom: 22px;
}

.about-text p strong {
  color: var(--off-white);
  font-weight: 500;
}

.about-text p:first-child {
  font-size: 20px;
  line-height: 1.65;
  color: rgba(240, 237, 230, 0.85);
}

.values-list { border: 1px solid var(--border); }

.value-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 30px 32px;
  border-bottom: 1px solid var(--border);
  transition: background 0.25s;
}

.value-row:last-child { border-bottom: none; }
.value-row:hover { background: rgba(200, 255, 0, 0.04); }

.value-index {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  padding-top: 3px;
  min-width: 28px;
}

.value-body h4 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 7px;
}

.value-body p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.65;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  margin-bottom: 100px;
}

.stat-block {
  padding: 52px 40px;
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.stat-block:last-child { border-right: none; }

.stat-block::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 0;
  background: rgba(200, 255, 0, 0.04);
  transition: height 0.4s ease;
}

.stat-block:hover::after { height: 100%; }

.stat-number {
  font-family: var(--font-display);
  font-size: 68px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.stat-desc {
  font-size: 13px;
  color: var(--gray);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.philosophy-section {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  margin-bottom: 100px;
  align-items: center;
}

.philosophy-visual {
  aspect-ratio: 1;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.philosophy-visual img {
  width: 70%;
  opacity: 0.85;
  transition: transform 0.5s ease, opacity 0.3s;
}

.philosophy-visual:hover img { transform: scale(1.05); opacity: 1; }

.philosophy-visual::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid var(--border);
}

.philosophy-text h3 {
  font-family: var(--font-display);
  font-size: 42px;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  line-height: 1;
}

.philosophy-text p {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(240, 237, 230, 0.65);
  margin-bottom: 20px;
}

.nosotros-faq { margin-bottom: 100px; }

.faq-header { margin-bottom: 40px; }

.faq-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.faq-header h2 {
  font-family: var(--font-display);
  font-size: 42px;
  letter-spacing: 0.04em;
  line-height: 1;
}

.faq-list { border: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  text-align: left;
  padding: 24px 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.faq-question:hover { background: rgba(200, 255, 0, 0.04); }
.faq-question span { color: var(--accent); font-size: 20px; transition: transform 0.3s; }
.faq-question span:last-child { transition: transform 0.3s; }
.faq-item.open .faq-question span:last-child { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 28px;
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray);
  padding-bottom: 24px;
}

.faq-item.open .faq-answer { max-height: 200px; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .nosotros-wrap { padding-right: 24px; padding-left: 24px; }
  .about-intro { grid-template-columns: 1fr; gap: 48px; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-block { border-bottom: 1px solid var(--border); }
  .philosophy-section { grid-template-columns: 1fr; }
  .philosophy-visual { max-width: 280px; }
}

@media (max-width: 600px) {
  .nosotros-wrap { padding-right: 16px; padding-left: 16px; }
  .about-text p { font-size: 14px; margin-bottom: 16px; line-height: 1.7; }
  .about-text p:first-child { font-size: 16px; }
  .value-row { padding: 20px 16px; gap: 16px; }
  .value-index { font-size: 10px; }
  .value-body h4 { font-size: 13px; }
  .value-body p { font-size: 12px; }
  .stats-bar { grid-template-columns: 1fr; margin-bottom: 48px; }
  .stat-block { padding: 32px 20px; border-right: none; border-bottom: 1px solid var(--border); }
  .stat-block:last-child { border-bottom: none; }
  .stat-number { font-size: 42px; }
  .stat-desc { font-size: 11px; }
  .philosophy-section { gap: 32px; margin-bottom: 48px; }
  .philosophy-visual { max-width: 100%; min-height: 240px; }
  .philosophy-text h3 { font-size: 28px; margin-bottom: 16px; }
  .philosophy-text p { font-size: 13px; margin-bottom: 12px; }
  .nosotros-faq { margin-bottom: 60px; }
  .faq-header h2 { font-size: 28px; }
  .faq-question { font-size: 13px; padding: 18px 16px; }
  .faq-answer { padding: 0 16px; }
  .faq-answer p { font-size: 13px; }
}

@media (max-width: 400px) {
  .nosotros-wrap { padding-right: 12px; padding-left: 12px; }
  .about-text p { font-size: 13px; }
  .value-row { padding: 16px 12px; }
  .stat-block { padding: 20px 16px; }
  .philosophy-text h3 { font-size: 22px; }
}
