/*
  CSS estático equivalente al Tailwind CDN que usaba esta landing.
  Generado a mano (este entorno no tiene Node/npm) a partir de las clases
  realmente usadas en index.html, gracias.html, privacidad.html, terminos.html
  e index-mantenimiento-industrial.html.

  Si en el futuro corrés `npm install && npm run build:css` (ver package.json
  y tailwind.config.js), ese comando regenera este archivo con el compilador
  real de Tailwind — podés pisar este archivo sin problema.
*/

/* ---------- Reset básico (equivalente a Tailwind Preflight) ---------- */
*, ::before, ::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: currentColor;
}
html { line-height: 1.5; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body { min-height: 100vh; }
h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
table { border-collapse: collapse; border-spacing: 0; }

/* ---------- Base ---------- */
html { background-color: #FFFFFF; }
body { font-family: 'IBM Plex Sans', sans-serif; }

/* ---------- Utilidades: layout / posición ---------- */
.absolute { position: absolute; }
.relative { position: relative; }
.fixed { position: fixed; }
.block { display: block; }
.hidden { display: none; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }

.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.inset-x-0 { left: 0; right: 0; }
.top-0 { top: 0; }
.z-50 { z-index: 50; }

.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-baseline { align-items: baseline; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* ---------- Tamaños ---------- */
.h-1\.5 { height: .375rem; }
.h-3\.5 { height: .875rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-7 { height: 1.75rem; }
.h-10 { height: 2.5rem; }
.h-11 { height: 2.75rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.w-1\.5 { width: .375rem; }
.w-3\.5 { width: .875rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-7 { width: 1.75rem; }
.w-10 { width: 2.5rem; }
.w-11 { width: 2.75rem; }
.w-14 { width: 3.5rem; }
.w-full { width: 100%; }

.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-xl { max-width: 36rem; }

/* ---------- Espaciado ---------- */
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-1\.5 { margin-bottom: .375rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-0\.5 { margin-top: .125rem; }
.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-9 { margin-top: 2.25rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }

.p-2 { padding: .5rem; }
.p-3 { padding: .75rem; }
.p-6 { padding: 1.5rem; }
.px-3 { padding-left: .75rem; padding-right: .75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-1 { padding-top: .25rem; padding-bottom: .25rem; }
.py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.py-3 { padding-top: .75rem; padding-bottom: .75rem; }
.py-3\.5 { padding-top: .875rem; padding-bottom: .875rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pb-20 { padding-bottom: 5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-16 { padding-top: 4rem; }

.gap-1\.5 { gap: .375rem; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-6 { gap: 1.5rem; }
.gap-x-6 { column-gap: 1.5rem; }
.gap-y-2 { row-gap: .5rem; }
.gap-12 { gap: 3rem; }

.space-y-0 > * + * { margin-top: 0; }
.space-y-2 > * + * { margin-top: .5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-10 > * + * { margin-top: 2.5rem; }

/* ---------- Bordes ---------- */
.border { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-line { border-color: #D7DFEC; }
.border-line\/60 { border-color: rgba(215, 223, 236, .6); }
.border-brand\/40 { border-color: rgba(222, 123, 31, .4); }
.border-brand\/30 { border-color: rgba(222, 123, 31, .3); }

.rounded { border-radius: .25rem; }
.rounded-md { border-radius: .375rem; }
.rounded-lg { border-radius: .5rem; }
.rounded-full { border-radius: 9999px; }

/* ---------- Fondos ---------- */
.bg-base { background-color: #FFFFFF; }
.bg-base\/85 { background-color: rgba(255, 255, 255, .85); }
.bg-brand { background-color: #DE7B1F; }
.bg-panel { background-color: #F4F7FC; }
.bg-panel\/40 { background-color: rgba(244, 247, 252, .4); }
.bg-panel2 { background-color: #E9EEF7; }

.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* ---------- Texto ---------- */
.text-base { color: #FFFFFF; } /* token de color "base", no tamaño de fuente */
.text-brand { color: #DE7B1F; }
.text-ink { color: #1E2E4A; }
.text-muted { color: #5C6C8C; }

.text-xs { font-size: .75rem; line-height: 1rem; }
.text-sm { font-size: .875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

.font-display { font-family: Archivo, sans-serif; }
.font-mono { font-family: 'IBM Plex Mono', monospace; }

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

.leading-relaxed { line-height: 1.625; }
.leading-tight { line-height: 1.25; }
.leading-\[1\.05\] { line-height: 1.05; }

.tracking-tight { letter-spacing: -.025em; }
.tracking-widest { letter-spacing: .1em; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.uppercase { text-transform: uppercase; }
.line-through { text-decoration-line: line-through; }
.underline { text-decoration-line: underline; }
.underline-offset-2 { text-underline-offset: 2px; }
.decoration-muted\/50 { text-decoration-color: rgba(92, 108, 140, .5); }

.placeholder-muted\/60::placeholder { color: rgba(92, 108, 140, .6); }

/* ---------- Formularios / interacción ---------- */
.appearance-none { appearance: none; -webkit-appearance: none; }
.cursor-pointer { cursor: pointer; }
.accent-\[\#DE7B1F\] { accent-color: #DE7B1F; }
.scroll-smooth { scroll-behavior: smooth; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  transition-duration: .15s;
}

/* ---------- Estados: hover / focus ---------- */
.hover\:bg-brandsoft:hover { background-color: #C86C15; }
.hover\:border-brand\/60:hover { border-color: rgba(222, 123, 31, .6); }
.hover\:text-brand:hover { color: #DE7B1F; }
.hover\:text-brandsoft:hover { color: #C86C15; }
.focus\:border-brand:focus { border-color: #DE7B1F; }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid #DE7B1F;
  outline-offset: 2px;
}

/* ---------- Componentes propios ---------- */
.grid-bg {
  background-image:
    linear-gradient(rgba(44, 62, 93, .10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 62, 93, .10) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 40%, transparent 100%);
}
.rise { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; transition: none; }
}
.agenda-embed {
  display: block;
  width: 100%;
  height: 1300px;
  border: 0;
  border-radius: .375rem;
}
.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background-color: #25D366;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(30, 46, 74, .3);
  transition: transform .15s ease, box-shadow .15s ease;
}
.wa-float:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 28px rgba(30, 46, 74, .35);
}
.wa-float svg { width: 1.9rem; height: 1.9rem; }

/* ---------- Banner de cookies (consentimiento granular, RGPD) ---------- */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 70;
  max-width: 42rem;
  margin: 0 auto;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 1.25rem;
  background-color: #FFFFFF;
  border: 1px solid #D7DFEC;
  border-radius: .5rem;
  box-shadow: 0 12px 32px rgba(30, 46, 74, .18);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease;
}
.cookie-banner.is-visible { opacity: 1; transform: none; }

.cookie-principal {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cookie-banner__texto p { font-size: .8125rem; line-height: 1.6; color: #5C6C8C; }
.cookie-banner__texto strong { color: #1E2E4A; font-weight: 600; }
.cookie-banner__texto a {
  display: inline-block;
  margin-top: .5rem;
  font-size: .75rem;
  color: #DE7B1F;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__texto a:hover { color: #C86C15; }

.cookie-banner__acciones {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.cookie-btn {
  padding: .625rem 1.25rem;
  border-radius: .375rem;
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, opacity .15s ease;
}
/* "Rechazar" y "Aceptar" con el mismo peso visual: ninguno de los dos se ve
   deshabilitado ni secundario, como exige el RGPD (rechazar debe ser igual
   de fácil que aceptar, no un enlace escondido). */
.cookie-btn--neutro { background-color: #1E2E4A; color: #FFFFFF; }
.cookie-btn--neutro:hover { background-color: #2C3E5D; }
.cookie-btn--si { background-color: #DE7B1F; color: #FFFFFF; }
.cookie-btn--si:hover { background-color: #C86C15; }
.cookie-btn--texto {
  background: none;
  border-color: #D7DFEC;
  color: #5C6C8C;
}
.cookie-btn--texto:hover { border-color: rgba(222, 123, 31, .6); color: #DE7B1F; }

/* ---------- Panel de preferencias (oculto hasta "Configurar") ---------- */
.cookie-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .3s ease, opacity .2s ease, margin-top .3s ease;
}
.cookie-banner.mostrar-panel .cookie-panel {
  max-height: 40rem;
  opacity: 1;
  margin-top: 1rem;
}
.cookie-opcion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .875rem 0;
  border-top: 1px solid #D7DFEC;
}
.cookie-opcion:first-child { border-top: none; }
.cookie-opcion__titulo { font-size: .8125rem; font-weight: 600; color: #1E2E4A; }
.cookie-opcion__desc { margin-top: .125rem; font-size: .75rem; line-height: 1.5; color: #5C6C8C; }
.cookie-siempre {
  flex-shrink: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .6875rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #5C6C8C;
}

/* Switch accesible: checkbox real (oculto visualmente, no de la lectura de
   pantalla) + track/thumb dibujados con :checked. */
.cookie-switch { position: relative; flex-shrink: 0; display: inline-flex; align-items: center; }
.cookie-switch input {
  position: absolute;
  width: 2.75rem;
  height: 1.5rem;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.cookie-switch span:first-of-type {
  display: inline-block;
  width: 2.75rem;
  height: 1.5rem;
  border-radius: 9999px;
  background-color: #D7DFEC;
  transition: background-color .15s ease;
}
.cookie-switch span:first-of-type::before {
  content: '';
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  margin: .1875rem;
  border-radius: 9999px;
  background-color: #FFFFFF;
  transition: transform .15s ease;
}
.cookie-switch input:checked + span:first-of-type { background-color: #DE7B1F; }
.cookie-switch input:checked + span:first-of-type::before { transform: translateX(1.25rem); }
.cookie-switch input:focus-visible + span:first-of-type { outline: 2px solid #DE7B1F; outline-offset: 2px; }
/* Texto para lectores de pantalla: el título ya visible arriba haría
   redundante mostrarlo de nuevo junto al switch. */
.cookie-switch__label {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.cookie-panel__acciones {
  display: flex;
  justify-content: flex-end;
  padding-top: .875rem;
  border-top: 1px solid #D7DFEC;
}

/* Mientras el banner está visible, el botón de WhatsApp se corre para arriba */
body.con-cookie-banner .wa-float { bottom: calc(var(--alto-banner, 14rem) + 2rem); }

@media (min-width: 640px) {
  .cookie-principal { flex-direction: row; align-items: center; justify-content: space-between; gap: 1.5rem; }
  .cookie-banner__acciones { flex-direction: row; flex-shrink: 0; }
  body.con-cookie-banner .wa-float { bottom: calc(var(--alto-banner, 8rem) + 2rem); }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner, .cookie-panel, .cookie-switch span:first-of-type, .cookie-switch span:first-of-type::before {
    transition: none;
  }
}
.faq-item { overflow: hidden; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: Archivo, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1E2E4A;
  cursor: pointer;
}
.faq-q::after {
  content: '+';
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.4rem;
  line-height: 1;
  color: #DE7B1F;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-a p {
  padding: 0 1.5rem 1.25rem;
  font-size: .875rem;
  line-height: 1.625;
  color: #5C6C8C;
}
@media (prefers-reduced-motion: reduce) {
  .faq-q::after, .faq-a { transition: none; }
}

/* ---------- Responsive: sm (>=640px) ---------- */
@media (min-width: 640px) {
  .agenda-embed { height: 700px; }
  .sm\:block { display: block; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:hidden { display: none; }
  .sm\:inline { display: inline; }
  .sm\:inline-flex { display: inline-flex; }
  .sm\:items-center { align-items: center; }
  .sm\:items-end { align-items: flex-end; }
  .sm\:items-start { align-items: flex-start; }
  .sm\:justify-between { justify-content: space-between; }
  .sm\:justify-start { justify-content: flex-start; }
  .sm\:p-4 { padding: 1rem; }
  .sm\:p-8 { padding: 2rem; }
  .sm\:pb-28 { padding-bottom: 7rem; }
  .sm\:pt-24 { padding-top: 6rem; }
  .sm\:px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
  .sm\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .sm\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
  .sm\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1; }
  .sm\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .sm\:text-left { text-align: left; }
  .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .sm\:text-right { text-align: right; }
}

/* ---------- Responsive: md (>=768px) ---------- */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Responsive: lg (>=1024px) ---------- */
@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:gap-16 { gap: 4rem; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
