/* ==========================================================================
   styles.css
   Hoja de estilos estática para lionelachachiweb.com
   Sustituye a <script src="https://cdn.tailwindcss.com">.
   Generada a mano a partir de las clases realmente usadas en:
   index.html, aviso-legal.html, politica-privacidad.html, politica-cookies.html
   Misma paleta y tipografía que la config de Tailwind original (theme.extend).
   ========================================================================== */

/* ---- 1. Variables de color (idénticas a tailwind.config theme.extend.colors) ---- */
:root {
  --color-surface-container-high: #e7e8e9;
  --color-inverse-on-surface: #f0f1f2;
  --color-surface-tint: #2559bd;
  --color-primary: #00327d;
  --color-surface-bright: #f8f9fa;
  --color-tertiary-fixed-dim: #c6c6c6;
  --color-tertiary: #363636;
  --color-secondary: #3d5ca2;
  --color-on-primary-container: #a5bdff;
  --color-surface-container-low: #f3f4f5;
  --color-inverse-surface: #2e3132;
  --color-on-primary-fixed: #001946;
  --color-on-secondary-fixed: #001946;
  --color-surface-container-highest: #e1e3e4;
  --color-secondary-fixed: #dae2ff;
  --color-on-tertiary-fixed-variant: #474747;
  --color-on-error: #ffffff;
  --color-outline-variant: #c3c6d5;
  --color-surface-container-lowest: #ffffff;
  --color-surface-dim: #d9dadb;
  --color-secondary-fixed-dim: #b1c5ff;
  --color-on-surface-variant: #434653;
  --color-on-primary-fixed-variant: #00419e;
  --color-surface: #f8f9fa;
  --color-on-tertiary: #ffffff;
  --color-outline: #737784;
  --color-error: #ba1a1a;
  --color-background: #f8f9fa;
  --color-inverse-primary: #b1c5ff;
  --color-on-secondary: #ffffff;
  --color-tertiary-fixed: #e2e2e2;
  --color-surface-container: #edeeef;
  --color-on-primary: #ffffff;
  --color-secondary-container: #94b2fe;
  --color-surface-variant: #e1e3e4;
  --color-primary-fixed: #dae2ff;
  --color-on-secondary-container: #204287;
  --color-primary-container: #0047ab;
  --color-on-surface: #191c1d;
  --color-tertiary-container: #4d4d4d;
  --color-error-container: #ffdad6;
  --color-primary-fixed-dim: #b1c5ff;
  --color-on-background: #191c1d;
  --color-on-tertiary-fixed: #1b1b1b;
  --color-on-tertiary-container: #bebebe;
  --color-on-error-container: #93000a;
  --color-on-secondary-fixed-variant: #224489;

  --radius-DEFAULT: 0.25rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-full: 9999px;

  --space-gutter: 24px;
  --space-container-max: 1200px;
  --space-section-gap-mobile: 64px;
  --space-section-gap-desktop: 128px;
  --space-base: 8px;
  --space-margin-mobile: 16px;
}

/* ---- 2. Reset base (equivalente reducido al "preflight" de Tailwind) ---- */
*, *::before, *::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: var(--color-outline-variant); }
html { -webkit-text-size-adjust: 100%; tab-size: 4; }
html, body { margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
button, input, select, textarea { font-family: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; color: inherit; margin: 0; padding: 0; }
button { background: transparent; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
body { font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html { scroll-behavior: smooth; }
::selection { background-color: var(--color-primary-container); color: var(--color-on-primary-container); }

/* ---- 3. Tipografía: fontFamily + fontSize personalizados (theme.extend) ---- */
.font-headline-lg, .font-headline-sm, .font-headline-xl-mobile, .font-headline-md,
.font-body-lg, .font-label-md, .font-headline-xl, .font-body-md { font-family: 'Inter', sans-serif; }

.text-headline-lg      { font-size: 48px; line-height: 1.2; letter-spacing: -0.01em; font-weight: 700; }
.text-headline-sm      { font-size: 24px; line-height: 1.4; font-weight: 600; }
.text-headline-xl-mobile { font-size: 40px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
.text-headline-md      { font-size: 32px; line-height: 1.3; font-weight: 700; }
.text-body-lg          { font-size: 18px; line-height: 1.7; font-weight: 400; }
.text-label-md         { font-size: 14px; line-height: 1; letter-spacing: 0.05em; font-weight: 600; }
.text-headline-xl      { font-size: 60px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }
.text-body-md           { font-size: 16px; line-height: 1.6; font-weight: 400; }
/* "headline-lg-mobile" no existe en el theme original (clase sin efecto en el CDN);
   se define aquí un tamaño intermedio razonable para el <h1> de las páginas legales en móvil. */
.text-headline-lg-mobile { font-size: 32px; line-height: 1.3; font-weight: 700; }

.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-lg  { font-size: 1.125rem; line-height: 1.75rem; }
.text-sm  { font-size: 0.875rem; line-height: 1.25rem; }

.font-bold      { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-medium    { font-weight: 500; }

.text-left   { text-align: left; }
.text-center { text-align: center; }
.leading-relaxed { line-height: 1.625; }
.tracking-tight { letter-spacing: -0.025em; }
.underline { text-decoration-line: underline; }
.list-disc { list-style-type: disc; }

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Contenido de artículo (política de privacidad / aviso legal) */
.prose { color: var(--color-on-surface); }
.max-w-none { max-width: none; }

/* ---- 4. Colores: fondo / texto / borde ---- */
.bg-background { background-color: var(--color-background); }
.bg-surface { background-color: var(--color-surface); }
.bg-surface-container-lowest { background-color: var(--color-surface-container-lowest); }
.bg-surface-container-low { background-color: var(--color-surface-container-low); }
.bg-surface-container-high { background-color: var(--color-surface-container-high); }
.bg-surface-container-highest { background-color: var(--color-surface-container-highest); }
.bg-primary { background-color: var(--color-primary); }
.bg-primary-container { background-color: var(--color-primary-container); }
.bg-on-surface-variant { background-color: var(--color-on-surface-variant); }
.bg-outline-variant { background-color: var(--color-outline-variant); }
.bg-black\/40 { background-color: rgb(0 0 0 / 0.4); }

.text-on-background { color: var(--color-on-background); }
.text-on-surface { color: var(--color-on-surface); }
.text-on-surface-variant { color: var(--color-on-surface-variant); }
.text-on-primary { color: var(--color-on-primary); }
.text-on-primary-container { color: var(--color-on-primary-container); }
.text-primary { color: var(--color-primary); }
.text-primary-container { color: var(--color-primary-container); }
.text-secondary { color: var(--color-secondary); }
.text-error { color: var(--color-error); }
.text-\[\#374151\] { color: #374151; }

.border-outline { border-color: var(--color-outline); }
.border-outline-variant { border-color: var(--color-outline-variant); }
.border-primary-container { border-color: var(--color-primary-container); }
.border-surface { border-color: var(--color-surface); }
.border-surface-container-lowest { border-color: var(--color-surface-container-lowest); }
.border-surface-variant { border-color: var(--color-surface-variant); }

/* Variantes modo oscuro (inertes: el sitio nunca añade la clase "dark" a <html>,
   se mantienen igual que en el diseño original por fidelidad) */
.dark .dark\:bg-inverse-surface { background-color: var(--color-inverse-surface); }
.dark .dark\:bg-surface-container { background-color: var(--color-surface-container); }
.dark .dark\:bg-surface-dim { background-color: var(--color-surface-dim); }
.dark .dark\:border-outline { border-color: var(--color-outline); }
.dark .dark\:text-inverse-on-surface { color: var(--color-inverse-on-surface); }
.dark .dark\:text-inverse-primary { color: var(--color-inverse-primary); }
.dark .dark\:text-on-surface { color: var(--color-on-surface); }
.dark .dark\:text-on-surface-variant { color: var(--color-on-surface-variant); }
.dark .dark\:text-primary-fixed { color: var(--color-primary-fixed); }
.dark .dark\:text-secondary-fixed { color: var(--color-secondary-fixed); }
.dark .dark\:text-surface-variant { color: var(--color-surface-variant); }
.dark .dark\:hover\:text-primary-fixed:hover { color: var(--color-primary-fixed); }

/* ---- 5. Bordes y radios ---- */
.rounded { border-radius: var(--radius-DEFAULT); }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-4 { border-width: 4px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }

/* ---- 6. Sombras ---- */
.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }
.ambient-shadow { box-shadow: 0 20px 40px -10px rgba(0,0,0,0.05); }
.glass-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); }
.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

/* ---- 7. Layout: display / position / flex / grid ---- */
.block { display: block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.top-6 { top: 1.5rem; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.left-1\/2 { left: 50%; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.z-\[100\] { z-index: 100; }

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

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.col-span-1 { grid-column: span 1 / span 1; }

.transform { transform: translateX(var(--tw-tx,0)) translateY(var(--tw-ty,0)); }
.-translate-x-1\/2 { --tw-tx: -50%; transform: translateX(-50%) translateY(var(--tw-ty,0)); }
.-translate-y-1\/2 { --tw-ty: -50%; transform: translateX(var(--tw-tx,0)) translateY(-50%); }
.-translate-x-1\/2.-translate-y-1\/2 { transform: translate(-50%, -50%); }

.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.object-cover { object-fit: cover; }
.cursor-pointer { cursor: pointer; }

/* ---- 8. Tamaños ---- */
.w-full { width: 100%; }
.h-full { height: 100%; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.w-48 { width: 12rem; }
.h-48 { height: 12rem; }
.h-20 { height: 5rem; }
.w-0\.5 { width: 0.125rem; }
.h-0\.5 { height: 0.125rem; }
.h-\[400px\] { height: 400px; }
.w-\[80\%\] { width: 80%; }
.min-h-screen { min-height: 100vh; }
.min-h-\[80px\] { min-height: 80px; }
.max-w-xs { max-width: 20rem; }
.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-\[600px\] { max-width: 600px; }
.max-w-\[800px\] { max-width: 800px; }
.max-w-container-max { max-width: var(--space-container-max); }
.max-h-\[70vh\] { max-height: 70vh; }

/* ---- 9. Espaciado: gap / margin / padding / space-between ---- */
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-gutter { gap: var(--space-gutter); }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.ml-1\.5 { margin-left: 0.375rem; }
.ml-6 { margin-left: 1.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.pt-4 { padding-top: 1rem; }
.pt-8 { padding-top: 2rem; }
.pb-section-gap-mobile { padding-bottom: var(--space-section-gap-mobile); }
.pt-section-gap-mobile { padding-top: var(--space-section-gap-mobile); }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-gutter { padding-left: var(--space-gutter); padding-right: var(--space-gutter); }
.px-margin-mobile { padding-left: var(--space-margin-mobile); padding-right: var(--space-margin-mobile); }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-base { padding-top: var(--space-base); padding-bottom: var(--space-base); }
.py-section-gap-mobile { padding-top: var(--space-section-gap-mobile); padding-bottom: var(--space-section-gap-mobile); }
.py-\[64px\] { padding-top: 64px; padding-bottom: 64px; }

.space-x-8 > :not([hidden]) ~ :not([hidden]) { margin-left: 2rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }

/* ---- 10. Interacción: hover / focus / transición ---- */
.transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }

.hover\:opacity-80:hover { opacity: 0.8; }
.hover\:opacity-90:hover { opacity: 0.9; }
.hover\:bg-surface-variant:hover { background-color: var(--color-surface-variant); }
.hover\:bg-surface-tint:hover { background-color: var(--color-surface-tint); }
.hover\:text-primary:hover { color: var(--color-primary); }
.hover\:underline:hover { text-decoration-line: underline; }

.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:border-primary-container:focus { border-color: var(--color-primary-container); }
.focus\:ring:focus, .focus\:ring-primary:focus, .focus\:ring-primary-container:focus {
  box-shadow: 0 0 0 3px rgb(0 71 171 / 0.5);
}
.focus\:ring-opacity-50:focus { box-shadow: 0 0 0 3px rgb(0 71 171 / 0.5); }

/* Flecha del acordeón FAQ (elemento <details class="group">) */
.group[open] .group-open\:rotate-180 { transform: rotate(180deg); }
.group[open] .group-open\:rotate-90 { transform: rotate(90deg); }

/* ---- 11. Breakpoints responsive (sm ≥640px · md ≥768px · lg ≥1024px) ---- */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:block { display: block; }
  .md\:hidden { display: none; }
  .md\:inline-flex { display: inline-flex; }
  .md\:flex-row { flex-direction: row; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:mb-0 { margin-bottom: 0; }
  .md\:p-16 { padding: 4rem; }
  .md\:h-64 { height: 16rem; }
  .md\:w-64 { width: 16rem; }
  .md\:h-\[600px\] { height: 600px; }
  .md\:pb-section-gap-desktop { padding-bottom: var(--space-section-gap-desktop); }
  .md\:pt-section-gap-desktop { padding-top: var(--space-section-gap-desktop); }
  .md\:py-section-gap-desktop { padding-top: var(--space-section-gap-desktop); padding-bottom: var(--space-section-gap-desktop); }
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:py-\[128px\] { padding-top: 128px; padding-bottom: 128px; }
  .md\:px-gutter { padding-left: var(--space-gutter); padding-right: var(--space-gutter); }
  .md\:px-\[64px\] { padding-left: 64px; padding-right: 64px; }
  .md\:text-headline-lg { font-size: 48px; line-height: 1.2; letter-spacing: -0.01em; font-weight: 700; }
  .md\:text-headline-xl { font-size: 60px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }
  .md\:font-headline-xl { font-family: 'Inter', sans-serif; }
  .md\:-translate-y-4 { transform: translateY(-1rem); }
}

@media (min-width: 1024px) {
  .lg\:col-span-1 { grid-column: span 1 / span 1; }
  .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)); }
}
