/* Reset y estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #007bc4;
  --dark-blue: #007bc4;
  --light-blue: #e6f4fb;
  --text-dark: #333;
  --text-light: #666;
  --white: #fff;
  --gray-light: #f5f5f5;
  --border-color: #ddd;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

/* Container */
.container {
  max-width: 1199px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.logo img {
  height: 48px;
  width: auto;
}

.language-selector {
  display: flex;
  gap: 10px;
}

.lang-btn {
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  background-color: var(--white);
  color: var(--text-dark);
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  background-color: var(--light-blue);
  border-color: var(--primary-blue);
}

.lang-btn.active {
  background-color: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

/* Slider */
.slider {
  width: 100%;
  background-color: var(--gray-light);
  overflow: hidden;
}

.slider-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--white);
  border: none;
  padding: 15px 20px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.slider-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.slider-btn.prev {
  left: 20px;
}

.slider-btn.next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slider-dot.active {
  background-color: var(--white);
}

/* Content Blocks */
.content-block {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.content-block:last-of-type {
  border-bottom: none;
}

.content-block h2 {
  font-size: 32px;
  color: var(--dark-blue);
  margin-bottom: 30px;
  font-weight: 600;
}

.content-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
}

.content-text p {
  margin-bottom: 15px;
}

/* Services */
.services {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 25px;
  background-color: var(--gray-light);
  border-radius: 8px;
  font-size: 16px;
}

.service-icon {
  font-size: 24px;
}

/* Map */
.map-container {
  width: 100%;
  height: 450px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

/* Footer */
.footer {
  background-color: #007bc4;
  color: var(--white);
  padding: 30px 0;
  margin-top: 60px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.footer-logo-section {
  flex-shrink: 0;
}

.footer-logo {
  height: 36px;
  width: auto;
}

.footer-info-section {
  flex: 1;
  text-align: center;
}

.footer-copyright {
  font-size: 13px;
  opacity: 0.95;
}

.footer-info-section a {
  color: #fff;
  text-decoration: none;
}

.footer-info-section a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1199px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-info-section {
    text-align: left;
  }
}

@media (max-width: 992px) {
  .slider-wrapper {
    height: 400px;
  }

  .content-block h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 15px;
  }

  .logo img {
    height: 50px;
  }

  .language-selector {
    width: 100%;
    justify-content: center;
  }

  .lang-btn {
    flex: 1;
    text-align: center;
  }

  .slider-wrapper {
    height: 300px;
  }

  .slider-btn {
    padding: 10px 15px;
    font-size: 18px;
  }

  .slider-btn.prev {
    left: 10px;
  }

  .slider-btn.next {
    right: 10px;
  }

  .content-block {
    padding: 40px 0;
  }

  .content-block h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .content-text {
    font-size: 15px;
  }

  .services {
    flex-direction: column;
  }

  .service-item {
    width: 100%;
  }

  .map-container {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .slider-wrapper {
    height: 250px;
  }

  .content-block h2 {
    font-size: 22px;
  }

  .content-text {
    font-size: 14px;
  }

  .map-container {
    height: 300px;
  }

  .footer {
    padding: 30px 0 15px;
  }
}

/* Animaciones */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-block {
  animation: fadeIn 0.6s ease-out;
}

/* Utilidades */
.hidden {
  display: none !important;
}

.multilang {
  display: block;
}
