/* ============================================================
 * OLPA Theme — utilities.css
 * ------------------------------------------------------------
 * Utilidades propias que reemplazan la dependencia de Tailwind CDN.
 * Solo contiene las clases que los patterns y templates del theme
 * realmente usan (escaneo inicial: 460 clases, abril 2026).
 *
 * Editar a mano está bien (no es generado). Cuando agregás un
 * pattern que use una clase nueva, sumala acá manualmente o
 * correr /build-utilities para un análisis automático.
 *
 * Para clases de COMPONENTE (glass, btn-*, section-tag, etc.)
 * editar assets/css/olpa.css — no acá.
 *
 * Breakpoints: sm 640px · md 768px · lg 1024px · xl 1280px
 * ============================================================ */


/* ============================================================
 * 1. LAYOUT — display
 * ============================================================ */
.block          { display: block; }
.inline-block   { display: inline-block; }
.flex           { display: flex; }
.inline-flex    { display: inline-flex; }
.grid           { display: grid; }
.hidden         { display: none; }

.items-start    { align-items: flex-start; }
.items-center   { align-items: center; }
.items-end      { align-items: flex-end; }
.items-stretch  { align-items: stretch; }

.justify-start   { justify-content: flex-start; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end     { justify-content: flex-end; }

.self-start      { align-self: flex-start; }

.flex-row        { flex-direction: row; }
.flex-col        { flex-direction: column; }
.flex-wrap       { flex-wrap: wrap; }
.flex-nowrap     { flex-wrap: nowrap; }
.flex-1          { flex: 1 1 0%; }
.flex-auto       { flex: 1 1 auto; }
.flex-none       { flex: none; }
.flex-shrink-0   { flex-shrink: 0; }
.shrink-0        { flex-shrink: 0; }

.order-1         { order: 1; }
.order-2         { order: 2; }


/* ============================================================
 * 2. GRID
 * ============================================================ */
.grid-cols-1  { grid-template-columns: repeat(1,  minmax(0,1fr)); }
.grid-cols-2  { grid-template-columns: repeat(2,  minmax(0,1fr)); }
.grid-cols-3  { grid-template-columns: repeat(3,  minmax(0,1fr)); }
.grid-cols-4  { grid-template-columns: repeat(4,  minmax(0,1fr)); }
.grid-cols-5  { grid-template-columns: repeat(5,  minmax(0,1fr)); }
.grid-cols-6  { grid-template-columns: repeat(6,  minmax(0,1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0,1fr)); }

.col-span-2  { grid-column: span 2 / span 2; }
.col-span-3  { grid-column: span 3 / span 3; }
.col-span-4  { grid-column: span 4 / span 4; }
.col-span-5  { grid-column: span 5 / span 5; }
.col-span-7  { grid-column: span 7 / span 7; }
.col-span-8  { grid-column: span 8 / span 8; }


/* ============================================================
 * 3. GAP
 * ============================================================ */
.gap-0  { gap: 0; }
.gap-1  { gap: 0.25rem; }
.gap-2  { gap: 0.5rem;  }
.gap-3  { gap: 0.75rem; }
.gap-4  { gap: 1rem;    }
.gap-5  { gap: 1.25rem; }
.gap-6  { gap: 1.5rem;  }
.gap-8  { gap: 2rem;    }
.gap-10 { gap: 2.5rem;  }
.gap-12 { gap: 3rem;    }
.gap-16 { gap: 4rem;    }

.gap-x-5  { column-gap: 1.25rem; }
.gap-x-10 { column-gap: 2.5rem;  }
.gap-y-2  { row-gap: 0.5rem;  }
.gap-y-6  { row-gap: 1.5rem;  }

.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }


/* ============================================================
 * 4. SPACING — padding
 * ============================================================ */
.p-0  { padding: 0; }
.p-3  { padding: 0.75rem; }
.p-4  { padding: 1rem;    }
.p-5  { padding: 1.25rem; }
.p-6  { padding: 1.5rem;  }
.p-7  { padding: 1.75rem; }
.p-8  { padding: 2rem;    }

.px-0 { padding-left: 0; padding-right: 0; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem;    padding-right: 1rem;    }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }

.py-0  { padding-top: 0; padding-bottom: 0; }
.py-1  { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2  { padding-top: 0.5rem;  padding-bottom: 0.5rem;  }
.py-5  { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-12 { padding-top: 3rem;    padding-bottom: 3rem;    }
.py-14 { padding-top: 3.5rem;  padding-bottom: 3.5rem;  }
.py-16 { padding-top: 4rem;    padding-bottom: 4rem;    }
.py-20 { padding-top: 5rem;    padding-bottom: 5rem;    }

.pt-6  { padding-top: 1.5rem; }
.pt-20 { padding-top: 5rem;   }
.pt-28 { padding-top: 7rem;   }
.pt-36 { padding-top: 9rem;   }

.pb-4  { padding-bottom: 1rem;  }
.pb-12 { padding-bottom: 3rem;  }
.pb-16 { padding-bottom: 4rem;  }
.pb-20 { padding-bottom: 5rem;  }


/* ============================================================
 * 5. SPACING — margin
 * ============================================================ */
.m-0     { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }

.mt-auto { margin-top: auto; }
.mt-1    { margin-top: 0.25rem; }
.mt-2    { margin-top: 0.5rem;  }
.mt-3    { margin-top: 0.75rem; }
.mt-4    { margin-top: 1rem;    }
.mt-5    { margin-top: 1.25rem; }
.mt-6    { margin-top: 1.5rem;  }
.mt-8    { margin-top: 2rem;    }
.mt-10   { margin-top: 2.5rem;  }
.mt-12   { margin-top: 3rem;    }
.mt-14   { margin-top: 3.5rem;  }
.mt-20   { margin-top: 5rem;    }

.mb-1  { margin-bottom: 0.25rem; }
.mb-2  { margin-bottom: 0.5rem;  }
.mb-3  { margin-bottom: 0.75rem; }
.mb-4  { margin-bottom: 1rem;    }
.mb-5  { margin-bottom: 1.25rem; }
.mb-6  { margin-bottom: 1.5rem;  }
.mb-8  { margin-bottom: 2rem;    }
.mb-10 { margin-bottom: 2.5rem;  }
.mb-12 { margin-bottom: 3rem;    }
.mb-14 { margin-bottom: 3.5rem;  }

/* Negatives / transforms */
.-top-4   { top:   -1rem; }
.-top-20  { top:   -5rem; }
.-left-4  { left:  -1rem; }
.-right-20{ right: -5rem; }

.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }


/* ============================================================
 * 6. TYPOGRAPHY
 * ============================================================ */
.text-xs   { font-size: 0.75rem;  line-height: 1rem;    }
.text-sm   { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem;     line-height: 1.5rem;  }
.text-lg   { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl   { font-size: 1.25rem;  line-height: 1.75rem; }
.text-2xl  { font-size: 1.5rem;   line-height: 2rem;    }
.text-3xl  { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl  { font-size: 2.25rem;  line-height: 2.5rem;  }
.text-5xl  { font-size: 3rem;     line-height: 1; }

.font-light    { font-weight: 300; }
.font-normal   { font-weight: 400; }
.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }

.uppercase  { text-transform: uppercase; }
.lowercase  { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }

.tracking-tight   { letter-spacing: -0.025em; }
.tracking-normal  { letter-spacing: 0; }
.tracking-wide    { letter-spacing: 0.025em; }
.tracking-wider   { letter-spacing: 0.05em;  }
.tracking-widest  { letter-spacing: 0.1em;   }

.leading-none    { line-height: 1; }
.leading-tight   { line-height: 1.25; }
.leading-snug    { line-height: 1.375; }
.leading-normal  { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }
.leading-loose   { line-height: 2; }

.text-left   { text-align: left; }
.text-center { text-align: center; }
.text-right  { text-align: right; }

.whitespace-nowrap { white-space: nowrap; }
.whitespace-pre    { white-space: pre; }

.line-through { text-decoration-line: line-through; }
.underline    { text-decoration-line: underline; }


/* ============================================================
 * 7. POSITION
 * ============================================================ */
.static   { position: static; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed    { position: fixed; }
.sticky   { position: sticky; }

.top-0    { top: 0; }
.top-1\/2 { top: 50%; }
.right-0  { right: 0; }
.bottom-6 { bottom: 1.5rem; }
.left-0   { left: 0; }
.left-1\/2{ left: 50%; }
.left-4   { left: 1rem; }
.inset-0  { top: 0; right: 0; bottom: 0; left: 0; }

.z-0   { z-index: 0; }
.z-10  { z-index: 10; }
.z-20  { z-index: 20; }
.z-30  { z-index: 30; }
.z-40  { z-index: 40; }
.z-50  { z-index: 50; }
.z-auto { z-index: auto; }


/* ============================================================
 * 8. SIZING — width/height
 * ============================================================ */
.w-1    { width: 0.25rem; }
.w-10   { width: 2.5rem;  }
.w-28   { width: 7rem;    }
.w-32   { width: 8rem;    }
.w-36   { width: 9rem;    }
.w-72   { width: 18rem;   }
.w-80   { width: 20rem;   }
.w-1\/2 { width: 50%; }
.w-1\/3 { width: 33.333333%; }
.w-2\/3 { width: 66.666667%; }
.w-full { width: 100%; }
.w-auto { width: auto; }

.h-1    { height: 0.25rem; }
.h-2    { height: 0.5rem;  }
.h-7    { height: 1.75rem; }
.h-10   { height: 2.5rem;  }
.h-72   { height: 18rem;   }
.h-80   { height: 20rem;   }
.h-full { height: 100%;  }
.h-auto { height: auto;  }

.min-h-0      { min-height: 0; }
.min-h-full   { min-height: 100%; }
.min-h-screen { min-height: 100vh; }

.max-w-full { max-width: 100%; }
.max-w-xs   { max-width: 20rem; }
.max-w-md   { max-width: 28rem; }
.max-w-lg   { max-width: 32rem; }
.max-w-xl   { max-width: 36rem; }
.max-w-2xl  { max-width: 42rem; }
.max-w-3xl  { max-width: 48rem; }
.max-w-4xl  { max-width: 56rem; }
.max-w-5xl  { max-width: 64rem; }
.max-w-6xl  { max-width: 72rem; }
.max-w-7xl  { max-width: 80rem; }


/* ============================================================
 * 9. OVERFLOW · RADIUS · BORDER
 * ============================================================ */
.overflow-hidden { overflow: hidden; }
.overflow-auto   { overflow: auto; }
.overflow-scroll { overflow: scroll; }

.rounded-sm   { border-radius: 0.125rem; }
.rounded      { border-radius: 0.25rem;  }
.rounded-md   { border-radius: 0.375rem; }
.rounded-lg   { border-radius: 0.5rem;   }
.rounded-xl   { border-radius: 0.75rem;  }
.rounded-2xl  { border-radius: 1rem;     }
.rounded-full { border-radius: 9999px;   }

.border     { border-width: 1px; border-style: solid; }
.border-0   { border-width: 0; }
.border-t   { border-top-width: 1px; border-top-style: solid; }
.border-b   { border-bottom-width: 1px; border-bottom-style: solid; }
.border-y   { border-top-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-bottom-style: solid; }


/* ============================================================
 * 10. OPACITY
 * ============================================================ */
.opacity-0   { opacity: 0; }
.opacity-15  { opacity: 0.15; }
.opacity-20  { opacity: 0.2; }
.opacity-25  { opacity: 0.25; }
.opacity-30  { opacity: 0.3; }
.opacity-35  { opacity: 0.35; }
.opacity-50  { opacity: 0.5; }
.opacity-75  { opacity: 0.75; }
.opacity-100 { opacity: 1; }


/* ============================================================
 * 11. MISC
 * ============================================================ */
.cursor-pointer      { cursor: pointer; }
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }

.transition      { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.transition-all  { transition-property: all; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.duration-1000   { transition-duration: 1000ms; }

@keyframes _olpa_bounce {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
  50%      { transform: translateY(0);   animation-timing-function: cubic-bezier(0,0,0.2,1); }
}
.animate-bounce { animation: _olpa_bounce 1s infinite; }


/* ============================================================
 * 12. ARBITRARY VALUES
 * Clases [value] que los patterns usan puntualmente.
 * Siempre que puedas, preferí variables CSS del sistema.
 * ============================================================ */

/* Color con CSS vars del sistema */
.text-\[var\(--muted\)\]     { color: var(--muted); }
.text-\[var\(--text\)\]      { color: var(--text); }
.bg-\[var\(--bg-2\)\]        { background-color: var(--bg-2); }
.bg-\[var\(--surface\)\]     { background-color: var(--surface); }
.bg-\[var\(--muted\)\]       { background-color: var(--muted); }
.border-\[var\(--border\)\]  { border-color: var(--border); }
.border-\[var\(--olpa\)\]    { border-color: var(--olpa); }
.border-\[var\(--accent\)\]  { border-color: var(--accent); }
.accent-\[var\(--olpa\)\]    { accent-color: var(--olpa); }

/* rgba específicos */
.bg-\[rgba\(255\,214\,10\,0\.08\)\]      { background-color: rgba(255,214,10,0.08); }
.border-\[rgba\(255\,214\,10\,0\.3\)\]   { border-color: rgba(255,214,10,0.3); }

/* Sizing en px */
.w-\[240px\] { width: 240px; }
.w-\[260px\] { width: 260px; }
.w-\[500px\] { width: 500px; }
.w-\[600px\] { width: 600px; }
.h-\[500px\] { height: 500px; }
.h-\[600px\] { height: 600px; }

/* min-h en vh */
.min-h-\[50vh\] { min-height: 50vh; }
.min-h-\[60vh\] { min-height: 60vh; }
.min-h-\[80vh\] { min-height: 80vh; }
.min-h-\[85vh\] { min-height: 85vh; }

/* Typography arbitrary */
.text-\[10px\]    { font-size: 10px; }
.text-\[11px\]    { font-size: 11px; }
.text-\[2\.25rem\]{ font-size: 2.25rem; }
.text-\[2\.5rem\] { font-size: 2.5rem; }

.leading-\[0\.95\] { line-height: 0.95; }
.leading-\[1\.05\] { line-height: 1.05; }
.leading-\[1\.1\]  { line-height: 1.1; }

/* Blur filters */
.blur-\[100px\] { filter: blur(100px); }
.blur-\[150px\] { filter: blur(150px); }
.blur-\[180px\] { filter: blur(180px); }


/* ============================================================
 * 13. RESPONSIVE — sm (≥640px)
 * ============================================================ */
@media (min-width: 640px) {
  .sm\:inline         { display: inline; }
  .sm\:flex           { display: flex; }
  .sm\:grid           { display: grid; }
  .sm\:block          { display: block; }
  .sm\:hidden         { display: none; }

  .sm\:flex-row       { flex-direction: row; }
  .sm\:items-center   { align-items: center; }

  .sm\:grid-cols-2    { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sm\:grid-cols-4    { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .sm\:grid-cols-5    { grid-template-columns: repeat(5, minmax(0,1fr)); }

  .sm\:gap-4  { gap: 1rem; }
  .sm\:gap-5  { gap: 1.25rem; }
  .sm\:gap-6  { gap: 1.5rem; }
  .sm\:gap-8  { gap: 2rem; }
  .sm\:gap-12 { gap: 3rem; }

  .sm\:p-5   { padding: 1.25rem; }
  .sm\:p-7   { padding: 1.75rem; }
  .sm\:p-8   { padding: 2rem; }
  .sm\:p-10  { padding: 2.5rem; }
  .sm\:p-12  { padding: 3rem; }

  .sm\:px-6  { padding-left: 1.5rem; padding-right: 1.5rem; }

  .sm\:py-16 { padding-top: 4rem;   padding-bottom: 4rem; }
  .sm\:py-20 { padding-top: 5rem;   padding-bottom: 5rem; }
  .sm\:py-28 { padding-top: 7rem;   padding-bottom: 7rem; }

  .sm\:pt-28 { padding-top: 7rem; }
  .sm\:pb-28 { padding-bottom: 7rem; }

  .sm\:mb-20 { margin-bottom: 5rem; }
  .sm\:mt-24 { margin-top: 6rem; }

  .sm\:text-xs   { font-size: 0.75rem;  line-height: 1rem; }
  .sm\:text-base { font-size: 1rem;     line-height: 1.5rem; }
  .sm\:text-lg   { font-size: 1.125rem; line-height: 1.75rem; }
  .sm\:text-xl   { font-size: 1.25rem;  line-height: 1.75rem; }
  .sm\:text-2xl  { font-size: 1.5rem;   line-height: 2rem; }
  .sm\:text-3xl  { font-size: 1.875rem; line-height: 2.25rem; }
  .sm\:text-4xl  { font-size: 2.25rem;  line-height: 2.5rem; }
  .sm\:text-5xl  { font-size: 3rem;     line-height: 1; }

  .sm\:-left-8 { left: -2rem; }

  .sm\:h-8  { height: 2rem;   }
  .sm\:h-9  { height: 2.25rem; }
  .sm\:h-96 { height: 24rem;  }
  .sm\:w-36 { width: 9rem;    }
  .sm\:w-40 { width: 10rem;   }
  .sm\:w-96 { width: 24rem;   }
  .sm\:max-w-md { max-width: 28rem; }

  /* arbitrary values responsive */
  .sm\:h-\[700px\] { height: 700px; }
  .sm\:h-\[800px\] { height: 800px; }
  .sm\:h-\[900px\] { height: 900px; }
  .sm\:w-\[300px\] { width: 300px; }
  .sm\:w-\[320px\] { width: 320px; }
  .sm\:w-\[700px\] { width: 700px; }
  .sm\:w-\[800px\] { width: 800px; }
  .sm\:w-\[900px\] { width: 900px; }
}


/* ============================================================
 * 14. RESPONSIVE — md (≥768px)
 * ============================================================ */
@media (min-width: 768px) {
  .md\:block       { display: block; }
  .md\:flex        { display: flex; }
  .md\:grid        { display: grid; }
  .md\:hidden      { display: none; }

  .md\:flex-row    { flex-direction: row; }

  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .md\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0,1fr)); }

  .md\:col-span-2  { grid-column: span 2 / span 2; }

  .md\:p-10  { padding: 2.5rem; }
  .md\:p-12  { padding: 3rem;   }
  .md\:px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
  .md\:px-12 { padding-left: 3rem;   padding-right: 3rem;   }
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .md\:pt-32 { padding-top: 8rem; }
  .md\:pt-40 { padding-top: 10rem; }
  .md\:pb-32 { padding-bottom: 8rem; }

  .md\:mb-10 { margin-bottom: 2.5rem; }
  .md\:mt-14 { margin-top: 3.5rem; }

  .md\:text-xl  { font-size: 1.25rem;  line-height: 1.75rem; }
  .md\:text-4xl { font-size: 2.25rem;  line-height: 2.5rem; }
  .md\:text-5xl { font-size: 3rem;     line-height: 1; }
  .md\:text-6xl { font-size: 3.75rem;  line-height: 1; }
  .md\:text-left { text-align: left; }
}


/* ============================================================
 * 15. RESPONSIVE — lg (≥1024px)
 * ============================================================ */
@media (min-width: 1024px) {
  .lg\:block    { display: block; }
  .lg\:flex     { display: flex; }
  .lg\:grid     { display: grid; }
  .lg\:hidden   { display: none; }
  .lg\:sticky   { position: sticky; }

  .lg\:grid-cols-2  { grid-template-columns: repeat(2,  minmax(0,1fr)); }
  .lg\:grid-cols-3  { grid-template-columns: repeat(3,  minmax(0,1fr)); }
  .lg\:grid-cols-4  { grid-template-columns: repeat(4,  minmax(0,1fr)); }
  .lg\:grid-cols-5  { grid-template-columns: repeat(5,  minmax(0,1fr)); }
  .lg\:grid-cols-8  { grid-template-columns: repeat(8,  minmax(0,1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0,1fr)); }

  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }

  .lg\:gap-10 { gap: 2.5rem; }
  .lg\:gap-12 { gap: 3rem;   }
  .lg\:gap-16 { gap: 4rem;   }

  .lg\:order-1 { order: 1; }
  .lg\:order-2 { order: 2; }

  .lg\:top-32 { top: 8rem; }

  .lg\:text-7xl { font-size: 4.5rem; line-height: 1; }

  /* arbitrary responsive */
  .lg\:w-\[360px\] { width: 360px; }
  .lg\:w-\[380px\] { width: 380px; }
}


/* ============================================================
 * 16. HOVER STATES
 * ============================================================ */
.hover\:underline:hover                          { text-decoration-line: underline; }
.hover\:bg-\[rgba\(255\,214\,10\,0\.05\)\]:hover { background-color: rgba(255,214,10,0.05); }
