:root {
  --primary-color: #555555;
  --secondary-color: #777777;
  --accent-color: #999999;
  --dark-color: #333333;
  --light-color: #f8f9fa;
  --gray-color: #6c757d;
  --gradient: linear-gradient(135deg, #555555, #888888);
  
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Roboto', sans-serif;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient);
  color: white;
  border: none;
}

.btn-primary:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
}

.full-width {
  width: 100%;
}

/* Header and Navigation */
header {
  padding: 35px 0;
  background-color: var(--dark-color);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: inline-block;
  text-decoration: none;
}

header .logo-img {
  margin: 5px 0;
  max-height: 80px;
  transform: scale(1.25);
  transform-origin: left center;
  margin-right: 0;
}

.logo h1 {
  color: var(--primary-color);
  margin-bottom: 0;
}

.slogan {
  font-size: 0.875rem;
  color: var(--gray-color);
  font-weight: 500;
  margin-bottom: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
  height: 100%;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--light-color);
}

.nav-links .btn-primary {
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
  border-radius: 3px;
}

/* Hero Section */
.hero {
  background: var(--gradient);
  color: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/hero-background.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Solutions Section */
.solutions {
  padding: 80px 0;
  background-color: white;
  text-align: center;
}

.solutions h2 {
  margin-bottom: 3rem;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.solution-card {
  background-color: white;
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.solution-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.icon {
  width: 70px;
  height: 70px;
  background-color: rgba(58, 134, 255, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  color: var(--primary-color);
}

/* Focus Section */
.focus {
  padding: 80px 0;
  background-color: #f5f7fa;
}

.focus .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.focus-content ul {
  margin: 1.5rem 0 2rem 1.5rem;
}

.focus-content li {
  margin-bottom: 0.5rem;
}

.focus-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background-color: white;
  text-align: center;
}

.subtitle {
  font-size: 1.2rem;
  color: var(--gray-color);
  margin-bottom: 3rem;
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
}

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  text-align: left;
}

.form-group.full-width {
  grid-column: span 2;
}

label {
  display: block;
  font-weight: 500;
  margin-bottom: 5px;
}

input, textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
}

textarea {
  resize: vertical;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-logo h2 {
  color: white;
  margin-bottom: 0.5rem;
}

.footer-logo .slogan {
  color: #aaa;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-column h3 {
  color: #ddd;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: #aaa;
  text-decoration: none;
  transition: var(--transition);
}

.footer-column a:hover {
  color: white;
}

.copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  color: #aaa;
  font-size: 0.9rem;
}

.footer-logo-img {
  max-height: 60px;
  margin-bottom: 15px;
  filter: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .focus .container {
    grid-template-columns: 1fr;
  }
  
  .focus-image {
    order: -1;
  }
  
  form {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
  
  header .container {
    padding: 0 15px;
  }
  
  header .logo-img {
    max-height: 45px;
  }
}

/* Logo temporal basado en texto */
.text-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.5rem;
  color: white;
  letter-spacing: 2px;
}

/* Logo con CSS */
.css-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.css-logo span {
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.2rem;
}

.logo-line {
  width: 100%;
  height: 2px;
  background-color: #888;
  margin: 3px 0;
}

.logo-tagline {
  font-size: 0.8rem !important;
  letter-spacing: 2px;
  color: #999 !important;
}

/* Adaptación del logo CSS para el footer */
.footer-css-logo {
  margin-bottom: 20px;
}

.footer-css-logo span {
  font-size: 1.8rem;
}

.footer-css-logo .logo-tagline {
  font-size: 0.7rem !important;
}

/* Imagen de reemplazo para ai-agents.svg */
.placeholder-image {
  width: 100%;
  max-width: 500px;
  height: 300px;
  background: var(--gradient);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  box-shadow: var(--shadow-lg);
}

.placeholder-content {
  text-align: center;
}

.placeholder-content svg {
  margin-bottom: 20px;
  width: 80px;
  height: 80px;
  color: white;
}

.placeholder-content p {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
}

/* Estilos para el proceso de demanda judicial */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2rem 0;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-icon {
  min-width: 56px;
  height: 56px;
  background-color: rgba(85, 85, 85, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary-color);
}

.step-content {
  flex: 1;
}

.step-content h3 {
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.step-content p {
  margin-bottom: 0;
  color: var(--gray-color);
}

.process-conclusion {
  margin: 2rem 0;
  padding: 1rem;
  background-color: rgba(85, 85, 85, 0.05);
  border-left: 4px solid var(--primary-color);
  border-radius: 0 4px 4px 0;
}

/* Diagrama de proceso */
.process-diagram {
  width: 100%;
  max-width: 500px;
  padding: 2rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.diagram-node {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: 600;
  position: relative;
}

.start-node {
  background: var(--primary-color);
}

.end-node {
  background: var(--secondary-color);
}

.diagram-arrow {
  width: 3px;
  height: 30px;
  background-color: var(--gray-color);
  position: relative;
}

.diagram-arrow:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--gray-color);
}

@media (max-width: 768px) {
  .process-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .step-icon {
    margin-bottom: 1rem;
  }
  
  .diagram-node {
    width: 80px;
    height: 80px;
  }
} 