/* ================================================================
   WD Associés — Theme stylesheet (consolidado)
   Fuente: index.html (navbar/footer QA'd, incl. fix dropdown móvil
   2026-07-05) + styles.css (reglas compartidas de páginas internas).
   Paleta: #0B1033 navy · #34495E gris azulado · #927653 dorado · #ffffff
   Fuentes: Montserrat (300;400;500;600;700) + Playfair Display (400;500;700, italic 400)
   ================================================================ */

    /* ── Paleta W&D Associés ──────────────────────── */
    /* #0B1033 navy · #34495E gris azulado · #927653 dorado · #ffffff blanco */

    /* ── Reset & Base ─────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'Montserrat', Arial, sans-serif;
      color: #0B1033;
      background: #ffffff;
      line-height: 1.6;
    }
    .sans { font-family: 'Montserrat', Arial, sans-serif; }

    /* ── H2 uniforme (estilo label) ─────────────── */
    h2.section-h2 {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #34495E;
      border-left: 3px solid #927653;
      padding-left: 8px;
      margin-bottom: 12px;
    }
    .section-label {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #34495E;
      border-left: 3px solid #927653;
      padding-left: 8px;
      margin-bottom: 12px;
    }
    .placeholder-img {
      background: #e0e0e0;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #aaaaaa;
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 12px;
      letter-spacing: 0.05em;
    }

    /* ── Layout helpers ──────────────────────────── */
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 48px;
    }
    .container-wide {
      max-width: 1440px;
      margin: 0 auto;
      padding: 0 48px;
    }

    /* ════════════════════════════════════════════════
       1. NAVBAR
    ════════════════════════════════════════════════ */
    nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      padding: 20px 48px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: #ffffff;
      border-bottom: 1px solid rgba(11,16,51,0.10);
    }
    .logo {
      display: flex;
      flex-direction: column;
      line-height: 1;
    }
    .logo-main {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 17px;
      font-weight: 700;
      letter-spacing: 0.28em;
      color: #0B1033;
      text-transform: uppercase;
    }
    .logo-sub {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 9px;
      font-weight: 400;
      letter-spacing: 0.4em;
      color: #0B1033;
      text-transform: uppercase;
      margin-top: 3px;
      text-align: center;
    }
    .nav-links {
      display: flex;
      gap: 36px;
      list-style: none;
    }
    .nav-links a {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 13px;
      font-weight: 400;
      letter-spacing: 0.04em;
      color: #0B1033;
      text-decoration: none;
      position: relative;
      transition: color 0.25s ease;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      left: 0; bottom: -3px;
      width: 0; height: 1px;
      background: #927653;
      transition: width 0.3s ease;
    }
    .nav-links a:hover { color: #0B1033; }
    .nav-links a:hover::after { width: 100%; }
    .nav-search {
      display: flex;
      align-items: center;
      gap: 8px;
      background: rgba(11,16,51,0.06);
      border: 1px solid #0B1033;
      padding: 8px 14px;
      cursor: text;
    }
    .nav-search input {
      background: transparent;
      border: none;
      outline: none;
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 12px;
      color: #0B1033;
      width: 140px;
    }
    .nav-search input::placeholder { color: rgba(11,16,51,0.4); }
    .nav-search svg { flex-shrink: 0; }
    .nav-chevron { display: none; }
    .lang-switcher {
      display: flex;
      align-items: center;
      gap: 6px;
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 11px;
      letter-spacing: 0.04em;
    }
    .lang-switcher a {
      color: rgba(11,16,51,0.55);
      text-decoration: none;
      transition: color 0.25s ease;
    }
    .lang-switcher a:hover,
    .lang-switcher a.active {
      color: #0B1033;
      font-weight: 600;
    }
    .lang-switcher .lang-sep {
      color: rgba(11,16,51,0.3);
    }

    /* ════════════════════════════════════════════════
       2. HERO SECTION
    ════════════════════════════════════════════════ */
    .hero {
      position: relative;
      height: 100vh;
      min-height: 680px;
      overflow: hidden;
      background: #1a1a1a;
    }
    .hero-bg {
      position: absolute;
      inset: 0;
      overflow: hidden;
    }
    .hero-bg img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      display: block;
    }
    .hero-bg::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to bottom,
        rgba(10,10,10,0.65) 0%,
        rgba(10,10,10,0.0) 22%,
        rgba(10,10,10,0.35) 65%,
        rgba(10,10,10,0.75) 100%
      );
    }
    .hero-content {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 140px 56px 140px;
    }
    .hero-h1 {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 13px;
      font-weight: 500;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #0B1033;
      margin-bottom: 20px;
      text-shadow: 0 1px 8px rgba(255,255,255,0.3);
    }
    .hero-headline {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: clamp(42px, 6vw, 80px);
      font-weight: 400;
      color: #fff;
      line-height: 1;
      letter-spacing: -0.008em;
      max-width: 800px;
      margin-bottom: 18px;
      text-shadow: 0 2px 24px rgba(0,0,0,0.75), 0 4px 8px rgba(0,0,0,0.4);
    }
    .hero-sub {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 15px;
      color: rgba(255,255,255,0.85);
      margin-bottom: 36px;
      text-shadow: 0 1px 12px rgba(0,0,0,0.8), 0 0 32px rgba(0,0,0,0.5);
    }
    .hero-bottom {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0;
      position: absolute;
      bottom: 48px;
      left: 0;
      right: 0;
    }
    .hero-cta-group {
      display: flex;
      gap: 12px;
      align-items: center;
      margin-bottom: 0;
    }
    .btn-primary {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #0B1033;
      background: #ffffff;
      border: none;
      padding: 16px 32px;
      border-radius: 100px;
      cursor: pointer;
      transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    }
    .btn-primary:hover {
      transform: translateY(-2px);
      background: #0B1033;
      color: #ffffff;
      box-shadow: 0 6px 20px rgba(11,16,51,0.25);
    }
    .btn-secondary {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.06em;
      color: #0B1033;
      background: transparent;
      border: 1px solid #0B1033;
      padding: 14px 28px;
      border-radius: 100px;
      cursor: pointer;
      transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    }
    .btn-secondary:hover {
      background: rgba(255,255,255,0.1);
      border-color: rgba(255,255,255,0.7);
      color: #fff;
    }
    .hero-trust {
      display: flex;
      gap: 32px;
      justify-content: center;
    }
    .trust-item {
      text-align: center;
      padding-right: 32px;
      border-right: 1px solid rgba(255,255,255,0.3);
    }
    .trust-item:last-child {
      border-right: none;
      padding-right: 0;
    }
    .trust-number {
      font-size: 36px;
      font-weight: 300;
      color: #fff;
      line-height: 1;
      text-shadow: 0 1px 12px rgba(0,0,0,0.7);
    }
    .trust-label {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 11px;
      letter-spacing: 0.06em;
      color: rgba(255,255,255,0.75);
      margin-top: 4px;
      text-shadow: 0 1px 8px rgba(0,0,0,0.7);
    }
    /* Small descriptor block top-right (from reference) */
    .hero-descriptor {
      position: absolute;
      top: 48px;
      right: 56px;
      max-width: 260px;
      text-align: right;
    }
    .hero-descriptor p {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 13px;
      line-height: 1.6;
      color: rgba(255,255,255,0.65);
    }

    /* ── Scroll fade-in ─────────────────────────────── */
    .fade-in {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .fade-in.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* ── Separador de sección (radial desde esquina derecha) ── */
    .section-sep {
      display: block;
      height: 80px;
      border: none;
      margin: 0;
      background: radial-gradient(
        ellipse 55% 200% at 80% 50%,
        rgba(146,118,83,0.18) 0%,
        transparent 70%
      );
    }

    /* ── Contenedor con efecto de luz ────────────── */
    .surface {
      background: linear-gradient(145deg, rgba(255,255,255,0.45) 0%, rgba(146,118,83,0.15) 100%);
      border: 1px solid rgba(255,255,255,0.5);
      box-shadow: 0 4px 24px rgba(13,27,42,0.06), inset 0 1px 0 rgba(255,255,255,0.6);
    }

    /* ════════════════════════════════════════════════
       3. ABOUT US
    ════════════════════════════════════════════════ */
    .about {
      padding: 96px 0 96px;
      background: #ffffff;
      position: relative;
      overflow: hidden;
    }
    .about-bg-globe {
      position: absolute;
      right: -80px;
      top: 50%;
      transform: translateY(-50%);
      width: 520px;
      opacity: 0.25;
      mix-blend-mode: multiply;
      pointer-events: none;
    }
    .about-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 48px;
    }
    .about-text {
      max-width: 780px;
      margin: 0 auto 48px;
      text-align: center;
    }
    .about-text p {
      font-size: clamp(20px, 2.4vw, 28px);
      font-weight: 400;
      line-height: 1.5;
      color: #0B1033;
    }
    .stats-grid {
      display: flex;
      justify-content: center;
      gap: 56px;
    }
    .stat-card {
      background: transparent;
      border: none;
      box-shadow: none;
      padding: 32px 0;
      text-align: left;
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 20px;
    }
    .stat-ring {
      position: relative;
      width: 110px;
      height: 110px;
      border-radius: 50%;
      background: #927653;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .stat-ring-arc {
      position: absolute;
      top: -10px;
      left: -10px;
      width: 130px;
      height: 130px;
      pointer-events: none;
    }
    .stat-number {
      font-size: 36px;
      font-weight: 400;
      color: #fff;
      line-height: 1;
    }
    .stat-desc {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 13px;
      color: #34495E;
      letter-spacing: 0.04em;
      max-width: 140px;
      flex-shrink: 0;
    }

    /* ════════════════════════════════════════════════
       4. 3 SERVICIOS TOP
    ════════════════════════════════════════════════ */
    .services-top {
      padding: 96px 0;
      background: #0B1033;
    }
    .services-top-header {
      max-width: 1200px;
      margin: 0 auto 56px;
      padding: 0 48px;
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
    }
    .services-top-tagline {
      font-size: clamp(28px, 3.5vw, 44px);
      font-weight: 400;
      max-width: 600px;
      font-family: 'Playfair Display', Georgia, serif;
      color: #ffffff;
      margin-top: 12px;
      line-height: 1.2;
    }
    .services-top-header .header-cta {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 13px;
      color: #ffffff;
      text-decoration: underline;
      cursor: pointer;
    }
    .services-top-header h2.section-h2 {
      color: rgba(255,255,255,0.65);
      border-left-color: #927653;
    }
    .service-item {
      max-width: 1200px;
      margin: 0 auto 16px;
      padding: 0 48px;
      border-top: none;
    }
    .service-item:last-of-type { border-bottom: none; }
    .service-row {
      display: grid;
      grid-template-columns: 80px 1fr 1fr;
      gap: 40px;
      align-items: start;
      padding: 36px 40px;
      background: radial-gradient(ellipse 120% 120% at 0% 0%, #f5f5f5 0%, #ffffff 100%);
      border: none;
      border-radius: 8px;
      box-shadow: 0 8px 32px rgba(42,38,34,0.07);
    }
    .service-num {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 12px;
      font-weight: 500;
      color: #34495E;
      letter-spacing: 0.1em;
      padding-top: 6px;
    }
    .service-name {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: clamp(22px, 2.5vw, 34px);
      font-weight: 400;
      color: #0B1033;
      line-height: 1.2;
    }
    .service-right {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .service-desc {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 14px;
      line-height: 1.65;
      color: #34495E;
    }
    .service-link {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #927653;
      text-decoration: underline;
      cursor: pointer;
      width: fit-content;
    }
    /* Service image overlay */
    .service-img-wrap {
      position: relative;
      display: block;
    }
    .service-img-wrap::after {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(11, 16, 51, 0.25);
      border-radius: 4px;
      pointer-events: none;
    }

    /* Image between items 1 and 2 */
    .service-image-divider {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 48px;
    }
    .service-image-divider .placeholder-img {
      width: 100%;
      height: 380px;
      margin: 4px 0;
    }

    /* ════════════════════════════════════════════════
       5. MÁS SERVICIOS
    ════════════════════════════════════════════════ */
    .more-services {
      padding: 96px 0;
      background:
        radial-gradient(ellipse 65% 80% at 0% 0%, #e8e8e8 0%, transparent 100%),
        #ffffff;
    }
    .more-services-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 48px;
    }
    .more-services-header {
      margin-bottom: 64px;
    }
    .more-services-intro {
      font-size: clamp(26px, 3vw, 40px);
      font-weight: 400;
      font-family: 'Playfair Display', Georgia, serif;
      color: #0B1033;
    }
    /* 3 + 2 grid — 6-col base permite centrar la fila inferior sin contenedor extra */
    .cards-grid-wrapper {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 16px;
    }
    .cards-grid-wrapper .service-card:nth-child(1) { grid-column: 1 / 3; }
    .cards-grid-wrapper .service-card:nth-child(2) { grid-column: 3 / 5; }
    .cards-grid-wrapper .service-card:nth-child(3) { grid-column: 5 / 7; }
    .cards-grid-wrapper .service-card:nth-child(4) { grid-column: 2 / 4; }
    .cards-grid-wrapper .service-card:nth-child(5) { grid-column: 4 / 6; }
    .service-card {
      background: #ffffff;
      border: none;
      box-shadow: 0 4px 24px rgba(11,16,51,0.08);
      padding: 44px 36px;
      border-radius: 8px;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }
    .service-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 40px rgba(11,16,51,0.14);
      border-top: 2px solid #927653;
    }
    .service-card-icon {
      width: 72px;
      height: 72px;
      background: transparent;
      border-radius: 0;
      overflow: hidden;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #aaaaaa;
      font-size: 16px;
    }
    .service-card h3 {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: 18px;
      font-weight: 500;
      margin-bottom: 10px;
      color: #0B1033;
    }
    .service-card p {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 13px;
      line-height: 1.6;
      color: #34495E;
    }

    /* ════════════════════════════════════════════════
       6. MID CTA
    ════════════════════════════════════════════════ */
    .mid-cta {
      background: #ffffff;
      padding: 80px 48px;
    }
    .mid-cta-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 64px 72px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 64px;
      background: #0B1033;
      border-radius: 16px;
    }
    .mid-cta-divider {
      width: 1px;
      align-self: stretch;
      background: rgba(255,255,255,0.2);
      flex-shrink: 0;
    }
    .mid-cta-illustration {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .mid-cta-illustration img {
      width: 100%;
      height: auto;
      display: block;
      opacity: 0.85;
    }
    .mid-cta-right {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 24px;
    }
    .mid-cta-text h2 {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: clamp(28px, 3.5vw, 48px);
      font-weight: 400;
      color: #fff;
      line-height: 1;
      letter-spacing: -0.008em;
      max-width: 540px;
    }
    .mid-cta-text p {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 15px;
      color: rgba(255,255,255,0.55);
      margin-top: 12px;
    }
    .mid-cta-buttons {
      display: flex;
      gap: 12px;
      flex-shrink: 0;
    }
    .btn-cta-white {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #0B1033;
      background: #fff;
      border: none;
      padding: 16px 32px;
      cursor: pointer;
      white-space: nowrap;
    }
    .btn-cta-outline {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.06em;
      color: rgba(255,255,255,0.8);
      background: transparent;
      border: 1px solid rgba(255,255,255,0.35);
      padding: 16px 32px;
      cursor: pointer;
      white-space: nowrap;
    }

    /* ════════════════════════════════════════════════
       7. VIDEO SECTION
    ════════════════════════════════════════════════ */
    .videos {
      padding: 96px 0;
      background:
        radial-gradient(ellipse 65% 80% at 100% 0%, #e8e8e8 0%, transparent 100%),
        #ffffff;
    }
    .videos-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 48px;
    }
    .videos-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 40px;
    }
    .videos-header a {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 12px;
      color: #34495E;
      text-decoration: underline;
      cursor: pointer;
    }
    .videos-carousel {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
    .video-card { cursor: pointer; }
    .video-thumb {
      width: 100%;
      aspect-ratio: 16/9;
      position: relative;
    }
    .video-thumb .placeholder-img {
      width: 100%;
      height: 100%;
    }
    .play-btn {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 48px;
      height: 48px;
      background: rgba(255,255,255,0.9);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .play-btn::after {
      content: '▶';
      font-size: 14px;
      color: #111;
      margin-left: 3px;
    }
    .video-meta {
      padding: 14px 0 0;
    }
    .video-meta .video-cat {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: #34495E;
      margin-bottom: 6px;
    }
    .video-meta h3 {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: 16px;
      font-weight: 400;
      color: #0B1033;
      line-height: 1.35;
    }
    .carousel-dots {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 32px;
    }
    .dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #e0e0e0;
    }
    .dot.active { background: #0B1033; }

    /* ════════════════════════════════════════════════
       8. ARTICLE SECTION
    ════════════════════════════════════════════════ */
    .articles {
      padding: 112px 0;
      background: #ffffff;
    }
    .articles-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 48px;
    }
    .articles-header {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      margin-bottom: 28px;
    }
    .articles-header a {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 12px;
      color: #34495E;
      text-decoration: underline;
      cursor: pointer;
    }
    .article-tabs {
      display: flex;
      gap: 0;
      margin-bottom: 40px;
      border-bottom: 1px solid rgba(146,118,83,0.3);
    }
    .tab {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 13px;
      padding: 10px 18px;
      cursor: pointer;
      color: #34495E;
      border-bottom: 2px solid transparent;
      margin-bottom: -1px;
    }
    .tab.active {
      color: #927653;
      border-bottom-color: #927653;
    }
    .articles-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .article-card {
      cursor: pointer;
      transition: transform 0.25s ease;
    }
    .article-card:hover { transform: translateY(-3px); }
    .article-img img {
      transition: transform 0.4s ease;
    }
    .article-card:hover .article-img img { transform: scale(1.04); }
    .article-img {
      width: 100%;
      aspect-ratio: 16/10;
      margin-bottom: 16px;
      overflow: hidden;
    }
    .article-tag {
      display: inline-block;
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: #927653;
      background: rgba(255,255,255,0.5);
      border: 1px solid rgba(146,118,83,0.4);
      padding: 3px 8px;
      margin-bottom: 10px;
    }
    .article-card h3 {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: 17px;
      font-weight: 400;
      line-height: 1.35;
      color: #0B1033;
      margin-bottom: 8px;
    }
    .article-card p {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 13px;
      line-height: 1.6;
      color: #34495E;
      margin-bottom: 14px;
    }
    .article-meta {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 11px;
      color: #34495E;
      letter-spacing: 0.04em;
    }

    /* ════════════════════════════════════════════════
       9. FOOTER
    ════════════════════════════════════════════════ */
    .footer-cta {
      padding: 96px 48px 72px;
      text-align: center;
      background: #0B1033;
    }
    .footer-cta h2 {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: clamp(36px, 5vw, 68px);
      font-weight: 400;
      line-height: 1.1;
      color: #fff;
      margin-bottom: 32px;
    }
    .footer-cta h2 em {
      font-style: italic;
      color: #fff;
    }
    .btn-footer-cta {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: #0B1033;
      background: #ffffff;
      border: none;
      padding: 16px 40px;
      border-radius: 100px;
      cursor: pointer;
      transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    }
    .btn-footer-cta:hover {
      transform: translateY(-2px);
      background: #0B1033;
      color: #ffffff;
      box-shadow: 0 6px 20px rgba(11,16,51,0.25);
    }
    footer {
      background: #0B1033;
      border-top: none;
      padding: 56px 0 32px;
    }
    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 48px;
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 48px;
      margin-bottom: 48px;
    }
    .footer-col h4 {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: #A89880;
      margin-bottom: 16px;
    }
    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .footer-col ul li a {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 14px;
      color: #aaaaaa;
      text-decoration: none;
      transition: color 0.2s ease, padding-left 0.2s ease;
    }
    .footer-col ul li a:hover { color: #fff; padding-left: 4px; }
    .footer-col p {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 14px;
      color: #aaaaaa;
      line-height: 1.6;
    }
    .footer-bottom {
      max-width: 1200px;
      margin: 0 auto;
      padding: 20px 48px 0;
      border-top: 1px solid #3D3530;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .footer-bottom p {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 12px;
      color: #34495E;
    }
    .footer-bottom-links {
      display: flex;
      gap: 24px;
    }
    .footer-bottom-links a {
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 12px;
      color: #34495E;
      text-decoration: none;
    }

    /* ── Mockup banner ─────────────────────────────── */
    .mockup-banner {
      background: #fffbeb;
      border-bottom: 1px solid #fde68a;
      padding: 8px 48px;
      font-family: 'Montserrat', Arial, sans-serif;
      font-size: 11px;
      color: #92400e;
      letter-spacing: 0.04em;
      text-align: center;
    }
    /* ── Mobile nav elements — ocultos en desktop ── */
    .nav-mobile-cta { display: none; }
    .nav-hamburger  { display: none; }
    .logo-small     { display: none; }

    /* ══════════════════════════════════════════════
       RESPONSIVE — Tablet / phones landscape
    ══════════════════════════════════════════════ */
    @media (max-width: 1024px) {
      .nav-search { display: none; }
    }
    @media (max-width: 768px) {
      /* Containers globales */
      .container,
      .container-wide { padding: 0 20px; }

      /* 1. Navbar */
      .nav-links,
      .nav-search { display: none; }
      .lang-switcher { font-size: 10px; gap: 4px; margin-right: 8px; }

      .nav-mobile-cta {
        display: inline-flex;
        align-items: center;
        font-family: 'Montserrat', Arial, sans-serif;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #ffffff;
        background: #927653;
        border: none;
        padding: 10px 16px;
        border-radius: 100px;
        cursor: pointer;
        opacity: 0;
        transition: opacity 0.3s ease;
      }
      .nav-mobile-cta.nav-cta-visible {
        opacity: 1;
      }

      .nav-hamburger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        color: #0B1033;
        font-size: 28px;
        cursor: pointer;
      }

      nav.nav-open .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(11,16,51,0.97);
        padding: 24px 20px;
        gap: 20px;
        z-index: 200;
      }

      nav.nav-open .nav-links a {
        color: #fff;
        font-size: 15px;
      }

      /* 2. Hero */
      .hero-content { padding: 90px 24px 130px; }
      .hero-trust { flex-direction: column; align-items: center; gap: 20px; }
      .trust-item { border-right: none; padding-right: 0; }

      /* 3. About */
      .about { padding: 56px 0 28px; }
      .stats-grid { flex-direction: column; align-items: center; gap: 24px; }
      .stat-card { flex-direction: column; align-items: center; text-align: center; }

      /* 4. Servicios top */
      .services-top { padding: 56px 0; }
      .services-top-header { flex-direction: column; gap: 12px; }
      .services-top-header .header-cta { display: none; }
      .service-row { grid-template-columns: 1fr; }
      .service-row > div > img { height: 200px !important; }
      .service-row > .service-num   { order: 1; }
      .service-row > .service-name  { order: 2; }
      .service-row > div:last-child { order: 3; }
      .service-row > .service-right { order: 4; }

      /* 5. Más servicios */
      .cards-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
      }
      .cards-grid-wrapper .service-card:nth-child(n) { grid-column: auto; }
      .cards-grid-wrapper .service-card:nth-child(5) {
        grid-column: 1 / -1;
        max-width: calc(50% - 8px);
        margin: 0 auto;
      }

      /* 6. Mid CTA */
      .mid-cta-inner        { flex-direction: column; padding: 40px 24px; gap: 32px; }
      .mid-cta-divider      { display: none; }
      .mid-cta-illustration { display: none; }
      .mid-cta-right        { width: 100%; }

      /* 7. Artículos */
      .articles-grid { grid-template-columns: repeat(2, 1fr); }
      .article-tabs  { display: none; }

      /* 8. Footer */
      .footer-cta    { padding: 64px 24px 48px; }
      .footer-inner  { grid-template-columns: 1fr; gap: 32px; text-align: center; }
      .footer-col    { text-align: center !important; }
      .footer-bottom { flex-direction: column; align-items: center; gap: 12px; }
    }

    /* ══════════════════════════════════════════════
       RESPONSIVE — Mobile portrait (PRIORIDAD)
    ══════════════════════════════════════════════ */
    @media (max-width: 480px) {
      /* Containers */
      .container,
      .container-wide { padding: 0 20px; }

      /* 1. Logo swap */
      .logo-full  { display: none; }
      .logo-small { display: block; }

      /* 2. Hero */
      .hero-content   { padding: 80px 20px 160px; }
      .hero-headline  { font-size: clamp(32px, 8vw, 42px); }
      .trust-number   { font-size: 18px; }
      .trust-label    { font-size: 9px; }
      .hero-trust     { gap: 10px; }
      .hero-bottom    { bottom: 20px; }

      /* 3. About */
      .about { padding: 40px 0 20px; }

      /* 4. Servicios top */
      .services-top { padding: 40px 0; }
      .service-row  { grid-template-columns: auto 1fr; gap: 8px 12px; }
      .service-row > .service-num   { grid-column: 1; align-self: start; }
      .service-row > .service-name  { grid-column: 2; align-self: center; }
      .service-row > div:last-child { grid-column: 1 / -1; }
      .service-row > .service-right { grid-column: 1 / -1; }
      .service-row > div > img { height: auto !important; aspect-ratio: 16/9; width: 100%; }

      /* 5. Más servicios */
      .cards-grid-wrapper { grid-template-columns: 1fr; }
      .cards-grid-wrapper .service-card:nth-child(5) { grid-column: auto; max-width: none; margin: 0; }

      /* 6. Mid CTA */
      .mid-cta         { padding: 40px 20px; }
      .mid-cta-inner   { padding: 32px 20px; }
      .mid-cta-buttons { flex-direction: column; align-items: center; }

      /* 7. Artículos */
      .articles-header { flex-direction: column; gap: 8px; }
      .articles-grid   { grid-template-columns: 1fr; }
      .article-card    { border-bottom: 1px solid rgba(11,16,51,0.12); padding-bottom: 28px; }
      .article-card:last-child { border-bottom: none; padding-bottom: 0; }

      /* 8. Footer */
      .footer-cta { padding: 48px 20px 40px; }
    }

    /* ── WhatsApp flotante ── */
    .whatsapp-float {
      position: fixed;
      bottom: 32px;
      right: 32px;
      z-index: 999;
      width: 56px;
      height: 56px;
      background: #25D366;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 16px rgba(0,0,0,0.18);
      cursor: pointer;
      text-decoration: none;
    }
    .whatsapp-float svg {
      width: 30px;
      height: 30px;
      fill: #fff;
    }

    /* ── Navbar dropdown ─────────────────────────────── */
    .nav-item-dropdown { position: relative; }
    .nav-dropdown {
      display: none; position: absolute;
      top: calc(100% + 16px); left: 50%; transform: translateX(-50%);
      background: #ffffff; border: 1px solid rgba(11,16,51,0.10);
      box-shadow: 0 8px 32px rgba(11,16,51,0.10);
      min-width: 280px; list-style: none; z-index: 1001; padding: 8px 0;
    }
    .nav-item-dropdown:hover .nav-dropdown { display: block; }
    .nav-dropdown li a {
      display: block; font-family: 'Montserrat', Arial, sans-serif;
      font-size: 12px; font-weight: 400; letter-spacing: 0.03em; color: #0B1033;
      padding: 10px 20px; text-decoration: none; white-space: nowrap;
      transition: color 0.2s ease, background 0.2s ease;
    }
    .nav-dropdown li a:hover { color: #927653; background: rgba(146,118,83,0.06); }
    .nav-chevron { font-size: 10px; margin-left: 3px; color: #927653; }
    .nav-item-dropdown::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 16px; }
    @media (max-width: 768px) {
      .nav-dropdown {
        display: block; position: static; transform: none;
        box-shadow: none; border: none;
        border-left: 2px solid rgba(146,118,83,0.3);
        padding: 0 0 0 16px; margin: 4px 0 8px;
        background: transparent; min-width: unset;
      }
      .nav-dropdown li a { color: rgba(255,255,255,0.75); font-size: 13px; padding: 6px 0; }
      .nav-dropdown li a:hover { color: #927653; background: transparent; }
    }

/* ════════════════════════════════════════════════
   EXTRA — reglas exclusivas de styles.css
   (usadas por articulos.html, contacto.html, nosotros.html,
   single-articulo.html; no presentes en el CSS de index.html)
════════════════════════════════════════════════ */
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.img-placeholder {
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaaaaa;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.scope-text {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.75;
  color: #34495E;
  padding: 28px 32px;
  background: rgba(146,118,83,0.06);
  border-left: 3px solid #927653;
  border-radius: 0 4px 4px 0;
}

/* Estado activo del link de navbar (usado en páginas internas) */
.nav-links a.active { font-weight: 600; }
.nav-links a.active::after { width: 100%; }

.footer-bottom-links a:hover { color: #aaaaaa; }

/* ── Page header (banda oscura para Nosotros, Artículos, Contacto) ── */
.page-header {
  background: #0B1033;
  padding: 140px 48px 64px;
  text-align: center;
}
.page-header .breadcrumb-inline {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}
.page-header .breadcrumb-inline a { color: rgba(255,255,255,0.35); }
.page-header .breadcrumb-inline span { margin: 0 8px; }
.page-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.page-header .page-subtitle {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.60);
  max-width: 680px;
  margin: 0 auto;
}
.page-header-eyebrow {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #927653;
  display: block;
  margin-bottom: 16px;
}

/* ── Breadcrumb bar (blanca, bajo el page-header) ── */
.breadcrumb-bar { background: #ffffff; border-bottom: 1px solid rgba(11,16,51,0.08); padding: 14px 0; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(11,16,51,0.45);
}
.breadcrumb a { color: rgba(11,16,51,0.45); text-decoration: none; transition: color 0.2s ease; }
.breadcrumb a:hover { color: #0B1033; }
.breadcrumb span { color: rgba(11,16,51,0.25); }
.breadcrumb strong { color: #0B1033; font-weight: 500; }

@media (max-width: 768px) {
  .page-header { padding: 100px 20px 48px; }
}

/* ════════════════════════════════════════════════
   NOSOTROS — Socio Fundador + Asociados Internacionales
   (extraído de nosotros.html, bloque <style> propio de la página)
════════════════════════════════════════════════ */

/* ── Founder section ──────────────────────────────────────── */
.founder-section { padding: 96px 0 80px; background: #ffffff; }
.founder-grid {
  display: grid; grid-template-columns: 40% 60%; gap: 64px; align-items: start;
}
.founder-photo { width: 320px; height: 320px; border-radius: 50%; overflow: hidden; margin: 0 auto; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-eyebrow {
  font-family: 'Montserrat', Arial, sans-serif; font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: #927653; margin-bottom: 8px; display: block;
}
.founder-name {
  font-family: 'Playfair Display', Georgia, serif; font-size: clamp(28px, 3vw, 42px);
  font-weight: 400; color: #0B1033; line-height: 1.1; margin-bottom: 4px;
}
.founder-badge {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif; font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: #34495E;
  border: 1px solid rgba(52,73,94,0.3); padding: 4px 10px; margin: 12px 0 24px;
}
.founder-bio p {
  font-family: 'Montserrat', Arial, sans-serif; font-size: 14px; line-height: 1.8;
  color: #34495E; margin-bottom: 14px;
}
.founder-bio p:last-of-type { margin-bottom: 0; }
.founder-links { display: flex; gap: 16px; margin-top: 28px; align-items: center; }
.founder-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Montserrat', Arial, sans-serif; font-size: 12px; font-weight: 500;
  letter-spacing: 0.04em; color: #0B1033; text-decoration: none;
  border: 1px solid rgba(11,16,51,0.25); padding: 8px 16px; border-radius: 100px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.founder-link:hover { background: #0B1033; color: #fff; border-color: #0B1033; }
.founder-link svg { width: 14px; height: 14px; }

/* ── Associates section ───────────────────────────────────── */
.associates-section { padding: 80px 0; background: radial-gradient(ellipse 65% 80% at 0% 0%, #e8e8e8 0%, transparent 100%), #ffffff; }
.associates-header { margin-bottom: 56px; }
.associates-header h2 {
  font-family: 'Playfair Display', Georgia, serif; font-size: clamp(26px, 3vw, 38px);
  font-weight: 400; color: #0B1033; margin-bottom: 16px; margin-top: 12px;
}
.associates-header p { font-family: 'Montserrat', Arial, sans-serif; font-size: 14px; line-height: 1.7; color: #34495E; }
.associates-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.associate-card { background: #fff; border-radius: 8px; padding: 32px 28px; box-shadow: 0 4px 24px rgba(11,16,51,0.08); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.associate-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(11,16,51,0.13); }
.associate-card-top { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 20px; }
.associate-photo { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.associate-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.associate-photo-placeholder {
  width: 80px; height: 80px; border-radius: 50%; background: #e8e8e8; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif; font-size: 11px; color: #aaa; text-align: center;
}
.associate-header-info { flex: 1; }
.associate-country {
  font-family: 'Montserrat', Arial, sans-serif; font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: #927653; margin-bottom: 4px; display: block;
}
.associate-name {
  font-family: 'Playfair Display', Georgia, serif; font-size: 20px; font-weight: 400;
  color: #0B1033; line-height: 1.15; margin-bottom: 0;
}
.associate-bio {
  font-family: 'Montserrat', Arial, sans-serif; font-size: 13px; line-height: 1.7;
  color: #34495E; margin-bottom: 16px;
}
.associate-email {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Montserrat', Arial, sans-serif; font-size: 12px; color: #927653;
  text-decoration: none; transition: color 0.2s ease;
}
.associate-email:hover { color: #0B1033; }
.associate-email svg { width: 13px; height: 13px; }

@media (max-width: 768px) {
  .founder-grid { grid-template-columns: 1fr; gap: 32px; }
  .founder-photo { width: 160px; height: 160px; margin: 0 auto; }
  .associates-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ── Contact section ──────────────────────────────────────── */
.contact-section { padding: 80px 0 96px; background: #ffffff; }
.contact-grid {
  display: grid; grid-template-columns: 40% 60%; gap: 80px; align-items: start;
}

/* Left col — info */
.contact-info-title {
  font-family: 'Playfair Display', Georgia, serif; font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 400; color: #0B1033; margin-bottom: 32px; line-height: 1.2;
}
.contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item-icon {
  width: 40px; height: 40px; background: rgba(146,118,83,0.10); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 16px;
}
.contact-item-text { flex: 1; }
.contact-item-label {
  font-family: 'Montserrat', Arial, sans-serif; font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: #927653; margin-bottom: 4px; display: block;
}
.contact-item-value {
  font-family: 'Montserrat', Arial, sans-serif; font-size: 14px; color: #0B1033; line-height: 1.5;
}
.contact-item-value a { color: #0B1033; text-decoration: none; transition: color 0.2s ease; }
.contact-item-value a:hover { color: #927653; }

/* Social */
.social-block { margin-bottom: 32px; }
.social-block h4 {
  font-family: 'Montserrat', Arial, sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: #34495E;
  border-left: 3px solid #927653; padding-left: 8px; margin-bottom: 16px;
}
.social-links { display: flex; gap: 12px; }
.social-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Montserrat', Arial, sans-serif; font-size: 12px; font-weight: 500;
  letter-spacing: 0.04em; color: #0B1033; text-decoration: none;
  border: 1px solid rgba(11,16,51,0.20); padding: 8px 16px; border-radius: 100px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.social-link:hover { background: #0B1033; color: #fff; border-color: #0B1033; }
.social-link svg { width: 14px; height: 14px; }

/* Tip note */
.contact-tip {
  background: rgba(146,118,83,0.06); border-left: 3px solid #927653;
  padding: 20px 24px; border-radius: 0 4px 4px 0;
}
.contact-tip p {
  font-family: 'Montserrat', Arial, sans-serif; font-size: 13px; line-height: 1.75;
  color: #34495E; font-style: italic;
}

/* Right col — form */
.contact-form-wrap {
  background: #ffffff; border: 1px solid rgba(11,16,51,0.10);
  padding: 48px 40px; box-shadow: 0 4px 32px rgba(11,16,51,0.06);
}
.form-title {
  font-family: 'Playfair Display', Georgia, serif; font-size: 24px; font-weight: 400;
  color: #0B1033; margin-bottom: 8px;
}
.form-subtitle {
  font-family: 'Montserrat', Arial, sans-serif; font-size: 13px; color: #34495E;
  margin-bottom: 32px; line-height: 1.6;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-family: 'Montserrat', Arial, sans-serif; font-size: 11px;
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: #34495E; margin-bottom: 8px;
}
.form-group label .req { color: #927653; margin-left: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; font-family: 'Montserrat', Arial, sans-serif; font-size: 14px;
  color: #0B1033; background: #ffffff;
  border: 1px solid rgba(11,16,51,0.20); padding: 12px 16px;
  outline: none; transition: border-color 0.2s ease;
  -webkit-appearance: none; appearance: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: #927653; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(11,16,51,0.35); }
.form-group textarea { resize: vertical; min-height: 130px; }
.btn-submit {
  width: 100%; font-family: 'Montserrat', Arial, sans-serif; font-size: 13px;
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: #ffffff; background: #0B1033; border: none; padding: 16px 32px;
  cursor: pointer; transition: background 0.25s ease, transform 0.2s ease;
}
.btn-submit:hover { background: #927653; transform: translateY(-2px); }
.form-note {
  font-family: 'Montserrat', Arial, sans-serif; font-size: 12px;
  color: #34495E; margin-top: 16px; text-align: center; line-height: 1.6;
}

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .contact-form-wrap { padding: 32px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ════════════════════════════════════════════════
   SERVICIO (CPT) — single-servicio.php
   Extraído de las 8 páginas de servicio (idénticas entre sí).
   .section-label, .container, .fade-in, .breadcrumb-bar, .breadcrumb,
   .img-placeholder, .scope-text, .articles-grid, .article-card,
   .footer-cta, .whatsapp-float ya existen arriba — no se repiten.
════════════════════════════════════════════════ */

/* ── Hero interior ─────────────────────────────────────── */
.page-hero {
  position: relative;
  padding-top: 80px;
  height: 480px;
  overflow: hidden;
  background: #0B1033;
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0.45) 50%, rgba(10,10,10,0.80) 100%);
}
.page-hero-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 0 56px 0;
}
.page-hero-content .container { display: flex; flex-direction: column; gap: 16px; }
.hero-icon { width: 88px; height: 88px; object-fit: contain; display: block; mix-blend-mode: screen; }
.page-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400; color: #fff; line-height: 1.05; letter-spacing: -0.01em;
  max-width: 760px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}
.page-hero-sub { font-family: 'Montserrat', Arial, sans-serif; font-size: 14px; color: rgba(255,255,255,0.70); max-width: 480px; }

/* ── Intro / definición ────────────────────────────────── */
.intro-section { padding: 96px 0 72px; background: #ffffff; }
.intro-content h2 {
  font-family: 'Playfair Display', Georgia, serif; font-size: clamp(28px, 3vw, 40px);
  font-weight: 400; color: #0B1033; line-height: 1.2; margin-bottom: 28px;
}
.intro-content p { font-family: 'Montserrat', Arial, sans-serif; font-size: 15px; line-height: 1.75; color: #34495E; margin-bottom: 16px; }
.intro-content p:last-of-type { margin-bottom: 0; }
.intro-stats-box {
  background: #0B1033; border-radius: 16px; padding: 64px 72px; margin-top: 56px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 32px;
}
.intro-stats-quote {
  font-family: 'Playfair Display', Georgia, serif; font-size: clamp(18px, 2.5vw, 26px);
  font-style: italic; font-weight: 400; color: rgba(255,255,255,0.92); line-height: 1.5; max-width: 680px;
}
.intro-stats-row {
  display: flex; align-items: center; gap: 48px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15); width: 100%; justify-content: center;
}
.intro-stat-divider { width: 1px; height: 60px; background: rgba(255,255,255,0.2); flex-shrink: 0; }
.intro-stat-item { text-align: center; }
.highlight-stat-number { font-family: 'Playfair Display', Georgia, serif; font-size: 32px; font-weight: 400; color: #927653; line-height: 1; margin-bottom: 6px; }
.highlight-stat-label { font-family: 'Montserrat', Arial, sans-serif; font-size: 11px; letter-spacing: 0.06em; color: rgba(255,255,255,0.55); }
.keypoint {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Montserrat', Arial, sans-serif; font-size: 12px; font-weight: 500; color: #927653; margin-top: 28px;
}
.keypoint::before { content: ''; display: block; width: 24px; height: 1px; background: #927653; }

/* ── Servicios destacados (chambers) ───────────────────── */
.chambers-section { padding: 80px 0; background: radial-gradient(ellipse 65% 80% at 0% 0%, #e8e8e8 0%, transparent 100%), #ffffff; }
.chambers-header { margin-bottom: 56px; }
.chambers-header h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(26px, 3vw, 38px); font-weight: 400; color: #0B1033; margin-bottom: 16px; }
.chambers-header p { font-family: 'Montserrat', Arial, sans-serif; font-size: 14px; line-height: 1.7; color: #34495E; }
.chambers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.chamber-card { background: #fff; border-radius: 8px; padding: 32px 28px; box-shadow: 0 4px 24px rgba(11,16,51,0.08); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.chamber-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(11,16,51,0.13); }
.chamber-card-tag { font-family: 'Montserrat', Arial, sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #927653; margin-bottom: 12px; display: block; }
.chamber-card h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 16px; font-weight: 600; color: #0B1033; margin-bottom: 12px; line-height: 1.3; }
.chamber-card p { font-family: 'Montserrat', Arial, sans-serif; font-size: 13px; line-height: 1.65; color: #34495E; }

/* ── Proceso ────────────────────────────────────────────── */
.process-section { padding: 96px 0; background: #0B1033; }
.process-header { margin-bottom: 64px; }
.process-header .section-label { color: rgba(255,255,255,0.5); border-left-color: #927653; }
.process-header h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(28px, 3.5vw, 44px); font-weight: 400; color: #fff; margin-top: 12px; line-height: 1.2; }
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
/* --step-count permite recalcular la línea conectora cuando hay menos de 5 pasos rellenados (grid-template-columns se ajusta inline en el template) */
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 28px;
  right: calc(100% / var(--step-count, 5) - 28px);
  height: 1px;
  background: rgba(146,118,83,0.35);
}
.step { display: flex; flex-direction: column; align-items: flex-start; padding: 0 20px 0 0; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(146,118,83,0.5);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif; font-size: 13px; font-weight: 500; color: #927653;
  background: #0B1033; position: relative; z-index: 1; margin-bottom: 20px; flex-shrink: 0;
}
.step-title { font-family: 'Montserrat', Arial, sans-serif; font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 10px; line-height: 1.3; }
.step-desc { font-family: 'Montserrat', Arial, sans-serif; font-size: 12px; line-height: 1.65; color: rgba(255,255,255,0.55); }

/* ── Por qué especializarse ─────────────────────────────── */
.why-section { padding: 96px 0; background: #fff; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.why-right h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(26px, 3vw, 38px); font-weight: 400; color: #0B1033; margin-bottom: 20px; line-height: 1.2; }
.why-right p { font-family: 'Montserrat', Arial, sans-serif; font-size: 14px; line-height: 1.75; color: #34495E; margin-bottom: 32px; }
.errors-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.error-item { display: flex; gap: 16px; align-items: flex-start; }
.error-icon { width: 32px; height: 32px; border-radius: 50%; background: rgba(146,118,83,0.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.error-icon svg { width: 14px; height: 14px; }
.error-text { font-family: 'Montserrat', Arial, sans-serif; font-size: 13px; line-height: 1.6; color: #34495E; }
.why-left-image { width: 100%; aspect-ratio: 4/5; overflow: hidden; border-radius: 4px; }
.why-left-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Ventaja París + credenciales ───────────────────────── */
.advantage-section { padding: 96px 0; background: radial-gradient(ellipse 65% 80% at 100% 0%, #e8e8e8 0%, transparent 100%), #ffffff; }
.advantage-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.advantage-left h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(26px, 3vw, 40px); font-weight: 400; color: #0B1033; line-height: 1.15; margin-bottom: 24px; }
.advantage-left h2 em { font-style: italic; color: #927653; }
.advantage-left p { font-family: 'Montserrat', Arial, sans-serif; font-size: 14px; line-height: 1.75; color: #34495E; margin-bottom: 16px; }
.advantage-left p strong { color: #0B1033; font-weight: 600; }
.advantage-left p:last-of-type { margin-bottom: 32px; }
.credentials-list { display: flex; flex-direction: column; gap: 12px; }
.credential-item { display: flex; align-items: center; gap: 14px; font-family: 'Montserrat', Arial, sans-serif; font-size: 13px; color: #34495E; }
.credential-item::before { content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; background: #927653; flex-shrink: 0; }
.advantage-right-image { width: 100%; aspect-ratio: 1/1; overflow: hidden; border-radius: 4px; position: relative; }
.advantage-right-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.advantage-badge { position: absolute; bottom: 28px; left: 28px; background: #0B1033; padding: 16px 20px; }
.advantage-badge span { font-family: 'Playfair Display', Georgia, serif; font-size: 28px; color: #927653; display: block; line-height: 1; }
.advantage-badge p { font-family: 'Montserrat', Arial, sans-serif; font-size: 11px; letter-spacing: 0.06em; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* ── FAQ ────────────────────────────────────────────────── */
.faq-section { padding: 96px 0; background: #0B1033; }
.faq-section .section-label { color: rgba(255,255,255,0.5); border-left-color: #927653; }
.faq-section h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(28px, 3.5vw, 44px); font-weight: 400; color: #fff; margin: 12px 0 48px; line-height: 1.2; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; row-gap: 0; }
.faq-item { border-top: 1px solid rgba(255,255,255,0.10); padding: 24px 0; cursor: pointer; }
.faq-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.10); }
.faq-question { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.faq-question h4 { font-family: 'Montserrat', Arial, sans-serif; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.90); line-height: 1.4; }
.faq-toggle {
  width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(146,118,83,0.4); border-radius: 50%; flex-shrink: 0; color: #927653;
  font-size: 16px; line-height: 1; transition: transform 0.3s ease, background 0.3s ease; user-select: none;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); background: rgba(146,118,83,0.15); }
.faq-answer {
  font-family: 'Montserrat', Arial, sans-serif; font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.55);
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 200px; padding-top: 14px; }

/* ── Artículos relacionados (placeholder — ver nota en single-servicio.php) ── */
.related-articles { padding: 96px 0; background: #ffffff; }
.related-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 40px; }
.related-header a { font-family: 'Montserrat', Arial, sans-serif; font-size: 12px; color: #34495E; text-decoration: underline; cursor: pointer; }

@media (max-width: 768px) {
  .page-hero { height: 380px; }
  .page-hero-title { font-size: 28px; }
  .why-grid, .advantage-inner { grid-template-columns: 1fr; gap: 40px; }
  .intro-stats-box { padding: 40px 24px; }
  .intro-stats-row { flex-direction: column; gap: 24px; }
  .intro-stat-divider { width: 60px; height: 1px; }
  .why-left-image { aspect-ratio: 16/9; }
  .advantage-right-image { aspect-ratio: 16/9; }
  .chambers-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr !important; }
  .process-steps::before { display: none; }
  .step { flex-direction: row; gap: 16px; align-items: flex-start; padding-bottom: 24px; }
  .step-num { margin-bottom: 0; }
  .faq-grid { grid-template-columns: 1fr; }
  .related-header { flex-direction: column; gap: 8px; }
}
@media (max-width: 480px) {
  .page-hero-title { font-size: 24px; }
  .faq-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════
   SINGLE ARTÍCULO (post nativo) — brief-wp-articulos-import-v1
════════════════════════════════════════════════ */

/* ── Article hero ─────────────────────────────────────────── */
.article-hero { margin-top: 80px; position: relative; max-height: 450px; overflow: hidden; }
.article-hero img { width: 100%; max-height: 450px; object-fit: cover; display: block; }
.article-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(11,16,51,0.10) 0%, rgba(11,16,51,0.55) 100%);
}
.article-hero-badge { position: absolute; bottom: 32px; left: 48px; }
.article-hero-badge .article-tag { background: #0B1033; color: #ffffff; border-color: #0B1033; }

/* ── Two-column layout ────────────────────────────────────── */
.single-layout { padding: 64px 0 96px; }
.single-layout .container { display: grid; grid-template-columns: 68% 32%; gap: 56px; align-items: start; }

/* ── Article content ──────────────────────────────────────── */
.article-title {
  font-family: 'Playfair Display', Georgia, serif; font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 400; color: #0B1033; line-height: 1.1; margin-bottom: 16px; letter-spacing: -0.01em;
}
.article-byline {
  font-family: 'Montserrat', Arial, sans-serif; font-size: 13px; color: #34495E;
  letter-spacing: 0.04em; margin-bottom: 40px; padding-bottom: 24px;
  border-bottom: 1px solid rgba(11,16,51,0.10);
}
.article-byline strong { color: #0B1033; }

/* Video embebido (convertido desde [fusion_youtube] en la limpieza de contenido) */
.article-video { position: relative; width: 100%; aspect-ratio: 16/9; margin-bottom: 24px; background: #000; }
.article-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Cuerpo del contenido (post_content ya limpio de shortcodes Fusion Builder) */
.article-body { font-family: 'Montserrat', Arial, sans-serif; font-size: 15px; line-height: 1.85; color: #34495E; }
.article-body p { margin-bottom: 20px; }
.article-body h2, .article-body h3, .article-body h4 {
  font-family: 'Playfair Display', Georgia, serif; font-weight: 400; color: #0B1033; line-height: 1.25;
  margin: 36px 0 16px;
}
.article-body h2 { font-size: clamp(20px, 2vw, 26px); }
.article-body h3 { font-size: clamp(18px, 1.6vw, 22px); }
.article-body h4 { font-size: 15px; letter-spacing: 0.02em; }
.article-body ul, .article-body ol { margin: 0 0 20px 20px; }
.article-body li { margin-bottom: 8px; }
/* Estos elementos son "de bloque completo" y nunca deben compartir línea
   con una imagen alignleft/alignright anterior (si la foto es más alta que
   los párrafos que la siguen, el texto se envuelve raro junto a ella hasta
   que la altura del float termina). */
.article-body h2, .article-body h3, .article-body h4,
.article-body blockquote, .article-body table, .article-body hr,
.article-body .lang-switch, .article-body .article-video {
  clear: both;
}
.article-body blockquote {
  border-left: 3px solid #927653; background: rgba(146,118,83,0.06);
  padding: 16px 24px; margin: 28px 0; font-style: italic; color: #0B1033;
}
.article-body img { max-width: 100%; height: auto; display: block; margin: 8px 0; }
/* Alineación nativa de WordPress (alignleft/alignright/aligncenter): el
   contenido migrado trae imágenes flotadas lado a lado (ej. "English
   Version" / "Version Française") que la regla de arriba, al forzar
   display:block, apilaba una debajo de otra. */
.article-body img.alignleft,
.article-body .wp-caption.alignleft { float: left; display: inline-block; margin: 4px 20px 12px 0; max-width: 45%; }
.article-body img.alignright,
.article-body .wp-caption.alignright { float: right; display: inline-block; margin: 4px 0 12px 20px; max-width: 45%; }
.article-body img.aligncenter,
.article-body .wp-caption.aligncenter { display: block; float: none; margin: 16px auto; }
.article-body .wp-caption { max-width: 100%; margin: 24px 0; }
.article-body .wp-caption img { margin: 0; max-width: 100%; }
.article-body .wp-caption-text { font-size: 12px; color: #34495E; padding-top: 8px; text-align: center; }
.article-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.article-body table td, .article-body table th { border: 1px solid rgba(11,16,51,0.12); padding: 10px 14px; }
.article-body hr { border: none; border-top: 1px solid rgba(11,16,51,0.10); margin: 32px 0; }
.article-body a { color: #0B1033; text-decoration: underline; text-underline-offset: 2px; }
.article-body a:hover { color: #927653; }
.article-body .btn-cta {
  display: inline-block; font-family: 'Montserrat', Arial, sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: #ffffff; background: #0B1033;
  padding: 12px 28px; border-radius: 100px; text-decoration: none; margin: 8px 0 20px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.article-body .btn-cta:hover { background: #927653; color: #fff; transform: translateY(-2px); }
/* Cuando un botón viene solo dentro de su <p> (conversión de [fusion_button]),
   varios seguidos deben quedar en fila, no apilados uno debajo del otro. */
.article-body p:has(> a.btn-cta:only-child) {
  display: inline-block;
  margin: 0 12px 12px 0;
}

/* Switcher "versión en otro idioma" (reemplaza las imágenes EV.png/VF.png
   alignleft originales por enlaces de texto reales): fila compacta arriba
   del cuerpo del artículo, no flotando junto al texto. */
.article-body p.lang-switch { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 24px; }
.article-body .lang-switch-btn {
  display: inline-block; white-space: nowrap;
  font-family: 'Montserrat', Arial, sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em; color: #ffffff; background: #0B1033;
  padding: 8px 16px; border-radius: 100px; text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.article-body .lang-switch-btn:hover { background: #927653; color: #fff; transform: translateY(-2px); }

/* Tags del post (taxonomía nativa post_tag) */
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 32px; }
.tag {
  font-family: 'Montserrat', Arial, sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: #927653;
  border: 1px solid rgba(146,118,83,0.4); padding: 5px 12px;
}

/* ── Sidebar ──────────────────────────────────────────────── */
.sidebar { position: sticky; top: 96px; }
.sidebar-block { margin-bottom: 28px; border: 1px solid rgba(11,16,51,0.10); padding: 24px; }
.sidebar-block-title {
  font-family: 'Montserrat', Arial, sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: #927653;
  border-left: 3px solid #927653; padding-left: 8px; margin-bottom: 20px; display: block;
}
.author-item { display: flex; gap: 12px; align-items: flex-start; }
.author-avatar {
  width: 48px; height: 48px; border-radius: 50%; background: #e8e8e8;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-family: 'Playfair Display', Georgia, serif; font-size: 18px; color: #927653; font-weight: 400;
}
.author-name { font-family: 'Montserrat', Arial, sans-serif; font-size: 13px; font-weight: 600; color: #0B1033; margin-bottom: 2px; }
.author-role { font-family: 'Montserrat', Arial, sans-serif; font-size: 11px; color: #34495E; }
.related-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid rgba(11,16,51,0.08); }
.related-item:last-child { border-bottom: none; padding-bottom: 0; }
.related-item:first-child { padding-top: 0; }
.related-thumb { width: 64px; height: 48px; object-fit: cover; flex-shrink: 0; background: #e8e8e8; }
.related-info .related-title { font-family: 'Playfair Display', Georgia, serif; font-size: 12px; font-weight: 400; color: #0B1033; line-height: 1.35; margin-bottom: 4px; }
.related-info a { text-decoration: none; }
.related-info a:hover .related-title { color: #927653; }
.related-info .related-date { font-family: 'Montserrat', Arial, sans-serif; font-size: 11px; color: #34495E; }
.sidebar-cta { background: #0B1033; padding: 28px 24px; text-align: center; }
.sidebar-cta p {
  font-family: 'Montserrat', Arial, sans-serif; font-size: 13px; color: rgba(255,255,255,0.80);
  line-height: 1.6; margin-bottom: 20px;
}
.sidebar-cta a {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: #0B1033;
  background: #ffffff; padding: 12px 24px; border-radius: 100px; text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.sidebar-cta a:hover { background: #927653; color: #fff; }

/* ── Related posts (sección inferior, ancho completo) ─────── */
.related-posts { padding: 80px 0; background: radial-gradient(ellipse 65% 80% at 0% 0%, #e8e8e8 0%, transparent 100%), #ffffff; }
.related-posts h2 {
  font-family: 'Playfair Display', Georgia, serif; font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 400; color: #0B1033; margin-bottom: 40px;
}

@media (max-width: 1024px) {
  .single-layout .container { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 768px) {
  .article-hero-badge { left: 20px; bottom: 20px; }
}

/* ════════════════════════════════════════════════
   LISTADO DE ARTÍCULOS + ARCHIVE DE CATEGORÍA
   brief-wp-articulos-listado-v1 — reutiliza .single-layout (grid 68/32),
   .sidebar/.sidebar-block, .related-item/.related-thumb/.related-info y
   .article-card/.articles-grid ya definidos arriba.
════════════════════════════════════════════════ */

/* ── Destacado (último publicado) ─────────────────────────── */
.featured-section { padding: 64px 0 0; background: #ffffff; }
.featured-card {
  display: grid; grid-template-columns: 55% 45%; gap: 0;
  border: 1px solid rgba(11,16,51,0.10); overflow: hidden;
}
.featured-img { position: relative; overflow: hidden; }
.featured-img img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 340px; }
.featured-content { padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; }
.featured-content .article-tag { margin-bottom: 16px; }
.featured-content h2 {
  font-family: 'Playfair Display', Georgia, serif; font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 400; color: #0B1033; line-height: 1.2; margin-bottom: 16px;
}
.featured-content p { font-family: 'Montserrat', Arial, sans-serif; font-size: 14px; line-height: 1.75; color: #34495E; margin-bottom: 24px; }
.featured-date { font-family: 'Montserrat', Arial, sans-serif; font-size: 11px; color: #34495E; letter-spacing: 0.04em; margin-bottom: 24px; }
.btn-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Montserrat', Arial, sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: #0B1033;
  text-decoration: none; border-bottom: 1px solid #927653; padding-bottom: 2px;
  transition: color 0.2s ease;
}
.btn-link:hover { color: #927653; }

/* ── Bloques por categoría (columna principal) ────────────── */
.category-section { margin-bottom: 64px; }
.category-section:last-child { margin-bottom: 0; }
.category-header {
  display: flex; align-items: baseline; justify-content: space-between;
  border-bottom: 1px solid rgba(11,16,51,0.10); padding-bottom: 12px; margin-bottom: 28px;
}
.category-header h2 {
  font-family: 'Playfair Display', Georgia, serif; font-size: 22px; font-weight: 400; color: #0B1033;
}
.category-header a {
  font-family: 'Montserrat', Arial, sans-serif; font-size: 11px; color: #34495E;
  text-decoration: underline; white-space: nowrap;
}
.articles-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* ── Sidebar: buscador y lista de categorías ──────────────── */
.sidebar-search { display: flex; }
.sidebar-search input {
  flex: 1; font-family: 'Montserrat', Arial, sans-serif; font-size: 13px;
  padding: 10px 12px; border: 1px solid rgba(11,16,51,0.15); border-right: none;
  outline: none; color: #0B1033;
}
.sidebar-search input::placeholder { color: rgba(11,16,51,0.4); }
.sidebar-search button {
  padding: 10px 14px; background: #0B1033; border: 1px solid #0B1033; color: #ffffff; cursor: pointer;
}
.sidebar-search button:hover { background: #927653; border-color: #927653; }
.cat-list { list-style: none; }
.cat-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid rgba(11,16,51,0.08);
  font-family: 'Montserrat', Arial, sans-serif; font-size: 13px;
}
.cat-list li:last-child { border-bottom: none; }
.cat-list a { color: #34495E; text-decoration: none; transition: color 0.2s ease; }
.cat-list a:hover { color: #927653; }
.cat-count { font-size: 11px; color: #34495E; background: #f5f5f0; padding: 2px 8px; border-radius: 100px; }

/* ── Paginación (archive de categoría, resultados de búsqueda) ──
   the_posts_pagination() de WordPress genera un <nav class="pagination">
   — el mismo tag que usa el navbar del sitio (selector "nav" más arriba,
   position:fixed/z-index/padding/fondo). Sin este reset, la paginación
   hereda esos estilos y se dibuja fija sobre el navbar real. */
nav.pagination {
  position: static; top: auto; left: auto; right: auto; z-index: auto;
  padding: 0; background: none; border-bottom: none;
}
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px;
  font-family: 'Montserrat', Arial, sans-serif; font-size: 13px; color: #34495E;
  border: 1px solid rgba(11,16,51,0.12); text-decoration: none; transition: all 0.2s ease;
}
.pagination .page-numbers:hover { border-color: #927653; color: #927653; }
.pagination .page-numbers.current { background: #0B1033; border-color: #0B1033; color: #ffffff; }
.pagination .page-numbers.dots { border: none; }

@media (max-width: 768px) {
  .featured-card { grid-template-columns: 1fr; }
  .featured-img img { min-height: 220px; }
  .featured-content { padding: 28px 20px; }
  .articles-grid-2 { grid-template-columns: 1fr; }
}
