  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --green-deep:   #1B5E3B;
    --green-mid:    #2ECC7F;
    --green-light:  #A8F0CE;
    --yellow:       #F5C842;
    --yellow-dark:  #D4A71A;
    --dark:         #0A1F14;
    --surface:      #F2F7F4;
    --white:        #FFFFFF;
    --text-main:    #1C2B22;
    --text-muted:   #5A7A66;
    --header-h:     72px;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    color: var(--text-main);
    background: var(--white);
    overflow-x: hidden;
  }

  /* ─── HEADER ─────────────────────────────────────────── */
  header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    z-index: 900;
    background: transparent;
    transition: background 0.4s, box-shadow 0.4s;
  }
  header.scrolled {
    background: rgba(10, 31, 20, 0.97);
    box-shadow: 0 2px 24px rgba(0,0,0,0.25);
    backdrop-filter: blur(12px);
  }

  .nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Logo */
  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
  }
  .logo-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }
  .logo-text { line-height: 1.1; }
  .logo-title {
    display: block;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--white);
    letter-spacing: -0.02em;
  }
  .logo-sub {
    display: block;
    font-size: 0.68rem;
    font-weight: 400;
    color: var(--green-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  /* Nav links */
  nav { display: flex; align-items: center; gap: 8px; }
  nav a {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
  }
  nav a:hover { color: var(--yellow); background: rgba(255,255,255,0.07); }
  .nav-cta {
    background: var(--yellow) !important;
    color: var(--dark) !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    padding: 9px 18px !important;
    transition: background 0.2s, transform 0.15s !important;
  }
  .nav-cta:hover { background: var(--yellow-dark) !important; transform: translateY(-1px); }

  /* Hamburger */
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border: none;
    background: none;
  }
  .hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Mobile menu */
  .mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: rgba(10, 31, 20, 0.98);
    backdrop-filter: blur(16px);
    padding: 20px 28px 32px;
    z-index: 899;
    flex-direction: column;
    gap: 4px;
    transform: translateY(-10px);
    opacity: 0;
    transition: opacity 0.25s, transform 0.25s;
  }
  .mobile-menu.open { display: flex; transform: translateY(0); opacity: 1; }
  .mobile-menu a {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-weight: 500;
    transition: color 0.2s;
  }
  .mobile-menu a:hover { color: var(--yellow); }
  .mobile-menu a.m-cta {
    margin-top: 12px;
    background: var(--yellow);
    color: var(--dark);
    text-align: center;
    border-radius: 10px;
    border-bottom: none;
    font-weight: 600;
  }

  /* ─── HERO ───────────────────────────────────────────── */
  #inicio {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background-image:
      url('https://diprocesos.com.co/assets/img/img_09.png');
    background-size: cover;
    background-position: center 30%;
    transform: scale(1.05);
    animation: zoomOut 12s ease forwards;
  }
  @keyframes zoomOut { to { transform: scale(1); } }

  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      135deg,
      rgba(10, 31, 20, 0.90) 0%,
      rgba(27, 94, 59, 0.70) 55%,
      rgba(10, 31, 20, 0.80) 100%
    );
  }

  /* Decorative shape */
  .hero-shape {
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 100px;
    overflow: hidden;
  }
  .hero-shape svg { display: block; }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 28px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
  }

  .hero-left { max-width: 600px; }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 200, 66, 0.15);
    border: 1px solid rgba(245, 200, 66, 0.4);
    color: var(--yellow);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
    animation: fadeUp 0.7s 0.1s both;
  }
  .hero-badge::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--yellow);
    border-radius: 50%;
  }

  .hero-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.08;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    animation: fadeUp 0.7s 0.2s both;
  }
  .hero-title em {
    font-style: normal;
    color: var(--yellow);
  }

  .hero-sub {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    max-width: 480px;
    margin-bottom: 36px;
    font-weight: 300;
    animation: fadeUp 0.7s 0.3s both;
  }

  .hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    animation: fadeUp 0.7s 0.4s both;
  }
  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--yellow);
    color: var(--dark);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(245, 200, 66, 0.35);
  }
  .btn-primary:hover {
    background: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(245, 200, 66, 0.45);
  }
  .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 13px 28px;
    border-radius: 12px;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,0.4);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
  }
  .btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
  }

  /* Stats en el hero */
  .hero-stats {
    display: flex;
    gap: 28px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.12);
    animation: fadeUp 0.7s 0.5s both;
  }
  .stat-item { text-align: center; }
  .stat-num {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.9rem;
    color: var(--yellow);
    line-height: 1;
    display: block;
  }
  .stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
    display: block;
  }
  .stat-divider {
    width: 1px;
    background: rgba(255,255,255,0.12);
    align-self: stretch;
  }

  /* Tarjeta derecha */
  .hero-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(18px);
    border-radius: 20px;
    padding: 32px;
    animation: fadeLeft 0.8s 0.4s both;
  }
  .card-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 6px;
  }
  .card-sub {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 24px;
  }
  .card-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .card-item:last-child { border-bottom: none; padding-bottom: 0; }
  .card-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 17px;
  }
  .card-icon.g { background: rgba(46, 204, 127, 0.18); }
  .card-icon.y { background: rgba(245, 200, 66, 0.18); }
  .card-icon.b { background: rgba(100, 180, 255, 0.18); }
  .card-info {}
  .card-info strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 2px;
  }
  .card-info span {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
  }
  .card-footer {
    margin-top: 22px;
    display: flex;
    gap: 10px;
  }
  .card-footer a {
    flex: 1;
    text-align: center;
    padding: 11px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
  }
  .cf-main {
    background: var(--yellow);
    color: var(--dark);
  }
  .cf-main:hover { background: var(--yellow-dark); }
  .cf-sec {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: var(--white);
  }
  .cf-sec:hover { background: rgba(255,255,255,0.14); }

  /* ─── WHATSAPP FLOTANTE ──────────────────────────────── */
  .wa-float {
    position: fixed;
    left: 22px;
    bottom: 32px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0;
    filter: drop-shadow(0 4px 14px rgba(37,211,102,0.5));
    animation: fadeUp 0.6s 1s both;
  }
  .wa-float a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    padding: 12px 20px 12px 14px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: padding 0.3s, gap 0.3s;
    overflow: hidden;
    white-space: nowrap;
    max-width: 56px;
    transition: max-width 0.4s ease, padding 0.3s;
  }
  .wa-float a:hover {
    max-width: 260px;
    padding: 12px 20px 12px 14px;
  }
  .wa-icon { width: 28px; height: 28px; flex-shrink: 0; }
  .wa-text { opacity: 0; transition: opacity 0.3s 0.1s; }
  .wa-float a:hover .wa-text { opacity: 1; }
  .wa-pulse {
    position: absolute;
    top: 0; left: 0;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    animation: pulse 2.2s ease-out infinite;
    pointer-events: none;
  }
  @keyframes pulse {
    0%   { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.8); opacity: 0; }
  }

  /* ─── ANIMATIONS ─────────────────────────────────────── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeLeft {
    from { opacity: 0; transform: translateX(28px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  /* ─── SERVICIOS ──────────────────────────────────────── */
  .servicios-section { background: var(--surface); padding: 96px 0 80px; }
  .s-container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
  .s-header { text-align: center; margin-bottom: 60px; }
  .s-badge { display: inline-block; background: var(--green-deep); color: var(--green-light); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 18px; border-radius: 100px; margin-bottom: 18px; }
  .s-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); color: var(--dark); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 16px; }
  .s-title em { font-style: normal; color: var(--green-deep); }
  .s-desc { font-size: 1rem; color: var(--text-muted); max-width: 520px; margin: 0 auto; line-height: 1.7; }
  .s-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .s-card { background: var(--white); border-radius: 18px; padding: 26px 24px; border: 1px solid rgba(27,94,59,0.08); display: flex; flex-direction: column; gap: 10px; transition: transform 0.25s, box-shadow 0.25s; position: relative; overflow: hidden; }
  .s-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 18px 18px 0 0; background: var(--green-mid); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
  .s-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(27,94,59,0.10); }
  .s-card:hover::before { transform: scaleX(1); }
  .s-card[data-color="blue"]::before { background: #378ADD; }
  .s-card[data-color="yellow"]::before { background: var(--yellow); }
  .s-card[data-color="purple"]::before { background: #7F77DD; }
  .s-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 6px; }
  .s-icon { width: 46px; height: 46px; background: rgba(27,94,59,0.08); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .s-icon svg { width: 22px; height: 22px; stroke: var(--green-deep); }
  .s-card[data-color="blue"] .s-icon { background: rgba(55,138,221,0.10); }
  .s-card[data-color="blue"] .s-icon svg { stroke: #185FA5; }
  .s-card[data-color="yellow"] .s-icon { background: rgba(245,200,66,0.12); }
  .s-card[data-color="yellow"] .s-icon svg { stroke: var(--yellow-dark); }
  .s-card[data-color="purple"] .s-icon { background: rgba(127,119,221,0.10); }
  .s-card[data-color="purple"] .s-icon svg { stroke: #534AB7; }
  .s-tag { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-muted); background: var(--surface); padding: 4px 10px; border-radius: 100px; }
  .s-card-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; color: var(--dark); line-height: 1.25; }
  .s-card-desc { font-size: 0.83rem; color: var(--text-muted); line-height: 1.65; flex: 1; }
  .s-link { display: inline-block; font-size: 0.82rem; font-weight: 600; color: var(--green-deep); text-decoration: none; margin-top: 4px; transition: color 0.2s; }
  .s-link:hover { color: var(--green-mid); }
  .s-card--featured { background: var(--dark); border-color: var(--dark); }
  .s-card--featured::before { background: var(--yellow) !important; }
  .s-icon--featured { background: rgba(245,200,66,0.15) !important; }
  .s-icon--featured svg { stroke: var(--yellow) !important; }
  .s-tag--featured { background: rgba(245,200,66,0.15); color: var(--yellow); }
  .s-card-title--featured { color: var(--white); }
  .s-card-desc--featured { color: rgba(255,255,255,0.6); }
  .s-link--featured { color: var(--yellow); background: rgba(245,200,66,0.12); padding: 8px 14px; border-radius: 8px; text-align: center; }
  .s-link--featured:hover { background: var(--yellow); color: var(--dark); }
  .s-cta-wrap { margin-top: 52px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
  .s-cta-text { font-size: 1rem; color: var(--text-muted); }

  /* ─── RESPONSIVE ─────────────────────────────────────── */
  @media (max-width: 1100px) {
    .s-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 900px) {
    nav { display: none; }
    .hamburger { display: flex; }
    .hero-content {
      grid-template-columns: 1fr;
      gap: 28px;
      padding-top: 110px;
      padding-bottom: 48px;
    }
    .hero-card {
      display: block;              /* ← ahora visible en móvil */
      background: rgba(255,255,255,0.10);
      border: 1px solid rgba(255,255,255,0.18);
    }
    .hero-left { max-width: 100%; }
    .hero-stats { gap: 20px; }
  }
  @media (max-width: 600px) {
    .s-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 500px) {
    .hero-title { font-size: 2rem; }
    .hero-btns { flex-direction: column; }
    .btn-primary, .btn-outline { text-align: center; justify-content: center; }
    .hero-stats { flex-wrap: wrap; }
  }

  /* ─── QUIÉNES SOMOS ─────────────────────────────────────── */
  .nosotros-section { padding: 96px 0 80px; background: var(--white); }
  .n-container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
  .n-intro { text-align: center; margin-bottom: 56px; }
  .dign-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-bottom: 52px; }
  .dign-card { background: var(--surface); border-radius: 18px; padding: 28px 20px 22px; text-align: center; border: 1px solid rgba(27,94,59,0.08); transition: transform .25s,box-shadow .25s; }
  .dign-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(27,94,59,.10); }
  .dign-avatar { width: 68px; height: 68px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Syne',sans-serif; font-weight: 800; font-size: 1.35rem; color: var(--white); margin: 0 auto 14px; }
  .dign-name { font-family: 'Syne',sans-serif; font-weight: 700; font-size: .95rem; color: var(--dark); margin-bottom: 6px; }
  .dign-role { font-size: .72rem; font-weight: 700; color: var(--green-deep); text-transform: uppercase; letter-spacing: .07em; background: rgba(27,94,59,.09); padding: 3px 10px; border-radius: 100px; display: inline-block; }
  .dign-card--pres { background: var(--dark); }
  .dign-card--pres .dign-name { color: var(--white); }
  .dign-card--pres .dign-role { background: rgba(245,200,66,.18); color: var(--yellow); }
  .mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .mv-card { border-radius: 20px; padding: 36px 32px; }
  .mv-card--mision { background: var(--green-deep); }
  .mv-card--vision { background: var(--surface); border: 1px solid rgba(27,94,59,.1); }
  .mv-emoji { font-size: 2rem; margin-bottom: 16px; display: block; }
  .mv-title { font-family: 'Syne',sans-serif; font-weight: 800; font-size: 1.15rem; margin-bottom: 12px; }
  .mv-card--mision .mv-title { color: var(--white); }
  .mv-card--vision .mv-title { color: var(--dark); }
  .mv-text { font-size: .9rem; line-height: 1.75; }
  .mv-card--mision .mv-text { color: rgba(255,255,255,.72); }
  .mv-card--vision .mv-text { color: var(--text-muted); }
  @media(max-width:1100px){ .dign-grid { grid-template-columns: repeat(2,1fr); } }
  @media(max-width:700px){ .mv-grid { grid-template-columns: 1fr; } }
  @media(max-width:480px){ .dign-grid { grid-template-columns: repeat(2,1fr); } }

  /* ─── NOTICIAS ──────────────────────────────────────────── */
  .noticias-section { padding: 96px 0 80px; background: var(--surface); }
  .news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
  .news-card { background: var(--white); border-radius: 20px; overflow: hidden; border: 1px solid rgba(27,94,59,.07); transition: transform .25s,box-shadow .25s; display: flex; flex-direction: column; }
  .news-card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(27,94,59,.10); }
  .news-img { width: 100%; height: 200px; object-fit: cover; display: block; }
  .news-body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
  .news-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
  .news-cat { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 11px; border-radius: 100px; }
  .news-cat--infra { background: rgba(27,94,59,.1); color: var(--green-deep); }
  .news-cat--comunidad { background: rgba(245,200,66,.15); color: var(--yellow-dark); }
  .news-cat--tech { background: rgba(127,119,221,.12); color: #534AB7; }
  .news-date { font-size: .78rem; color: var(--text-muted); }
  .news-title { font-family: 'Syne',sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--dark); line-height: 1.3; }
  .news-excerpt { font-size: .85rem; color: var(--text-muted); line-height: 1.65; flex: 1; }
  .news-link { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--green-deep); text-decoration: none; margin-top: 4px; transition: gap .2s,color .2s; }
  .news-link:hover { color: var(--green-mid); gap: 10px; }
  @media(max-width:900px){ .news-grid { grid-template-columns: 1fr 1fr; } }
  @media(max-width:600px){ .news-grid { grid-template-columns: 1fr; } }

  /* ─── TESTIMONIOS ───────────────────────────────────────── */
  .testi-section { padding: 96px 0 80px; background: var(--dark); position: relative; overflow: hidden; }
  .testi-section::before { content:''; position: absolute; top:-80px; right:-80px; width: 400px; height: 400px; background: radial-gradient(circle,rgba(46,204,127,.07) 0%,transparent 70%); pointer-events: none; }
  .testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
  .testi-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; padding: 32px 28px; display: flex; flex-direction: column; gap: 20px; transition: background .25s,border-color .25s; }
  .testi-card:hover { background: rgba(255,255,255,.07); border-color: rgba(46,204,127,.25); }
  .testi-stars { display: flex; gap: 3px; font-size: 14px; }
  .testi-quote { font-size: .9rem; line-height: 1.78; color: rgba(255,255,255,.76); font-style: italic; flex: 1; position: relative; padding-left: 24px; }
  .testi-quote::before { content: '\201C'; font-family: 'Syne',sans-serif; font-size: 3rem; font-style: normal; color: var(--green-mid); position: absolute; left: 0; top: -10px; line-height: 1; }
  .testi-author { display: flex; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); }
  .testi-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Syne',sans-serif; font-weight: 700; font-size: .88rem; color: var(--dark); flex-shrink: 0; }
  .testi-info strong { display: block; font-size: .9rem; font-weight: 600; color: var(--white); }
  .testi-info span { font-size: .77rem; color: rgba(255,255,255,.42); }
  @media(max-width:900px){ .testi-grid { grid-template-columns: 1fr; } }

  /* ─── FOOTER ────────────────────────────────────────────── */
  #contacto { background: #060F09; padding: 72px 0 0; }
  .footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
  .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .footer-brand p { font-size: .87rem; color: rgba(255,255,255,.4); line-height: 1.72; max-width: 280px; margin-top: 18px; }
  .footer-social { display: flex; gap: 10px; margin-top: 22px; }
  .footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.45); transition: background .2s,color .2s; }
  .footer-social a:hover { background: var(--green-deep); color: var(--white); }
  .footer-col h4 { font-family: 'Syne',sans-serif; font-weight: 700; font-size: .88rem; color: var(--white); margin-bottom: 18px; }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .footer-col ul li a { font-size: .85rem; color: rgba(255,255,255,.4); text-decoration: none; transition: color .2s; }
  .footer-col ul li a:hover { color: var(--green-mid); }
  .fc-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
  .fc-icon { width: 32px; height: 32px; border-radius: 8px; background: rgba(46,204,127,.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 13px; }
  .fc-text { font-size: .83rem; color: rgba(255,255,255,.4); line-height: 1.55; }
  .fc-text strong { display: block; color: rgba(255,255,255,.72); font-size: .81rem; margin-bottom: 1px; }
  .footer-bottom { padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  .footer-copy { font-size: .81rem; color: rgba(255,255,255,.26); }
  .footer-copy a { color: rgba(255,255,255,.38); text-decoration: none; transition: color .2s; }
  .footer-copy a:hover { color: var(--green-mid); }
  .footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
  .footer-legal a { font-size: .79rem; color: rgba(255,255,255,.26); text-decoration: none; transition: color .2s; }
  .footer-legal a:hover { color: rgba(255,255,255,.55); }
  @media(max-width:1100px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
  @media(max-width:600px){ .footer-grid { grid-template-columns: 1fr; gap: 28px; } .footer-bottom { flex-direction: column; text-align: center; } }

  /* ─── MODAL PQRS ────────────────────────────────────────── */
  .pqrs-overlay { position: fixed; inset: 0; background: rgba(6,15,9,.88); backdrop-filter: blur(8px); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .3s; }
  .pqrs-overlay.active { opacity: 1; pointer-events: all; }
  .pqrs-modal { background: var(--white); border-radius: 24px; width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; position: relative; transform: translateY(20px) scale(.97); transition: transform .3s; }
  .pqrs-overlay.active .pqrs-modal { transform: translateY(0) scale(1); }
  .pqrs-mhead { background: var(--green-deep); padding: 26px 32px 22px; border-radius: 24px 24px 0 0; position: sticky; top: 0; z-index: 2; }
  .pqrs-mhead-title { font-family: 'Syne',sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--white); }
  .pqrs-mhead-sub { font-size: .82rem; color: rgba(255,255,255,.6); margin-top: 3px; }
  .pqrs-close { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.12); border: none; color: var(--white); font-size: 17px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; line-height: 1; }
  .pqrs-close:hover { background: rgba(255,255,255,.22); }
  .pqrs-stepper { display: flex; align-items: center; padding: 18px 32px 0; }
  .pqrs-stp { display: flex; align-items: center; gap: 7px; }
  .pqrs-stp-n { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; border: 2px solid rgba(27,94,59,.18); color: var(--text-muted); background: var(--surface); transition: all .3s; flex-shrink: 0; }
  .pqrs-stp.active .pqrs-stp-n { background: var(--green-deep); color: var(--white); border-color: var(--green-deep); }
  .pqrs-stp.done .pqrs-stp-n { background: var(--green-mid); color: var(--dark); border-color: var(--green-mid); }
  .pqrs-stp-l { font-size: .74rem; font-weight: 500; color: var(--text-muted); transition: color .3s; }
  .pqrs-stp.active .pqrs-stp-l { color: var(--green-deep); font-weight: 600; }
  .pqrs-sline { flex: 1; height: 2px; background: rgba(27,94,59,.12); margin: 0 6px; transition: background .3s; }
  .pqrs-sline.done { background: var(--green-mid); }
  .pqrs-body { padding: 22px 32px 32px; }
  .pqrs-panel { display: none; }
  .pqrs-panel.active { display: block; animation: fadeUp .25s both; }
  .pqrs-field { margin-bottom: 16px; }
  .pqrs-field label { display: block; font-size: .82rem; font-weight: 600; color: var(--text-main); margin-bottom: 6px; }
  .pqrs-field input,.pqrs-field textarea,.pqrs-field select { width: 100%; padding: 11px 14px; border: 1.5px solid rgba(27,94,59,.18); border-radius: 10px; font-family: 'DM Sans',sans-serif; font-size: .9rem; color: var(--text-main); background: var(--surface); outline: none; transition: border-color .2s,box-shadow .2s; }
  .pqrs-field input:focus,.pqrs-field textarea:focus { border-color: var(--green-deep); box-shadow: 0 0 0 3px rgba(27,94,59,.08); background: var(--white); }
  .pqrs-field textarea { resize: vertical; min-height: 112px; }
  .pqrs-type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
  .pqrs-tbtn { padding: 14px 12px; border: 1.5px solid rgba(27,94,59,.15); border-radius: 12px; background: var(--surface); cursor: pointer; text-align: center; transition: all .2s; }
  .pqrs-tbtn:hover { border-color: var(--green-deep); background: rgba(27,94,59,.05); }
  .pqrs-tbtn.sel { border-color: var(--green-deep); background: rgba(27,94,59,.08); }
  .tbtn-emoji { font-size: 1.5rem; display: block; margin-bottom: 5px; }
  .tbtn-name { font-size: .84rem; font-weight: 700; color: var(--dark); display: block; }
  .tbtn-desc { font-size: .71rem; color: var(--text-muted); display: block; margin-top: 2px; line-height: 1.3; }
  .pqrs-actions { display: flex; gap: 10px; margin-top: 22px; }
  .pbtn-back { flex: 1; padding: 12px; border: 1.5px solid rgba(27,94,59,.18); border-radius: 10px; background: none; font-family: 'DM Sans',sans-serif; font-size: .9rem; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: all .2s; }
  .pbtn-back:hover { border-color: var(--green-deep); color: var(--green-deep); }
  .pbtn-next { flex: 2; padding: 12px; border: none; border-radius: 10px; background: var(--green-deep); font-family: 'DM Sans',sans-serif; font-size: .9rem; font-weight: 700; color: var(--white); cursor: pointer; transition: background .2s,transform .15s; }
  .pbtn-next:hover { background: #164d30; transform: translateY(-1px); }
  .pqrs-confirm { text-align: center; padding: 12px 0 8px; }
  .pqrs-ok-icon { width: 72px; height: 72px; border-radius: 50%; background: rgba(46,204,127,.14); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 30px; }
  .pqrs-rad-box { background: var(--surface); border: 1.5px dashed rgba(27,94,59,.28); border-radius: 14px; padding: 16px 24px; margin: 18px 0; }
  .pqrs-rad-lbl { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; }
  .pqrs-rad-num { font-family: 'Syne',sans-serif; font-weight: 800; font-size: 1.45rem; color: var(--green-deep); margin-top: 4px; }
  .pqrs-confirm-txt { font-size: .88rem; color: var(--text-muted); line-height: 1.68; }
  @media(max-width:520px){ .pqrs-modal { border-radius: 20px 20px 0 0; position: fixed; bottom: 0; left: 0; right: 0; max-height: 92vh; } .pqrs-overlay { align-items: flex-end; padding: 0; } .pqrs-body { padding: 18px 20px 28px; } .pqrs-mhead { padding: 20px 20px 16px; } .pqrs-stepper { padding: 14px 20px 0; } }

  /* ─── PQRS: estados webhook ──────────────────────────── */
  .pbtn-next:disabled { opacity: .65; cursor: not-allowed; transform: none !important; }
  .pbtn-spinner { display: inline-block; width: 15px; height: 15px; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; vertical-align: middle; margin-right: 8px; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .pqrs-error-box { background: #FFF3F3; border: 1.5px solid #FFCDD2; border-radius: 12px; padding: 14px 16px; margin-top: 14px; display: none; }
  .pqrs-error-box.show { display: flex; align-items: flex-start; gap: 10px; }
  .pqrs-error-box span { font-size: .84rem; color: #B71C1C; line-height: 1.55; }
  .pqrs-warn-box { background: #FFFDE7; border: 1.5px solid #FFF176; border-radius: 12px; padding: 12px 16px; margin-top: 10px; font-size: .82rem; color: #795500; line-height: 1.55; display:none; }
  .pqrs-warn-box.show { display: block; }

  /* ═══════════════════════════════════════════════════
     TARJETAS DE NOTICIAS — versión mejorada
     ═══════════════════════════════════════════════════ */
  .news-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
    height: 200px;
  }
  .news-img-wrap .news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  .news-card:hover .news-img { transform: scale(1.05); }

  .news-cat-float {
    position: absolute;
    top: 12px; left: 12px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 100px;
    backdrop-filter: blur(6px);
  }
  .news-cat--infra    { background: rgba(27,94,59,0.85);    color: #A8F0CE; }
  .news-cat--comunidad{ background: rgba(55,138,221,0.85);  color: #E0F0FF; }
  .news-cat--tech     { background: rgba(83,74,183,0.85);   color: #E8E6FF; }

  .news-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1B5E3B;
    padding: 0;
    transition: gap 0.2s, color 0.2s;
  }
  .news-link:hover { color: #2ECC7F; gap: 10px; }

  /* ═══════════════════════════════════════════════════
     MODAL ARTÍCULO COMPLETO
     ═══════════════════════════════════════════════════ */
  .art-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 31, 20, 0.7);
    backdrop-filter: blur(6px);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .art-overlay.active {
    opacity: 1;
    pointer-events: all;
  }

  .art-modal {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 720px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px) scale(0.97);
    transition: transform 0.35s cubic-bezier(.22,.68,0,1.2);
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  }
  .art-overlay.active .art-modal {
    transform: translateY(0) scale(1);
  }

  /* Imagen de cabecera */
  .art-modal-header {
    position: relative;
    height: 260px;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
  }
  .art-hero-img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }
  .art-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,31,20,0.85) 0%, rgba(10,31,20,0.1) 60%);
  }
  .art-hero-info {
    position: absolute;
    bottom: 20px; left: 24px; right: 56px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .art-titulo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    line-height: 1.25;
  }
  .art-fecha {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.7);
  }

  /* Botón cerrar */
  .art-close {
    position: absolute;
    top: 14px; right: 14px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.2s;
  }
  .art-close:hover { background: rgba(255,255,255,0.35); }

  /* Cuerpo del artículo */
  .art-body {
    padding: 28px 32px;
    font-size: 0.97rem;
    line-height: 1.8;
    color: #2d3f35;
  }
  .art-body p  { margin-bottom: 14px; }
  .art-body h4 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #1B5E3B;
    margin: 22px 0 10px;
  }
  .art-body ul,
  .art-body ol { padding-left: 20px; margin-bottom: 14px; }
  .art-body li { margin-bottom: 6px; }
  .art-body strong { color: #1B5E3B; }

  /* Footer del modal */
  .art-footer {
    padding: 0 32px 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(27,94,59,0.1);
    padding-top: 20px;
  }
  .art-wa-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
  }
  .art-close-btn {
    background: none;
    border: 1.5px solid rgba(27,94,59,0.25);
    border-radius: 10px;
    padding: 12px 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #5A7A66;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
  }
  .art-close-btn:hover { border-color: #1B5E3B; color: #1B5E3B; }

  /* Scroll del modal */
  .art-modal::-webkit-scrollbar { width: 5px; }
  .art-modal::-webkit-scrollbar-thumb { background: #d0e8da; border-radius: 10px; }

  /* Responsive */
  @media (max-width: 600px) {
    .art-modal-header { height: 200px; }
    .art-titulo        { font-size: 1rem; }
    .art-body          { padding: 20px 18px; }
    .art-footer        { padding: 16px 18px 22px; flex-direction: column; }
    .art-close-btn     { width: 100%; text-align: center; }
  }

  /* ═══ CARD ITEM CLICKABLE ═══════════════════════════════════ */
  .card-item--clickable {
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 10px;
    margin: 0 -8px;
    padding: 8px 8px !important;
  }
  .card-item--clickable:hover {
    background: rgba(245, 200, 66, 0.12);
  }
  .card-item-arrow {
    color: rgba(255,255,255,0.4);
    flex-shrink: 0;
    transition: transform 0.2s, color 0.2s;
  }
  .card-item--clickable:hover .card-item-arrow {
    transform: translateX(3px);
    color: var(--yellow, #F5C842);
  }

  /* ═══ MODAL VISOR PDF ════════════════════════════════════════ */
  .pdf-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 31, 20, 0.75);
    backdrop-filter: blur(6px);
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .pdf-overlay.active {
    opacity: 1;
    pointer-events: all;
  }
  .pdf-modal {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 780px;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(28px) scale(0.97);
    transition: transform 0.35s cubic-bezier(.22,.68,0,1.2);
    box-shadow: 0 32px 80px rgba(0,0,0,0.35);
  }
  .pdf-overlay.active .pdf-modal {
    transform: translateY(0) scale(1);
  }

  /* Cabecera */
  .pdf-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 22px 24px 18px;
    border-bottom: 1px solid rgba(27,94,59,0.1);
    gap: 12px;
    flex-shrink: 0;
  }
  .pdf-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(27,94,59,0.08);
    color: #1B5E3B;
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 7px;
  }
  .pdf-modal-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    color: #0A1F14;
    line-height: 1.2;
    margin-bottom: 4px;
  }
  .pdf-modal-sub {
    font-size: 0.8rem;
    color: #5A7A66;
  }
  .pdf-close {
    width: 36px; height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(27,94,59,0.15);
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5A7A66;
    transition: background 0.2s, color 0.2s;
  }
  .pdf-close:hover { background: #f0f7f3; color: #1B5E3B; }

  /* Visor */
  .pdf-viewer-wrap {
    overflow: hidden;
    background: #f0f0f0;
    height: calc(92vh - 220px); /* altura del modal menos header y footer */
  }
  .pdf-frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
  }
  .pdf-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 220px;
    color: #5A7A66;
    font-size: 0.9rem;
    text-align: center;
    padding: 20px;
  }

  /* Footer */
  .pdf-modal-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid rgba(27,94,59,0.1);
    flex-shrink: 0;
    flex-wrap: wrap;
  }
  .pdf-download-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
  }
  .pdf-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 11px 18px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s;
  }
  .pdf-wa-btn:hover { background: #1da851; }
  .pdf-close-text {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 0.85rem;
    color: #5A7A66;
    cursor: pointer;
    font-weight: 500;
    padding: 8px 4px;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .pdf-close-text:hover { color: #1B5E3B; }

  /* Responsive */
  @media (max-width: 600px) {
    .pdf-frame { min-height: 300px; }
    .pdf-modal-footer { flex-direction: column; align-items: stretch; }
    .pdf-close-text { margin-left: 0; text-align: center; }
  }

  /* ═══ HERO CARD en móvil ════════════════════════════════════ */
@media (max-width: 600px) {
  .hero-card {
    padding: 22px 18px;
    border-radius: 16px;
  }
  .card-title  { font-size: 1rem; }
  .card-footer { flex-direction: column; gap: 10px; }
  .card-footer a { text-align: center; padding: 13px; }
  .card-item { padding: 12px 0; }
  .card-icon { width: 36px; height: 36px; font-size: 16px; }
}

/* ═══ PDF MÓVIL CTA ═════════════════════════════════════════ */
.pdf-mobile-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 36px 24px;
  text-align: center;
  min-height: 260px;
  background: #F2F7F4;
}
.pdf-mobile-icon {
  width: 72px; height: 72px;
  background: rgba(27,94,59,0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdf-mobile-titulo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #0A1F14;
}
.pdf-mobile-sub {
  font-size: 0.85rem;
  color: #5A7A66;
  line-height: 1.6;
}
.pdf-abrir-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1B5E3B;
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 13px 24px;
  border-radius: 12px;
  text-decoration: none;
  margin-top: 6px;
  transition: background 0.2s, transform 0.15s;
}
.pdf-abrir-btn:hover {
  background: #0A3D22;
  transform: translateY(-1px);
}

/* ═══ MODAL CERTIFICADOS ════════════════════════════════════ */
.cert-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 31, 20, 0.72);
  backdrop-filter: blur(6px);
  z-index: 1150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cert-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.cert-modal {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(.22,.68,0,1.2);
  box-shadow: 0 28px 70px rgba(0,0,0,0.3);
}
.cert-overlay.active .cert-modal {
  transform: translateY(0) scale(1);
}

/* Cabecera */
.cert-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(27,94,59,0.1);
}
.cert-header-icon {
  width: 52px; height: 52px;
  background: rgba(245,200,66,0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cert-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(245,200,66,0.15);
  color: #B8860B;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 5px;
}
.cert-titulo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: #0A1F14;
  line-height: 1.2;
}
.cert-close {
  margin-left: auto;
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(27,94,59,0.15);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5A7A66;
  transition: background 0.2s, color 0.2s;
}
.cert-close:hover { background: #f0f7f3; color: #1B5E3B; }

/* Cuerpo */
.cert-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 16px; }

.cert-info-box {
  display: flex;
  gap: 12px;
  background: #F2F7F4;
  border-left: 3px solid #2ECC7F;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.88rem;
  color: #2d3f35;
  line-height: 1.6;
}
.cert-requisito {
  display: flex;
  gap: 12px;
  background: rgba(245,200,66,0.08);
  border: 1px solid rgba(245,200,66,0.3);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.87rem;
  color: #2d3f35;
  line-height: 1.6;
}
.cert-req-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 1px; }
.cert-requisito strong { display: block; color: #0A1F14; margin-bottom: 4px; font-size: 0.9rem; }

.cert-sep {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: #5A7A66;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.cert-sep::before, .cert-sep::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(27,94,59,0.12);
}

/* Formulario */
.cert-form-desc {
  font-size: 0.83rem;
  color: #5A7A66;
  line-height: 1.6;
  margin-bottom: 4px;
}
.cert-field { display: flex; flex-direction: column; gap: 6px; }
.cert-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #2d3f35;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.cert-req-mark { color: #e05c5c; }
.cert-opt-note { font-weight: 400; color: #5A7A66; font-size: 0.75rem; }

.cert-field input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid rgba(27,94,59,0.2);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: #0A1F14;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}
.cert-field input:focus {
  border-color: #2ECC7F;
  box-shadow: 0 0 0 3px rgba(46,204,127,0.12);
}
.cert-field input.error {
  border-color: #e05c5c;
  box-shadow: 0 0 0 3px rgba(224,92,92,0.1);
}
.cert-input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.cert-input-icon-wrap svg {
  position: absolute;
  left: 13px;
  pointer-events: none;
}
.cert-input-icon-wrap input { padding-left: 36px; }

.cert-field-err {
  font-size: 0.75rem;
  color: #e05c5c;
  min-height: 16px;
}

/* Botones del form */
.cert-form-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.cert-btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #1B5E3B;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 20px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.cert-btn-submit:hover { background: #0A3D22; transform: translateY(-1px); }
.cert-btn-submit:disabled { background: #7aaa8e; cursor: not-allowed; transform: none; }

.cert-btn-skip {
  background: none;
  border: 1.5px solid rgba(27,94,59,0.2);
  border-radius: 12px;
  padding: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #5A7A66;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.cert-btn-skip:hover { border-color: #1B5E3B; color: #1B5E3B; }

/* Confirmación */
.cert-success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #F2F7F4;
  border: 1.5px solid #2ECC7F;
  border-radius: 12px;
  padding: 16px;
  font-size: 0.87rem;
  color: #2d3f35;
  line-height: 1.6;
  animation: fadeUp 0.4s ease both;
}
.cert-success strong { display: block; color: #1B5E3B; margin-bottom: 3px; }

/* Scroll del modal */
.cert-modal::-webkit-scrollbar { width: 4px; }
.cert-modal::-webkit-scrollbar-thumb { background: #d0e8da; border-radius: 10px; }

@media (max-width: 500px) {
  .cert-header { padding: 16px 16px 14px; }
  .cert-body   { padding: 16px 16px 20px; }
}

/* ═══════════════════════════════════════════════════════════
   DIRECTORIO COMERCIAL — SECCIÓN INFORMATIVA (index.php)
   ═══════════════════════════════════════════════════════════ */
.dir-promo-section {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
  background: var(--dark, #0A1F14);
}

/* Fondo decorativo con gradiente y patrón */
.dir-promo-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(46,204,127,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 80%, rgba(245,200,66,0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* Encabezado */
.dir-promo-header { text-align: center; margin-bottom: 40px; }

.dir-promo-badge {
  display: inline-block;
  background: rgba(245,200,66,0.15);
  border: 1px solid rgba(245,200,66,0.3);
  color: var(--yellow, #F5C842);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.dir-promo-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.dir-promo-title em {
  font-style: normal;
  color: var(--yellow, #F5C842);
}
.dir-promo-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Categorías */
.dir-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 52px;
}
.dir-cat {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 100px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  cursor: default;
}
.dir-cat:hover {
  background: rgba(46,204,127,0.15);
  border-color: rgba(46,204,127,0.4);
  color: #fff;
}

/* Grid de planes */
.dir-planes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
  align-items: start;
}

/* Tarjeta de plan — base */
.dir-plan {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 26px 24px;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.dir-plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

/* Plan Estándar */
.dir-plan--std {
  background: rgba(46,204,127,0.07);
  border-color: rgba(46,204,127,0.2);
}

/* Plan Premium */
.dir-plan--premium {
  background: linear-gradient(145deg, rgba(245,200,66,0.12), rgba(212,167,26,0.06));
  border-color: rgba(245,200,66,0.4);
  box-shadow: 0 8px 32px rgba(245,200,66,0.1);
}
.dir-plan-badge-top {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow, #F5C842);
  color: #0A1F14;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

/* Cabecera del plan */
.dir-plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dir-plan-name {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
}
.dir-plan-precio {
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.dir-plan-desde {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 2px;
}
.dir-plan-valor {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--yellow, #F5C842);
}
.dir-plan-periodo {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

/* Lista del plan */
.dir-plan-lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 22px;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.4;
}
.dir-plan-lista li.no { color: rgba(255,255,255,0.3); }

/* Botones del plan */
.dir-plan-btn {
  display: block;
  text-align: center;
  padding: 11px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.dir-plan-btn--outline {
  border: 1.5px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.8);
}
.dir-plan-btn--outline:hover {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.dir-plan-btn--solid {
  background: var(--yellow, #F5C842);
  color: #0A1F14;
}
.dir-plan-btn--solid:hover {
  background: var(--yellow-dark, #D4A71A);
  transform: translateY(-1px);
}

/* CTAs finales */
.dir-promo-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.dir-cta-main {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
}
.dir-cta-wa {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}
.dir-cta-wa:hover {
  background: #1da851;
  transform: translateY(-2px);
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .dir-planes { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .dir-plan--premium { margin-top: 8px; }
}
@media (max-width: 500px) {
  .dir-promo-section { padding: 72px 0 60px; }
  .dir-promo-ctas { flex-direction: column; align-items: stretch; text-align: center; }
  .dir-cta-main, .dir-cta-wa { justify-content: center; }
}
