  /* ── Local Font: Playfair Display ── */
  @font-face {
      font-family: 'Playfair Display';
      font-style: normal;
      font-weight: 400;
      font-display: swap;
      src: url('../fonts/Playfair Display/PlayfairDisplay-400.ttf') format('truetype');
  }

  @font-face {
      font-family: 'Playfair Display';
      font-style: normal;
      font-weight: 600;
      font-display: swap;
      src: url('../fonts/Playfair Display/PlayfairDisplay-600.ttf') format('truetype');
  }

  @font-face {
      font-family: 'Playfair Display';
      font-style: normal;
      font-weight: 700;
      font-display: swap;
      src: url('../fonts/Playfair Display/PlayfairDisplay-700.ttf') format('truetype');
  }

  @font-face {
      font-family: 'Playfair Display';
      font-style: normal;
      font-weight: 800;
      font-display: swap;
      src: url('../fonts/Playfair Display/PlayfairDisplay-800.ttf') format('truetype');
  }

  /* ── Navbar (header_editorial) ── */
  :root {
      --brand: #0d9488;
      --brand-50: #f0fdfa;
      --brand-100: #ccfbf1;
      --brand-200: #99f6e4;
      --brand-300: #5eead4;
      --brand-400: #2dd4bf;
      --brand-500: #14b8a6;
      --brand-600: #0d9488;
      --brand-700: #0f766e;
      --brand-800: #115e59;
      --brand-900: #134e4a;
  }

  * {
      font-family: 'Inter', sans-serif;
      box-sizing: border-box;
  }

  .display {
      font-family: 'Inter', sans-serif;
      font-weight: 800;
  }

  html {
      scroll-behavior: smooth;
      scroll-padding-top: 5rem;
  }

  @keyframes fadeUp {
      from {
          opacity: 0;
          transform: translateY(20px);
      }

      to {
          opacity: 1;
          transform: translateY(0);
      }
  }

  @keyframes fadeScale {
      from {
          opacity: 0;
          transform: scale(0.85);
      }

      to {
          opacity: 1;
          transform: scale(1);
      }
  }

  .animate-fade-scale {
      animation: fadeScale 0.25s ease both;
  }

  @keyframes marquee {
      0% {
          transform: translateX(0);
      }

      100% {
          transform: translateX(-50%);
      }
  }

  @keyframes float {

      0%,
      100% {
          transform: translateY(0);
      }

      50% {
          transform: translateY(-8px);
      }
  }

  @keyframes pulse-glow {

      0%,
      100% {
          box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.3);
      }

      50% {
          box-shadow: 0 0 0 12px rgba(13, 148, 136, 0);
      }
  }

  .animate-marquee {
      animation: marquee 40s linear infinite;
  }

  .animate-float {
      animation: float 4s ease-in-out infinite;
  }

  .animate-pulse-glow {
      animation: pulse-glow 2.5s infinite;
  }

  .fade-up {
      animation: fadeUp 0.6s ease both;
  }

  .delay-1 {
      animation-delay: 0.1s;
  }

  .delay-2 {
      animation-delay: 0.2s;
  }

  .delay-3 {
      animation-delay: 0.3s;
  }

  .delay-4 {
      animation-delay: 0.4s;
  }

  .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal.visible {
      opacity: 1;
      transform: translateY(0);
  }

  .reveal-delay-1 {
      transition-delay: 0.1s;
  }

  .reveal-delay-2 {
      transition-delay: 0.2s;
  }

  .reveal-delay-3 {
      transition-delay: 0.3s;
  }

  .reveal-delay-4 {
      transition-delay: 0.4s;
  }

  .card {
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .card:hover {
      transform: translateY(-4px);
      box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.08);
  }

/*   ::-webkit-scrollbar {
      width: 6px;
  }

  ::-webkit-scrollbar-track {
      background: #f1f5f9;
  }

  ::-webkit-scrollbar-thumb {
      background: #0d9488;
      border-radius: 3px;
  }
 */
  .nav-link {
      position: relative;
  }

  .dropdown-menu {
      transform: translateY(4px);
  }

  .group:hover .dropdown-menu {
      transform: translateY(0);
  }

  @media (max-width: 380px) {
      .display {
          word-break: break-word;
      }
  }

  /* ── Fondo Editorial: Colores ── */
  :root {
      --verde: #1a3a2e;
      --verde-mid: #1a4731;
      --naranja: #e07c2e;
      --naranja-hover: #c96d1e;
      --blanco: #ffffff;
      --gris-claro: #f7f6f2;
  }

  body {
      font-family: 'Inter', sans-serif;
      background: #f7f6f2;
      overflow-x: hidden;
  }

  /* ── Hero ── */
  .hero {
      background: var(--verde);
      min-height: calc(100vh - 64px);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 6rem 1.5rem 5rem;
      overflow: hidden;
  }

  .hero-content {
      flex-shrink: 0;
  }

  .hero-title-serif {
      font-family: 'Playfair Display', serif !important;
      color: #fff;
      font-weight: 700;
      line-height: 1.1;
      letter-spacing: -0.01em;
  }

  .hero-title-serif .line1 {
      font-size: clamp(1.6rem, 3vw, 2.4rem);
      display: block;
      font-family: 'Playfair Display', serif !important;
  }

  .hero-title-serif .line2 {
      font-size: clamp(1.6rem, 3vw, 2.4rem);
      display: block;
      font-family: 'Playfair Display', serif !important;
  }

  .hero-title-serif .line3 {
      font-size: clamp(1.8rem, 3.5vw, 2.8rem);
      display: block;
      color: var(--naranja);
      font-family: 'Playfair Display', serif !important;
  }

  .hero-desc {
      margin-top: 0.9rem;
      color: rgba(255, 255, 255, 0.75);
      font-size: clamp(0.75rem, 1.2vw, 0.88rem);
      font-weight: 300;
      line-height: 1.6;
      max-width: 480px;
      margin-left: auto;
      margin-right: auto;
  }

  .hero-btns {
      margin-top: 2rem;
      display: flex;
      gap: 0.75rem;
      justify-content: center;
      flex-wrap: wrap;
  }

  .btn-primary {
      background: var(--naranja);
      color: #fff;
      font-size: 0.82rem;
      font-weight: 500;
      padding: 0.6rem 1.3rem;
      border-radius: 8px;
      border: none;
      cursor: pointer;
      transition: background 0.15s, transform 0.1s;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
  }

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

  .btn-outline {
      background: transparent;
      color: rgba(255, 255, 255, 0.9);
      font-size: 0.82rem;
      font-weight: 400;
      padding: 0.6rem 1.3rem;
      border-radius: 8px;
      border: 1.5px solid rgba(255, 255, 255, 0.35);
      cursor: pointer;
      transition: border-color 0.15s, color 0.15s, transform 0.1s;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
  }

  .btn-outline:hover {
      border-color: rgba(255, 255, 255, 0.7);
      color: #fff;
      transform: translateY(-1px);
  }

  /* ── Secciones ── */
  .section {
      max-width: 1180px;
      margin: 0 auto;
      padding: 5rem 1.5rem;
  }

  .section-eyebrow {
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      color: var(--naranja);
      text-transform: uppercase;
      margin-bottom: 0.6rem;
  }

  .section-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(1.6rem, 3vw, 2.2rem);
      font-weight: 700;
      color: var(--verde);
      line-height: 1.15;
  }

  .section-sub {
      margin-top: 0.75rem;
      color: #5a6a63;
      font-size: 0.88rem;
      font-weight: 300;
      max-width: 500px;
      line-height: 1.6;
  }

  /* Encabezado de sección con acción a la derecha */
  .section-head {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      gap: 1.5rem;
  }

  .section-head-cta {
      flex-shrink: 0;
  }

  @media (max-width: 768px) {
      .section-head {
          flex-direction: column;
          align-items: flex-start;
          gap: 1.25rem;
      }
  }

  /* Fondo alternado */
  .bg-white-sec {
      background: #fff;
  }

  .bg-gray-sec {
      background: var(--gris-claro);
  }

  .bg-dark-sec {
      background: var(--verde);
  }

  /* ── Aliados ── */
  .aliados-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      justify-content: center;
      margin-top: 2.5rem;
  }

  .aliado-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-decoration: none;
      color: inherit;
      width: 140px;
  }

  .aliado-card .aliado-logo {
      width: 100px;
      height: 100px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 0.5rem;
  }

  .aliado-card .aliado-logo img {
      width: 60%;
      height: 60%;
      object-fit: contain;
      opacity: 0.5;
      filter: grayscale(1);
      transition: opacity 0.2s, filter 0.2s;
  }

  .aliado-card:hover .aliado-logo img {
      opacity: 1;
      filter: grayscale(0);
  }

  .aliado-card .aliado-name {
      font-size: 0.82rem;
      font-weight: 500;
      color: var(--verde);
      transition: color 0.2s;
  }

  .aliado-card:hover .aliado-name {
      color: var(--naranja);
  }

  @media (max-width: 768px) {
      .aliados-grid {
          gap: 0.5rem;
      }
      .aliado-card {
          width: calc(25% - 0.4rem);
          flex: 1 1 calc(25% - 0.4rem);
          max-width: 25%;
      }
      .aliado-card .aliado-logo {
          width: 64px;
          height: 64px;
      }
      .aliado-card .aliado-logo img {
          width: 70%;
          height: 70%;
      }
  }

  /* ── Publicaciones ── */
  .pub-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 1.2rem;
      margin-top: 2.5rem;
  }

  /* 4 columnas en tablet: replica el grid de PC y evita la fila huerfana.
     Termina en 1065px porque ahi es donde el auto-fill de la regla base
     alcanza 4 columnas por si solo (card 239.9px -> 240.1px, sin salto). */
  @media (min-width: 769px) and (max-width: 1065px) {
      .pub-grid {
          grid-template-columns: repeat(4, 1fr);
          gap: 1.2rem;
      }
  }

  .pub-card {
      background: #fff;
      border: 1.5px solid #e2e8e5;
      border-radius: 12px;
      overflow: hidden;
      transition: box-shadow 0.2s, transform 0.2s;
  }

  .pub-card:hover {
      box-shadow: none;
      transform: none;
  }

  .pub-card-header {
      aspect-ratio: 3/4;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      font-family: 'Playfair Display', serif;
      font-size: 2.5rem;
      font-weight: 700;
  }

  .pub-card-header.libro {
      background: linear-gradient(135deg, #1a4731 0%, #2a6347 100%);
      color: rgba(255, 255, 255, 0.2);
  }

  .pub-card-header.revista {
      background: linear-gradient(135deg, #b05c15 0%, #e07c2e 100%);
      color: rgba(255, 255, 255, 0.2);
  }

  .pub-card-header.articulo {
      background: linear-gradient(135deg, #12606b 0%, #1d8a99 100%);
      color: rgba(255, 255, 255, 0.2);
  }

  .pub-card-body {
      padding: 1rem 1rem 1.2rem;
  }

  .pub-type-badge {
      display: inline-block;
      font-size: 0.62rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 0.25rem 0.7rem;
      border-radius: 999px;
      margin-bottom: 0.6rem;
      box-shadow: none;
      transition: background 0.2s, color 0.2s, transform 0.2s;
  }

  .pub-type-badge.libro {
      background: var(--verde);
      color: #fff;
  }

  .pub-type-badge.articulo {
      background: var(--naranja);
      color: #fff;
  }

  .pub-type-badge.revista {
      background: #e8590c;
      color: #fff;
  }

  .pub-type-badge.articulo:hover {
      background: #c96f24;
      transform: translateY(-1px);
  }

  .pub-title {
      font-family: 'Inter', sans-serif;
      font-size: 0.92rem;
      font-weight: 800;
      color: var(--verde);
      line-height: 1.35;
      margin-bottom: 0.5rem;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
  }

  .pub-autores {
      font-size: 0.72rem;
      font-weight: 500;
      color: var(--naranja);
      margin-bottom: 0.45rem;
      display: -webkit-box;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
      overflow: hidden;
  }

  .pub-autores i {
      font-size: 0.78rem;
      vertical-align: -1px;
  }

  .pub-fecha {
      font-size: 0.66rem;
      color: #9aaaa4;
      margin-bottom: 0.7rem;
  }

  .pub-fecha i {
      font-size: 0.72rem;
      vertical-align: -1px;
  }

  .pub-placeholder {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      color: rgba(255, 255, 255, 0.4);
      font-family: 'Playfair Display', serif;
      font-size: 0.7rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      height: 100%;
  }

  .pub-placeholder i {
      font-size: 2.4rem;
  }

  .pub-desc {
      font-size: 0.78rem;
      color: #6b7c76;
      line-height: 1.5;
      margin-bottom: 0.8rem;
  }

  .pub-issn {
      font-size: 0.68rem;
      color: #9aaaa4;
      margin-bottom: 0.75rem;
  }

  .pub-link {
      font-size: 0.75rem;
      font-weight: 500;
      color: var(--naranja);
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.25rem;
      border-bottom: 1px solid transparent;
      transition: border-color 0.15s;
  }

  .pub-link:hover {
      border-color: var(--naranja);
  }

  /* ── Revistas ── */
  .revistas-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
      margin-top: 2.5rem;
  }

  .revista-card {
      background: #fff;
      border-radius: 16px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      border: 1px solid #e5e7eb;
      transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  }

  .revista-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 20px 40px -12px rgba(0,0,0,0.1);
      border-color: #d1d5db;
  }

  .revista-card-img {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      background: #f9fafb;
  }

  .revista-card-img img {
      width: 100%;
      height: auto;
      max-height: 320px;
      object-fit: contain;
      padding: 1rem;
      transition: transform 0.3s;
  }

  .revista-card:hover .revista-card-img img {
      transform: scale(1.03);
  }

  .revista-card-body {
      padding: 1.25rem 1.5rem 1.5rem;
      flex: 1;
      display: flex;
      flex-direction: column;
  }

  .revista-card-tag {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      font-size: 0.65rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #94a3b8;
      margin-bottom: 0.75rem;
  }

  .revista-card-tag svg {
      width: 12px;
      height: 12px;
      opacity: 0.6;
  }

  .revista-card-desc {
      font-size: 0.82rem;
      color: #64748b;
      line-height: 1.6;
      flex: 1;
  }

  .revista-card-link {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      margin-top: 1.25rem;
      padding: 0.6rem 1.2rem;
      background: var(--verde);
      color: #fff;
      font-size: 0.78rem;
      font-weight: 500;
      border-radius: 8px;
      text-decoration: none;
      align-self: flex-start;
      transition: background 0.2s, transform 0.2s;
  }

  .revista-card-link:hover {
      background: var(--naranja);
      transform: translateX(2px);
  }

  .revista-card-link svg {
      width: 14px;
      height: 14px;
      transition: transform 0.2s;
  }

  .revista-card-link:hover svg {
      transform: translateX(3px);
  }

  /* Variante naranja */
  .revista-card--naranja .revista-card-link {
      background: var(--naranja);
  }

  .revista-card--naranja .revista-card-link:hover {
      background: var(--naranja-hover);
  }

  @media (max-width: 1024px) {
      .revistas-grid { grid-template-columns: repeat(2, 1fr); }
  }

  /* Tablet: 3 tarjetas en 2 columnas dejan la 3ra huerfana a la izquierda.
     flex-wrap + justify-content:center centra cada linea, y con flex-grow:0
     las tarjetas no se estiran, asi que la ultima queda centrada sola. */
  @media (min-width: 641px) and (max-width: 1024px) {
      .revistas-grid {
          display: flex;
          flex-wrap: wrap;
          justify-content: center;
          gap: 1.5rem;
      }

      .revistas-grid > .revista-card {
          flex: 0 0 calc(50% - 0.75rem);
      }
  }

  @media (max-width: 640px) {
      .revistas-grid { grid-template-columns: 1fr; }
      .revista-card-img img { max-height: 260px; }
  }

  @media (min-width: 1440px) {
      .revista-card-img img { max-height: 360px; }
      #revistas .section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  }

  .carousel-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 10;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0;
      padding: 0.4rem;
      background: transparent;
      border: 0;
      cursor: pointer;
      line-height: 0;
  }

  .carousel-arrow#prevBtn { left: 0.5rem; }
  .carousel-arrow#nextBtn { right: 0.5rem; }

  .carousel-arrow svg {
      width: 30px;
      height: 30px;
      fill: none;
      stroke: #fff;
      stroke-width: 2.5;
      stroke-linecap: round;
      stroke-linejoin: round;
      opacity: 0.95;
  }

  .carousel-arrow:hover svg { opacity: 1; }

  /* ── Colecciones ── */
  .colecciones-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
      margin-top: 2.5rem;
  }

  .col-card {
      background: #fff;
      border: 1.5px solid #e2e8e5;
      border-radius: 12px;
      padding: 1.4rem 1.2rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      height: 100%;
      transition: border-color 0.2s, box-shadow 0.2s;
      cursor: default;
  }

  .col-card:hover {
      border-color: var(--naranja);
      box-shadow: 0 4px 20px rgba(224, 124, 46, 0.1);
  }

  .col-name {
      font-family: 'Playfair Display', serif;
      font-size: 0.92rem;
      font-weight: 600;
      color: var(--verde);
      margin-bottom: 0.35rem;
  }

  .col-desc {
      font-size: 0.76rem;
      color: #6b7c76;
      line-height: 1.5;
      overflow: hidden;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
  }

  .col-logo {
      width: 88px;
      height: 88px;
      border-radius: 16px;
      background: rgba(224, 124, 46, 0.10);
      border: 1px solid rgba(224, 124, 46, 0.18);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 0.9rem;
      overflow: hidden;
  }

  .col-logo img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      padding: 8px;
  }

  .col-logo i {
      font-size: 2.3rem;
      line-height: 1;
      color: var(--naranja);
  }

  .col-logo--verde {
      background: rgba(26, 58, 46, 0.08);
      border-color: rgba(26, 58, 46, 0.14);
  }

  .col-logo--verde i {
      color: var(--verde);
  }

  @media (max-width: 640px) {
      .colecciones-grid {
          gap: 0.6rem;
      }

      .col-card {
          padding: 1.1rem 0.5rem;
      }

      .col-logo {
          width: 60px;
          height: 60px;
          border-radius: 12px;
      }

      .col-logo img {
          padding: 6px;
      }

      .col-logo i {
          font-size: 1.7rem;
      }
  }

  /* ── Autores ── */
  .autores-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 1.2rem;
      margin-top: 2.5rem;
  }

  .autor-card {
      background: #fff;
      border: 1.5px solid #e2e8e5;
      border-radius: 16px;
      padding: 0;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      text-align: center;
      transition: box-shadow 0.2s, transform 0.2s;
  }

  .autor-card:hover {
      box-shadow: 0 8px 24px rgba(26, 58, 46, 0.1);
      transform: translateY(-2px);
  }

  .autor-avatar {
      width: 100%;
      aspect-ratio: 1 / 1;
      border-radius: 0;
      background: #f5f5f5;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 auto;
  }

  .autor-avatar .autor-photo {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 20%;
  }

  .autor-info {
      padding: 1.15rem 1.25rem 1.5rem;
      display: flex;
      flex-direction: column;
      flex: 1 1 auto;
  }

  .autor-avatar .autor-initials {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Playfair Display', serif;
      font-size: 3.4rem;
      font-weight: 700;
      color: #fff;
      background: linear-gradient(135deg, var(--verde) 0%, var(--verde-mid) 100%);
  }

  @media (max-width: 560px) {
      .autor-avatar {
          max-width: 340px;
          margin: 0 auto;
      }
  }

  .autor-name {
      font-family: 'Playfair Display', serif;
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--verde);
      line-height: 1.35;
  }

  .autor-role {
      font-size: 0.72rem;
      color: var(--naranja);
      font-weight: 500;
      margin-bottom: 0.5rem;
  }

  .autor-desc {
      font-size: 0.76rem;
      color: #6b7c76;
      line-height: 1.5;
  }

  /* ── Pasos ── */
  .pasos-grid {
      position: relative;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.5rem;
      margin-top: 3rem;
  }

  .pasos-grid .paso-line {
      position: absolute;
      top: 50%;
      transform: translate(-50%, -50%);
      z-index: 2;
      pointer-events: none;
  }

  .pasos-grid .paso-line-1 { left: 33.3%; }
  .pasos-grid .paso-line-2 { left: 66.7%; }

  /* 3 columnas solo cuando el titulo del paso cabe en una linea (util >= ~250px) */
  @media (min-width: 769px) and (max-width: 1020px) {
      .pasos-grid {
          grid-template-columns: repeat(2, 1fr);
      }

      .pasos-grid .paso-line {
          display: none;
      }
  }

  .paso-card {
      position: relative;
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 16px;
      padding: 2rem 1.6rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 1.1rem;
  }

  .paso-num {
      width: 76px;
      height: 76px;
      border-radius: 50%;
      background: #fff;
      color: var(--naranja);
      font-family: 'Playfair Display', serif;
      font-size: 3.4rem;
      font-weight: 700;
      line-height: 1.1;
      display: flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 auto;
  }

  .paso-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.5rem;
      font-weight: 600;
      color: #fff;
      line-height: 1.3;
  }

  .paso-desc {
      font-size: 0.85rem;
      color: rgba(255,255,255,0.68);
      line-height: 1.6;
  }

  /* ── Publica CTA ── */
  .pub-cta-box {
      position: relative;
      overflow: hidden;
      background: transparent;
      border: none;
      border-radius: 0;
      padding: 2.4rem 0;
      margin-top: 3rem;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 2rem;
      align-items: center;
  }

  .pub-cta-box::before {
      display: none;
  }

  .pub-cta-box > * {
      position: relative;
      z-index: 1;
  }

  .pub-cta-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.3rem;
      color: #fff;
      margin-bottom: 0.5rem;
  }

  .pub-cta-text {
      font-size: 0.82rem;
      color: rgba(255,255,255,0.6);
      margin-bottom: 0.5rem;
  }

  .pub-cta-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.65rem;
      margin-top: 0.9rem;
  }

  .pub-cta-list li {
      display: flex;
      align-items: flex-start;
      gap: 0.55rem;
      font-size: 0.82rem;
      color: rgba(255,255,255,0.78);
      line-height: 1.5;
  }

  .pub-cta-list li::before {
      content: '✓';
      display: flex;
      align-items: center;
      justify-content: center;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: rgba(224,124,46,0.22);
      color: var(--naranja);
      font-size: 0.62rem;
      flex-shrink: 0;
      margin-top: 0.12rem;
      line-height: 1;
  }

  .pub-cta-aside {
      min-width: 260px;
  }

  .pub-cta-aside .contact-box {
      background: #fff;
      border: none;
      border-radius: 16px;
      padding: 1.6rem 1.5rem;
      box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  }

  .pub-cta-aside .contact-box .contact-box-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: var(--naranja);
      color: #fff;
      margin-bottom: 0.8rem;
  }

  .pub-cta-aside .contact-box .contact-box-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.05rem;
      font-weight: 600;
      color: var(--verde);
      margin-bottom: 0.35rem;
  }

  .pub-cta-aside .contact-box .contact-box-text {
      font-size: 0.78rem;
      color: #5a6a63;
      line-height: 1.5;
      margin-bottom: 1rem;
  }

  .pub-cta-aside .contact-box .contacto-btn {
      width: 100%;
      justify-content: center;
      font-size: 0.82rem;
      color: #fff;
      padding: 0.75rem 1.1rem;
      gap: 0.45rem;
      border-radius: 10px;
      box-shadow: 0 8px 20px rgba(224,124,46,0.3);
  }

  .pub-cta-aside .contact-box .contacto-btn:hover {
      transform: translateY(-1px);
  }

  @media (max-width: 768px) {
      .pub-cta-box {
          grid-template-columns: 1fr;
          padding: 1.6rem;
      }
      .pub-cta-aside {
          min-width: 0;
      }
  }

  /* ── FAQ ── */
  .faq-list {
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
      margin-top: 2rem;
  }

  .faq-item {
      background: #fff;
      border: 1.5px solid #e2e8e5;
      border-radius: 10px;
      overflow: hidden;
  }

  .faq-q {
      width: 100%;
      text-align: left;
      background: none;
      border: none;
      padding: 1rem 1.2rem;
      font-family: 'Inter', sans-serif;
      font-size: 0.88rem;
      font-weight: 500;
      color: var(--verde);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      transition: background 0.15s;
  }

  .faq-q:hover {
      background: #f0f7f4;
  }

  .faq-q svg {
      flex-shrink: 0;
      transition: transform 0.25s;
  }

  .faq-q.open svg {
      transform: rotate(180deg);
  }

  .faq-a {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.3s ease;
  }

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

  .faq-a-inner {
      padding: 0 1.2rem 1rem;
      font-size: 0.82rem;
      color: #5a6a63;
      line-height: 1.6;
  }

  /* ── Final CTA ── */
  .final-cta {
      background: var(--verde);
      text-align: center;
      padding: 5rem 1.5rem;
  }

  .final-cta h2 {
      font-family: 'Playfair Display', serif;
      font-size: clamp(1.4rem, 3vw, 2rem);
      color: #fff;
      margin-bottom: 0.75rem;
  }

  .final-cta p {
      font-size: 0.88rem;
      color: rgba(255, 255, 255, 0.65);
      max-width: 420px;
      margin: 0 auto 1.8rem;
      line-height: 1.6;
  }

  /* ── Footer ── */
  footer {
      background: #0d2419;
      color: rgba(255, 255, 255, 0.55);
      padding: 3rem 1.5rem 2rem;
  }

  .footer-inner {
      max-width: 1180px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 2rem;
  }

  .footer-brand p {
      font-size: 0.78rem;
      line-height: 1.6;
      margin-top: 0.8rem;
      max-width: 280px;
  }

  .footer-brand .cc {
      font-size: 0.68rem;
      margin-top: 1.2rem;
      opacity: 0.5;
  }

  .footer-col h4 {
      font-family: 'Playfair Display', serif;
      font-size: 0.88rem;
      font-weight: 600;
      color: rgba(255, 255, 255, 0.9);
      margin-bottom: 0.9rem;
  }

  .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.45rem;
  }

  .footer-col ul li a {
      font-size: 0.78rem;
      color: rgba(255, 255, 255, 0.5);
      text-decoration: none;
      transition: color 0.15s;
  }

  .footer-col ul li a:hover {
      color: var(--naranja);
  }

  .footer-contact {
      font-size: 0.78rem;
      line-height: 1.7;
  }

  .footer-contact a {
      color: var(--naranja);
      text-decoration: none;
  }

  .footer-bottom {
      max-width: 1180px;
      margin: 2rem auto 0;
      padding-top: 1.5rem;
      border-top: 1px solid rgba(255, 255, 255, 0.07);
      font-size: 0.72rem;
      text-align: center;
  }

  /* ── Responsive ── */
  @media (max-width: 768px) {
      .hero {
          padding: 5rem 1.25rem 4rem;
          justify-content: flex-start;
      }

      .hero-title-serif .line1 {
          font-size: clamp(1.8rem, 5vw, 2.6rem);
      }

      .hero-title-serif .line2 {
          font-size: clamp(1.8rem, 5vw, 2.6rem);
      }

      .hero-title-serif .line3 {
          font-size: clamp(2rem, 5.5vw, 3rem);
      }

      .pub-grid {
          grid-template-columns: repeat(2, 1fr);
          gap: 0.75rem;
      }

      .pasos-grid {
          grid-template-columns: 1fr;
      }

      .paso-line {
          display: none;
      }

      .paso-num {
          width: 62px;
          height: 62px;
          font-size: 2.75rem;
      }

      .pub-cta-box {
          grid-template-columns: 1fr;
      }

      #historia .section {
          grid-template-columns: 1fr !important;
          grid-template-areas: "text" "img";
          gap: 1.5rem;
      }

      #historia .section>div:first-child {
          grid-area: text;
      }

      #historia .section>div:last-child {
          grid-area: img;
          padding: 0;
      }

      .footer-inner {
          grid-template-columns: 1fr 1fr;
      }
  }

  @media (max-width: 480px) {
      .footer-inner {
          grid-template-columns: 1fr;
      }
  }