/* ============================================================
   Desatascos EM — Static CSS Fallback
   Used when Tailwind CDN fails to load.
   Only covers classes actually used in the site.
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background-color: #f9fafb;
  color: #111827;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Colors (from CompanySetting) ─────────────────────── */
:root {
  --primary: #0B6E99;
  --secondary: #0D3B4F;
  --accent: #F2A93B;
}

/* ── Typography ───────────────────────────────────────── */
.font-heading { font-family: 'Outfit', sans-serif; }
.font-body { font-family: 'DM Sans', sans-serif; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.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.6; }
.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; letter-spacing: -0.02em; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; letter-spacing: -0.025em; }
.text-5xl { font-size: 3rem; line-height: 1.1; letter-spacing: -0.03em; }
.text-6xl { font-size: 3.75rem; line-height: 1.05; letter-spacing: -0.03em; }
.text-7xl { font-size: 4.5rem; line-height: 1; letter-spacing: -0.035em; }
.leading-tight { line-height: 1.2; }
.leading-snug { line-height: 1.35; }
.leading-relaxed { line-height: 1.65; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-tighter { letter-spacing: -0.04em; }

/* ── Text Colors ──────────────────────────────────────── */
.text-white { color: #fff; }
.text-gray-200 { color: #e5e7eb; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-900 { color: #111827; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-yellow-400 { color: #facc15; }
.text-red-500 { color: #ef4444; }
.text-red-700 { color: #b91c1c; }
.text-green-700 { color: #15803d; }

/* ── Background Colors ────────────────────────────────── */
.bg-white { background-color: #fff; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-red-100 { background-color: #fee2e2; }
.bg-red-500 { background-color: #ef4444; }
.bg-green-100 { background-color: #dcfce7; }
.bg-white\/10 { background-color: rgba(255,255,255,0.1); }
.bg-white\/15 { background-color: rgba(255,255,255,0.15); }
.bg-white\/5 { background-color: rgba(255,255,255,0.05); }
.bg-black\/40 { background-color: rgba(0,0,0,0.4); }
.bg-primary\/10 { background-color: rgba(11,110,153,0.1); }
.bg-primary\/20 { background-color: rgba(11,110,153,0.2); }
.bg-primary\/30 { background-color: rgba(11,110,153,0.3); }

/* ── Gradients ────────────────────────────────────────── */
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.from-secondary { --tw-gradient-from: var(--secondary); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(13,59,79,0)); }
.from-gray-50 { --tw-gradient-from: #f9fafb; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(249,251,251,0)); }
.from-primary { --tw-gradient-from: var(--primary); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(11,110,153,0)); }
.via-secondary\/95 { --tw-gradient-stops: var(--tw-gradient-from), rgba(13,59,79,0.95), var(--tw-gradient-to, rgba(13,59,79,0)); }
.via-secondary\/80 { --tw-gradient-stops: var(--tw-gradient-from), rgba(13,59,79,0.8), var(--tw-gradient-to, rgba(13,59,79,0)); }
.via-secondary\/60 { --tw-gradient-stops: var(--tw-gradient-from), rgba(13,59,79,0.6), var(--tw-gradient-to, rgba(13,59,79,0)); }
.via-gray-50\/95 { --tw-gradient-stops: var(--tw-gradient-from), rgba(249,251,251,0.95), var(--tw-gradient-to, rgba(249,251,251,0)); }
.to-gray-900 { --tw-gradient-to: #111827; }
.to-gray-800 { --tw-gradient-to: #1f2937; }
.to-gray-100 { --tw-gradient-to: #f3f4f6; }
.to-transparent { --tw-gradient-to: transparent; }
.to-orange-600 { --tw-gradient-to: #ea580c; }

/* ── Layout ───────────────────────────────────────────── */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.block { display: block; }
.inline-block { display: inline-block; }
.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-3 { top: 0.75rem; }
.top-24 { top: 6rem; }
.left-0 { left: 0; }
.left-3 { left: 0.75rem; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* ── Flexbox ──────────────────────────────────────────── */
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-shrink-0 { flex-shrink: 0; }

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

/* ── Spacing ──────────────────────────────────────────── */
.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; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-8 > * + * { margin-left: 2rem; }

/* ── Margin ───────────────────────────────────────────── */
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.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; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-3 { margin-left: 0.75rem; }
.ml-4 { margin-left: 1rem; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-0 { margin-top: 0; margin-bottom: 0; }

/* ── Padding ──────────────────────────────────────────── */
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.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-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.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-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-28 { padding-top: 7rem; padding-bottom: 7rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.pt-8 { padding-top: 2rem; }
.pb-4 { padding-bottom: 1rem; }

/* ── Sizing ───────────────────────────────────────────── */
.w-3 { width: 0.75rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-full { width: 100%; }
.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-full { height: 100%; }
.min-h-0 { min-height: 0; }
.aspect-square { aspect-ratio: 1 / 1; }

/* ── Max Width ────────────────────────────────────────── */
.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-7xl { max-width: 80rem; }
.max-w-none { max-width: none; }

/* ── Border Radius ────────────────────────────────────── */
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* ── Borders ──────────────────────────────────────────── */
.border { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-t { border-top-width: 1px; border-style: solid; }
.border-gray-100 { border-color: #f3f4f6; }
.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }
.border-gray-700 { border-color: #374151; }
.border-primary\/30 { border-color: rgba(11,110,153,0.3); }
.border-white { border-color: #fff; }

/* ── Shadows ──────────────────────────────────────────── */
.shadow { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }

/* ── Overflow ─────────────────────────────────────────── */
.overflow-hidden { overflow: hidden; }

/* ── Object Fit ───────────────────────────────────────── */
.object-cover { object-fit: cover; }

/* ── Text Align ───────────────────────────────────────── */
.text-center { text-align: center; }
.text-left { text-align: left; }

/* ── Text Decoration ──────────────────────────────────── */
.underline { text-decoration: underline; }

/* ── Opacity ──────────────────────────────────────────── */
.opacity-10 { opacity: 0.1; }
.opacity-20 { opacity: 0.2; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }

/* ── Transforms ───────────────────────────────────────── */
.transform { transform: translateX(var(--tw-translate-x, 0)) translateY(var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1)); }
.rotate-180 { --tw-rotate: 180deg; }

/* ── Transitions ──────────────────────────────────────── */
.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; 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; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; 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-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }

/* ── Hover ────────────────────────────────────────────── */
.hover\:bg-gray-100:hover { background-color: #f3f4f6; }
.hover\:bg-gray-800:hover { background-color: #1f2937; }
.hover\:bg-white:hover { background-color: #fff; }
.hover\:bg-white\/10:hover { background-color: rgba(255,255,255,0.1); }
.hover\:bg-primary:hover { background-color: var(--primary); }
.hover\:bg-primary\/20:hover { background-color: rgba(11,110,153,0.2); }
.hover\:text-primary:hover { color: var(--primary); }
.hover\:text-white:hover { color: #fff; }
.hover\:text-orange-600:hover { color: #ea580c; }
.hover\:text-white\/70:hover { color: rgba(255,255,255,0.7); }
.hover\:text-white\/60:hover { color: rgba(255,255,255,0.6); }
.hover\:opacity-90:hover { opacity: 0.9; }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); }
.hover\:shadow-2xl:hover { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:underline:hover { text-decoration: underline; }

/* ── Group Hover ──────────────────────────────────────── */
.group:hover .group-hover\:text-primary { color: var(--primary); }
.group:hover .group-hover\:text-white { color: #fff; }
.group:hover .group-hover\:bg-primary\/20 { background-color: rgba(11,110,153,0.2); }
.group:hover .group-hover\:text-white\/70 { color: rgba(255,255,255,0.7); }
.group:hover .group-hover\:text-white\/60 { color: rgba(255,255,255,0.6); }
.group:hover .group-hover\:underline { text-decoration: underline; }
.group:hover img.group-hover\:scale-105 { transform: scale(1.05); }

/* ── Backdrop ─────────────────────────────────────────── */
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

/* ── Drop Shadow ──────────────────────────────────────── */
.drop-shadow { filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1)); }
.drop-shadow-lg { filter: drop-shadow(0 10px 8px rgba(0,0,0,0.04)) drop-shadow(0 4px 3px rgba(0,0,0,0.1)); }

/* ── Prose (blog/content) ──────────────────────────────── */
.prose { color: #374151; max-width: 65ch; font-size: 1.05rem; line-height: 1.75; }
.prose p { margin-top: 1.25em; margin-bottom: 1.25em; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: #111827; font-weight: 700; line-height: 1.25; margin-top: 1.8em; margin-bottom: 0.6em; letter-spacing: -0.02em; }
.prose h1 { font-size: 2em; }
.prose h2 { font-size: 1.5em; }
.prose h3 { font-size: 1.25em; }
.prose ul, .prose ol { padding-left: 1.5em; margin-top: 1.25em; margin-bottom: 1.25em; }
.prose li { margin-top: 0.5em; }
.prose li::marker { color: var(--primary); }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--accent); }
.prose strong { font-weight: 700; color: #111827; }
.prose img { border-radius: 0.75rem; margin-top: 1.5em; margin-bottom: 1.5em; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
.prose blockquote { border-left: 4px solid var(--primary); padding-left: 1em; font-style: italic; color: #4b5563; }
.prose-lg { font-size: 1.125rem; line-height: 1.75; }

/* ── Responsive: md (768px+) ──────────────────────────── */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
  .md\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .md\:pb-4 { padding-bottom: 1rem; }
  .md\:mt-0 { margin-top: 0; }
  .md\:flex-row { flex-direction: row; }
  .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-base { font-size: 1rem; line-height: 1.5rem; }
  .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .md\:block { display: block; }
  .md\:max-w-2xl { max-width: 42rem; }
}

/* ── Responsive: lg (1024px+) ─────────────────────────── */
@media (min-width: 1024px) {
  .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\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

/* ── Responsive: sm (640px+) ──────────────────────────── */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}

/* ── Width-based ──────────────────────────────────────── */
@media (max-width: 768px) {
  .md\:hidden { display: block; }
  .md\:flex { display: none; }
}

/* ── Form Inputs ──────────────────────────────────────── */
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11,110,153,0.1);
}
label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.25rem;
}
