/*
Theme Name: NeuroTech R&D Landing
Theme URI: https://example.com/
Author: NeuroTech R&D
Author URI: https://example.com/
Description: One-page landing theme for NeuroTech R&D — Cognitive & Biometric Intelligence Lab.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: neurotech-rd
*/

:root {
      --blue-bg: #215ebc;
      --blue-bg-dark: #13458c;
      --text-light: #ffffff;
      --text-muted: #b9c7e6;
      --bg-main: #050814;
      --section-bg: #071020;
      --accent: #38bdf8;
      --max-width: 1200px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: radial-gradient(circle at top, #0b1938 0, #02040b 50%, #000000 100%);
      color: var(--text-light);
      line-height: 1.6;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    .container {
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    /* HEADER / NAVBAR */

    .site-header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: linear-gradient(90deg, var(--blue-bg-dark), var(--blue-bg));
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    }

    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 56px;
    }

    .logo {
      font-weight: 700;
      font-size: 0.95rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .logo span {
      font-weight: 500;
      opacity: 0.9;
    }

    .main-nav {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 1.8rem;
      font-size: 0.8rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .main-nav a {
      position: relative;
      padding: 0 0.4rem;
    }

    .main-nav a + a {
      border-left: 1px solid rgba(255, 255, 255, 0.25);
      padding-left: 1.4rem;
      margin-left: 0.6rem;
    }

    .main-nav a::after {
      content: "";
      position: absolute;
      left: 50%;
      bottom: -6px;
      width: 0;
      height: 2px;
      background: var(--accent);
      transform: translateX(-50%);
      transition: width 0.2s ease-out;
    }

    .main-nav a:hover::after,
    .main-nav a:focus-visible::after {
      width: 80%;
    }

    /* Hamburger */

    .nav-toggle {
      display: none;
      background: none;
      border: 0;
      cursor: pointer;
      padding: 0.4rem;
      margin-left: 1rem;
    }

    .nav-toggle span {
      display: block;
      width: 20px;
      height: 2px;
      background: var(--text-light);
      margin: 4px 0;
      transition: transform 0.2s ease-out, opacity 0.2s ease-out;
    }

    /* HERO */

    .hero {
      position: relative;
      min-height: 80vh;
      display: flex;
      align-items: center;
      padding: 4rem 0 4.5rem;
      overflow: hidden;
    }

    .hero-inner {
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
      gap: 3rem;
      align-items: center;
    }

    .hero-copy h1 {
      font-size: clamp(2.1rem, 3vw, 2.8rem);
      line-height: 1.2;
      margin-bottom: 1rem;
    }

    .hero-copy h1 span {
      color: var(--accent);
    }

    .hero-copy p.lead {
      font-size: 1.05rem;
      color: var(--text-muted);
      margin-bottom: 1.8rem;
      max-width: 32rem;
    }

    .hero-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      margin-bottom: 2.4rem;
    }

    .hero-tag {
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.5);
      padding: 0.35rem 0.9rem;
      font-size: 0.75rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--text-muted);
    }

    .hero-cta {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
    }

    .btn-primary,
    .btn-secondary {
      font-size: 0.9rem;
      border-radius: 999px;
      padding: 0.7rem 1.6rem;
      border: 1px solid transparent;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      font-weight: 600;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .btn-primary {
      background: var(--accent);
      color: #02101f;
    }

    .btn-primary:hover {
      background: #0ea5e9;
    }

    .btn-secondary {
      background: transparent;
      border-color: rgba(148, 163, 184, 0.7);
      color: var(--text-muted);
    }

    .btn-secondary:hover {
      border-color: var(--accent);
      color: var(--accent);
    }

    .hero-visual {
      position: relative;
      min-height: 260px;
      border-radius: 1.5rem;
      overflow: hidden;
      background: radial-gradient(circle at top, #1e293b 0, #020617 60%);
      border: 1px solid rgba(148, 163, 184, 0.4);
    }

    .hero-visual::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: url("PATH_TO_HERO_IMAGE.jpg"); /* Sustituye por la URL de tu imagen */
      background-size: cover;
      background-position: center;
      opacity: 0.7;
    }

    .hero-visual::after {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.25), transparent 55%);
      mix-blend-mode: screen;
    }

    /* SECTIONS GENERALES */

    section {
      padding: 3.5rem 0;
    }

    .section-inner {
      max-width: 900px;
    }

    .section-title {
      font-size: 1.5rem;
      margin-bottom: 1rem;
    }

    .section-kicker {
      text-transform: uppercase;
      letter-spacing: 0.18em;
      font-size: 0.72rem;
      color: var(--accent);
      margin-bottom: 0.4rem;
    }

    .muted {
      color: var(--text-muted);
    }

    .section-bg {
      background: radial-gradient(circle at top, #020617 0, #020617 40%, #000000 100%);
      border-top: 1px solid rgba(148, 163, 184, 0.2);
      border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    }

    /* GRID SOLUCIONES Y SERVICIOS */

    .grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.8rem;
      margin-top: 1.6rem;
    }

    .card {
      background: rgba(15, 23, 42, 0.95);
      border-radius: 1rem;
      padding: 1.3rem 1.3rem 1.4rem;
      border: 1px solid rgba(148, 163, 184, 0.5);
    }

    .card h3 {
      font-size: 1rem;
      margin-bottom: 0.7rem;
    }

    .card ul {
      list-style: none;
      padding-left: 0;
      font-size: 0.9rem;
      color: var(--text-muted);
    }

    .card ul li {
      margin-bottom: 0.35rem;
    }

    .card ul li::before {
      content: "•";
      color: var(--accent);
      margin-right: 0.4rem;
    }

    /* LISTAS SIMPLES */

    .simple-list {
      list-style: none;
      margin: 0.6rem 0 0;
      padding: 0;
    }

    .simple-list li {
      margin-bottom: 0.4rem;
      color: var(--text-muted);
    }

    .simple-list li strong {
      color: var(--text-light);
    }

    /* CONTACTO */

    .contact-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
      gap: 2.5rem;
      align-items: flex-start;
    }

    .contact-card {
      background: rgba(15, 23, 42, 0.95);
      border-radius: 1.2rem;
      padding: 1.8rem;
      border: 1px solid rgba(148, 163, 184, 0.6);
    }

    form {
      display: grid;
      gap: 0.9rem;
    }

    label {
      font-size: 0.82rem;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: var(--text-muted);
    }

    input,
    textarea {
      width: 100%;
      margin-top: 0.25rem;
      padding: 0.55rem 0.75rem;
      border-radius: 0.5rem;
      border: 1px solid rgba(148, 163, 184, 0.6);
      background: rgba(15, 23, 42, 0.9);
      color: var(--text-light);
      font: inherit;
    }

    textarea {
      min-height: 130px;
      resize: vertical;
    }

    .footer {
      border-top: 1px solid rgba(148, 163, 184, 0.3);
      padding: 1.7rem 0 2.2rem;
      font-size: 0.85rem;
      color: var(--text-muted);
    }

    .footer-line {
      margin-bottom: 0.3rem;
    }

    .footer-strong {
      color: var(--text-light);
      font-weight: 600;
    }

    /* RESPONSIVE */

    @media (max-width: 900px) {
      .hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
      }

      .hero-visual {
        order: -1;
      }

      .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .contact-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    @media (max-width: 768px) {
      .main-nav {
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, var(--blue-bg), var(--blue-bg-dark));
        flex-direction: column;
        align-items: center;
        gap: 0.9rem;
        padding: 0.9rem 0 1.2rem;
        display: none;
      }

      .main-nav a + a {
        border-left: none;
        padding-left: 0.4rem;
        margin-left: 0;
      }

      .main-nav.open {
        display: flex;
      }

      .nav-toggle {
        display: block;
      }

      .hero {
        padding-top: 3rem;
      }

      .grid {
        grid-template-columns: minmax(0, 1fr);
      }
      .nav-container{
        justify-content: end;
      height: fit-content;
        flex-wrap: wrap;
      }
      .logo{
        white-space: unset;
      }
    }
