<style>

    /* ── RESET ── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    /* ── FONDO — mantiene el efecto glass original ── */
    body,
    main::before {
      background: url('https://www.aceromx.com/imagen/wall.jpg') center/cover fixed;
    }

    body {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 40px 20px;
      font-family: 'Inter', sans-serif;
    }

    /* ── LOGO / MARCA ── */
    .marca {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 28px;
      opacity: 0;
      animation: fadeDown 0.6s ease forwards;
    }

    .marca-icon {
      width: 40px; height: 40px;
     background: rgba(10, 14, 20, 0.85);
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      backdrop-filter: blur(8px);
      box-shadow: 0 2px 12px rgba(0,0,0,0.25);
    }

    .marca-icon svg { width: 22px; height: 22px; fill: white; }

    .marca-nombre {
      font-family: 'Playfair Display', serif;
      font-size: 1.3rem; font-weight: 700;
      color: black;
      text-shadow: 0 2px 8px rgba(0,0,0,0.4);
      letter-spacing: -0.01em;
    }

    .marca-nombre span { color: #5c86af; }

    /* ══ GLASS CARD — efecto original mejorado ══ */
    main {
      position: relative;
      width: 100%;
      max-width: 820px;
      padding: 52px 56px;
    background: rgba(0, 0, 0, .53);
      border: 1px solid rgba(255, 255, 255, 0.9);
      border-radius: 20px;
      box-shadow:
        0 8px 40px rgba(0,0,0,0.35),
        inset 0 1px 0 rgba(255,255,255,0.3);
      overflow: hidden;
      opacity: 0;
      animation: fadeUp 0.7s ease 0.2s forwards;
    }


    /* Blur de fondo — igual al original pero más refinado */
   /* main::before {
      content: "";
      position: absolute;
      inset: -40px;
      filter: blur(24px);
      z-index: -1;
      /*opacity: 0.85;*/
    }*/


    /* Brillo sutil en borde superior */
    main::after {
      content: '';
      position: absolute;
      top: 0; left: 10%; right: 10%;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    }

    /* ── EYEBROW ── */
    .eyebrow {
      font-size: 0.865rem;
      font-weight: 700;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: #FFFFFFFF;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 20px;
    }

    .eyebrow::before {
      content: '';
      width: 18px; height: 2px;
      background: #B8924A;
      border-radius: 2px;
      flex-shrink: 0;
    }

    /* ── BLOCKQUOTE ── */
    blockquote {
      font-family: 'Playfair Display', serif;
      font-style: italic;
      font-size: clamp(1.05rem, 2vw, .35rem);
      line-height: 1.85;
      color: rgba(255,255,255, 0.95);
      text-shadow: 0 1px 4px rgba(255,255,255,0.3);
    }

    /* Comillas decorativas */
    blockquote::before {
      content: '"';
      font-size: 5rem;
      line-height: 0;
      vertical-align: -0.55em;
      color: rgba(184,146,74,0.5);
      font-family: 'Playfair Display', serif;
      margin-right: 4px;
    }

    /* ── PILARES PHOENIX ── */
    .pilares {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 28px 0;
    }

    .pilar {
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.2);
      backdrop-filter: blur(4px);
      padding: 5px 13px;
      border-radius: 100px;
      font-size: 0.72rem;
      font-weight: 600;
      color: rgba(255,255,255,0.75);
      font-family: 'Inter', sans-serif;
      letter-spacing: 0.05em;
      transition: all 0.2s;
    }

    .pilar:hover {
      background: rgba(184,146,74,0.2);
      border-color: rgba(184,146,74,0.4);
      color: #FFD98A;
    }

    /* ── DIVISOR ── */
    .divisor {
      width: 48px; height: 2px;
      background: linear-gradient(90deg, #B8924A, transparent);
      border-radius: 2px;
      margin: 28px 0;
    }

    /* ── FOOTER ── */
    footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
      margin-top: 8px;
    }

    .footer-left { display: flex; align-items: center; gap: 14px; }

    .footer-icon {
      width: 44px; height: 44px;
      background: rgba(27,58,92,0.7);
      border: 1px solid rgba(255,255,255,0.2);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.2rem;
      flex-shrink: 0;
    }

    cite {
      font-style: normal;
      font-family: 'Playfair Display', serif;
      font-size: 1.1rem;
      font-weight: 700;
      color: white;
      display: block;
      text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    }

    .cite-sub {
      font-size: 0.72rem;
      color: rgba(255,255,255,0.45);
      font-family: 'Inter', sans-serif;
      margin-top: 2px;
      font-weight: 400;
    }

    .slogan {
      font-family: 'Playfair Display', serif;
      font-size: 0.95rem;
      font-style: italic;
      color: #B8924A;
      text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    }

    /* ── CTA GLASS ── */
    .cta-row {
      display: flex;
      gap: 10px;
      margin-top: 32px;
      flex-wrap: wrap;
    }

       .btn-glass {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 11px 24px;
      background: rgba(255,255,255,0.65);
      border: 1px solid rgba(255,255,255,0.2);
      backdrop-filter: blur(8px);
      border-radius: 10px;
      font-size: 0.82rem;
      font-weight: 600;
      color: black;
      font-family: 'Inter', sans-serif;
      text-decoration: none;
      cursor: pointer;
      transition: all 0.2s;
      box-shadow: 0 2px 12px rgba(255,255,255,0.2);
    }

    .btn-glass:hover {
background: rgba(255,255,255,0.85);
     border-color: rgba(255,255,255,0.35);
      transform: translateY(-1px);
      box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    }

    .btn-glass.dorado {
      background: rgba(184,146,74,0.55);
      border-color: rgba(184,146,74,0.4);
    }

    .btn-glass.dorado:hover {
      background: rgba(184,146,74,0.75);
    }

    .btn-wa {
      background: rgba(37,211,102,0.55);
      border-color: rgba(37,211,102,0.4);
    }

    .btn-wa:hover {
      background: rgba(37,211,102,0.75);
    }

    /* ── ZONAS ── */
    .zonas {
      margin-top: 24px;
      padding-top: 20px;
      border-top: 1px solid rgba(255,255,255,0.12);
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .zonas-label {
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.3);
      font-family: 'Inter', sans-serif;
    }

    .zona-tag {
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.12);
      color: rgba(255,255,255,0.55);
      font-size: 0.7rem;
      font-weight: 500;
      padding: 3px 10px;
      border-radius: 100px;
      font-family: 'Inter', sans-serif;
    }

    /* ── ANIMACIONES ── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    @keyframes fadeDown {
      from { opacity: 0; transform: translateY(-10px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* ── RESPONSIVE ── */
    @media (max-width: 768px) {
      body { padding: 24px 16px; justify-content: flex-start; padding-top: 40px; }
      main { padding: 32px 24px; border-radius: 16px; }
      blockquote { font-size: 1rem; line-height: 1.8; }
      blockquote::before { font-size: 3.5rem; }
      .cta-row { flex-direction: column; }
      .btn-glass { justify-content: center; }
      footer { flex-direction: column; align-items: flex-start; gap: 12px; }
      .pilares { gap: 6px; }
    }

    @media (max-width: 480px) {
      main { padding: 28px 18px; }
      .marca-nombre { font-size: 1.1rem; }
    }























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

    :root {
      --azul:      #1B3A5C;
      --azul-vivo: #1E4A78;
      --azul-cl:   #EBF2FA;
      --azul-md:   #2A5A8C;
      --dorado:    #B8924A;
      --dorado-cl: #FDF3E3;
      --negro:     #0b1218;
      --blanco:    #181414;
      --fondo:     #F7F8FA;
      --fondo2:    #EEF1F5;
      --borde:     #D4D9E2;
      --texto:     #3A4558;
      --texto-dim: #8A95A8;
      --verde:     #1A7A4A;
      --verde-cl:  #E6F4ED;
      --naranja:   #C17F2A;
    }

    html { scroll-behavior: smooth; }

   /* body {
      font-family: 'Inter', sans-serif;
      background: var(--blanco);
      color: var(--texto);
      line-height: 1.6;
      overflow-x: hidden;
    }*/

    /* ═══ NAVBAR ═══ */
   .navbar {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 100;

    background: rgba(15, 25, 35, 0.003);
backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(12px); /* Safari */

    border-bottom: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);

    padding: 0 24px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

    .nav-logo {
      display: flex; align-items: center; gap: 10px;
      text-decoration: none;
    }

    .nav-logo-mark {
      width: 34px; height: 34px;
      background: var(--azul);
      border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
    }

    .nav-logo-mark svg { width: 20px; height: 20px; fill: white; }

    .nav-brand {
      font-family: 'Playfair Display', serif;
      font-size: 1.2rem; font-weight: 700;
      color: white; letter-spacing: -0.01em;
    }

    .nav-brand span { color: #90B8E0; }

    .nav-links {
      display: flex; align-items: center; gap: 28px;
      list-style: none;
    }

    .nav-links a {
      font-size: 0.82rem; font-weight: 500;
      color: rgba(255,255,255,0.55);
      text-decoration: none; transition: color 0.2s;
    }

    .nav-links a:hover { color: white; }
    .nav-links a.phoenix { color: var(--dorado); }

    .nav-actions { display: flex; align-items: center; gap: 10px; }

    .btn-nav-login {
      background: transparent;
      border: 1px solid rgba(255,255,255,0.15);
      color: rgba(255,255,255,0.6);
      padding: 7px 16px;
      font-size: 0.8rem; font-weight: 500;
      border-radius: 7px; cursor: pointer;
      font-family: 'Inter', sans-serif;
      transition: all 0.2s;
    }

    .btn-nav-login:hover { border-color: rgba(255,255,255,0.35); color: white; }

    .btn-nav-register {
      background: var(--azul);
      border: none; color: white;
      padding: 7px 18px;
      font-size: 0.8rem; font-weight: 700;
      border-radius: 7px; cursor: pointer;
      font-family: 'Inter', sans-serif;
      transition: background 0.2s;
    }

    .btn-nav-register:hover { background: var(--azul-vivo); }

    .hamburger {
      display: none; flex-direction: column; gap: 5px;
      cursor: pointer; padding: 4px;
    }

    .hamburger span {
      width: 22px; height: 2px;
      background: rgba(255,255,255,0.7);
      border-radius: 2px; transition: all 0.2s;
    }

    /* ═══ HERO ═══ */
    .hero {
      min-height: 100vh;
      background: var(--negro);
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      text-align: center;
      padding: 120px 24px 80px;
      position: relative; overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute; inset: 0;
      background-image:
        linear-gradient(rgba(27,58,92,0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(27,58,92,0.18) 1px, transparent 1px);
      background-size: 48px 48px;
    }

    .hero-glow {
      position: absolute;
      top: 20%; left: 50%;
      transform: translate(-50%, -50%);
      width: 600px; height: 600px;
      background: radial-gradient(circle, rgba(27,58,92,0.4) 0%, transparent 70%);
      pointer-events: none;
    }

    .hero-inner {
      position: relative; z-index: 2;
      max-width: 760px;
    }

    .hero-badge {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.1);
      padding: 6px 16px; border-radius: 100px;
      font-size: 0.72rem; font-weight: 600;
      color: rgba(255,255,255,0.5);
      letter-spacing: 0.08em; text-transform: uppercase;
      margin-bottom: 28px;
    }

    .hero-badge-dot {
      width: 6px; height: 6px;
      background: var(--verde); border-radius: 50%;
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0%,100% { opacity: 1; transform: scale(1); }
      50%      { opacity: 0.5; transform: scale(0.8); }
    }

    .hero-phoenix {
      width: 72px; height: 72px;
      margin: 0 auto 20px;
      opacity: 0.15;
    }

    .hero-headline {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2.2rem, 5vw, 4rem);
      font-weight: 900; color: white;
      line-height: 1.08; letter-spacing: -0.02em;
      margin-bottom: 20px;
    }

    .hero-headline em { font-style: italic; color: #90B8E0; }

    .hero-sub {
      font-size: clamp(0.9rem, 1.5vw, 1.1rem);
      color: rgba(255,255,255,0.4);
      line-height: 1.8; max-width: 520px;
      margin: 0 auto 36px;
      font-weight: 300;
    }

    /* Trust badges */
    .trust-row {
      display: flex; flex-wrap: wrap;
      justify-content: center; gap: 8px;
      margin-bottom: 40px;
    }

    .trust-badge {
      display: flex; align-items: center; gap: 7px;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.08);
      padding: 8px 14px; border-radius: 8px;
      font-size: 0.78rem; font-weight: 500;
      color: rgba(255,255,255,0.55);
    }

    .trust-badge-icon { font-size: 0.9rem; }

    /* Search card */
    .search-card {
      background: white;
      border-radius: 16px;
      padding: 20px;
      max-width: 560px; margin: 0 auto;
      box-shadow: 0 24px 60px rgba(0,0,0,0.4);
    }

    .search-tabs {
      display: flex; gap: 4px;
      margin-bottom: 16px;
    }

    .tab {
      flex: 1; padding: 8px 4px;
      font-size: 0.78rem; font-weight: 600;
      border-radius: 8px; border: none;
      background: transparent; color: var(--texto-dim);
      cursor: pointer; transition: all 0.2s;
      font-family: 'Inter', sans-serif;
    }

    .tab.active, .tab:hover {
      background: var(--azul-cl); color: var(--azul);
    }

    .search-input-wrap {
      position: relative; margin-bottom: 12px;
    }

    .search-icon {
      position: absolute; left: 12px; top: 50%;
      transform: translateY(-50%);
      width: 18px; height: 18px;
      fill: var(--texto-dim);
    }

    .search-input {
      width: 100%; padding: 12px 16px 12px 40px;
      border: 1.5px solid var(--borde);
      border-radius: 10px; font-size: 0.9rem;
      font-family: 'Inter', sans-serif;
      color: var(--negro); outline: none;
      transition: border-color 0.2s;
    }

    .search-input:focus { border-color: var(--azul); }

    .btn-search {
      width: 100%;
      background: var(--azul); color: white;
      border: none; padding: 13px;
      font-size: 0.88rem; font-weight: 700;
      border-radius: 10px; cursor: pointer;
      font-family: 'Inter', sans-serif;
      transition: background 0.2s;
      display: flex; align-items: center; justify-content: center; gap: 8px;
    }

    .btn-search:hover { background: var(--azul-vivo); }

    .popular-row {
      display: flex; flex-wrap: wrap; gap: 6px;
      justify-content: center; margin-top: 16px;
    }

    .popular-tag {
      background: var(--fondo); border: 1px solid var(--borde);
      color: var(--texto-dim); font-size: 0.72rem; font-weight: 500;
      padding: 5px 12px; border-radius: 100px;
      cursor: pointer; transition: all 0.2s;
      font-family: 'Inter', sans-serif;
    }

    .popular-tag:hover { border-color: var(--azul); color: var(--azul); background: var(--azul-cl); }

    /* ═══ ZONAS ═══ */
    .zonas-strip {
      background: var(--azul);
      padding: 16px 24px;
      display: flex; align-items: center;
      justify-content: center; gap: 12px;
      flex-wrap: wrap;
    }

    .zonas-label {
      font-size: 0.7rem; font-weight: 700;
      letter-spacing: 0.15em; text-transform: uppercase;
      color: rgba(255,255,255,0.9);
    }

    .zonas-list {
      display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    }

    .zona-pill {
      display: flex; align-items: center; gap: 6px;
      background: rgba(255,255,255,0.91);
      border: 1px solid rgba(255,255,255,0.9);
      color: white; font-size: 0.75rem; font-weight: 600;
      padding: 5px 12px; border-radius: 100px;
    }

    .zona-activa { background: rgba(255,255,255,0.18); }

    /* ═══ SECCIÓN GENÉRICA ═══ */
    .seccion {
      padding: 80px 24px;
      max-width: 1200px; margin: 0 auto;
    }

    .sec-eyebrow {
      font-size: 0.65rem; font-weight: 700;
      letter-spacing: 0.25em; text-transform: uppercase;
      color: var(--azul); margin-bottom: 10px;
      display: flex; align-items: center; gap: 10px;
    }

    .sec-eyebrow::before {
      content: ''; width: 18px; height: 2px;
      background: var(--azul); border-radius: 2px;
    }

    .sec-titulo {
      font-family: 'Playfair Display', serif;
      font-size: clamp(1.6rem, 3vw, 2.4rem);
      font-weight: 700; color: var(--negro);
      line-height: 1.15; margin-bottom: 16px;
    }

    .sec-titulo em { font-style: italic; color: var(--azul); }

    .sec-sub {
      font-size: 0.92rem; color: var(--texto-dim);
      max-width: 520px; line-height: 1.8;
    }

    /* ═══ CÓMO FUNCIONA ═══ */
    .steps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px; margin-top: 48px;
    }

    .step {
      background: var(--blanco);
      border: 1px solid var(--borde);
      border-radius: 14px; padding: 28px 22px;
      transition: all 0.25s; position: relative;
    }

    .step:hover {
      transform: translateY(-3px);
      box-shadow: 0 12px 32px rgba(27,58,92,0.1);
      border-color: rgba(27,58,92,0.2);
    }

    .step-num {
      width: 40px; height: 40px;
      background: var(--azul); color: white;
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.9rem; font-weight: 600;
      margin-bottom: 16px;
    }

    .step-title {
      font-weight: 700; font-size: 0.95rem;
      color: var(--negro); margin-bottom: 8px;
    }

    .step-desc {
      font-size: 0.8rem; color: var(--texto-dim);
      line-height: 1.7;
    }

    .step-connector {
      display: none;
    }

    /* ═══ ESTÁNDAR PHOENIX ═══ */
    .phoenix-section {
      background: var(--negro);
      padding: 80px 24px;
      position: relative; overflow: hidden;
    }

    .phoenix-section::before {
      content: '';
      position: absolute; inset: 0;
      background-image:
        linear-gradient(rgba(27,58,92,0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(27,58,92,0.2) 1px, transparent 1px);
      background-size: 44px 44px;
    }

    .phoenix-inner {
      max-width: 1200px; margin: 0 auto;
      position: relative; z-index: 2;
    }

    .phoenix-eyebrow {
      font-size: 0.65rem; font-weight: 700;
      letter-spacing: 0.25em; text-transform: uppercase;
      color: var(--dorado); margin-bottom: 12px;
      display: flex; align-items: center; gap: 10px;
    }

    .phoenix-eyebrow::before {
      content: ''; width: 18px; height: 2px;
      background: var(--dorado); border-radius: 2px;
    }

    .phoenix-titulo {
      font-family: 'Playfair Display', serif;
      font-size: clamp(1.8rem, 3vw, 2.8rem);
      font-weight: 900; color: white;
      line-height: 1.1; margin-bottom: 12px;
    }

    .phoenix-titulo em { font-style: italic; color: #90B8E0; }

    .phoenix-sub {
      font-size: 0.92rem; color: rgba(255,255,255,0.4);
      max-width: 520px; line-height: 1.8;
      margin-bottom: 48px; font-weight: 300;
    }

    .pillars-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }

    .pillar {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: 12px; padding: 22px;
      display: flex; gap: 14px; align-items: flex-start;
      transition: all 0.2s;
    }

    .pillar:hover {
      background: rgba(255,255,255,0.07);
      border-color: rgba(184,146,74,0.2);
    }

    .pillar-icon { font-size: 1.4rem; flex-shrink: 0; }

    .pillar-latin {
      font-family: 'Playfair Display', serif;
      font-size: 1rem; font-weight: 700;
      color: var(--dorado); margin-bottom: 3px;
    }

    .pillar-traduccion {
      font-size: 0.72rem; font-weight: 600;
      color: rgba(255,255,255,0.84);
      letter-spacing: 0.08em; text-transform: uppercase;
      margin-bottom: 6px;
    }

    .pillar-desc {
      font-size: 0.78rem; color: rgba(255,255,255,0.835);
      line-height: 1.6;
    }

    /* ═══ CARRUSEL ═══ */
    .carrusel-seccion {
      padding: 80px 24px;
      max-width: 1200px; margin: 0 auto;
    }

    .carrusel-header {
      display: flex; justify-content: space-between;
      align-items: flex-end; margin-bottom: 24px;
    }

    .carrusel-filtros {
      display: flex; gap: 6px; flex-wrap: wrap;
      margin-bottom: 24px;
    }

    .filtro {
      background: var(--blanco);
      border: 1.5px solid var(--borde);
      color: var(--texto-dim);
      font-size: 0.75rem; font-weight: 500;
      padding: 7px 16px; border-radius: 100px;
      cursor: pointer; transition: all 0.2s;
      font-family: 'Inter', sans-serif;
    }

    .filtro:hover { border-color: var(--azul); color: var(--azul); }
    .filtro.activo { background: var(--azul); border-color: var(--azul); color: white; }

    .nav-carrusel { display: flex; gap: 8px; }

    .nav-btn {
      width: 38px; height: 38px; border-radius: 50%;
      background: var(--blanco); border: 1.5px solid var(--borde);
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; transition: all 0.2s;
      font-size: 0.85rem; color: var(--texto);
    }

    .nav-btn:hover { background: var(--azul); border-color: var(--azul); color: white; }
    .nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }

    .carrusel-viewport { overflow: hidden; }

    .carrusel-track {
      display: flex; gap: 18px;
      transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
    }

    .card {
      flex: 0 0 calc(25% - 14px);
      background: var(--blanco);
      border: 1px solid var(--borde);
      border-radius: 14px; overflow: hidden;
      transition: all 0.3s; cursor: pointer;
      text-decoration: none; color: inherit; display: block;
    }

    .card:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 32px rgba(27,58,92,0.1);
    }

    .card.destacada { flex: 0 0 calc(37.5% - 10px); }

    .card-img {
      height: 190px; position: relative;
      overflow: hidden; display: flex;
      align-items: center; justify-content: center;
    }

    .card-img.fachada   { background: linear-gradient(135deg, #1B3A5C 0%, #2A5A8C 60%, #3B6EA5 100%); }
    .card-img.articulo  { background: linear-gradient(135deg, #0F1923 0%, #1B3A5C 100%); }
    .card-img.proyecto  { background: linear-gradient(135deg, #1A4A2A 0%, #1A7A4A 100%); }
    .card-img.plano     { background: linear-gradient(135deg, #4A3A1B 0%, #B8924A 100%); }

    .card-img.plano::before {
      content: ''; position: absolute; inset: 0;
      background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
      background-size: 20px 20px;
    }

    .card-icono { font-size: 3.2rem; opacity: 0.3; position: absolute; transition: transform 0.4s, opacity 0.3s; }
    .card:hover .card-icono { transform: scale(1.1); opacity: 0.45; }

    .card-overlay {
      position: absolute; bottom: 0; left: 0; right: 0;
      padding: 14px;
      background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    }

    .card-cat {
      display: inline-flex; align-items: center; gap: 4px;
      font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em;
      text-transform: uppercase; padding: 3px 9px; border-radius: 100px;
    }

    .cat-fachada  { background: rgba(27,58,92,0.85);  color: #90B8E0; }
    .cat-articulo { background: rgba(15,25,35,0.85);  color: rgba(255,255,255,0.65); }
    .cat-proyecto { background: rgba(26,122,74,0.85); color: #6FD4A0; }
    .cat-plano    { background: rgba(184,146,74,0.85);color: #FFD98A; }

    .card-badge {
      position: absolute; top: 10px; right: 10px;
      font-size: 0.58rem; font-weight: 700; letter-spacing: 0.08em;
      text-transform: uppercase; padding: 3px 9px; border-radius: 100px;
    }

    .badge-nuevo   { background: var(--azul);   color: white; }
    .badge-popular { background: var(--dorado); color: white; }
    .badge-phoenix { background: var(--negro);  color: var(--dorado); border: 1px solid var(--dorado); }

    .card-body { padding: 18px; }

    .card-titulo {
      font-family: 'Playfair Display', serif;
      font-size: 0.95rem; font-weight: 700;
      color: var(--negro); line-height: 1.3; margin-bottom: 7px;
    }

    .card.destacada .card-titulo { font-size: 1.1rem; }

    .card-extracto {
      font-size: 0.76rem; color: var(--texto-dim);
      line-height: 1.65; margin-bottom: 14px;
      display: -webkit-box; -webkit-line-clamp: 2;
      -webkit-box-orient: vertical; overflow: hidden;
    }

    .card-footer {
      display: flex; justify-content: space-between;
      align-items: center; padding-top: 12px;
      border-top: 1px solid var(--fondo);
    }

    .card-meta {
      font-size: 0.68rem; color: var(--texto-dim);
      display: flex; align-items: center; gap: 5px;
    }

    .card-dot { width: 3px; height: 3px; background: var(--borde); border-radius: 50%; }

    .card-cta {
      font-size: 0.7rem; font-weight: 600; color: var(--azul);
      display: flex; align-items: center; gap: 3px; transition: gap 0.2s;
    }

    .card:hover .card-cta { gap: 7px; }

    .carrusel-dots {
      display: flex; justify-content: center; gap: 6px; margin-top: 24px;
    }

    .dot {
      width: 6px; height: 6px; border-radius: 100px;
      background: var(--borde); border: none; cursor: pointer;
      transition: all 0.3s; padding: 0;
    }

    .dot.activo { background: var(--azul); width: 22px; }

    /* ═══ STATS ═══ */
    .stats-section {
      background: var(--fondo);
      border-top: 1px solid var(--borde);
      border-bottom: 1px solid var(--borde);
      padding: 40px 24px;
    }

    .stats-inner {
      max-width: 800px; margin: 0 auto;
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 0;
    }

    .stat-item { text-align: center; padding: 20px; }

    .stat-item + .stat-item {
      border-left: 1px solid var(--borde);
    }

    .stat-val {
      font-family: 'Playfair Display', serif;
      font-size: clamp(1.6rem, 3vw, 2.4rem);
      font-weight: 900; color: var(--azul);
      margin-bottom: 6px; display: block;
    }

    .stat-label {
      font-size: 0.72rem; color: var(--texto-dim);
      letter-spacing: 0.08em; text-transform: uppercase;
    }

    .stat-nota {
      font-size: 0.65rem; color: var(--texto-dim);
      margin-top: 4px; font-style: italic;
    }

    /* ═══ EDITORIAL ═══ */
    .editorial-banner {
      margin: 60px 24px;
      max-width: 1200px; margin-left: auto; margin-right: auto;
      background: var(--azul);
      border-radius: 16px; padding: 36px 44px;
      display: flex; align-items: center;
      justify-content: space-between; gap: 32px;
      position: relative; overflow: hidden;
    }

    .editorial-banner::before {
      content: ''; position: absolute; inset: 0;
      background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
      background-size: 40px 40px;
    }

    .ed-left { display: flex; align-items: center; gap: 18px; position: relative; z-index: 2; }

    .ed-avatar {
      width: 54px; height: 54px; border-radius: 50%;
      background: rgba(255,255,255,0.1);
      border: 2px solid rgba(255,255,255,0.2);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.4rem; flex-shrink: 0;
    }

    .ed-tag {
      font-size: 0.6rem; font-weight: 700;
      letter-spacing: 0.18em; text-transform: uppercase;
      color: var(--dorado); margin-bottom: 4px;
    }

    .ed-titulo {
      font-family: 'Playfair Display', serif;
      font-size: 1rem; font-weight: 700;
      color: white; line-height: 1.3;
    }

    .ed-autor {
      font-size: 0.72rem; color: rgba(255,255,255,0.4); margin-top: 4px;
    }

    .ed-right { position: relative; z-index: 2; flex-shrink: 0; }

    .btn-editorial {
      background: white; color: var(--azul);
      border: none; padding: 11px 24px;
      font-size: 0.82rem; font-weight: 700;
      border-radius: 8px; cursor: pointer;
      font-family: 'Inter', sans-serif;
      transition: all 0.2s; white-space: nowrap;
    }

    .btn-editorial:hover { background: var(--fondo); transform: translateY(-1px); }

    /* ═══ FIRMA ═══ */
    .firma-section {
      background: var(--negro);
      padding: 48px 24px;
      text-align: center;
      border-top: 1px solid rgba(255,255,255,0.05);
    }

    .firma-inner { max-width: 480px; margin: 0 auto; }

    .firma-avatar {
      width: 64px; height: 64px; border-radius: 50%;
      background: rgba(255,255,255,0.06);
      border: 2px solid rgba(255,255,255,0.12);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.6rem; margin: 0 auto 16px;
    }

    .firma-nombre {
      font-family: 'Playfair Display', serif;
      font-size: 1.1rem; font-weight: 700; color: white;
      margin-bottom: 4px;
    }

    .firma-cargo {
      font-size: 0.78rem; color: rgba(255,255,255,0.35);
      margin-bottom: 16px; letter-spacing: 0.04em;
    }

    .firma-tagline {
      font-family: 'Playfair Display', serif;
      font-size: 1rem; font-style: italic;
      color: var(--dorado);
    }

    /* ═══ FOOTER ═══ */
    .footer {
      background: var(--negro);
      border-top: 1px solid rgba(255,255,255,0.06);
      padding: 24px;
      text-align: center;
    }

    .footer-text {
      font-size: 0.72rem; color: rgba(255,255,255,0.2);
      line-height: 1.7;
    }

    .footer-text a { color: rgba(255,255,255,0.35); text-decoration: none; }

    /* ═══ CHAT BTN ═══ */
    .chat-btn {
      position: fixed; bottom: 24px; right: 24px;
      width: 52px; height: 52px; border-radius: 50%;
      background: #25D366;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 6px 20px rgba(37,211,102,0.35);
      cursor: pointer; z-index: 50;
      transition: all 0.2s;
    }

    .chat-btn:hover { transform: scale(1.08); box-shadow: 0 8px 28px rgba(37,211,102,0.45); }
    .chat-btn svg { width: 26px; height: 26px; fill: white; }

    /* ═══ DRAWER ═══ */
    .overlay {
      display: none; position: fixed; inset: 0;
      background: rgba(0,0,0,0.5); z-index: 200;
    }

    .overlay.open { display: block; }

    .drawer {
      position: fixed; top: 0; right: -340px; bottom: 0;
      width: 320px; background: white;
      z-index: 201; transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
      overflow-y: auto;
    }

    .drawer.open { right: 0; }

    .drawer-head {
      background: var(--negro); padding: 18px 20px;
      display: flex; justify-content: space-between; align-items: center;
    }

    .drawer-brand {
      font-family: 'Playfair Display', serif;
      font-size: 1.1rem; font-weight: 700; color: white;
    }

    .drawer-brand span { color: #90B8E0; }

    .drawer-close {
      background: rgba(255,255,255,0.1); border: none;
      color: rgba(255,255,255,0.6); width: 30px; height: 30px;
      border-radius: 50%; cursor: pointer; font-size: 0.85rem;
    }

    .drawer-user {
      display: flex; align-items: center; gap: 12px;
      padding: 16px 20px;
      border-bottom: 1px solid var(--borde);
    }

    .drawer-avatar {
      width: 40px; height: 40px; border-radius: 50%;
      background: var(--fondo2);
      display: flex; align-items: center; justify-content: center;
    }

    .drawer-avatar svg { width: 20px; height: 20px; fill: var(--texto-dim); }

    .drawer-user-name { font-size: 0.88rem; font-weight: 600; color: var(--negro); }
    .drawer-user-sub  { font-size: 0.72rem; color: var(--texto-dim); }

    .drawer-login {
      margin-left: auto; background: var(--azul); color: white;
      border: none; padding: 7px 14px; font-size: 0.75rem;
      font-weight: 700; border-radius: 7px; cursor: pointer;
      font-family: 'Inter', sans-serif; flex-shrink: 0;
    }

    .drawer-sec-label {
      padding: 14px 20px 6px;
      font-size: 0.62rem; font-weight: 700;
      letter-spacing: 0.15em; text-transform: uppercase;
      color: var(--texto-dim);
    }

    .drawer-item {
      display: flex; align-items: center; gap: 12px;
      padding: 13px 20px; text-decoration: none;
      border-bottom: 1px solid var(--fondo);
      cursor: pointer; transition: background 0.15s;
    }

    .drawer-item:hover { background: var(--fondo); }

    .drawer-item-icon {
      width: 36px; height: 36px; border-radius: 9px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1rem; flex-shrink: 0;
    }

    .icon-azul    { background: var(--azul-cl); }
    .icon-dorado  { background: var(--dorado-cl); }
    .icon-verde   { background: var(--verde-cl); }

    .drawer-item-title { font-size: 0.85rem; font-weight: 600; color: var(--negro); }
    .drawer-item-sub   { font-size: 0.72rem; color: var(--texto-dim); margin-top: 1px; }

    .drawer-arrow { margin-left: auto; color: var(--borde); font-size: 1rem; }

    .drawer-item-badge {
      margin-left: auto; background: var(--azul); color: white;
      font-size: 0.6rem; font-weight: 700; padding: 2px 8px;
      border-radius: 100px; letter-spacing: 0.05em;
    }

    .drawer-divider { height: 8px; background: var(--fondo); }

    .drawer-footer {
      padding: 20px;
      border-top: 1px solid var(--borde);
    }

    .btn-register-drawer {
      display: block; width: 100%;
      background: var(--azul); color: white; border: none;
      padding: 13px; font-size: 0.88rem; font-weight: 700;
      border-radius: 10px; cursor: pointer;
      font-family: 'Inter', sans-serif; margin-bottom: 12px;
    }

    .drawer-sig {
      font-size: 0.68rem; color: var(--texto-dim);
      text-align: center; line-height: 1.6;
    }

    .drawer-tagline {
      font-family: 'Playfair Display', serif;
      font-size: 0.82rem; font-style: italic;
      color: var(--dorado); text-align: center; margin-top: 6px;
    }

    /* ═══ RESPONSIVE ═══ */
    @media (max-width: 1024px) {
      .steps { grid-template-columns: repeat(2, 1fr); }
      .pillars-grid { grid-template-columns: repeat(2, 1fr); }
      .card { flex: 0 0 calc(33.33% - 13px); }
      .card.destacada { flex: 0 0 calc(50% - 10px); }
    }

    @media (max-width: 768px) {
      .nav-links { display: none; }
      .btn-nav-login { display: none; }
      .hamburger { display: flex; }
      .steps { grid-template-columns: 1fr; }
      .pillars-grid { grid-template-columns: 1fr; }
      .card { flex: 0 0 80vw; }
      .card.destacada { flex: 0 0 80vw; }
      .stats-inner { grid-template-columns: 1fr; gap: 0; }
      .stat-item + .stat-item { border-left: none; border-top: 1px solid var(--borde); }
      .editorial-banner { flex-direction: column; padding: 24px 20px; gap: 20px; }
      .ed-right { width: 100%; }
      .btn-editorial { width: 100%; text-align: center; display: block; }
    }

    @media (max-width: 480px) {
      .card { flex: 0 0 88vw; }
    }













  </style>