﻿:root {
      --green: #0f6b3f;
      --green-dark: #083f27;
      --green-soft: #e8f5ee;
      --yellow: #f4b000;
      --blue: #123a5f;
      --text: #1f2933;
      --muted: #667085;
      --white: #ffffff;
      --bg: #f7faf8;
      --shadow: 0 18px 50px rgba(10, 63, 39, 0.12);
      --radius: 22px;
    }

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

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: Arial, Helvetica, sans-serif;
      color: var(--text);
      background: var(--bg);
      line-height: 1.6;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    .topbar {
      background: var(--green-dark);
      color: var(--white);
      font-size: 14px;
      padding: 10px 6%;
      display: flex;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
    }

    .navbar {
      position: sticky;
      top: 0;
      z-index: 20;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
      padding: 14px 6%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 16px;
      font-weight: 800;
      color: var(--green-dark);
    }

    .brand-mark {
      width: 78px;
      height: 78px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .brand-mark img {
      width: 100%;
      height: auto;
      object-fit: contain;
      filter: drop-shadow(0 8px 18px rgba(0,0,0,0.12));
    }

    .brand span small {
      display: block;
      font-weight: 600;
      color: var(--muted);
      font-size: 12px;
    }

    .menu {
      display: flex;
      align-items: center;
      gap: 22px;
      font-weight: 700;
      font-size: 14px;
      color: var(--green-dark);
    }

    .menu a:hover {
      color: var(--green);
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      border: 0;
      border-radius: 999px;
      padding: 13px 22px;
      font-weight: 800;
      cursor: pointer;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .btn:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow);
    }

    .btn-primary {
      background: var(--yellow);
      color: #2d2200;
    }

    .btn-secondary {
      background: var(--green);
      color: var(--white);
    }

    .hero {
      min-height: 78vh;
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      align-items: center;
      gap: 40px;
      padding: 80px 6%;
      background:
        radial-gradient(circle at 85% 20%, rgba(244, 176, 0, 0.2), transparent 28%),
        linear-gradient(135deg, #f7faf8 0%, #e8f5ee 100%);
      overflow: hidden;
    }

    .badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--white);
      color: var(--green-dark);
      padding: 8px 14px;
      border-radius: 999px;
      font-weight: 800;
      box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
      margin-bottom: 18px;
    }

    .hero h1 {
      font-size: clamp(36px, 6vw, 68px);
      line-height: 1.05;
      color: var(--green-dark);
      margin-bottom: 20px;
      letter-spacing: -2px;
    }

    .hero p {
      font-size: 20px;
      color: #41505f;
      max-width: 690px;
      margin-bottom: 28px;
    }

    .hero-actions {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
    }

    .enroll-actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 22px;
    }

    .hero-card {
      background: var(--white);
      border-radius: 34px;
      padding: 28px;
      box-shadow: var(--shadow);
      position: relative;
    }

    .hero-visual {
      min-height: 430px;
      border-radius: 28px;
      background:
        linear-gradient(to top, rgba(8, 63, 39, 0.38) 0%, rgba(8, 63, 39, 0.14) 45%, rgba(8, 63, 39, 0.04) 100%),
        url('../images/hero-trabajador.jpg') center/cover;
      display: flex;
      align-items: flex-end;
      padding: 24px;
      color: #ffffff;
    }

    .hero-visual > div {
      width: 100%;
      background: rgba(8, 63, 39, 0.16);
      border: 1px solid rgba(255, 255, 255, 0.22);
      border-radius: 18px;
      padding: 18px 20px;
      backdrop-filter: blur(4px);
    }

    .hero-visual h2 {
      color: #ffffff;
      text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65), 0 1px 3px rgba(0, 0, 0, 0.5);
      margin-bottom: 8px;
    }

    .hero-visual p {
      color: #ffffff;
      font-weight: 600;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(0, 0, 0, 0.45);
      margin: 0;
    }

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

    .stat {
      background: var(--green-soft);
      border-radius: 18px;
      padding: 18px;
      text-align: center;
    }

    .stat strong {
      display: block;
      font-size: 25px;
      color: var(--green-dark);
    }

    section {
      padding: 78px 6%;
    }

    .section-title {
      max-width: 760px;
      margin-bottom: 34px;
    }

    .section-title small {
      color: var(--green);
      text-transform: uppercase;
      font-weight: 900;
      letter-spacing: 1.5px;
    }

    .section-title h2 {
      font-size: clamp(30px, 4vw, 46px);
      color: var(--green-dark);
      line-height: 1.12;
      margin: 8px 0 12px;
    }

    .section-title p {
      color: var(--muted);
      font-size: 18px;
    }

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

    .card {
      background: var(--white);
      border-radius: var(--radius);
      padding: 28px;
      box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
      border: 1px solid rgba(15, 107, 63, 0.08);
    }

    .icon {
      width: 54px;
      height: 54px;
      border-radius: 16px;
      display: grid;
      place-items: center;
      background: var(--green-soft);
      color: var(--green);
      font-size: 26px;
      margin-bottom: 18px;
    }

    .card h3 {
      color: var(--green-dark);
      font-size: 22px;
      margin-bottom: 10px;
    }

    .card p, .card li {
      color: var(--muted);
    }

    .split {
      display: grid;
      grid-template-columns: 0.95fr 1.05fr;
      gap: 36px;
      align-items: center;
    }

    .photo-panel {
      min-height: 470px;
      border-radius: 34px;
      background:
        linear-gradient(rgba(18, 58, 95, 0.2), rgba(8, 63, 39, 0.45)),
        url('../images/cerezos-florecidos.jpg') center/cover;
      box-shadow: var(--shadow);
    }

    .timeline {
      display: grid;
      gap: 18px;
    }

    .timeline-item {
      background: var(--white);
      border-left: 6px solid var(--yellow);
      border-radius: 18px;
      padding: 20px 22px;
      box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
    }

    .platform {
      background: linear-gradient(135deg, var(--green-dark), var(--green));
      color: var(--white);
      border-radius: 36px;
      padding: 48px;
      box-shadow: var(--shadow);
    }

    .platform h2, .platform p {
      color: var(--white);
    }

    .platform-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 22px;
      margin-top: 26px;
    }

    .platform-card {
      background: rgba(255, 255, 255, 0.12);
      border: 1px solid rgba(255, 255, 255, 0.22);
      border-radius: 22px;
      padding: 26px;
    }

    .platform-card .btn {
      margin-top: 18px;
    }

    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(8, 63, 39, 0.72);
      backdrop-filter: blur(8px);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 22px;
      z-index: 100;
    }

    .modal-overlay.active {
      display: flex;
    }

    .modal-box {
      width: min(980px, 100%);
      max-height: 88vh;
      overflow-y: auto;
      background: var(--white);
      border-radius: 28px;
      box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
      padding: 34px;
      position: relative;
    }

    .modal-close {
      position: sticky;
      top: 0;
      margin-left: auto;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 42px;
      height: 42px;
      border: 0;
      border-radius: 50%;
      background: var(--green-dark);
      color: var(--white);
      font-size: 24px;
      cursor: pointer;
      z-index: 2;
    }

    .modal-header {
      margin-top: -20px;
      margin-bottom: 24px;
    }

    .modal-header small {
      color: var(--green);
      text-transform: uppercase;
      font-weight: 900;
      letter-spacing: 1px;
    }

    .modal-header h2 {
      color: var(--green-dark);
      font-size: clamp(28px, 4vw, 42px);
      line-height: 1.12;
      margin: 8px 0 10px;
    }

    .guide-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 18px;
      margin: 22px 0;
    }

    .guide-card {
      background: var(--green-soft);
      border-radius: 18px;
      padding: 20px;
      border: 1px solid rgba(15, 107, 63, 0.12);
    }

    .guide-card h3 {
      color: var(--green-dark);
      margin-bottom: 8px;
    }

    .guide-list {
      display: grid;
      gap: 14px;
      counter-reset: guia;
      margin-top: 18px;
    }

    .guide-list li {
      list-style: none;
      background: #fbfdfc;
      border: 1px solid #d8e2dc;
      border-radius: 16px;
      padding: 18px 18px 18px 64px;
      position: relative;
      color: var(--muted);
    }

    .guide-list li::before {
      counter-increment: guia;
      content: counter(guia);
      position: absolute;
      left: 18px;
      top: 18px;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--yellow);
      color: #2d2200;
      display: grid;
      place-items: center;
      font-weight: 900;
    }

    .guide-list strong {
      color: var(--green-dark);
      display: block;
      margin-bottom: 4px;
    }

    .steps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
    }

    .step {
      position: relative;
      background: var(--white);
      border-radius: var(--radius);
      padding: 24px;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    }

    .step b {
      display: inline-grid;
      place-items: center;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: var(--yellow);
      color: #2d2200;
      margin-bottom: 16px;
    }

    .contact {
      background: var(--white);
      border-radius: 38px;
      margin: 40px 6% 80px;
      padding: 48px;
      box-shadow: var(--shadow);
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 30px;
      align-items: center;
    }

    .contact-list {
      display: grid;
      gap: 14px;
      margin-top: 20px;
    }

    .contact-item {
      background: var(--green-soft);
      padding: 16px 18px;
      border-radius: 16px;
      font-weight: 700;
      color: var(--green-dark);
    }

    .form {
      display: grid;
      gap: 12px;
    }

    .form input, .form textarea, .form select {
      width: 100%;
      border: 1px solid #d8e2dc;
      border-radius: 14px;
      padding: 14px 16px;
      font: inherit;
      outline: none;
      background: #fbfdfc;
    }

    .form textarea {
      min-height: 120px;
      resize: vertical;
    }

    .gallery-layout {
      display: grid;
      grid-template-columns: 1.35fr 0.65fr;
      gap: 24px;
      align-items: start;
    }

    .gallery-main {
      background: var(--white);
      border-radius: 28px;
      padding: 24px;
      box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
      border: 1px solid rgba(15, 107, 63, 0.08);
    }

    .gallery-main-head {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      align-items: flex-start;
      margin-bottom: 18px;
    }

    .gallery-main-head h3 {
      color: var(--green-dark);
      font-size: 24px;
      margin-bottom: 6px;
    }

    .gallery-main-head p {
      color: var(--muted);
      max-width: 620px;
    }

    .gallery-count {
      background: var(--green-soft);
      color: var(--green-dark);
      border-radius: 999px;
      padding: 8px 14px;
      font-weight: 800;
      font-size: 13px;
      white-space: nowrap;
    }

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

    .gallery-thumb {
      border: 0;
      padding: 0;
      border-radius: 16px;
      overflow: hidden;
      cursor: pointer;
      aspect-ratio: 1;
      background: #e8eee9;
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .gallery-thumb:hover,
    .gallery-thumb:focus-visible {
      transform: translateY(-2px);
      box-shadow: var(--shadow);
      outline: 3px solid rgba(15, 107, 63, 0.35);
      outline-offset: 2px;
    }

    .gallery-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .gallery-sidebar {
      background: var(--white);
      border-radius: 28px;
      padding: 22px;
      box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
      border: 1px solid rgba(15, 107, 63, 0.08);
      position: sticky;
      top: 100px;
    }

    .gallery-sidebar h3 {
      color: var(--green-dark);
      margin-bottom: 14px;
      font-size: 20px;
    }

    .gallery-albums {
      display: grid;
      gap: 12px;
    }

    .gallery-album {
      text-align: left;
      border: 1px solid rgba(15, 107, 63, 0.12);
      background: #fbfdfc;
      border-radius: 18px;
      padding: 16px;
      cursor: pointer;
      display: grid;
      gap: 8px;
      transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    }

    .gallery-album strong {
      color: var(--green-dark);
      font-size: 16px;
    }

    .gallery-album span {
      color: var(--muted);
      font-size: 14px;
      line-height: 1.45;
    }

    .gallery-album small {
      color: var(--green);
      font-weight: 800;
    }

    .gallery-album:hover,
    .gallery-album:focus-visible {
      border-color: rgba(15, 107, 63, 0.35);
      transform: translateY(-1px);
      outline: none;
    }

    .gallery-album.active {
      background: var(--green-soft);
      border-color: rgba(15, 107, 63, 0.45);
    }

    .gallery-lightbox {
      position: fixed;
      inset: 0;
      z-index: 200;
      display: none;
      align-items: stretch;
      justify-content: center;
      background:
        radial-gradient(circle at top right, rgba(244, 176, 0, 0.18), transparent 28%),
        linear-gradient(160deg, rgba(5, 28, 18, 0.96), rgba(8, 63, 39, 0.94) 55%, rgba(3, 18, 12, 0.98));
      backdrop-filter: blur(10px);
      padding: 18px;
    }

    .gallery-lightbox.active {
      display: flex;
      animation: galleryFadeIn 0.25s ease;
    }

    @keyframes galleryFadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    .gallery-lightbox-dialog {
      width: min(1180px, 100%);
      margin: auto;
      position: relative;
      display: grid;
      grid-template-rows: 1fr auto;
      gap: 16px;
      outline: none;
    }

    .gallery-lightbox-close {
      position: absolute;
      top: 0;
      right: 0;
      z-index: 5;
      width: 48px;
      height: 48px;
      border: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.12);
      color: #fff;
      font-size: 32px;
      line-height: 1;
      cursor: pointer;
      backdrop-filter: blur(8px);
      transition: background 0.2s ease, transform 0.2s ease;
    }

    .gallery-lightbox-close:hover,
    .gallery-lightbox-close:focus-visible {
      background: rgba(244, 176, 0, 0.95);
      color: #2d2200;
      transform: scale(1.05);
      outline: none;
    }

    .gallery-lightbox-stage {
      margin: 0;
      min-height: 58vh;
      display: grid;
      place-items: center;
      position: relative;
      border-radius: 28px;
      overflow: hidden;
      background:
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
        rgba(0, 0, 0, 0.28);
      border: 1px solid rgba(255, 255, 255, 0.12);
      box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    }

    .gallery-lightbox-stage img {
      max-width: 100%;
      max-height: 68vh;
      width: auto;
      height: auto;
      object-fit: contain;
      display: block;
      animation: galleryImageIn 0.28s ease;
    }

    @keyframes galleryImageIn {
      from { opacity: 0; transform: scale(0.985); }
      to { opacity: 1; transform: scale(1); }
    }

    .gallery-lightbox-caption {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      padding: 28px 24px 22px;
      background: linear-gradient(180deg, transparent, rgba(3, 18, 12, 0.88) 45%, rgba(3, 18, 12, 0.96));
      color: #fff;
    }

    .gallery-lightbox-kicker {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(244, 176, 0, 0.95);
      color: #2d2200;
      font-weight: 800;
      font-size: 12px;
      border-radius: 999px;
      padding: 6px 12px;
      margin-bottom: 10px;
    }

    .gallery-lightbox-caption h3 {
      font-size: clamp(22px, 3vw, 32px);
      margin-bottom: 6px;
      color: #fff;
      letter-spacing: -0.5px;
    }

    .gallery-lightbox-caption p#galleryModalCaption {
      color: rgba(255, 255, 255, 0.82);
      max-width: 720px;
      line-height: 1.5;
      margin: 0;
    }

    .gallery-lightbox-arrow {
      position: absolute;
      top: 42%;
      z-index: 4;
      width: 54px;
      height: 54px;
      border: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.12);
      color: #fff;
      font-size: 34px;
      cursor: pointer;
      backdrop-filter: blur(8px);
      display: grid;
      place-items: center;
      transition: background 0.2s ease, transform 0.2s ease;
    }

    .gallery-lightbox-arrow:hover,
    .gallery-lightbox-arrow:focus-visible {
      background: var(--green);
      transform: scale(1.06);
      outline: none;
    }

    .gallery-lightbox-prev { left: 10px; }
    .gallery-lightbox-next { right: 10px; }

    .gallery-lightbox-thumbs {
      display: flex;
      gap: 10px;
      overflow-x: auto;
      padding: 4px 2px 8px;
      scrollbar-width: thin;
    }

    .gallery-lightbox-thumb {
      flex: 0 0 auto;
      width: 78px;
      height: 58px;
      border: 2px solid transparent;
      border-radius: 12px;
      overflow: hidden;
      padding: 0;
      cursor: pointer;
      background: rgba(255, 255, 255, 0.08);
      opacity: 0.65;
      transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    }

    .gallery-lightbox-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .gallery-lightbox-thumb:hover,
    .gallery-lightbox-thumb:focus-visible {
      opacity: 1;
      transform: translateY(-2px);
      outline: none;
    }

    .gallery-lightbox-thumb.active {
      opacity: 1;
      border-color: var(--yellow);
      box-shadow: 0 0 0 2px rgba(244, 176, 0, 0.25);
    }

    .menu a.is-active {
      color: var(--green);
      font-weight: 800;
    }

    .page-hero {
      padding: 54px 6% 10px;
      background:
        radial-gradient(circle at top left, rgba(244, 176, 0, 0.12), transparent 40%),
        linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
    }

    .page-section {
      padding: 28px 6% 60px;
    }

    .gallery-teaser {
      padding: 48px 6%;
      background:
        linear-gradient(135deg, rgba(15, 107, 63, 0.08), rgba(244, 176, 0, 0.1)),
        #fff;
      border-top: 1px solid rgba(15, 107, 63, 0.08);
      border-bottom: 1px solid rgba(15, 107, 63, 0.08);
    }

    .public-gallery-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 22px;
    }

    .public-galleries {
      display: grid;
      gap: 28px;
    }

    .public-galleries-list {
      display: grid;
      gap: 42px;
    }

    .public-gallery-block.is-hidden,
    .gallery-tabs-empty.is-hidden {
      display: none !important;
    }

    .gallery-tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin: 0 0 8px;
      padding: 12px;
      background: #fff;
      border: 1px solid rgba(15, 107, 63, 0.12);
      border-radius: 18px;
      box-shadow: 0 8px 24px rgba(10, 63, 39, 0.06);
    }

    .gallery-tab {
      border: 1px solid rgba(15, 107, 63, 0.18);
      background: var(--green-soft);
      color: var(--green-dark);
      border-radius: 999px;
      padding: 10px 16px;
      font: inherit;
      font-weight: 800;
      font-size: 0.92rem;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    }

    .gallery-tab span {
      display: inline-flex;
      min-width: 22px;
      justify-content: center;
      padding: 2px 7px;
      border-radius: 999px;
      background: #fff;
      color: var(--green-dark);
      font-size: 0.78rem;
    }

    .gallery-tab:hover {
      border-color: var(--green);
      transform: translateY(-1px);
    }

    .gallery-tab.is-active {
      background: var(--green);
      border-color: var(--green);
      color: #fff;
    }

    .gallery-tab.is-active span {
      background: rgba(255, 255, 255, 0.22);
      color: #fff;
    }

    .public-gallery-block {
      background: #fff;
      border: 1px solid rgba(15, 107, 63, 0.1);
      border-radius: calc(var(--radius) + 4px);
      padding: 22px;
      box-shadow: var(--shadow);
    }

    .public-gallery-head {
      margin-bottom: 18px;
    }

    .public-gallery-head h3 {
      color: var(--green-dark);
      font-size: 1.55rem;
      line-height: 1.25;
      margin-top: 6px;
    }

    .public-gallery-head p {
      color: var(--muted);
      margin-top: 8px;
      max-width: 70ch;
    }

    .public-mosaic {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
      width: 100%;
    }

    .public-mosaic-item {
      position: relative;
      border: 0;
      padding: 0;
      margin: 0;
      border-radius: 14px;
      overflow: hidden;
      cursor: pointer;
      background: var(--green-soft);
      aspect-ratio: 1;
      width: 100%;
      max-height: 170px;
    }

    .public-mosaic-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.35s ease, filter 0.35s ease;
    }

    .public-mosaic-item:hover img,
    .public-mosaic-item:focus-visible img {
      transform: scale(1.04);
      filter: brightness(1.04);
    }

    .public-mosaic-item:focus-visible {
      outline: 3px solid var(--yellow);
      outline-offset: 2px;
    }

    .public-mosaic-hint {
      position: absolute;
      left: 10px;
      bottom: 10px;
      background: rgba(8, 63, 39, 0.82);
      color: #fff;
      font-size: 12px;
      font-weight: 700;
      padding: 6px 10px;
      border-radius: 999px;
      backdrop-filter: blur(4px);
      z-index: 1;
    }

    .public-gallery-card {
      background: #fff;
      border: 1px solid rgba(15, 107, 63, 0.1);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      display: flex;
      flex-direction: column;
    }

    .public-gallery-cover {
      display: block;
      aspect-ratio: 16 / 10;
      overflow: hidden;
      background: var(--green-soft);
    }

    .public-gallery-cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.35s ease;
    }

    .public-gallery-card:hover .public-gallery-cover img {
      transform: scale(1.04);
    }

    .public-gallery-body {
      padding: 18px 18px 20px;
      display: grid;
      gap: 10px;
    }

    .public-gallery-body h3 {
      color: var(--green-dark);
      font-size: 1.15rem;
      line-height: 1.3;
    }

    .public-gallery-body p {
      color: var(--muted);
      font-size: 0.95rem;
    }

    .public-gallery-body .btn {
      justify-self: start;
      margin-top: 4px;
    }

    .public-detail-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .public-media-row {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 16px;
      margin-top: 16px;
      align-items: start;
      justify-items: start;
    }

    .public-media-card {
      background: linear-gradient(180deg, #ffffff 0%, #f7faf8 100%);
      border: 1px solid rgba(15, 107, 63, 0.12);
      border-radius: 18px;
      padding: 12px;
      display: grid;
      gap: 10px;
      align-content: start;
      box-shadow: 0 12px 28px rgba(10, 63, 39, 0.1);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
      width: 100%;
    }

    .public-media-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 16px 34px rgba(10, 63, 39, 0.14);
    }

    .public-media-youtube {
      max-width: 360px;
    }

    .public-media-tiktok {
      background: linear-gradient(180deg, #171717 0%, #0d1f16 100%);
      border-color: rgba(255, 255, 255, 0.08);
      color: #fff;
      max-width: 190px;
      justify-self: start;
      width: 100%;
    }

    .public-media-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .public-media-brand {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      padding: 5px 9px;
      border-radius: 999px;
    }

    .public-media-brand svg {
      width: 14px;
      height: 14px;
    }

    .public-media-brand-yt {
      background: #ffe8e8;
      color: #c40000;
    }

    .public-media-brand-tk {
      background: rgba(255, 255, 255, 0.1);
      color: #fff;
    }

    .public-media-foot {
      display: grid;
      gap: 4px;
    }

    .public-media-foot strong {
      font-size: 0.9rem;
      line-height: 1.3;
      color: var(--green-dark);
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .public-media-tiktok .public-media-foot strong {
      color: #fff;
    }

    .public-media-link {
      color: var(--green);
      font-weight: 700;
      font-size: 0.82rem;
      width: fit-content;
    }

    .public-media-tiktok .public-media-link {
      color: #f4b000;
    }

    .public-media-link:hover {
      text-decoration: underline;
    }

    .public-preview {
      position: relative;
      width: 100%;
      border-radius: 12px;
      overflow: hidden;
      background: #111;
    }

    .public-preview-youtube {
      aspect-ratio: 16 / 9;
      cursor: pointer;
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    }

    .public-preview-youtube .public-preview-thumb {
      transition: transform 0.45s ease;
    }

    .public-preview-youtube:hover .public-preview-thumb {
      transform: scale(1.04);
    }

    .public-preview-shade {
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.45) 100%);
      z-index: 1;
      pointer-events: none;
      transition: opacity 0.25s ease;
    }

    .public-preview.is-playing .public-preview-shade {
      opacity: 0;
    }

    .public-tiktok-stage {
      display: flex;
      justify-content: center;
      padding: 2px 0 0;
    }

    .public-tiktok-phone,
    .public-preview-tiktok,
    .public-media-tiktok {
      overflow: hidden;
    }

    .public-tiktok-phone {
      width: 138px;
      background: #050505;
      border-radius: 18px;
      padding: 6px 5px 8px;
      box-shadow:
        0 0 0 1.5px rgba(255, 255, 255, 0.1),
        0 10px 24px rgba(0, 0, 0, 0.45);
      position: relative;
    }

    .public-tiktok-notch {
      width: 38%;
      height: 5px;
      margin: 0 auto 5px;
      border-radius: 999px;
      background: #1a1a1a;
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    }

    .public-preview-tiktok {
      position: relative;
      width: 100%;
      height: 297px;
      max-height: 297px;
      aspect-ratio: auto;
      border-radius: 12px;
      margin: 0;
      overflow: hidden;
    }

    .public-preview-thumb {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border: 0;
      display: block;
      object-fit: cover;
    }

    .public-preview-youtube iframe {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border: 0;
      display: block;
    }

    .public-preview-tiktok iframe {
      position: absolute;
      top: 0;
      left: 50%;
      width: 325px;
      height: 740px;
      max-width: none;
      border: 0;
      display: block;
      overflow: hidden;
      transform: translateX(calc(-50% - 6px)) scale(0.425);
      transform-origin: top center;
      pointer-events: auto;
      -ms-overflow-style: none;
      scrollbar-width: none;
    }

    .public-preview-fallback {
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      color: #fff;
      font-weight: 800;
      font-size: 0.9rem;
      background: linear-gradient(160deg, #111, #0f6b3f);
    }

    .public-preview-play {
      position: absolute;
      inset: 0;
      margin: auto;
      width: 54px;
      height: 38px;
      border: 0;
      border-radius: 12px;
      background: #ff0033;
      color: #fff;
      cursor: pointer;
      display: grid;
      place-items: center;
      box-shadow: 0 10px 24px rgba(255, 0, 51, 0.4);
      transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
      z-index: 2;
    }

    .public-preview-play-icon {
      width: 0;
      height: 0;
      border-top: 7px solid transparent;
      border-bottom: 7px solid transparent;
      border-left: 12px solid #fff;
      margin-left: 2px;
    }

    .public-preview-youtube:hover .public-preview-play,
    .public-preview-play:focus-visible {
      transform: scale(1.06);
      background: #e6002e;
      box-shadow: 0 12px 28px rgba(255, 0, 51, 0.5);
      outline: none;
    }

    .public-preview.is-playing .public-preview-play,
    .public-preview.is-playing .public-preview-thumb,
    .public-preview.is-playing .public-preview-shade {
      display: none;
    }

    .public-media-empty {
      min-height: 160px;
      border-radius: 16px;
      background: var(--green-soft);
      color: var(--muted);
      display: grid;
      place-items: center;
      text-align: center;
      padding: 20px;
      font-weight: 600;
    }

    .public-media-empty-dark {
      background: rgba(255, 255, 255, 0.06);
      color: rgba(255, 255, 255, 0.82);
    }

    .public-media-empty small {
      display: block;
      margin-top: 6px;
      opacity: 0.8;
      font-weight: 500;
    }

    .public-embed {
      position: relative;
      width: 100%;
      padding-top: 56.25%;
      border-radius: 14px;
      overflow: hidden;
      background: #111;
    }

    .public-embed iframe {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border: 0;
    }

    .public-tiktok-box {
      min-height: 180px;
      border-radius: 14px;
      background: linear-gradient(160deg, #111 0%, #0f6b3f 120%);
      color: #fff;
      display: grid;
      place-content: center;
      gap: 10px;
      text-align: center;
      padding: 20px;
    }

    .bolsa-empty {
      background: #fff;
      border: 1px dashed rgba(15, 107, 63, 0.25);
      border-radius: var(--radius);
      padding: 36px 24px;
      text-align: center;
      color: var(--muted);
    }

    footer {
      background: var(--green-dark);
      color: var(--white);
      padding: 38px 6%;
      display: grid;
      grid-template-columns: 1.2fr 0.8fr 0.8fr;
      gap: 24px;
    }

    footer h4 {
      margin-bottom: 12px;
    }

    footer a, footer p {
      color: rgba(255, 255, 255, 0.82);
      display: block;
      margin-bottom: 8px;
    }

    .mobile-toggle {
      display: none;
      background: var(--green);
      color: var(--white);
      border: 0;
      border-radius: 12px;
      padding: 10px 12px;
      font-size: 22px;
    }

    .floating-whatsapp {
      position: fixed;
      right: 24px;
      bottom: 24px;
      width: 68px;
      height: 68px;
      border-radius: 50%;
      background: #25D366;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 34px;
      box-shadow: 0 18px 45px rgba(37, 211, 102, 0.35);
      z-index: 120;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      animation: whatsappPulse 2s infinite;
    }

    .floating-whatsapp:hover {
      transform: scale(1.08);
      box-shadow: 0 24px 55px rgba(37, 211, 102, 0.45);
    }

    @keyframes whatsappPulse {
      0% {
        transform: scale(1);
      }
      50% {
        transform: scale(1.05);
      }
      100% {
        transform: scale(1);
      }
    }

    @media (max-width: 980px) {
      .hero, .split, .contact, footer, .gallery-layout {
        grid-template-columns: 1fr;
      }

      .public-gallery-grid,
      .public-detail-grid,
      .public-media-row {
        grid-template-columns: 1fr 1fr;
      }

      .public-mosaic {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }

      .public-mosaic-item {
        max-height: 150px;
      }

      .gallery-sidebar {
        position: static;
      }

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

      .grid-3, .steps, .platform-grid {
        grid-template-columns: 1fr 1fr;
      }

      .menu {
        display: none;
        position: absolute;
        top: 78px;
        left: 6%;
        right: 6%;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        border-radius: 20px;
        box-shadow: var(--shadow);
      }

      .menu.active {
        display: flex;
      }

      .mobile-toggle {
        display: inline-block;
      }
    }

    @media (max-width: 640px) {
      .topbar {
        font-size: 12px;
      }

      .grid-3, .steps, .platform-grid, .stats, .gallery-grid,
      .public-gallery-grid, .public-detail-grid, .public-media-row {
        grid-template-columns: 1fr;
      }

      .public-tiktok-phone {
        width: 128px;
      }

      .public-preview-tiktok {
        height: 276px;
        max-height: 276px;
      }

      .public-preview-tiktok iframe {
        height: 740px;
        transform: translateX(calc(-50% - 5px)) scale(0.394);
      }

      .public-media-tiktok {
        max-width: 170px;
        justify-self: center;
      }

      .public-media-youtube {
        max-width: 100%;
      }

      .public-mosaic {
        grid-template-columns: 1fr 1fr;
      }

      .public-mosaic-item {
        max-height: 140px;
        aspect-ratio: 1;
        min-height: 0;
      }

      .public-gallery-block {
        padding: 16px;
      }

      .hero {
        padding-top: 52px;
      }

      .hero-visual, .photo-panel {
        min-height: 320px;
      }

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

      .gallery-lightbox {
        padding: 10px;
      }

      .gallery-lightbox-arrow {
        width: 44px;
        height: 44px;
        font-size: 28px;
        top: 38%;
      }

      .gallery-lightbox-stage {
        min-height: 48vh;
        border-radius: 20px;
      }

      .gallery-lightbox-stage img {
        max-height: 52vh;
      }

      .gallery-lightbox-caption {
        padding: 22px 16px 16px;
      }

      .gallery-lightbox-thumb {
        width: 64px;
        height: 48px;
      }

      .modal-box {
        padding: 24px;
      }

      .platform, .contact {
        padding: 30px;
      }
    }
