/* ESTILOS CORPORATIVOS TECTOTAL CÍA. LTDA. & SIMCODEC DEMO */

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

html {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  scroll-behavior: smooth;
  color: #1e293b;
  background-color: #ffffff;
}

body {
  line-height: 1.5;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

/* AVISO SIMCODEC HEADER */
.simcodec-disclaimer-top {
  background-color: #0f172a !important;
  color: #f8fafc !important;
  border-bottom: 1px solid #1e293b;
  position: relative;
  z-index: 60;
}

/* TOPBAR CORPORATIVA */
.corporate-topbar {
  background-color: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.75rem;
  position: relative;
  z-index: 55;
}

/* NAVBAR OPACA - NUNCA TRANSPARENTE AL HACER SCROLL */
.navbar-sticky, nav.sticky {
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
  background-color: #ffffff !important;
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.08) !important;
}

/* COLORES CORPORATIVOS OFICIALES TECTOTAL */
.text-brand-blue, .text-\[\#0d5a8e\] { color: #0d5a8e !important; }
.text-brand-green, .text-\[\#60bb46\] { color: #60bb46 !important; }
.bg-brand-blue, .bg-\[\#0d5a8e\] { background-color: #0d5a8e !important; }
.bg-brand-green, .bg-\[\#60bb46\] { background-color: #60bb46 !important; }
.border-brand-blue, .border-\[\#0d5a8e\] { border-color: #0d5a8e !important; }
.border-brand-green, .border-\[\#60bb46\] { border-color: #60bb46 !important; }

.hover\:bg-\[\#094167\]:hover, .hover\:bg-\[\#0a466f\]:hover { background-color: #094167 !important; }
.hover\:text-\[\#0d5a8e\]:hover { color: #0d5a8e !important; }
.hover\:border-\[\#0d5a8e\]:hover, .hover\:border-\[\#0d5a8e\]\/50:hover { border-color: #0d5a8e !important; }
.focus\:border-\[\#0d5a8e\]:focus { border-color: #0d5a8e !important; }
.focus\:ring-\[\#0d5a8e\]:focus { box-shadow: 0 0 0 2px rgba(13, 90, 142, 0.25) !important; outline: none; }

/* COMPONENTES DE BOTÓN CON ALTA VISIBILIDAD */
.btn-primary-blue {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  background-color: #0d5a8e !important;
  color: #ffffff !important;
  border: 1px solid #0d5a8e !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  font-size: 0.8125rem !important;
  letter-spacing: 0.04em !important;
  padding: 0.65rem 1.35rem !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  box-shadow: 0 2px 5px rgba(13, 90, 142, 0.3) !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

.btn-primary-blue:hover {
  background-color: #094167 !important;
  border-color: #094167 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(13, 90, 142, 0.4) !important;
  transform: translateY(-1px);
}

.btn-secondary-white {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  background-color: #ffffff !important;
  color: #1e293b !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  padding: 0.65rem 1.35rem !important;
  text-decoration: none !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

.btn-secondary-white:hover {
  background-color: #f8fafc !important;
  border-color: #0d5a8e !important;
  color: #0d5a8e !important;
  transform: translateY(-1px);
}

.btn-dark {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  background-color: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid #0f172a !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  font-size: 0.8125rem !important;
  letter-spacing: 0.04em !important;
  padding: 0.75rem 1.35rem !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

.btn-dark:hover {
  background-color: #1e293b !important;
  border-color: #1e293b !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* ENLACES DE CONTACTO RESALTADOS */
.contact-direct-link {
  color: #0d5a8e !important;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.contact-direct-link:hover {
  color: #094167 !important;
  text-decoration: underline;
}

/* HERO HEADING - SIN COLISIONES DE TEXTO */
.hero-heading {
  font-size: 2.25rem;
  line-height: 1.35;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .hero-heading {
    font-size: 2.75rem;
    line-height: 1.3;
  }
}

@media (min-width: 1024px) {
  .hero-heading {
    font-size: 3.25rem;
    line-height: 1.25;
  }
}

.hero-heading .hero-line-1 {
  display: block;
  margin-bottom: 0.35rem;
}

.hero-heading .hero-line-2 {
  display: block;
  color: #0d5a8e;
}

/* CONTENEDORES Y REJILLAS */
.max-w-7xl { max-width: 80rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-md { max-width: 28rem; }
.max-w-full { max-width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.sm\:px-6 { @media (min-width: 640px) { padding-left: 1.5rem; padding-right: 1.5rem; } }
.lg\:px-8 { @media (min-width: 1024px) { padding-left: 2rem; padding-right: 2rem; } }

.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.lg\:py-24 { @media (min-width: 1024px) { padding-top: 6rem; padding-bottom: 6rem; } }
.lg\:py-20 { @media (min-width: 1024px) { padding-top: 5rem; padding-bottom: 5rem; } }

.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-10 { padding-top: 2.5rem; }
.pt-12 { padding-top: 3rem; }
.lg\:pt-20 { @media (min-width: 1024px) { padding-top: 5rem; } }

.pb-4 { padding-bottom: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-16 { padding-bottom: 4rem; }
.lg\:pb-24 { @media (min-width: 1024px) { padding-bottom: 6rem; } }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-2\.5 { padding: 0.625rem; }
.p-3 { padding: 0.75rem; }
.p-3\.5 { padding: 0.875rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.sm\:p-8 { @media (min-width: 640px) { padding: 2rem; } }

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.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; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }

.pl-3 { padding-left: 0.75rem; }
.pl-4 { padding-left: 1rem; }

/* FLEXBOX & GRID */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

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

.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-shrink-0 { flex-shrink: 0; }
.min-h-screen { min-height: 100vh; }

.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-7 { gap: 1.75rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-y-2 { row-gap: 0.5rem; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sm\:grid-cols-2 { @media (min-width: 640px) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sm\:grid-cols-3 { @media (min-width: 640px) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sm\:grid-cols-4 { @media (min-width: 640px) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.md\:grid-cols-2 { @media (min-width: 768px) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.md\:grid-cols-3 { @media (min-width: 768px) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.md\:grid-cols-4 { @media (min-width: 768px) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lg\:grid-cols-3 { @media (min-width: 1024px) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lg\:grid-cols-4 { @media (min-width: 1024px) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lg\:grid-cols-6 { @media (min-width: 1024px) { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.lg\:grid-cols-12 { @media (min-width: 1024px) { grid-template-columns: repeat(12, minmax(0, 1fr)); } }

.lg\:col-span-4 { @media (min-width: 1024px) { grid-column: span 4 / span 4; } }
.lg\:col-span-5 { @media (min-width: 1024px) { grid-column: span 5 / span 5; } }
.lg\:col-span-7 { @media (min-width: 1024px) { grid-column: span 7 / span 7; } }
.lg\:col-span-8 { @media (min-width: 1024px) { grid-column: span 8 / span 8; } }

/* FONDOS Y BORDES */
.bg-white { background-color: #ffffff !important; }
.bg-white\/95 { background-color: #ffffff !important; }
.bg-white\/20 { background-color: rgba(255, 255, 255, 0.2); }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-50\/70 { background-color: rgba(248, 250, 252, 0.85); }
.bg-slate-50\/50 { background-color: rgba(248, 250, 252, 0.6); }
.bg-slate-100 { background-color: #f1f5f9; }
.bg-slate-800 { background-color: #1e293b; }
.bg-slate-900 { background-color: #0f172a; }
.bg-slate-900\/60 { background-color: rgba(15, 23, 42, 0.6); }
.bg-slate-950\/70 { background-color: rgba(2, 6, 23, 0.7); }
.bg-emerald-50 { background-color: #ecfdf5; }
.bg-emerald-100 { background-color: #d1fae5; }
.bg-blue-100 { background-color: #e0f2fe; }
.bg-amber-100 { background-color: #fef3c7; }

.border { border-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-l { border-left-width: 1px; border-left-style: solid; }
.border-transparent { border-color: transparent; }

.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-200\/80 { border-color: rgba(226, 232, 240, 0.8); }
.border-slate-300 { border-color: #cbd5e1; }
.border-slate-700 { border-color: #334155; }
.border-slate-800 { border-color: #1e293b; }
.border-emerald-200 { border-color: #a7f3d0; }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }

/* SOMBRAS */
.shadow-xs { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-sm { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }

/* TIPOGRAFÍA */
.text-slate-200 { color: #e2e8f0; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1e293b; }
.text-slate-900 { color: #0f172a; }
.text-white { color: #ffffff !important; }
.text-white\/80 { color: rgba(255, 255, 255, 0.8); }
.text-emerald-400 { color: #34d399; }
.text-emerald-800 { color: #065f46; }
.text-amber-800 { color: #92400e; }

.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; }

.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-xs { font-size: 0.75rem; line-height: 1.15rem; }
.text-sm { font-size: 0.875rem; line-height: 1.35rem; }
.text-base { font-size: 1rem; line-height: 1.55rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.35rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.75rem; }
.text-5xl { font-size: 3rem; line-height: 3.5rem; }

.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-tight { letter-spacing: -0.025em; }
.text-center { text-align: center; }

/* TAMAÑOS */
.w-1\.5 { width: 0.375rem; }
.h-1\.5 { height: 0.375rem; }
.w-2 { width: 0.5rem; }
.h-2 { height: 0.5rem; }
.w-3 { width: 0.75rem; }
.h-3 { height: 0.75rem; }
.w-3\.5 { width: 0.875rem; }
.h-3\.5 { height: 0.875rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.w-7 { width: 1.75rem; }
.h-7 { height: 1.75rem; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.w-16 { width: 4rem; }
.h-1 { height: 0.25rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.h-36 { height: 9rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.w-auto { width: auto; }

.aspect-square { aspect-ratio: 1 / 1; }
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }
.object-center { object-position: center; }

/* POSICIONAMIENTO */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.z-40 { z-index: 40; }
.overflow-hidden { overflow: hidden; }

/* ESPACIADOS Y MÁRGENES */
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.375rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }

.mt-0\.5 { margin-top: 0.125rem; }
.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-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.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-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }

/* INTERACCIONES Y MICROANIMACIONES */
a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}

.transition-colors {
  transition-property: color, background-color, border-color;
  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: 200ms;
}

.hover\:shadow:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.hover\:shadow-md:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

.hover\:-translate-y-1:hover {
  transform: translateY(-2px);
}

/* RESPONSIVE MEDIA QUERIES */
@media (min-width: 640px) {
  .sm\:block { display: block; }
  .sm\:inline { display: inline; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:text-sm { font-size: 0.875rem; }
  .sm\:text-base { font-size: 1rem; }
  .sm\:text-3xl { font-size: 1.875rem; }
  .sm\:text-4xl { font-size: 2.25rem; }
}

@media (min-width: 768px) {
  .md\:inline-block { display: inline-block; }
  .md\:flex { display: flex; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-end { align-items: flex-end; }
  .md\:mt-0 { margin-top: 0; }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:grid { display: grid; }
  .lg\:text-right { text-align: right; }
  .lg\:text-5xl { font-size: 3rem; }
}

@media (min-width: 1280px) {
  .xl\:flex { display: flex; }
  .xl\:hidden { display: none; }
}
