    :root {
      --opeb-green: #18857E;
      --opeb-green-dark: #116b65;
      --opeb-bluegray: #AEBEC8;
      --opeb-ink: #17343d;
      --opeb-muted: #5d7077;
      --opeb-pale: #f3f7f8;
      --opeb-white: #ffffff;
      --opeb-border: #e1e9ec;
      --shadow: 0 18px 50px rgba(22, 60, 67, .10);
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: 88px; }
    body {
      margin: 0;
      color: var(--opeb-ink);
      background: var(--opeb-white);
      font-family: "Outfit", sans-serif;
      line-height: 1.7;
      overflow-x: hidden;
    }
    h1,h2,h3,h4,h5 { font-family: "Plus Jakarta Sans", sans-serif; letter-spacing: -.035em; }
    a { text-decoration: none; }
    .section-space { padding: 100px 0; }
    .eyebrow {
      display: inline-flex; align-items: center; gap: .55rem;
      color: var(--opeb-green); font-size: .78rem; font-weight: 800;
      text-transform: uppercase; letter-spacing: .13em;
    }
    .eyebrow::before { content: ""; width: 27px; height: 2px; background: currentColor; }
    .section-heading { max-width: 760px; margin: 0 auto 48px; text-align: center; padding: 0 12px; }
    .section-heading h2 { font-size: clamp(1.8rem, 4vw, 3.15rem); font-weight: 800; line-height: 1.15; margin: 14px 0; }
    .section-heading p { color: var(--opeb-muted); max-width: 680px; margin: 0 auto; }
    .text-green { color: var(--opeb-green) !important; }
    .btn-opeb {
      display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
      padding: 13px 23px; border-radius: 50px; font-weight: 700;
      color: #fff; background: var(--opeb-green); border: 1px solid var(--opeb-green);
      transition: .25s ease;
    }
    .btn-opeb:hover { background: var(--opeb-green-dark); border-color: var(--opeb-green-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(24,133,126,.22); }
    .btn-opeb-outline {
      display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
      padding: 12px 22px; border-radius: 50px; color: var(--opeb-green);
      border: 1px solid rgba(24,133,126,.45); font-weight: 700; transition: .25s ease;
    }
    .btn-opeb-outline:hover { background: var(--opeb-green); color: white; }

    /* Identidad institucional */
    .identity-card {
      height: 100%; padding: clamp(24px, 3vw, 36px); border-radius: 24px;
      background: #fff; border: 1px solid rgba(174,190,200,.65);
      box-shadow: 0 14px 38px rgba(23,52,61,.06); transition: .3s ease;
    }
    .identity-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
    .identity-card h3 { font-weight: 800; font-size: 1.35rem; margin: 17px 0 12px; }
    .identity-card p { color: var(--opeb-muted); margin: 0; }
    .identity-card .about-icon { background: rgba(174,190,200,.28); color: var(--opeb-green); }
    
    .principles-panel {
      padding: clamp(25px, 4vw, 42px); border-radius: 26px;
      background: var(--opeb-green); color: #fff;
    }
    .principle-row { display: flex; gap: 15px; padding: 18px 0; }
    .principle-row + .principle-row { border-top: 1px solid rgba(255,255,255,.2); }
    .principle-row i { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: rgba(255,255,255,.15); font-size: 1.2rem; }
    .principle-row h3 { font-size: 1rem; font-weight: 800; margin: 0 0 5px; }
    .principle-row p { margin: 0; color: rgba(255,255,255,.85); font-size: .92rem; }
    .legal-band {
      display: flex; gap: 17px; align-items: flex-start; padding: 23px;
      border-radius: 20px; background: rgba(174,190,200,.24); border: 1px solid rgba(174,190,200,.65);
    }
    .legal-band > i { color: var(--opeb-green); font-size: 1.7rem; flex: 0 0 auto; }
    .legal-band strong { display: block; font-weight: 800; margin-bottom: 5px; }
    .legal-band p { color: var(--opeb-muted); margin: 0; font-size: .92rem; }
    .official-name { font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 700; line-height: 1.65; }
    .social-label { font-size: .78rem; color: rgba(255,255,255,.7); display: block; }
    .social-link { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: rgba(255,255,255,.13); transition: .25s ease; }
    .social-link:hover { background: var(--opeb-bluegray); color: var(--opeb-ink); transform: translateY(-2px); }

    /* Navegación */
    .navbar {
      background: rgba(255,255,255,.96); backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(225,233,236,.8); padding: 12px 0;
    }
    .navbar-brand { display: flex; align-items: center; gap: 11px; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; color: var(--opeb-ink); letter-spacing: -.04em; }
    .brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
    .navbar .nav-link { color: #445a62; font-size: .88rem; font-weight: 700; padding: .65rem .7rem !important; text-transform: uppercase; letter-spacing: .03em; }
    .navbar .nav-link:hover, .navbar .nav-link.active { color: var(--opeb-green); }
    .navbar-toggler { border: 0; box-shadow: none !important; font-size: 1.5rem; padding: 6px 10px; }
    .dropdown-menu { border: 1px solid var(--opeb-border); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; margin-top: 8px !important; }
    .dropdown-item { text-transform: uppercase; font-size: .8rem; font-weight: 700; letter-spacing: .03em; color: #445a62; border-radius: 10px; padding: 10px 16px; }
    .dropdown-item:hover, .dropdown-item:focus { background: #eaf4f3; color: var(--opeb-green); }
    .dropdown-toggle::after { margin-left: 5px; }

    .navbar .nav-link.btn-link {
      text-decoration: none;
      border: 0;
      background: transparent;
      box-shadow: none;
      color: #445a62;
    }
    .navbar .nav-link.btn-link:hover,
    .navbar .nav-link.btn-link.active,
    .navbar .nav-link.btn-link:focus {
      color: var(--opeb-green);
      background: transparent;
      box-shadow: none;
    }

    /* ==================== PORTADA ==================== */
    .hero {
      position: relative;
      isolation: isolate;
      overflow: hidden;
      min-height: 720px;
      display: flex;
      align-items: center;
      padding: 120px 0 110px;
      background:
        radial-gradient(1200px 600px at 85% -10%, rgba(24,133,126,.10), transparent 60%),
        radial-gradient(900px 500px at -10% 110%, rgba(174,190,200,.30), transparent 60%),
        linear-gradient(115deg, #f4f8f8 0%, #ffffff 53%, #eaf1f4 100%);
    }
    .hero::before {
      content: "";
      position: absolute;
      z-index: -1;
      width: 650px;
      height: 650px;
      right: -150px;
      top: -220px;
      border-radius: 50%;
      border: 1px solid rgba(24,133,126,.15);
      box-shadow: 0 0 0 50px rgba(24,133,126,.035), 0 0 0 105px rgba(24,133,126,.025);
      animation: heroOrbit 24s linear infinite;
    }
    .hero::after {
      content: "";
      position: absolute;
      z-index: -1;
      left: -110px;
      bottom: -230px;
      width: 430px;
      height: 430px;
      border-radius: 50%;
      background: rgba(172,190,201,.22);
      filter: blur(2px);
    }
    @keyframes heroOrbit {
      from { transform: rotate(0deg); }
      to   { transform: rotate(360deg); }
    }

    .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      padding: 9px 16px;
      border: 1px solid #d8e8e6;
      background: rgba(255,255,255,.85);
      backdrop-filter: blur(6px);
      border-radius: 40px;
      color: var(--opeb-green-dark);
      font-size: .76rem;
      font-weight: 800;
      letter-spacing: .04em;
      text-transform: uppercase;
      max-width: 100%;
      box-shadow: 0 6px 20px rgba(24,133,126,.08);
    }
    .hero-tag i { color: var(--opeb-green); }

    .hero h1 {
      font-size: clamp(2.2rem, 4.2vw, 4.6rem);
      line-height: 1.06;
      font-weight: 800;
      margin: 22px 0;
      max-width: 790px;
      letter-spacing: -.04em;
    }
    .hero h1 span {
      color: var(--opeb-green);
      position: relative;
      display: inline-block;
    }
    .hero h1 span::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: .06em;
      height: .22em;
      background: linear-gradient(90deg, rgba(24,133,126,.22), rgba(24,133,126,.06));
      border-radius: 6px;
      z-index: -1;
      transform: scaleX(0);
      transform-origin: left;
      animation: underlineIn .9s ease .35s forwards;
    }
    @keyframes underlineIn {
      to { transform: scaleX(1); }
    }

    .hero-lead {
      max-width: 650px;
      color: var(--opeb-muted);
      font-size: clamp(1rem, 1.5vw, 1.18rem);
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 28px;
    }
    .hero-actions .btn-opeb,
    .hero-actions .btn-opeb-outline {
      padding: 14px 26px;
    }
    .hero-actions .btn-opeb i,
    .hero-actions .btn-opeb-outline i {
      transition: transform .25s ease;
    }
    .hero-actions .btn-opeb:hover i,
    .hero-actions .btn-opeb-outline:hover i {
      transform: translateX(3px);
    }

    .hero-note {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-top: 34px;
      color: var(--opeb-muted);
      font-size: .88rem;
    }
    .hero-note i {
      width: 39px;
      height: 39px;
      flex: 0 0 39px;
      display: grid;
      place-items: center;
      color: var(--opeb-green);
      background: #e2f1ef;
      border-radius: 50%;
      font-size: 1.1rem;
    }

    .hero-visual {
      position: relative;
      max-width: 480px;
      margin: 20px auto;
    }
    .hero-image-frame {
      position: relative;
      min-height: 460px;
      overflow: hidden;
      border-radius: 34px;
      background: linear-gradient(145deg, #dbe8eb, #a9c5c8);
      box-shadow: 0 30px 70px rgba(22,60,67,.20), 0 8px 24px rgba(22,60,67,.08);
      transition: transform .5s ease;
    }
    .hero-image-frame::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(17,60,60,.28) 100%);
      pointer-events: none;
    }
    .hero-image-frame img {
      width: 100%;
      height: 460px;
      object-fit: cover;
      display: block;
      transform: scale(1.02);
      transition: transform 1.2s ease;
    }
    .hero-image-frame:hover img {
      transform: scale(1.06);
    }
    .hero-image-placeholder {
      min-height: 460px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 35px;
      color: var(--opeb-green-dark);
    }
    .hero-image-placeholder i {
      font-size: 5rem;
      margin-bottom: 16px;
    }

    .hero-float {
      position: absolute;
      bottom: 25px;
      left: -30px;
      max-width: 265px;
      padding: 18px;
      display: flex;
      align-items: center;
      gap: 12px;
      background: rgba(255,255,255,.96);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(225,233,236,.9);
      border-radius: 18px;
      box-shadow: var(--shadow);
      animation: floatY 4s ease-in-out infinite;
    }
    @keyframes floatY {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-8px); }
    }
    .hero-float i {
      width: 45px;
      height: 45px;
      flex: 0 0 45px;
      display: grid;
      place-items: center;
      background: #e5f3f1;
      color: var(--opeb-green);
      border-radius: 14px;
      font-size: 1.3rem;
    }
    .hero-float strong {
      display: block;
      font-size: .91rem;
      line-height: 1.25;
    }
    .hero-float small {
      display: block;
      color: var(--opeb-muted);
      font-size: .75rem;
      margin-top: 4px;
    }

    .hero-stats {
      display: flex;
      gap: 28px;
      margin-top: 40px;
      flex-wrap: wrap;
      padding-top: 26px;
      border-top: 1px dashed rgba(174,190,200,.7);
    }
    .hero-stat strong {
      display: block;
      font-size: 1.65rem;
      font-weight: 800;
      color: var(--opeb-green);
      line-height: 1.15;
      letter-spacing: -.03em;
    }
    .hero-stat span {
      font-size: .82rem;
      color: var(--opeb-muted);
    }

    .hero.reveal { opacity: 0; transform: translateY(18px); }
    .hero.reveal.visible { opacity: 1; transform: none; }

    /* Franja valores */
    .values-strip { position: relative; z-index: 2; margin-top: -25px; padding: 0 12px; }
    .values-panel { background: #fff; border: 1px solid var(--opeb-border); border-radius: 22px; padding: 25px; box-shadow: var(--shadow); }
    .value-item { display: flex; align-items: center; gap: 13px; padding: 10px 15px; height: 100%; }
    .value-item i { font-size: 1.65rem; color: var(--opeb-green); flex: 0 0 auto; }
    .value-item strong { display: block; font-size: .94rem; }
    .value-item span { color: var(--opeb-muted); font-size: .78rem; }

    /* Institucional */
    .about-section { background: #fff; }
    .about-card { padding: 36px; border-radius: 24px; height: 100%; background: var(--opeb-pale); border: 1px solid #eaf0f2; }
    .about-card h3 { font-size: 1.35rem; font-weight: 800; margin: 18px 0 12px; }
    .about-card p { color: var(--opeb-muted); margin: 0; }
    .about-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 17px; color: var(--opeb-green); background: #deefed; font-size: 1.55rem; }
    .mission-band { margin-top: 28px; padding: 35px; border-radius: 24px; color: white; background: var(--opeb-green); }
    .mission-band p { margin: 0; color: rgba(255,255,255,.88); }

    /* Misión y Visión */
    .circles-section {
      background-color: #f4f7f8;
      padding: 100px 0;
      overflow: hidden;
    }
    .circle-wrapper {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 500px;
      margin-top: 20px;
    }
    .circle-card {
      width: 420px;
      height: 420px;
      border-radius: 50%;
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 40px;
      box-shadow: 0 15px 35px rgba(0,0,0,0.15);
      transition: transform 0.3s ease;
      z-index: 1;
    }
    .circle-card:hover { transform: scale(1.02); z-index: 3; }
    .circle-vision {
      background: linear-gradient(rgba(23, 52, 61, 0.85), rgba(23, 52, 61, 0.85)), url('../img/servicio3.jpg') center/cover;
      margin-right: -60px;
      color: #ffffff;
    }
    .circle-mision {
      background: linear-gradient(rgba(24, 133, 126, 0.9), rgba(24, 133, 126, 0.9)), url('../img/port2.png') center/cover;
      margin-left: -60px;
      color: #ffffff;
    }
    .circle-card h3 { color: #ffffff; font-size: 1.6rem; font-weight: 800; margin-bottom: 15px; }
    .circle-vision h3 { color: #AEBEC8; }
    .circle-mision h3 { color: #ffffff; }
    .circle-card p { font-size: 0.95rem; line-height: 1.5; margin: 0; position: relative; z-index: 2; }
    .highlight-box {
      background-color: rgba(174, 190, 200, 0.4);
      color: white;
      padding: 2px 5px;
      display: inline;
      box-decoration-break: clone;
      -webkit-box-decoration-break: clone;
    }

    /* Valores */
    .new-values-section {
      background-color: #ffffff;
      padding: 80px 0;
      position: relative;
    }
    .new-values-section::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 150px;
      background-color: #f4f7f8;
      border-bottom-left-radius: 50% 100%;
      border-bottom-right-radius: 50% 100%;
      z-index: 0;
    }
    .values-header { text-align: center; margin-bottom: 50px; position: relative; z-index: 1; }
    .values-header h2 { font-weight: 800; font-size: 2.5rem; color: #111; display: inline-block; margin: 0; }
    .values-header .line-green { display: block; width: 60px; height: 4px; background-color: var(--opeb-green); margin: 8px 0 0 auto; }
    .value-item-new { display: flex; gap: 20px; margin-bottom: 40px; position: relative; z-index: 1; }
    .value-icon-green {
      flex: 0 0 60px; width: 60px; height: 60px;
      background-color: var(--opeb-green);
      border-radius: 50%;
      display: grid; place-items: center;
      color: white; font-size: 1.8rem;
    }
    .value-text h4 { font-size: 1.15rem; font-weight: 800; color: #222; margin-bottom: 8px; margin-top: 0; }
    .value-text p { color: #666; font-size: 0.9rem; line-height: 1.6; margin: 0; }

    /* Resultados */
    .results-section {
      position: relative;
      padding: 100px 0;
      background: linear-gradient(rgba(24, 133, 126, 0.90), rgba(24, 133, 126, 0.90)), url('../img/servicio5.jpg') center/cover fixed;
      color: white;
      text-align: center;
    }
    .results-section h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 5px; }
    .results-section .line-white { display: block; width: 80px; height: 4px; background-color: white; margin: 0 auto 60px auto; }
    .result-card { padding: 20px; }
    .result-icon {
      width: 80px; height: 80px;
      background-color: white;
      border-radius: 50%;
      display: grid; place-items: center;
      margin: 0 auto 20px auto;
      color: var(--opeb-green);
      font-size: 2.5rem;
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .result-card h4 { font-size: 1.25rem; font-weight: 800; margin-bottom: 10px; color: white; }
    .result-card .number { font-size: 3rem; font-weight: 800; line-height: 1; margin-bottom: 15px; }
    .result-card p { font-size: 0.9rem; color: rgba(255,255,255,0.9); margin: 0 auto; max-width: 250px; }

    /* ============================================================
       QUÉ HACEMOS — TARJETAS CON IMÁGENES CUADRADAS
       ============================================================ */
    .program-section {
      position: relative;
      background:
        radial-gradient(900px 500px at 100% 0%, rgba(174,190,200,.18), transparent 55%),
        radial-gradient(700px 500px at 0% 100%, rgba(24,133,126,.08), transparent 55%),
        var(--opeb-pale);
      overflow: hidden;
    }
    .program-section::before {
      content: "";
      position: absolute;
      top: -140px;
      right: -140px;
      width: 380px;
      height: 380px;
      border-radius: 50%;
      border: 1px solid rgba(24,133,126,.12);
      box-shadow: 0 0 0 40px rgba(24,133,126,.03), 0 0 0 85px rgba(24,133,126,.02);
      pointer-events: none;
    }
    .program-section .section-heading h2 { color: var(--opeb-ink); }

    .program-highlight-bar {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px 18px;
      margin: -18px auto 46px;
      max-width: 900px;
      padding: 16px 22px;
      border-radius: 50px;
      background: rgba(255,255,255,.75);
      border: 1px solid var(--opeb-border);
      backdrop-filter: blur(8px);
      box-shadow: 0 10px 30px rgba(23,52,61,.05);
    }
    .program-highlight-bar span {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: .84rem;
      font-weight: 700;
      color: var(--opeb-ink);
    }
    .program-highlight-bar i { color: var(--opeb-green); font-size: 1rem; }

    .program-card {
      position: relative;
      height: 100%;
      background: #fff;
      border: 1px solid var(--opeb-border);
      border-radius: 22px;
      overflow: hidden;
      transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
      display: flex;
      flex-direction: column;
    }
    .program-card::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 22px;
      padding: 2px;
      background: linear-gradient(135deg, var(--opeb-green), var(--opeb-bluegray));
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
              mask-composite: exclude;
      opacity: 0;
      transition: opacity .35s ease;
      pointer-events: none;
      z-index: 3;
    }
    .program-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 24px 55px rgba(22,60,67,.14);
      border-color: transparent;
    }
    .program-card:hover::before { opacity: 1; }

    /* IMAGEN CUADRADA Y DEL MISMO TAMAÑO PARA TODAS */
    .program-media {
      position: relative;
      width: 100%;
      aspect-ratio: 1 / 1;          /* Fuerza formato cuadrado */
      overflow: hidden;
      background: linear-gradient(145deg, #deefed, #b8d6d3);
    }
    .program-media img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;             /* Recorta sin deformar */
      object-position: center;
      display: block;
      transition: transform .6s ease;
    }
    .program-card:hover .program-media img { transform: scale(1.08); }
    .program-media::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(23,52,61,0) 45%, rgba(23,52,61,.55) 100%);
      pointer-events: none;
    }
    .program-media-placeholder {
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      color: var(--opeb-green);
      font-size: 3rem;
    }
    .program-media .program-number {
      position: absolute;
      top: 12px;
      left: 12px;
      background: rgba(255,255,255,.94);
      color: var(--opeb-green-dark);
      font: 800 .92rem "Plus Jakarta Sans", sans-serif;
      letter-spacing: .05em;
      padding: 5px 13px;
      border-radius: 40px;
      z-index: 2;
      box-shadow: 0 4px 14px rgba(0,0,0,.1);
    }
    .program-media .program-tag {
      position: absolute;
      bottom: 12px;
      left: 12px;
      z-index: 2;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 5px 12px;
      border-radius: 30px;
      background: rgba(24,133,126,.92);
      color: #fff;
      font-size: .7rem;
      font-weight: 800;
      letter-spacing: .06em;
      text-transform: uppercase;
      backdrop-filter: blur(4px);
    }
    .program-media .program-tag i { font-size: .8rem; }

    .program-body {
      padding: 24px 26px 28px;
      flex: 1 1 auto;
      display: flex;
      flex-direction: column;
    }
    .program-body h3 {
      font-size: 1.15rem;
      font-weight: 800;
      margin: 0 0 12px;
      line-height: 1.3;
      color: var(--opeb-ink);
      transition: color .25s ease;
    }
    .program-card:hover .program-body h3 { color: var(--opeb-green); }
    .program-body p {
      color: var(--opeb-muted);
      font-size: .94rem;
      margin: 0 0 18px;
    }
    .program-link {
      margin-top: auto;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: .85rem;
      font-weight: 800;
      color: var(--opeb-green);
      letter-spacing: .02em;
    }
    .program-link i { transition: transform .25s ease; }
    .program-card:hover .program-link i { transform: translateX(4px); }

    /* ============================================================
       CONVENIOS — CON IMAGEN DE FONDO
       ============================================================ */
    .convenios-section {
      position: relative;
      isolation: isolate;
      padding: 110px 0;
      color: #fff;
      background:
        linear-gradient(rgba(17, 60, 60, .88), rgba(23, 52, 61, .92)),
        url('../img/port1.png') center/cover fixed;
      overflow: hidden;
    }
    .convenios-section::before {
      content: "";
      position: absolute;
      z-index: -1;
      top: -160px;
      right: -160px;
      width: 480px;
      height: 480px;
      border-radius: 50%;
      border: 1px solid rgba(174,190,200,.20);
      box-shadow: 0 0 0 55px rgba(174,190,200,.05), 0 0 0 120px rgba(174,190,200,.03);
    }
    .convenios-section .section-heading h2 { color: #fff; }
    .convenios-section .section-heading p { color: rgba(255,255,255,.78); }
    .convenios-section .eyebrow { color: #18857E; }
    .convenios-section .text-green { color: #18857E !important; }

    .convenio-item {
      display: flex;
      align-items: center;
      gap: 18px;
      padding: 24px 26px;
      background: rgba(255,255,255,.09);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255,255,255,.18);
      border-radius: 18px;
      height: 100%;
      transition: .3s ease;
    }
    .convenio-item:hover {
      background: rgba(255,255,255,.16);
      border-color: rgba(127,216,207,.55);
      transform: translateY(-4px);
      box-shadow: 0 18px 40px rgba(0,0,0,.22);
    }
    .convenio-item i {
      flex: 0 0 52px;
      width: 52px;
      height: 52px;
      display: grid;
      place-items: center;
      border-radius: 15px;
      background: rgba(24,133,126,.85);
      color: #fff;
      font-size: 1.5rem;
      transition: .3s ease;
    }
    .convenio-item:hover i { background: var(--opeb-green); transform: scale(1.05); }
    .convenio-item h3 { font-size: 1rem; font-weight: 800; margin: 0 0 4px; color: #fff; }
    .convenio-item p { margin: 0; font-size: .88rem; color: rgba(255,255,255,.72); }

    .convenios-section .btn-opeb {
      background: #fff;
      color: var(--opeb-green-dark);
      border-color: #fff;
      box-shadow: 0 10px 30px rgba(0,0,0,.2);
    }
    .convenios-section .btn-opeb:hover {
      background: var(--opeb-bluegray);
      border-color: var(--opeb-bluegray);
      color: var(--opeb-ink);
    }

    /* Aliados */
    .allies-section { background: white; }
    .allies-panel {
      position: relative; overflow: hidden; border-radius: 30px; padding: clamp(30px,5vw,60px);
      background: linear-gradient(120deg, #eaf4f3, #f4f7f8 75%);
      border: 1px solid #dceae9;
    }
    .allies-panel::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; border: 35px solid rgba(24,133,126,.08); right: -55px; bottom: -105px; }
    .benefit-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 0; list-style: none; margin: 24px 0 0; }
    .benefit-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .91rem; }
    .benefit-list i { color: var(--opeb-green); font-size: 1.1rem; flex: 0 0 auto; }

    /* Impacto */
    .impact-section { background: white; }
    .impact-card { padding: 28px; border-radius: 20px; border: 1px solid var(--opeb-border); height: 100%; }
    .impact-card i { font-size: 1.8rem; color: var(--opeb-green); }
    .impact-card h3 { font-size: 1.08rem; font-weight: 800; margin: 15px 0 8px; }
    .impact-card p { color: var(--opeb-muted); font-size: .91rem; margin: 0; }

    /* Contacto */
    .contact-section { background: var(--opeb-pale); }
    .contact-panel { background: white; border: 1px solid var(--opeb-border); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
    .contact-info { padding: clamp(28px,4vw,48px); }
    .contact-info h2 { font-weight: 800; font-size: clamp(1.8rem,3vw,2.8rem); }
    .contact-item { display: flex; align-items: flex-start; gap: 14px; margin-top: 24px; }
    .contact-item i { display: grid; place-items: center; width: 43px; height: 43px; flex: 0 0 43px; background: #e4f2f0; color: var(--opeb-green); border-radius: 13px; font-size: 1.2rem; }
    .contact-item strong { display: block; font-size: .92rem; }
    .contact-item span, .contact-item a { color: var(--opeb-muted); font-size: .9rem; overflow-wrap: anywhere; }
    .contact-cta { padding: clamp(28px,4vw,48px); height: 100%; background: var(--opeb-green); color: white; display: flex; flex-direction: column; justify-content: center; }
    .contact-cta p { color: rgba(255,255,255,.82); }
    .contact-cta .btn-opeb { background: white; color: var(--opeb-green); border-color: white; align-self: flex-start; }

    /* ============================================================
       FOOTER ELEGANTE
       ============================================================ */
    .site-footer {
      position: relative;
      background:
        radial-gradient(700px 300px at 90% 0%, rgba(24,133,126,.35), transparent 60%),
        linear-gradient(135deg, #0f4f4b 0%, #116b65 55%, #0d3f3c 100%);
      color: rgba(255,255,255,.78);
      padding: 70px 0 0;
      overflow: hidden;
    }
    .site-footer::before {
      content: "";
      position: absolute;
      top: -120px;
      left: -120px;
      width: 360px;
      height: 360px;
      border-radius: 50%;
      border: 1px solid rgba(174,190,200,.12);
      box-shadow: 0 0 0 50px rgba(174,190,200,.04);
      pointer-events: none;
    }
    .footer-brand {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 18px;
    }
    .footer-logo {
      width: 52px;
      height: 52px;
      border-radius: 15px;
      display: grid;
      place-items: center;
      background: rgba(255,255,255,.10);
      border: 1px solid rgba(255,255,255,.18);
      font-family: "Plus Jakarta Sans", sans-serif;
      font-weight: 800;
      font-size: 1.05rem;
      color: #fff;
      letter-spacing: -.04em;
    }
    .footer-brand strong {
      display: block;
      color: #fff;
      font-family: "Plus Jakarta Sans", sans-serif;
      font-size: 1.15rem;
      font-weight: 800;
      letter-spacing: -.03em;
      line-height: 1.15;
    }
    .footer-brand span {
      display: block;
      font-size: .72rem;
      color: rgba(255,255,255,.55);
      letter-spacing: .08em;
      text-transform: uppercase;
      margin-top: 3px;
    }
    .footer-about {
      max-width: 360px;
      font-size: .9rem;
      color: rgba(255,255,255,.66);
      line-height: 1.75;
    }
    .footer-heading {
      font-family: "Plus Jakarta Sans", sans-serif;
      color: #fff;
      font-size: .8rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .12em;
      margin-bottom: 18px;
      position: relative;
      padding-bottom: 10px;
    }
    .footer-heading::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 28px;
      height: 2px;
      background: var(--opeb-green);
      border-radius: 2px;
    }
    .footer-links {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .footer-links li { margin-bottom: 11px; }
    .footer-links a {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      color: rgba(255,255,255,.68);
      font-size: .9rem;
      transition: .25s ease;
    }
    .footer-links a i {
      font-size: .62rem;
      color: var(--opeb-green);
      transition: transform .25s ease;
    }
    .footer-links a:hover { color: #fff; transform: translateX(3px); }
    .footer-links a:hover i { transform: translateX(2px); }
    .footer-contact-line {
      display: flex;
      align-items: flex-start;
      gap: 11px;
      font-size: .88rem;
      color: rgba(255,255,255,.68);
      margin-bottom: 14px;
      line-height: 1.55;
    }
    .footer-contact-line i {
      color: #7fd8cf;
      font-size: 1rem;
      margin-top: 2px;
      flex: 0 0 auto;
    }
    .footer-contact-line a { color: rgba(255,255,255,.68); transition: color .25s; }
    .footer-contact-line a:hover { color: #fff; }
    .footer-social {
      display: flex;
      gap: 9px;
      margin-top: 20px;
    }
    .footer-social a {
      display: inline-grid;
      place-items: center;
      width: 40px;
      height: 40px;
      border-radius: 12px;
      background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.14);
      color: #fff;
      font-size: 1rem;
      transition: .3s ease;
    }
    .footer-social a:hover {
      background: var(--opeb-green);
      border-color: var(--opeb-green);
      transform: translateY(-3px);
      box-shadow: 0 10px 22px rgba(24,133,126,.35);
    }
    .footer-bottom {
      margin-top: 55px;
      padding: 22px 0;
      border-top: 1px solid rgba(255,255,255,.10);
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      font-size: .82rem;
      color: rgba(255,255,255,.52);
    }
    .footer-bottom strong { color: #fff; font-weight: 700; }
    .footer-bottom .footer-credit {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .footer-bottom .footer-credit i { color: var(--opeb-green); }

    .whatsapp-float {
      position: fixed; z-index: 1000; right: 22px; bottom: 22px; width: 58px; height: 58px;
      display: grid; place-items: center; border-radius: 50%; color: white; background: #25d366;
      font-size: 1.8rem; box-shadow: 0 10px 25px rgba(0,0,0,.2); transition: .2s;
    }
    .whatsapp-float:hover { color: white; transform: translateY(-4px) scale(1.04); }
    .back-top {
      position: fixed; right: 29px; bottom: 92px; z-index: 999; width: 42px; height: 42px;
      display: none; place-items: center; border: 0; border-radius: 50%; background: var(--opeb-green); color: white;
      box-shadow: 0 8px 20px rgba(0,0,0,.15);
    }
    .back-top.show { display: grid; }
    .reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
    .reveal.visible { opacity: 1; transform: none; }
    @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } .hero-float { animation: none; } }

    /* RESPONSIVE */
    @media (max-width: 1199px) {
      .navbar .nav-link { font-size: .82rem; padding: .6rem .55rem !important; }
      .hero h1 { font-size: clamp(2.1rem, 4.8vw, 3.6rem); }
    }
    @media (max-width: 991px) {
      html { scroll-padding-top: 76px; }
      .section-space { padding: 72px 0; }
      .hero { min-height: auto; padding: 80px 0 70px; }
      .hero-visual { max-width: 520px; margin-top: 40px; }
      .hero-image-frame, .hero-image-frame img { height: 360px; min-height: 360px; }
      .hero-float { left: 12px; }
      .navbar .navbar-collapse {
        padding: 16px 0 8px; max-height: 80vh; overflow-y: auto;
      }
      .navbar .nav-link { padding: .7rem 0 !important; font-size: .9rem; }
      .dropdown-menu { border: 0; box-shadow: none; padding: 0 0 0 18px; background: transparent; margin-top: 0 !important; }
      .dropdown-item { padding: 9px 0; }
      .navbar .btn-opeb { width: 100%; margin-top: 10px; }
      
      .circle-wrapper { flex-direction: column; gap: 30px; min-height: auto; }
      .circle-vision { margin-right: 0; }
      .circle-mision { margin-left: 0; margin-top: -60px; }
    }
    @media (max-width: 767px) {
      .section-space { padding: 62px 0; }
      .section-heading { margin-bottom: 34px; }
      .hero { padding: 70px 0 60px; }
      .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
      .hero-stats { gap: 20px; margin-top: 30px; }
      .hero-stat strong { font-size: 1.3rem; }
      .values-strip { margin-top: 0; padding-top: 24px; }
      .mission-band { padding: 26px; }
      .legal-band { flex-direction: column; gap: 10px; }
      .allies-panel::after { display: none; }
      .result-card .number { font-size: 2.5rem; }
      .program-highlight-bar { border-radius: 20px; padding: 14px 18px; }
      .convenios-section { background-attachment: scroll; }
      .results-section { background-attachment: scroll; }
      /* .program-media mantiene aspect-ratio 1/1: no se necesita altura fija */
    }
    @media (max-width: 575px) {
      .section-space { padding: 54px 0; }
      .hero h1 { font-size: 2rem; }
      .hero-lead { font-size: .98rem; }
      .hero-actions .btn-opeb, .hero-actions .btn-opeb-outline { width: 100%; }
      .hero-image-frame, .hero-image-frame img { height: 290px; min-height: 290px; }
      .hero-float { position: relative; left: auto; bottom: auto; margin: -24px 12px 0; max-width: none; animation: none; }
      .benefit-list { grid-template-columns: 1fr; }
      .about-card { padding: 26px; }
      .values-panel { padding: 16px; }
      .value-item { padding: 10px 4px; }
      .program-body { padding: 20px 22px 24px; }
      .convenio-item { flex-direction: column; align-items: flex-start; gap: 12px; }
      .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; font-size: 1.6rem; }
      .back-top { right: 22px; bottom: 82px; }
      
      .circle-card { width: 320px; height: 320px; padding: 25px; }
      .circle-card h3 { font-size: 1.3rem; }
      .circle-card p { font-size: 0.85rem; }
      .value-item-new { flex-direction: column; align-items: center; text-align: center; }
      .footer-bottom { justify-content: center; text-align: center; }
      /* .program-media mantiene aspect-ratio 1/1: no se necesita altura fija */
    }

    .footer-credit {
    text-align: center;
    font-size: 14px;
}

.buyercat-link {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
}

.buyercat-link:hover {
    color: #18857E;
}

.buyercat-link i {
    display: inline-block;
    margin-right: 5px;
    font-size: 18px;
}
  