/* Variables y configuración global */
:root {
  --color-primary: #2A6365;
  --color-secondary: #E57C23;
  --color-accent: #D23131;
  --color-bg-main: #F5F2EB;
  --color-bg-secondary: #E8E0D0;
  --color-text-main: #333333;
  --color-text-secondary: #666666;
  --color-text-accent: #1A4545;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  --border-radius: 8px;
  --box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  --transition-standard: all 0.3s ease;
}

/* Reseteo y configuraciones básicas */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--color-text-main);
  background-color: var(--color-bg-main);
  background-image: 
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%232a6365' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-text-accent);
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: var(--spacing-sm);
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--color-secondary);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: var(--spacing-sm);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition-standard);
}

a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

ul, ol {
  margin-left: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

/* Contenedores */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--spacing-md);
  }
}

.section {
  padding: var(--spacing-lg) 0;
  position: relative;
}

.section-alt {
  background-color: var(--color-bg-secondary);
  position: relative;
  overflow: hidden;
}

.section-alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232a6365' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}

/* Header y Navegación */
.site-header {
  padding: var(--spacing-sm) 0;
  background-color: var(--color-bg-main);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo img {
  max-height: 50px;
  margin-right: var(--spacing-sm);
}

.nav-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-primary);
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

.main-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100%;
  background-color: var(--color-primary);
  z-index: 1000;
  transition: left 0.3s ease-in-out;
  padding: var(--spacing-lg) var(--spacing-md);
  overflow-y: auto;
}

.main-nav.active {
  left: 0;
}

.nav-close {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  background: none;
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: var(--spacing-lg) 0 0 0;
}

.nav-item {
  margin-bottom: var(--spacing-sm);
}

.nav-link {
  display: block;
  color: white;
  font-size: 1.2rem;
  padding: var(--spacing-xs) 0;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-standard);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-secondary);
  text-decoration: none;
  transform: translateX(10px);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 768px) {
  .main-nav {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    padding: 0;
    overflow-y: visible;
  }

  .nav-close {
    display: none;
  }

  .nav-list {
    display: flex;
    margin: 0;
  }

  .nav-item {
    margin-left: var(--spacing-md);
    margin-bottom: 0;
  }

  .nav-link {
    color: var(--color-text-accent);
    font-size: 1rem;
    padding: 0;
  }

  .nav-link:hover, .nav-link.active {
    color: var(--color-secondary);
    transform: none;
  }

  .overlay {
    display: none;
  }
}

/* Hero Section */
.hero {
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-bottom: var(--spacing-lg);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
  z-index: 1;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 700px;
  padding: var(--spacing-md);
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--color-secondary);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition-standard);
}

.btn:hover {
  background-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: white;
}

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

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

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .hero-text {
    font-size: 1.3rem;
  }
}

/* Tarjetas y Secciones de Contenido */
.card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition-standard);
  margin-bottom: var(--spacing-md);
  position: relative;
  z-index: 1;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-img-container {
  height: 200px;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-img {
  transform: scale(1.05);
}

.card-content {
  padding: var(--spacing-md);
}

.card-title {
  margin-top: 0;
  color: var(--color-primary);
}

.card-text {
  color: var(--color-text-secondary);
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: var(--spacing-md);
}

@media (min-width: 768px) {
  .feature {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }
}

.feature-icon {
  width: 80px;
  height: 80px;
  background-color: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .feature-icon {
    margin-right: var(--spacing-md);
    margin-bottom: 0;
  }
}

.feature-content {
  flex-grow: 1;
}

.feature-title {
  margin-top: 0;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-md) 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--color-primary);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  opacity: 0.6;
}

.timeline-item {
  padding: var(--spacing-md) 0;
  position: relative;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: white;
  border: 4px solid var(--color-secondary);
  top: 50%;
  border-radius: 50%;
  z-index: 1;
  left: 50%;
  transform: translate(-50%, -50%);
}

.timeline-content {
  padding: var(--spacing-md);
  background-color: white;
  border-radius: var(--border-radius);
  position: relative;
  width: 45%;
  box-shadow: var(--box-shadow);
}

.timeline-content::before {
  content: '';
  position: absolute;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
  top: 50%;
  transform: translateY(-50%);
}

.left {
  left: 0;
}

.right {
  left: 55%;
}

.left::before {
  right: -10px;
  transform: rotate(180deg) translateY(50%);
}

.right::before {
  left: -10px;
}

.timeline-date {
  font-family: 'JetBrains Mono', monospace;
  color: var(--color-text-accent);
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
}

@media screen and (max-width: 767px) {
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item::after {
    left: 31px;
    transform: translateY(-50%);
  }
  
  .timeline-content {
    width: calc(100% - 80px);
    max-width: 400px;
  }
  
  .left, .right {
    left: 80px;
  }
  
  .left::before, .right::before {
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
    transform: translateY(-50%);
  }
}

/* Formularios */
.form-container {
  background-color: white;
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: var(--spacing-lg);
}

.form-title {
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 500;
  color: var(--color-text-accent);
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  transition: var(--transition-standard);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(42, 99, 101, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-actions {
  text-align: center;
}

/* Sección de Estadísticas */
.stats-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
  margin: var(--spacing-lg) 0;
}

@media (min-width: 768px) {
  .stats-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
  padding: var(--spacing-md);
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition-standard);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--spacing-xs);
  font-family: 'JetBrains Mono', monospace;
}

.stat-label {
  font-size: 1rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Sección de Preguntas Frecuentes */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: var(--spacing-sm);
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.faq-question {
  background-color: var(--color-primary);
  color: white;
  padding: var(--spacing-sm);
  cursor: pointer;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-standard);
}

.faq-question:hover {
  background-color: var(--color-text-accent);
}

.faq-question i {
  transition: var(--transition-standard);
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: var(--spacing-md);
  display: none;
}

.faq-answer.active {
  display: block;
}

/* Pie de Página */
.site-footer {
  background-color: var(--color-text-accent);
  color: white;
  padding: var(--spacing-lg) 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-logo img {
  max-width: 200px;
  margin-bottom: var(--spacing-sm);
}

.footer-about p {
  margin-bottom: var(--spacing-sm);
  color: rgba(255, 255, 255, 0.7);
}

.footer-title {
  color: white;
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-bottom: var(--spacing-xs);
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--color-secondary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-standard);
}

.footer-links a:hover {
  color: var(--color-secondary);
  text-decoration: none;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--spacing-sm);
}

.footer-contact-icon {
  margin-right: var(--spacing-sm);
  color: var(--color-secondary);
}

.footer-contact-text {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: var(--spacing-sm) 0;
  text-align: center;
  margin-top: var(--spacing-lg);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-text-accent);
  color: white;
  padding: var(--spacing-md);
  z-index: 1000;
  display: none;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .cookie-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.cookie-text {
  margin-bottom: var(--spacing-sm);
  flex-grow: 1;
}

@media (min-width: 768px) {
  .cookie-text {
    margin-bottom: 0;
    margin-right: var(--spacing-md);
  }
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

.cookie-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-standard);
}

.cookie-btn-accept {
  background-color: var(--color-secondary);
  color: white;
}

.cookie-btn-accept:hover {
  background-color: #d06a1c;
}

.cookie-btn-settings {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}

.cookie-btn-settings:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Modal de Configuración de Cookies */
.cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1001;
  display: none;
}

.cookie-modal-content {
  background-color: white;
  border-radius: var(--border-radius);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--spacing-md);
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.cookie-modal-title {
  margin: 0;
  color: var(--color-text-accent);
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-secondary);
}

.cookie-category {
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid #eee;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-xs);
}

.cookie-category-title {
  margin: 0;
  font-size: 1.2rem;
}

.cookie-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 30px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .cookie-slider {
  background-color: var(--color-primary);
}

input:checked + .cookie-slider:before {
  transform: translateX(30px);
}

.cookie-category-description {
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-sm);
}

.cookie-necessary {
  opacity: 0.7;
}

.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-md);
}

.cookie-modal-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-standard);
}

.cookie-modal-btn-save {
  background-color: var(--color-primary);
  color: white;
}

.cookie-modal-btn-save:hover {
  background-color: var(--color-text-accent);
}

.cookie-modal-btn-reject {
  background-color: transparent;
  border: 1px solid var(--color-text-secondary);
  color: var(--color-text-secondary);
}

.cookie-modal-btn-reject:hover {
  background-color: var(--color-text-secondary);
  color: white;
}

/* Estilos adicionales para intl-tel-input */
.iti {
  width: 100%;
}

/* Animaciones y efectos */
@keyframes slideInLeft {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-left {
  animation: slideInLeft 0.5s ease forwards;
}

.animate-right {
  animation: slideInRight 0.5s ease forwards;
}

.animate-fade {
  animation: fadeIn 0.5s ease forwards;
}

/* Diagonal Sections */
.diagonal-section {
  position: relative;
  padding: var(--spacing-xl) 0;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.diagonal-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg-secondary);
  transform: skewY(-3deg);
  transform-origin: top left;
  z-index: -1;
}

.image-text-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  align-items: center;
  margin: var(--spacing-lg) 0;
}

@media (min-width: 768px) {
  .image-text-section {
    grid-template-columns: 1fr 1fr;
  }
  
  .image-text-section.image-right {
    grid-template-areas: "text image";
  }
  
  .image-text-section.image-left {
    grid-template-areas: "image text";
  }
  
  .image-text-section .section-image {
    grid-area: image;
  }
  
  .image-text-section .section-content {
    grid-area: text;
  }
}

.section-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition-standard);
}

.image-text-section:hover .section-image img {
  transform: scale(1.02);
}

/* Estilos para la página de gracias */
.thanks-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: center;
  padding: var(--spacing-md);
}

.thanks-icon {
  font-size: 5rem;
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}

.thanks-title {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
}

.thanks-text {
  max-width: 600px;
  margin-bottom: var(--spacing-lg);
}

/* Estilos adicionales para las páginas legales */
.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-lg) var(--spacing-md);
}

.legal-date {
  color: var(--color-text-secondary);
  font-style: italic;
  margin-bottom: var(--spacing-md);
}

.legal-section {
  margin-bottom: var(--spacing-lg);
}

.legal-title {
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
}

/* Estilos específicos para la página de contacto */
.contact-info {
  margin-bottom: var(--spacing-lg);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--spacing-md);
}

.contact-icon {
  background-color: var(--color-primary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: var(--spacing-md);
  flex-shrink: 0;
}

.contact-text h3 {
  margin-top: 0;
  margin-bottom: var(--spacing-xs);
}

.contact-text p {
  margin: 0;
  color: var(--color-text-secondary);
}

.map-container {
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: var(--spacing-lg);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Estilos para las tablas */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--spacing-md);
}

th, td {
  padding: var(--spacing-sm);
  text-align: left;
  border-bottom: 1px solid #eee;
}

th {
  background-color: var(--color-primary);
  color: white;
  font-weight: 500;
}

tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.03);
}

/* Owl Carousel personalizado */
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
  background-color: var(--color-primary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
  transition: var(--transition-standard);
}

.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
  opacity: 1;
  background-color: var(--color-secondary);
}

.owl-carousel .owl-nav button.owl-prev {
  left: 10px;
}

.owl-carousel .owl-nav button.owl-next {
  right: 10px;
}

.owl-carousel .owl-dots {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-sm);
}

.owl-carousel .owl-dots .owl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  margin: 0 5px;
  transition: var(--transition-standard);
}

.owl-carousel .owl-dots .owl-dot.active {
  background-color: var(--color-primary);
}

/* Utilitarios */
.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-0 {
  margin-top: 0;
}

.my-lg {
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.py-lg {
  padding-top: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
}

.overflow-hidden {
  overflow: hidden;
}

/* Estilos orgánicos y texturas */
.organic-blob {
  position: absolute;
  z-index: -1;
  opacity: 0.05;
  width: 50%;
  height: auto;
}

.blob-1 {
  top: -100px;
  right: -100px;
}

.blob-2 {
  bottom: -100px;
  left: -100px;
}

.texture-bg {
  position: relative;
}

.texture-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%232a6365' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
  z-index: -1;
}

/* Decoradores orgánicos */
.organic-decorator {
  position: absolute;
  width: 200px;
  height: 200px;
  background-color: var(--color-primary);
  opacity: 0.05;
  border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
  z-index: -1;
}

.decorator-1 {
  top: 20%;
  left: -100px;
}

.decorator-2 {
  bottom: 10%;
  right: -100px;
  background-color: var(--color-secondary);
}

/* Ajustes específicos */
@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.7rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero {
    min-height: 400px;
  }
}