:root {
  /* Color system */
  --primary: rgb(43, 166, 255);
  --primary-dark: rgb(32, 124, 191);
  --primary-light: rgb(176, 219, 255);
  --secondary: rgb(20, 184, 166);
  --accent: rgb(249, 115, 22);
  --success: rgb(34, 197, 94);
  --warning: rgb(234, 179, 8);
  --error: rgb(239, 68, 68);
  --neutral-100: rgb(255, 255, 255);
  --neutral-200: rgb(245, 247, 250);
  --neutral-300: rgb(229, 231, 235);
  --neutral-400: rgb(209, 213, 219);
  --neutral-500: rgb(156, 163, 175);
  --neutral-600: rgb(107, 114, 128);
  --neutral-700: rgb(75, 85, 99);
  --neutral-800: rgb(55, 65, 81);
  --neutral-900: rgb(31, 41, 55);

  /* Typography */
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --font-light: 300;
  --font-regular: 400;
  --font-bold: 600;
  
  /* Spacing - based on 8px system */
  --space-1: 0.5rem;   /* 8px */
  --space-2: 1rem;     /* 16px */
  --space-3: 1.5rem;   /* 24px */
  --space-4: 2rem;     /* 32px */
  --space-5: 3rem;     /* 48px */
  --space-6: 4rem;     /* 64px */
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  /* Border radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-medium: 300ms ease;
  --transition-slow: 500ms ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-weight: var(--font-regular);
  line-height: 1.5;
  color: var(--neutral-800);
  background-color: var(--neutral-100);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-bold);
  line-height: 1.2;
  margin-bottom: var(--space-2);
  color: var(--neutral-900);
}

.hero-title {

  color: white;
}

p {
  margin-bottom: var(--space-2);
}

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

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  list-style-position: inside;
  margin-bottom: var(--space-2);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  font-family: var(--font-family);
}

/* Layout */
.container{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-2);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  z-index: 100;
  transition: all var(--transition-medium);
}

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

.logo h1 {
  font-size: 1.75rem;
  margin: 0;
  color: var(--primary);
  font-weight: var(--font-bold);
  letter-spacing: -0.5px;
}

.logo img {
  max-width: 38%;
}

.logo {
  transform: translate(-130px, 0)
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  gap: var(--space-3);
}

.nav-list a {
  color: var(--neutral-700);
  font-weight: var(--font-regular);
  transition: color var(--transition-fast);
}

.nav-list a:hover {
  color: var(--primary);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 102;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--neutral-800);
  position: absolute;
  left: 0;
  transition: all var(--transition-fast);
}

.mobile-menu-toggle span:nth-child(1) {
  top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.mobile-menu-toggle span:nth-child(3) {
  bottom: 0;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: var(--font-bold);
  text-align: center;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
}

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

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

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background-color: transparent;
}

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

/* Hero Section */
.hero {
  height: 80vh;
  min-height: 600px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                  url('panoramica.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  padding-top: 80px;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-3);
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: var(--space-2);
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--space-3);
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero .btn {
  animation: fadeInUp 1s ease 0.4s both;
}

/* Carousel */
.carousel-section {
  padding: var(--space-5) 0;
}

.carousel-container {
  max-width: 1000px;
  margin: 0 auto;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.carousel-track {
  display: flex;
  transition: transform var(--transition-medium);
}

.carousel-slide {
  min-width: 100%;
  overflow: hidden;
}

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

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 10;
  transition: all var(--transition-fast);
}

.carousel-btn:hover {
  background: white;
}

.carousel-btn.prev {
  left: var(--space-2);
}

.carousel-btn.next {
  right: var(--space-2);
}

.carousel-indicators {
  position: absolute;
  bottom: var(--space-2);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  transition: all var(--transition-fast);
}

.indicator.active {
  background-color: var(--primary);
  transform: scale(1.2);
}

/* Info Sections */
.info-sections {
  padding: var(--space-5) 0;
  background-color: var(--neutral-200);
}

.sections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-3);
}

.info-card {
  background-color: white;
  padding: var(--space-3);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium);
  opacity: 0;
  transform: translateY(20px);
}

.info-card.appear {
  animation: fadeInUp 0.6s ease forwards;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}

.info-icon i {
  font-size: 24px;
}

.info-card h3 {
  margin-bottom: var(--space-1);
  font-size: 1.5rem;
}

.values-list {
  list-style: none;
}

.values-list li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 24px;
}

.values-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: var(--font-bold);
}

.values-list span {
  font-weight: var(--font-bold);
}

/* Contact Section */
.contact-section {
  padding: var(--space-5) 0;
}

.contact-section h2 {
  text-align: center;
  margin-bottom: var(--space-4);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-4);
}

.contact-info {
  background-color: var(--primary);
  color: white;
  padding: var(--space-3);
  border-radius: var(--radius-md);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.contact-item i {
  font-size: 24px;
}

.schedule {
  margin-top: var(--space-3);
}

.schedule h4 {
  color: white;
  margin-bottom: var(--space-1);
}

.contact-form {
  background-color: var(--neutral-200);
  padding: var(--space-3);
  border-radius: var(--radius-md);
}

.contact-form h3 {
  margin-bottom: var(--space-2);
}

.form-group {
  margin-bottom: var(--space-2);
}

.form-group input, 
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
.footer {
  background-color: var(--neutral-900);
  color: var(--neutral-300);
  padding: var(--space-4) 0 var(--space-2);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.footer-logo h2 {
  color: white;
  margin-bottom: var(--space-1);
}

.footer-logo p {
  color: var(--neutral-400);
}

.footer h4 {
  color: white;
  margin-bottom: var(--space-2);
}

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

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--neutral-400);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
}

.social-icons {
  display: flex;
  gap: var(--space-1);
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all var(--transition-fast);
}

.social-icons a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-2);
  text-align: center;
  font-size: 0.875rem;
  color: var(--neutral-500);
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: var(--space-3);
  right: var(--space-3);
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: var(--shadow-lg);
  z-index: 99;
  transition: all var(--transition-medium);
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  color: white;
}

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

/* Media Queries */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.75rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .carousel-slide img {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .header-content {
    height: 70px;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    padding: 100px var(--space-3) var(--space-3);
    transition: right var(--transition-medium);
    box-shadow: var(--shadow-lg);
    z-index: 101;
  }
  
  .nav-list.active {
    right: 0;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .carousel-slide img {
    height: 350px;
  }
  
  .sections-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero {
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .carousel-slide img {
    height: 250px;
  }
  
  .carousel-btn {
    width: 30px;
    height: 30px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .whatsapp-btn {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

@media (min-width: 992px) {
  .logo {
    transform: translate(-130px, 0);
  }
}

@media (max-width: 991px) {
  .logo {
    transform: none;
  }
}

@media (max-width: 768px) {
  .header-content {
    padding: 0 var(--space-2);
    justify-content: space-between;
    height: 70px;
  }

  .logo {
    transform: none;
  }

  .mobile-menu-toggle {
    display: block;
  }
}

