/* styles.css - Tema Documento Escaneado (Blanco y Negro) */
/* Reset minimalista y estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-dark: #000000;
  --primary: #222222;
  --primary-light: #444444;
  --secondary: #666666;
  --secondary-light: #888888;
  --accent: #333333;
  --light-bg: #f8f8f8;
  --light-gray: #e0e0e0;
  --text: #111111;
  --text-light: #555555;
  --white: #ffffff;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.12);
  --border-radius: 4px;
  --transition: all 0.3s ease;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--light-bg);
  overflow-x: hidden;
  background-image: 
    linear-gradient(rgba(240, 240, 240, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 240, 240, 0.5) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Tipografía mejorada */
h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

h1 {
  font-size: 2.8rem;
  line-height: 1.1;
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

h2 {
  font-size: 2.2rem;
  text-align: center;
  position: relative;
  padding-bottom: 1.2rem;
  border-bottom: 2px solid #000000;
  margin-bottom: 2.5rem;
}

h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #333333 0%, #666666 100%);
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 400;
}

/* Hero section con diseño de documento */
.hero {
  background: 
    linear-gradient(145deg, rgba(240, 240, 240, 0.603) 0%, rgba(255, 255, 255, 0.699) 50%, rgba(245, 245, 245, 0.85) 100%),
    url('imagen1.webp');
  background-size: 140%; /* Zoom estático */
  background-position: center;
  background-attachment: fixed; /* Efecto parallax opcional */
  color: var(--text);
  text-align: center;
  padding: 5rem 2rem;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #000000;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.6) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.4) 0%, transparent 50%),
    rgba(255, 255, 255, 0.7); /* Capa blanca traslúcida para aumentar legibilidad */
  z-index: 0;
}

.hero h1 {
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 3rem;
  max-width: 900px;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3); /* Sombra blanca para mejor contraste */
}

.hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin-bottom: 3rem;
  color: #222222; /* Un poco más oscuro para mejor legibilidad */
  position: relative;
  z-index: 1;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

/* Para asegurar que el botón también tenga buena legibilidad */
.btn {
  position: relative;
  z-index: 1;
}

/* Botones con diseño minimalista */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, #222222 0%, #000000 100%);
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  border: 1px solid #000000;
  cursor: pointer;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
  letter-spacing: 0.5px;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #444444 0%, #222222 100%);
  transition: left 0.4s ease;
  z-index: -1;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  color: var(--white);
}

.btn:hover::before {
  left: 0;
}

/* Secciones con diseño de documento */
.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.section:nth-child(even) {
  background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 100%);
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.section:nth-child(odd) {
  background: var(--white);
}

.section.gray {
  background: #f5f5f5;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

/* Listas con diseño minimalista */
.list {
  list-style-type: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.list li {
  background: var(--white);
  padding: 1.8rem;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: flex-start;
  transition: var(--transition);
  border: 1px solid #e0e0e0;
  position: relative;
  overflow: hidden;
}

.list li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #333333 0%, #666666 100%);
}

.list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-color: #b0b0b0;
}

.list li i {
  color: #333333;
  margin-right: 15px;
  font-size: 1.3rem;
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Pasos del proceso */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, #ccc 0%, transparent 100%);
  z-index: 0;
}

.steps div {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: 2px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  position: relative;
  z-index: 1;
  border: 1px solid #e0e0e0;
}

.steps div::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(135deg, #222222 0%, #444444 100%);
  border-radius: 2px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.steps div:hover::before {
  opacity: 1;
}

.steps div strong {
  display: block;
  font-size: 2rem;
  color: #000000;
  margin-bottom: 1rem;
  font-weight: 700;
  transition: color 0.3s ease;
}

.steps div:hover strong {
  color: var(--white);
}

.steps div:hover {
  color: var(--white);
  transform: translateY(-5px);
}

/* Precios con diseño minimalista */
.pricing {
  list-style-type: none;
  max-width: 900px;
  margin: 3rem auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.pricing li {
  background: var(--white);
  margin-bottom: 0;
  padding: 2rem;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.pricing li::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #222222 0%, #444444 100%);
}

.pricing li:nth-child(2)::after {
  background: linear-gradient(90deg, #444444 0%, #666666 100%);
}

.pricing li:nth-child(3)::after {
  background: linear-gradient(90deg, #000000 0%, #222222 100%);
}

.pricing li:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pricing li strong {
  color: #000000;
  font-size: 1.3rem;
  margin-top: 1.5rem;
  font-weight: 700;
}

/* Formulario con diseño minimalista */
#requestForm {
  max-width: 900px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  background: var(--white);
  padding: 2.5rem;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

#requestForm::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #222222 0%, #444444 100%);
}

input, select, button {
  padding: 1rem 1.2rem;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  background: var(--white);
  color: #333333;
}

input:focus, select:focus {
  outline: none;
  border-color: #666666;
  box-shadow: 0 0 0 2px rgba(100, 100, 100, 0.1);
}

#requestForm button {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #222222 0%, #000000 100%);
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid #000000;
  padding: 1.2rem;
  font-size: 1rem;
  letter-spacing: 0.5px;
  margin-top: 1rem;
}

#requestForm button:hover {
  background: linear-gradient(135deg, #000000 0%, #222222 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Nota */
.note {
  background: #f9f9f9;
  border-left: 4px solid #666666;
  padding: 1.2rem;
  border-radius: 0 2px 2px 0;
  font-style: italic;
  margin-top: 1.5rem;
  color: #444444;
  font-weight: 400;
  border: 1px solid #e0e0e0;
  border-left-width: 4px;
}

footer {
  background: linear-gradient(145deg, #111111 0%, #222222 100%);
  color: var(--white);
  padding: 3rem 2rem;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #000000;
}

.footer-simple {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.simple-logo {
  height: 70px;
  width: auto;
}

.footer-title h3 {
  color: #fff;
  font-size: 2rem;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
}

.footer-title p {
  color: #ccc;
  margin: 0.3rem 0 0;
  font-size: 0.95rem;
}

.footer-separator {
  height: 1px;
  background: linear-gradient(90deg, transparent, #666, transparent);
  margin: 2rem 0;
}

.footer-content {
  text-align: center;
}

.footer-links-simple {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-links-simple a {
  color: #bbb;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links-simple a:hover {
  color: #fff;
  text-decoration: underline;
}

.separator {
  color: #666;
}

.footer-contact {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 1.5rem;
  color: #aaa;
  font-size: 0.9rem;
}

.footer-contact i {
  margin-right: 0.5rem;
  color: #888;
}

.footer-copyright p {
  color: #888;
  font-size: 0.85rem;
  margin: 0;
}

/* Animaciones y efectos */
@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  animation: floatIn 0.6s ease forwards;
}

/* Efectos de scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.4rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero {
    padding: 4rem 1.5rem;
    min-height: 75vh;
  }
  
  .hero h1 {
    font-size: 2.4rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .section {
    padding: 4rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .steps::before {
    display: none;
  }
  
  .list {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  
  .steps {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  
  .pricing {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  
  #requestForm {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3rem 1rem;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .btn {
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
  }
  
  .section {
    padding: 3rem 1rem;
  }
}

/* Mejoras de accesibilidad */
.btn:focus, input:focus, select:focus, button:focus {
  outline: 2px solid #666666;
  outline-offset: 2px;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f0f0f0;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #888888, #666666);
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #666666, #444444);
}

/* Efecto de documento escaneado adicional */
.section:after {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, rgba(0,0,0,0.1) 1px, transparent 1px);
  background-size: 5px 5px;
  opacity: 0.3;
  pointer-events: none;
}

/* Sección de escaneo */
.scanning-section {
  padding: 4rem 2rem;
  background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 100%);
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
  overflow: hidden;
}

.scanner-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.scanner-image-container {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 2px;
  background: #000;
  border: 1px solid #ddd;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.scanned-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(110%);
  opacity: 0.9;
  display: block;
  clip-path: polygon(0 0, 100% 0, 100% 0%, 0 0%);
  animation: scanReveal 5s ease-out forwards;
  animation-play-state: paused;
}

.scan-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(110%);
}

.image-before {
  z-index: 1;
  clip-path: inset(0 0 0 0);
  animation: hidePhysical 4s linear forwards;
  animation-play-state: paused;
}

@keyframes hidePhysical {
  0% {
    clip-path: inset(0 0 0 0);
  }
  100% {
    clip-path: inset(100% 0 0 0);
  }
}

.image-after {
  z-index: 2;
  clip-path: inset(0 0 100% 0);
  animation: showDigital 4s linear forwards;
  animation-play-state: paused;
}

@keyframes showDigital {
  0% {
    clip-path: inset(0 0 100% 0);
  }
  100% {
    clip-path: inset(0 0 0 0);
  }
}

/* Efecto de línea de escaneo */
.scanner-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 5;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 200, 0, 0.7),
    transparent
  );
  box-shadow:
    0 0 10px rgba(0, 200, 0, 0.6),
    0 0 20px rgba(0, 200, 0, 0.3);
  animation: scanLine 4s linear forwards;
  animation-play-state: paused;
}

@keyframes scanLine {
  0% {
    transform: translateY(0%);
    opacity: 1;
  }
  100% {
    transform: translateY(100%);
    opacity: 0;
  }
}

/* Overlay que se va desvaneciendo */
.scanner-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
  animation: fadeOverlay 4s linear forwards;
  animation-play-state: paused;
}

@keyframes fadeOverlay {
  0%   { opacity: 1; }
  100% { opacity: 0; }
}

.scanning-section.active
.image-before,
.scanning-section.active
.image-after,
.scanning-section.active
.scanner-line,
.scanning-section.active
.scanner-overlay {
  animation-play-state: running;
}

@media (max-width: 968px) {
  .scanner-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .scanner-image-container {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .scanner-image-container {
    height: 250px;
  }
}

.scanner-text {
  padding: 2rem;
}

.scanner-text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #000;
  position: relative;
  padding-bottom: 0.5rem;
}

.scanner-text h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: #333;
}

.scanner-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 2rem;
}

.scanner-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-color: #ddd;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', sans-serif;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

/* Animaciones */
@keyframes scanReveal {
  0% {
    clip-path: polygon(0 0, 100% 0, 100% 0%, 0 0%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

@keyframes scanLine {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(400px);
    opacity: 0;
  }
}

@keyframes fadeOverlay {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Efecto de luz del escáner */
@keyframes scannerLight {
  0%, 100% {
    box-shadow: 0 0 5px rgba(0, 200, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 15px rgba(0, 200, 0, 0.7), 0 0 25px rgba(0, 200, 0, 0.4);
  }
}

/* Estado activo cuando la sección es visible */
.scanning-section.active .scanned-image,
.scanning-section.active .scanner-line,
.scanning-section.active .scanner-overlay {
  animation-play-state: running;
}

/* Responsive */
@media (max-width: 968px) {
  .scanner-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .scanner-image-container {
    height: 300px;
  }
  
  .scanner-text {
    padding: 0;
  }
}

@media (max-width: 768px) {
  .scanner-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat {
    padding: 1.2rem;
  }
}

@media (max-width: 480px) {
  .scanning-section {
    padding: 4rem 2rem;
    background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 100%);
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
  }
  
  .scanner-image-container {
    height: 250px;
  }
  
  .scanner-text h3 {
    font-size: 1.6rem;
  }
}

/* Contenedor de pestañas estilo documento */
.document-tabs-container {
  max-width: 1000px;
  margin: 3rem auto 0;
  font-family: 'Inter', sans-serif;
}

.document-tabs {
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  border-bottom: 1px solid #ccc;
}

.document-tabs li {
  margin: 0;
  position: relative;
  flex: 1;
  text-align: center;
}

.document-tabs a {
  position: relative;
  background: #f5f5f5;
  background-image: linear-gradient(to bottom, #fff, #eee);
  padding: 1rem 0;
  display: block;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  border: 1px solid #ddd;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  transition: all 0.3s ease;
  z-index: 1;
}

.document-tabs a:hover {
  background: #e8e8e8;
  background-image: linear-gradient(to bottom, #f9f9f9, #e0e0e0);
  color: #000;
}

.document-tabs a:focus {
  outline: none;
}

/* Efecto de solapado entre pestañas */
.document-tabs li:not(:first-child) a {
  margin-left: -1px;
}

.document-tabs #tab-current a,
.document-tabs #tab-current a:hover {
  background: #fff;
  background-image: none;
  color: #000;
  border-color: #ccc;
  border-bottom: 1px solid #fff;
  z-index: 3;
  font-weight: 600;
  box-shadow: 0 -2px 3px rgba(0,0,0,0.05);
}

/* Contenido de las pestañas */
.document-content {
  background: #fff;
  padding: 2.5rem;
  position: relative;
  z-index: 2;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  min-height: 280px;
}

.tab-content h3 {
  color: #000;
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
}

.tab-content p {
  color: #444;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.tab-content ul {
  list-style: none;
  padding-left: 0;
}

.tab-content li {
  margin-bottom: 0.8rem;
  color: #555;
  padding-left: 1.5rem;
  position: relative;
}

.tab-content li:before {
  content: "■";
  position: absolute;
  left: 0;
  color: #666;
  font-size: 0.8rem;
}

.tab-content strong {
  color: #000;
  font-weight: 600;
}

/* Efecto de documento dentro del contenido */
.document-content:before {
  content: '';
  position: absolute;
  top: 0;
  right: 20px;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, rgba(0,0,0,0.1) 1px, transparent 1px);
  background-size: 5px 5px;
  opacity: 0.3;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
  .document-tabs {
    flex-wrap: wrap;
  }
  
  .document-tabs li {
    flex: 1 0 50%;
    margin-bottom: 0.5rem;
  }
  
  .document-tabs li:nth-child(odd) a {
    border-right: none;
  }
  
  .document-content {
    padding: 1.5rem;
    min-height: auto;
  }
  
  .tab-content h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .document-tabs li {
    flex: 1 0 100%;
  }
  
  .document-tabs a {
    padding: 0.8rem 0;
  }
  
  .document-content {
    padding: 1.2rem;
  }
}

/* =============================================== */
/* ESTILOS PARA LA SECCIÓN DE OCR - ACTUALIZADOS A BLANCO Y NEGRO */
/* =============================================== */

/* Sección de explicación de OCR */
.ocr-explanation {
  max-width: 1000px;
  margin: 0 auto;
}

.ocr-definition {
  background: #f8f8f8;
  padding: 25px;
  border-radius: 2px;
  margin-bottom: 30px;
  border-left: 4px solid #333333;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ocr-definition h3 {
  color: #000000;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.ocr-definition h3 i {
  margin-right: 10px;
  color: #333333;
}

.ocr-definition p {
  color: #444444;
  margin-bottom: 10px;
}

/* Tarjetas de beneficios de OCR */
.ocr-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.benefit-card {
  background: #ffffff;
  padding: 25px 20px;
  border-radius: 2px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s;
  border: 1px solid #e0e0e0;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #333333 0%, #666666 100%);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #333333;
}

.benefit-card h4 {
  color: #000000;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.benefit-card p {
  color: #555555;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Aplicaciones de OCR */
.ocr-applications {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 2px solid #e0e0e0;
}

.ocr-applications h3 {
  color: #000000;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.ocr-applications .list li {
  background: #ffffff;
  margin-bottom: 10px;
}

.ocr-applications .list li i {
  color: #333333;
}

/* Estilos para la pestaña de OCR mejorada */
.ocr-process-details {
  background: #f8f8f8;
  padding: 25px;
  border-radius: 2px;
  margin: 20px 0;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ocr-process-details h4 {
  color: #000000;
  margin: 20px 0 10px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #333333;
  font-size: 1.2rem;
}

.ocr-process-details p {
  color: #444444;
  line-height: 1.6;
}

.ocr-process-details ul {
  list-style: none;
  padding-left: 0;
}

.ocr-process-details li {
  margin-bottom: 0.8rem;
  color: #444444;
  padding-left: 1.5rem;
  position: relative;
}

.ocr-process-details li:before {
  content: "■";
  position: absolute;
  left: 0;
  color: #666;
  font-size: 0.8rem;
}

.ocr-process-details strong {
  color: #000000;
  font-weight: 600;
}

/* Tabla comparativa OCR */
.ocr-comparison {
  margin: 30px 0;
  overflow-x: auto;
  border: 1px solid #e0e0e0;
  border-radius: 2px;
}

.ocr-comparison table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.ocr-comparison th {
  background: linear-gradient(to bottom, #222222 0%, #333333 100%);
  color: white;
  padding: 15px;
  text-align: left;
  font-weight: 600;
  border-right: 1px solid #444444;
}

.ocr-comparison th:last-child {
  border-right: none;
}

.ocr-comparison td {
  padding: 15px;
  border: 1px solid #e0e0e0;
  color: #444444;
}

.ocr-comparison tr:nth-child(even) {
  background: #f9f9f9;
}

.ocr-comparison tr:hover {
  background: #f0f0f0;
}

.ocr-comparison td:first-child {
  border-right: 1px solid #e0e0e0;
}

/* Estilos para resaltar precios con OCR */
.pricing-highlight {
  background: linear-gradient(145deg, #f0f0f0 0%, #f8f8f8 100%);
  padding: 20px;
  border-radius: 2px;
  margin-bottom: 25px;
  border-left: 5px solid #333333;
  border: 1px solid #e0e0e0;
}

.pricing-highlight h3 {
  color: #000000;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.pricing-highlight h3 i {
  margin-right: 10px;
  color: #333333;
}

.pricing-highlight p {
  color: #444444;
  margin-bottom: 0;
}

.ocr-recommendation {
  background: #f8f8f8;
  padding: 20px;
  border-radius: 2px;
  margin: 20px 0;
  border-left: 4px solid #666666;
  border: 1px solid #e0e0e0;
}

.ocr-recommendation h4 {
  color: #000000;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.ocr-recommendation h4 i {
  margin-right: 10px;
  color: #333333;
}

.ocr-recommendation p {
  color: #444444;
  margin-bottom: 10px;
}

.ocr-recommendation p:last-child {
  margin-bottom: 0;
}

/* Corrección para el precio de OCR en la lista */
.pricing li strong strong {
  display: inline;
}

/* Responsive para sección OCR */
@media (max-width: 768px) {
  .ocr-benefits {
    grid-template-columns: 1fr;
  }
  
  .ocr-comparison table {
    font-size: 0.9rem;
  }
  
  .benefit-card {
    margin-bottom: 15px;
  }
  
  .ocr-process-details {
    padding: 15px;
  }
  
  .ocr-definition {
    padding: 20px;
  }
}

/* Corrección de error en HTML - ajuste para precios */
.pricing li strong:first-child {
  display: block;
  margin-bottom: 5px;
  color: #444444;
  font-weight: 600;
}