/* ============================================================
   Apex Signal · styleNosotros.css
   Hoja de estilos de nosotros.html
   Tipografía: Playfair Display (títulos) + Inter (texto)
   Marca: amarillo #F0B90B + blanco #FAFAF7 sobre fondo oscuro

   Nota: se descartó la regla .foda-label (y sus 4 variantes de color
   por cuadrante) porque en el HTML actual las tarjetas de la sección
   FODA usan directamente un <h3> como título, sin el <span> de label
   que ese estilo esperaba — no había ningún elemento al que aplicarse.
   ============================================================ */

:root {
    --gold: #F0B90B; --gold-glow: rgba(240,185,11,0.18);
    --bg: #080A0E; --bg2: #0E1118; --bg3: #131720;
    --surface: rgba(255,255,255,0.04); --border: rgba(240,185,11,0.18);
    --text: #FAFAF7; --muted: #7A7975; --green: #2ECC71; --red: #E74C3C;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; }

  /* NAV */
  nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 6%; background: rgba(8,10,14,0.85); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
  .nav-logo { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 1.15rem; letter-spacing: 0.06em; color: var(--gold); text-decoration: none; cursor: pointer; }
  .nav-logo span { color: #FAFAF7; font-weight: 400; }
  .nav-right { display: flex; align-items: center; gap: 1.2rem; position: relative; }
  .nav-links { display: flex; align-items: center; gap: 1.5rem; }
  .nav-link { font-size: 0.85rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
  .nav-link:hover, .nav-link.active { color: var(--gold); }
  .nav-cta { background: var(--gold); color: #000; font-weight: 500; font-size: 0.85rem; padding: 0.55rem 1.4rem; border-radius: 4px; text-decoration: none; letter-spacing: 0.04em; transition: opacity 0.2s; }
  .nav-cta:hover { opacity: 0.85; }

  /* Hamburguesa — solo mobile */
  .nav-hamburger {
    display: none; width: 34px; height: 34px; padding: 0;
    background: none; border: 1px solid var(--border); border-radius: 6px;
    cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  }
  .nav-hamburger span { width: 16px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  @media (max-width: 760px) {
    .nav-hamburger { display: flex; }
    .nav-cta { font-size: 0.72rem; padding: 0.5rem 0.8rem; }
    .nav-links {
      position: absolute; top: calc(100% + 0.9rem); right: 0; left: 0;
      flex-direction: column; align-items: stretch; gap: 0;
      background: rgba(8,10,14,0.97); backdrop-filter: blur(14px);
      border: 1px solid var(--border); border-radius: 10px;
      max-height: 0; opacity: 0; overflow: hidden; pointer-events: none;
      transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
      padding: 0 0.9rem;
    }
    .nav-links.open { max-height: 320px; opacity: 1; pointer-events: auto; padding: 0.7rem 0.9rem; }
    .nav-links .nav-link { padding: 0.85rem 0.2rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
  }

  /* HERO */
  .about-hero { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 9rem 6% 5rem; position: relative; overflow: hidden; }
  .hero-glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(240,185,11,0.1) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%,-55%); pointer-events: none; }
  .section-tag { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
  .about-hero h1 { font-family: 'Playfair Display', serif; font-weight: 800; font-size: clamp(2.5rem,5vw,4rem); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
  .about-hero h1 em { font-style: normal; color: var(--gold); }
  .about-hero p { font-size: clamp(1rem,2vw,1.15rem); color: var(--muted); max-width: 560px; line-height: 1.75; }

  /* SECTIONS */
  section { padding: 7rem 6%; max-width: 1100px; margin: 0 auto; }
  section.bg2 { background: var(--bg2); max-width: 100%; padding: 7rem 0; }
  section.bg2 .inner { max-width: 1100px; margin: 0 auto; padding: 0 6%; }

  h2.section-title { font-family: 'Playfair Display', serif; font-weight: 800; font-size: clamp(1.8rem,3.5vw,2.6rem); line-height: 1.15; margin-bottom: 1rem; }
  .section-sub { color: var(--muted); font-size: 1rem; max-width: 520px; line-height: 1.7; margin-bottom: 3.5rem; }

  /* MISION GRID */
  .mision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
  @media(max-width:768px){ .mision-grid { grid-template-columns:1fr; gap:2rem; } }
  .mision-text p { color: var(--muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 1rem; }
  .mision-text p strong { color: var(--text); }
  .mision-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .mision-stat { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem; text-align: center; transition: border-color 0.25s; }
  .mision-stat:hover { border-color: var(--gold); }
  .mision-stat-num { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 2.2rem; color: var(--gold); display: block; }
  .mision-stat-label { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.3rem; }

  /* PRODUCTOS GRID */
  .productos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.5rem; }
  .producto-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; transition: border-color 0.25s, background 0.25s; }
  .producto-card:hover { border-color: var(--gold); background: var(--gold-glow); }
  .producto-icon { font-size: 2.2rem; margin-bottom: 1.2rem; display: block; }
  .producto-card h3 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.1rem; margin-bottom: 0.6rem; }
  .producto-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.65; }

  /* FODA */
  .foda-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  @media(max-width:600px){ .foda-grid { grid-template-columns:1fr; } }
  .foda-card { border-radius: 12px; padding: 2rem; }
  .foda-f { background: rgba(46,204,113,0.06); border: 1px solid rgba(46,204,113,0.2); }
  .foda-o { background: rgba(240,185,11,0.06); border: 1px solid rgba(240,185,11,0.2); }
  .foda-d { background: rgba(231,76,60,0.06); border: 1px solid rgba(231,76,60,0.2); }
  .foda-a { background: rgba(0,112,255,0.05); border: 1px solid rgba(0,112,255,0.15); }
  .foda-card h3 { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 1.1rem; margin-bottom: 0.8rem; }
  .foda-card ul { list-style: none; }
  .foda-card ul li { font-size: 0.88rem; color: var(--muted); padding: 0.45rem 0; border-bottom: 1px solid rgba(255,255,255,0.04); display: flex; align-items: flex-start; gap: 0.5rem; line-height: 1.5; }
  .foda-card ul li:last-child { border-bottom: none; }
  .foda-card ul li::before { content: '→'; flex-shrink: 0; margin-top: 0.05rem; }
  .foda-f ul li::before { color: var(--green); }
  .foda-o ul li::before { color: var(--gold); }
  .foda-d ul li::before { color: var(--red); }
  .foda-a ul li::before { color: #4d9fff; }

  /* VALORES */
  .valores-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 1.2rem; }
  .valor-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem; text-align: center; transition: border-color 0.25s; }
  .valor-card:hover { border-color: var(--gold); }
  .valor-icon { font-size: 1.8rem; margin-bottom: 0.8rem; display: block; }
  .valor-card h4 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 0.95rem; margin-bottom: 0.4rem; }
  .valor-card p { color: var(--muted); font-size: 0.82rem; line-height: 1.55; }

  /* CTA */
  .about-cta { padding: 8rem 6%; text-align: center; background: radial-gradient(ellipse at center top, rgba(240,185,11,0.08) 0%, transparent 65%), var(--bg); }
  .about-cta h2 { font-family: 'Playfair Display', serif; font-weight: 800; font-size: clamp(2rem,4vw,3.2rem); margin-bottom: 1.2rem; }
  .about-cta p { color: var(--muted); font-size: 1rem; margin-bottom: 2.5rem; }
  .btn-primary { background: var(--gold); color: #000; font-weight: 500; padding: 0.9rem 2.2rem; border-radius: 5px; text-decoration: none; font-size: 0.95rem; letter-spacing: 0.03em; transition: opacity 0.2s; display: inline-block; }
  .btn-primary:hover { opacity: 0.85; }

  /* FOOTER */
  footer { padding: 2.5rem 6%; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.82rem; color: var(--muted); }
  footer a { color: var(--muted); text-decoration: none; }
  footer a:hover { color: var(--gold); }

  /* REVEAL */
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.visible { opacity: 1; transform: none; }

  .footer-social { display: flex; align-items: center; justify-content: center; gap: 0.9rem; width: 100%; margin-top: 1rem; flex-basis: 100%; }
  .social-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(240,185,11,0.18); color: #7A7975; transition: color 0.2s, border-color 0.2s, background 0.2s; }
  .social-icon:hover { color: #F0B90B; border-color: rgba(240,185,11,0.5); background: rgba(240,185,11,0.08); }
  footer { flex-wrap: wrap; }