
    /* ─── VARIABLES ─── */
    :root {
      --ink: #0d0b14;
      --paper: #faf6ef;
      --bone: #ede5d5;
      --forest: #1a2d1e;
      --moss: #2d4a2e;
      --sage: #5c7a3e;
      --fern: #8aac5c;
      --amber: #c4882a;
      --gold: #d4a843;
      --ochre: #b8702a;
      --rust: #8b3a2a;
      --mist: #c8d4b8;
      --dusk: #3d2b4a;
      --moon: #b8a8cc;
      --shadow: rgba(13,11,20,0.6);

      --font-display: 'Cinzel Decorative', serif;
      --font-body: 'Crimson Pro', serif;
      --font-mono: 'Space Mono', monospace;

      --transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    }

    /* ─── RESET ─── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; font-size: 18px; }

    body {
      background-color: var(--ink);
      color: var(--bone);
      font-family: var(--font-body);
      font-weight: 300;
      line-height: 1.7;
      overflow-x: hidden;
    }

    /* ─── NOISE TEXTURE ─── */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 1000;
      opacity: 0.4;
    }

    /* ─── NAV ─── */
    .nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      padding: 1.2rem 2rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: linear-gradient(to bottom, rgba(13,11,20,0.95) 0%, transparent 100%);
      backdrop-filter: blur(4px);
      border-bottom: 1px solid rgba(212,168,67,0.12);
    }

    .nav-logo {
      font-family: var(--font-display);
      font-size: 1rem;
      color: var(--gold);
      text-decoration: none;
      letter-spacing: 0.05em;
    }

    .nav-links {
      display: flex;
      gap: 2rem;
      list-style: none;
    }

    .nav-links a {
      font-family: var(--font-mono);
      font-size: 0.7rem;
      color: var(--mist);
      text-decoration: none;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      transition: color var(--transition);
    }
    .nav-links a:hover { color: var(--gold); }
    .nav-auth-btn { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; padding: 0.4rem 0.9rem; border-radius: 2px; transition: all var(--transition); }
    .nav-auth-login { color: var(--mist); border: 1px solid rgba(255,255,255,0.1); }
    .nav-auth-login:hover { border-color: rgba(212,168,67,0.3); color: var(--gold); }
    .nav-auth-register { background: var(--gold); color: var(--ink); font-weight: 700; }
    .nav-auth-register:hover { background: var(--amber); }
    .nav-auth-avatar { font-size: 1.3rem; cursor: pointer; background: rgba(212,168,67,0.1); border: 1px solid rgba(212,168,67,0.2); border-radius: 50%; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: all var(--transition); }
    .nav-auth-avatar:hover { background: rgba(212,168,67,0.2); }

    /* ─── HERO ─── */
    .hero {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      position: relative;
      text-align: center;
      padding: 6rem 2rem 4rem;
      overflow: hidden;
    }

    /* Fondo de círculos concéntricos */
    .hero-bg {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 80% 60% at 50% 60%, rgba(29,46,31,0.7) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 50% 50%, rgba(45,74,46,0.4) 0%, transparent 60%);
    }

    /* Círculos decorativos */
    .hero-rings {
      position: absolute;
      width: 900px;
      height: 900px;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      pointer-events: none;
    }

    .ring {
      position: absolute;
      border-radius: 50%;
      border: 1px solid rgba(212,168,67,0.08);
      animation: rotateRing linear infinite;
    }

    .ring:nth-child(1) { width: 100%; height: 100%; top: 0; left: 0; animation-duration: 80s; }
    .ring:nth-child(2) { width: 75%; height: 75%; top: 12.5%; left: 12.5%; animation-duration: 60s; animation-direction: reverse; border-color: rgba(140,172,92,0.08); }
    .ring:nth-child(3) { width: 50%; height: 50%; top: 25%; left: 25%; animation-duration: 40s; border-color: rgba(184,168,204,0.08); }
    .ring:nth-child(4) { width: 25%; height: 25%; top: 37.5%; left: 37.5%; animation-duration: 25s; animation-direction: reverse; border-color: rgba(212,168,67,0.15); }

    @keyframes rotateRing {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }

    /* Símbolo central */
    .hero-glyph {
      width: 90px;
      height: 90px;
      margin-bottom: 2rem;
      opacity: 0;
      animation: fadeUp 1.2s 0.3s forwards cubic-bezier(0.23, 1, 0.32, 1);
    }

    .hero-eyeline {
      font-family: var(--font-mono);
      font-size: 0.65rem;
      color: var(--sage);
      letter-spacing: 0.3em;
      text-transform: uppercase;
      margin-bottom: 1.5rem;
      opacity: 0;
      animation: fadeUp 1s 0.5s forwards cubic-bezier(0.23, 1, 0.32, 1);
    }

    .hero-title {
      font-family: var(--font-display);
      font-size: clamp(2.2rem, 6vw, 5rem);
      font-weight: 900;
      line-height: 1.05;
      color: var(--paper);
      margin-bottom: 1rem;
      opacity: 0;
      animation: fadeUp 1s 0.7s forwards cubic-bezier(0.23, 1, 0.32, 1);
      text-shadow: 0 0 80px rgba(212,168,67,0.3), 0 4px 30px rgba(0,0,0,0.5);
    }

    .hero-title .accent { color: var(--gold); }

    .hero-subtitle {
      font-family: var(--font-body);
      font-size: 1.2rem;
      color: var(--mist);
      max-width: 520px;
      font-style: italic;
      margin-bottom: 3rem;
      opacity: 0;
      animation: fadeUp 1s 0.9s forwards cubic-bezier(0.23, 1, 0.32, 1);
    }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(24px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* ─── BÚSQUEDA ─── */
    .search-container {
      position: relative;
      width: 100%;
      max-width: 640px;
      opacity: 0;
      animation: fadeUp 1s 1.1s forwards cubic-bezier(0.23, 1, 0.32, 1);
    }

    .search-box {
      display: flex;
      align-items: stretch;
      background: rgba(250,246,239,0.06);
      border: 1px solid rgba(212,168,67,0.3);
      border-radius: 4px;
      overflow: hidden;
      backdrop-filter: blur(10px);
      transition: border-color var(--transition), box-shadow var(--transition);
    }

    .search-box:focus-within {
      border-color: var(--gold);
      box-shadow: 0 0 0 3px rgba(212,168,67,0.15), 0 8px 40px rgba(0,0,0,0.4);
    }

    .search-input {
      flex: 1;
      background: transparent;
      border: none;
      outline: none;
      color: var(--paper);
      font-family: var(--font-body);
      font-size: 1.05rem;
      padding: 1rem 1.4rem;
      min-width: 0;
    }

    .search-input::placeholder { color: rgba(200,212,184,0.4); font-style: italic; }

    .search-btn {
      background: var(--gold);
      border: none;
      padding: 0 1.5rem;
      cursor: pointer;
      color: var(--ink);
      font-family: var(--font-mono);
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      transition: background var(--transition);
      white-space: nowrap;
    }
    .search-btn:hover { background: var(--amber); }

    /* Intent badge */
    .search-intent-badge {
      display: none;
      margin-top: 0.8rem;
      font-family: var(--font-mono);
      font-size: 0.65rem;
      color: var(--fern);
      letter-spacing: 0.1em;
    }

    .search-intent-badge.visible { display: block; }

    /* Sugerencias */
    .search-suggestions {
      position: absolute;
      top: calc(100% + 4px);
      left: 0;
      right: 0;
      background: rgba(13,11,20,0.97);
      border: 1px solid rgba(212,168,67,0.2);
      border-radius: 4px;
      overflow: hidden;
      display: none;
      z-index: 200;
    }

    .search-suggestions.open { display: block; }

    .suggestion-item {
      padding: 0.75rem 1.4rem;
      cursor: pointer;
      font-size: 0.95rem;
      color: var(--mist);
      border-bottom: 1px solid rgba(255,255,255,0.04);
      transition: background var(--transition);
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .suggestion-item:hover { background: rgba(212,168,67,0.08); color: var(--paper); }
    .suggestion-type {
      font-family: var(--font-mono);
      font-size: 0.55rem;
      background: rgba(212,168,67,0.15);
      color: var(--gold);
      padding: 0.15rem 0.4rem;
      border-radius: 2px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    /* ─── RESULTADOS DE BÚSQUEDA ─── */
    .search-results {
      width: 100%;
      max-width: 760px;
      margin-top: 2.5rem;
      display: none;
      text-align: left;
    }

    .search-results.visible { display: block; }

    .results-header {
      font-family: var(--font-mono);
      font-size: 0.65rem;
      color: var(--sage);
      letter-spacing: 0.15em;
      text-transform: uppercase;
      margin-bottom: 1.2rem;
      padding-bottom: 0.8rem;
      border-bottom: 1px solid rgba(212,168,67,0.15);
    }

    .result-card {
      padding: 1.2rem 1.5rem;
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: 4px;
      margin-bottom: 0.8rem;
      background: rgba(250,246,239,0.03);
      cursor: pointer;
      transition: border-color var(--transition), background var(--transition);
    }

    .result-card:hover { border-color: rgba(212,168,67,0.3); background: rgba(250,246,239,0.06); }

    .result-title {
      font-family: var(--font-body);
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--paper);
      margin-bottom: 0.3rem;
    }

    .result-excerpt {
      font-size: 0.9rem;
      color: var(--mist);
      font-style: italic;
      line-height: 1.5;
      margin-bottom: 0.5rem;
    }

    .result-meta {
      display: flex;
      gap: 1rem;
      align-items: center;
    }

    .result-badge {
      font-family: var(--font-mono);
      font-size: 0.55rem;
      padding: 0.2rem 0.5rem;
      border-radius: 2px;
      text-transform: uppercase;
      letter-spacing: 0.1em;
    }

    .badge-guide { background: rgba(90,122,62,0.25); color: var(--fern); }
    .badge-faq { background: rgba(184,168,204,0.15); color: var(--moon); }
    .badge-experience { background: rgba(139,58,42,0.25); color: #d47a62; }

    /* ─── GRID DE SECCIONES ─── */
    .sections {
      padding: 6rem 2rem;
      max-width: 1200px;
      margin: 0 auto;
    }

    .section-title {
      font-family: var(--font-mono);
      font-size: 0.65rem;
      color: var(--sage);
      letter-spacing: 0.3em;
      text-transform: uppercase;
      margin-bottom: 3rem;
      text-align: center;
    }

    .cards-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
    }

    .card {
      position: relative;
      padding: 2rem;
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: 4px;
      background: rgba(250,246,239,0.025);
      transition: border-color var(--transition), transform var(--transition), background var(--transition);
      overflow: hidden;
      cursor: pointer;
      text-decoration: none;
      display: block;
      color: inherit;
      text-align: center;
    }

    .card::before {
      content: '';
      position: absolute;
      inset: 0;
      opacity: 0;
      transition: opacity var(--transition);
    }

    .card:hover { transform: translateY(-3px); border-color: rgba(212,168,67,0.25); background: rgba(250,246,239,0.05); }
    .card:hover::before { opacity: 1; }

    .card-number {
      font-family: var(--font-mono);
      font-size: 0.6rem;
      color: rgba(212,168,67,0.4);
      letter-spacing: 0.15em;
      margin-bottom: 1.2rem;
    }

    .card-icon {
      font-size: 2.2rem;
      margin-bottom: 1rem;
      display: block;
      text-align: center;
    }

    .card-title {
      font-family: var(--font-body);
      font-size: 1.2rem;
      font-weight: 600;
      color: var(--paper);
      margin-bottom: 0.6rem;
      line-height: 1.3;
    }

    .card-desc {
      font-size: 0.9rem;
      color: var(--mist);
      font-style: italic;
      line-height: 1.6;
    }

    .card-arrow {
      position: absolute;
      bottom: 1.5rem;
      right: 1.5rem;
      font-family: var(--font-mono);
      font-size: 0.75rem;
      color: var(--gold);
      opacity: 0;
      transform: translateX(-8px);
      transition: opacity var(--transition), transform var(--transition);
    }

    .card:hover .card-arrow { opacity: 1; transform: translateX(0); }

    /* ─── THERIOTIPO SECTION ─── */
    .theriotypes-section {
      padding: 4rem 2rem 6rem;
      max-width: 1200px;
      margin: 0 auto;
    }

    .theriotypes-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
      gap: 1rem;
    }

    .theriotype-pill {
      padding: 1.2rem 1rem;
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: 4px;
      text-align: center;
      cursor: pointer;
      transition: all var(--transition);
      background: rgba(250,246,239,0.02);
      text-decoration: none;
      color: inherit;
      display: block;
    }

    .theriotype-pill:hover {
      border-color: var(--sage);
      background: rgba(45,74,46,0.2);
      transform: translateY(-2px);
    }

    .theriotype-emoji { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
    .theriotype-name { font-family: var(--font-body); font-size: 0.85rem; color: var(--bone); }
    .theriotype-sci { font-family: var(--font-mono); font-size: 0.55rem; color: var(--sage); font-style: italic; display: block; margin-top: 0.2rem; }

    /* ─── DIVISOR ─── */
    .divider {
      width: 100%;
      max-width: 400px;
      margin: 2rem auto;
      height: 1px;
      background: linear-gradient(to right, transparent, rgba(212,168,67,0.3), transparent);
    }

    /* ─── FOOTER ─── */
    .footer {
      padding: 3rem 2rem;
      border-top: 1px solid rgba(255,255,255,0.05);
      text-align: center;
    }

    .footer-title {
      font-family: var(--font-display);
      font-size: 0.85rem;
      color: var(--gold);
      margin-bottom: 1rem;
    }

    .footer-text {
      font-family: var(--font-mono);
      font-size: 0.6rem;
      color: rgba(200,212,184,0.3);
      letter-spacing: 0.1em;
    }

    /* ─── ESTADO DE CARGA ─── */
    .loading-spinner {
      display: inline-block;
      width: 16px;
      height: 16px;
      border: 2px solid rgba(212,168,67,0.2);
      border-top-color: var(--gold);
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
    }
    @keyframes spin { to { transform: rotate(360deg); } }

    /* ─── RESPONSIVE ─── */
    @media (max-width: 768px) {
      .nav-links { display: none; }
      .hero { padding-top: 5rem; }
      .hero-title { font-size: 2rem; }
      .cards-grid { grid-template-columns: 1fr; }
    }
  