/* =========== Base Variables and Resets =========== */
:root {
  /* Pastel Color Scheme */
  --primary-color: #a6dcef;
  --primary-dark: #88c1d8;
  --secondary-color: #f2a6a6;
  --secondary-dark: #d88a8a;
  --accent-color: #c3aed6;
  --accent-dark: #a98dba;
  --light-color: #f9f9f9;
  --dark-color: #333333;
  --text-color: #222222;
  --bg-color: #f5f5f5;
  
  /* Glassmorphism Variables */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: 1px solid rgba(255, 255, 255, 0.18);
  --glass-radius: 16px;
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Typography */
  --heading-font: 'Manrope', sans-serif;
  --body-font: 'Rubik', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--spacing-sm);
  color: var(--dark-color);
}

header {
  max-width: 100vw;
}

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

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

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

ul {
  list-style: none;
}

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

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

section {
  padding: var(--spacing-xl) 0;
}

/* =========== Glassmorphism Styles =========== */
.glassmorphism {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: var(--glass-radius);
  box-shadow: var(--glass-shadow);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

/* =========== Typography =========== */
.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.section-title:after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  margin: var(--spacing-xs) auto 0;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: var(--spacing-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color);
}

/* =========== Buttons =========== */
.btn, button, input[type="submit"] {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  font-family: var(--body-font);
  font-size: 1rem;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.btn-secondary:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.btn-outline:hover {
  background-color: var(--dark-color);
  color: var(--light-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-cookie {
  background-color: var(--primary-color);
  color: var(--dark-color);
  padding: 10px 20px;
  border-radius: 30px;
}

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

/* Read More Links */
.read-more {
  display: inline-block;
  font-weight: 600;
  color: var(--primary-color);
  padding: 5px 0;
  position: relative;
  overflow: hidden;
}

.read-more:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-fast);
}

.read-more:hover {
  color: var(--primary-dark);
}

.read-more:hover:after {
  transform: scaleX(1);
  transform-origin: left;
}

/* =========== Header =========== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: var(--spacing-sm) 0;
  transition: all var(--transition-fast);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: var(--glass-border);
}

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

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

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

.logo h1 {
  font-size: 1.5rem;
  margin-bottom: 0;
  color: var(--dark-color);
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: var(--spacing-md);
}

nav ul li a {
  color: var(--dark-color);
  font-weight: 500;
}

nav ul li a:hover {
  color: var(--primary-color);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--dark-color);
  margin-bottom: 5px;
  border-radius: 3px;
  transition: all var(--transition-fast);
}

/* Header scroll effect */
header.scrolled {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 5px 0;
}

/* =========== Hero Section =========== */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  margin-top: -80px;
  padding-top: 80px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

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

.hero-content h2 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
  color: #FFFFFF;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
  color: #FFFFFF;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-sm);
}

/* =========== Services/Cards Section =========== */
.services-grid, 
.blog-grid,
.team-grid,
.values-grid,
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-md);
}

.card {
  background: var(--light-color);
  border-radius: var(--glass-radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
  transition: all var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

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

.card-content {
  padding: var(--spacing-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

/* =========== Process Section =========== */
.process-timeline {
  position: relative;
}

.process-timeline:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background-color: var(--primary-color);
  opacity: 0.3;
}

.process-step {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.process-step:nth-child(even) {
  flex-direction: row-reverse;
}

.step-number {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: var(--dark-color);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-content {
  flex: 1;
  padding: var(--spacing-md);
  background-color: var(--light-color);
  border-radius: var(--glass-radius);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
  margin: 0 var(--spacing-md);
}

.step-image {
  flex: 1;
  max-width: 350px;
  overflow: hidden;
  border-radius: var(--glass-radius);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
}

.step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

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

/* =========== Innovation Section =========== */
.innovation-content {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}

.innovation-text {
  flex: 1;
}

.innovation-image {
  flex: 1;
  border-radius: var(--glass-radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
}

.innovation-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

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

.progress-indicators {
  margin-top: var(--spacing-md);
}

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

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

.progress-bar {
  height: 10px;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 5px;
}

.progress-fill {
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 5px;
  transition: width 1s ease;
}

.progress-value {
  text-align: right;
  font-size: 0.9rem;
  color: var(--dark-color);
}

/* =========== Enlaces Section =========== */
.enlaces-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
}

.enlaces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.enlace-card {
  padding: var(--spacing-md);
  text-align: center;
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.enlace-card:hover {
  transform: translateY(-10px);
}

.enlace-card h3 {
  margin-bottom: var(--spacing-sm);
}

.enlace-card p {
  margin-bottom: var(--spacing-md);
}

/* =========== Testimonials Section =========== */
.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  justify-content: center;
}

.testimonial-card {
  background-color: var(--light-color);
  border-radius: var(--glass-radius);
  padding: var(--spacing-md);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 350px;
  transition: all var(--transition-medium);
}

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

.testimonial-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: var(--spacing-sm);
  border: 3px solid var(--primary-color);
}

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

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--spacing-sm);
}

.testimonial-author {
  font-weight: 700;
  margin-bottom: 0;
}

.testimonial-role {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: var(--spacing-xs);
}

.testimonial-rating {
  color: gold;
  font-size: 1.2rem;
}

/* =========== Mission Section =========== */
.mission-content {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}

.mission-text {
  flex: 1;
}

.mission-image {
  flex: 1;
  border-radius: var(--glass-radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
}

.mission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

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

/* =========== FAQ Section =========== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: var(--spacing-sm);
}

.faq-question {
  padding: var(--spacing-sm) 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  transition: transform var(--transition-fast);
}

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

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

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

/* =========== Contact Section =========== */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

.contact-info h3,
.contact-form h3 {
  margin-bottom: var(--spacing-md);
}

.contact-hours,
.contact-map {
  margin-top: var(--spacing-md);
}

.contact-map iframe {
  border-radius: var(--glass-radius);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
}

.contact-form form {
  display: grid;
  gap: var(--spacing-sm);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-family: var(--body-font);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(166, 220, 239, 0.3);
}

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

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-group input {
  width: auto;
}

.checkbox-group label {
  margin-bottom: 0;
}

/* =========== Footer =========== */
.footer-section {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: var(--spacing-xl) 0 var(--spacing-sm);
}

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

.footer-logo h3 {
  color: var(--light-color);
}

.footer-links h4,
.footer-legal h4,
.footer-social h4 {
  color: var(--light-color);
  margin-bottom: var(--spacing-sm);
}

.footer-links ul,
.footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

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

.social-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-sm);
}

.social-links a {
  display: inline-block;
  padding: 5px 0;
  transition: transform var(--transition-fast);
}

.social-links a:hover {
  transform: translateX(5px);
}

.footer-contact p {
  margin-bottom: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========== Cookie Consent =========== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  color: var(--light-color);
  padding: var(--spacing-md);
  z-index: 9999;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-md);
}

.cookie-content p {
  margin-bottom: 0;
}

/* =========== Behind the Scenes =========== */
.behind-scenes-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

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

.team-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--spacing-sm);
  border: 3px solid var(--primary-color);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.team-member:hover .team-photo img {
  transform: scale(1.1);
}

.team-info h3 {
  margin-bottom: 5px;
}

.team-position {
  color: #666;
  font-style: italic;
  margin-bottom: var(--spacing-sm);
}

/* =========== Press/Blog Section =========== */
.press-item, 
.blog-item {
  margin-bottom: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.press-logo, 
.blog-image {
  width: 100%;
  height: 200px;
  margin-bottom: var(--spacing-sm);
  border-radius: var(--glass-radius);
  overflow: hidden;
}

.press-logo img, 
.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.press-item:hover .press-logo img, 
.blog-item:hover .blog-image img {
  transform: scale(1.05);
}

.press-content, 
.blog-content {
  padding: var(--spacing-sm);
  text-align: center;
}

.press-date, 
.blog-date {
  display: block;
  color: #666;
  margin-bottom: var(--spacing-xs);
  font-size: 0.9rem;
}

/* =========== Legal Pages =========== */
.contenido-legal-section {
  padding-top: 100px;
}

.legal-content {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: var(--spacing-lg);
}

.legal-nav {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.legal-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-text h2 {
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.legal-text h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-text h3 {
  margin-top: var(--spacing-md);
}

.legal-text ul {
  list-style: disc;
  padding-left: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

/* =========== Success Page =========== */
.success-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
}

.success-content {
  text-align: center;
  max-width: 600px;
  padding: var(--spacing-lg);
}

.success-icon {
  margin-bottom: var(--spacing-md);
}

.success-message {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-sm);
}

.success-buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

/* =========== Media Queries =========== */
@media (max-width: 992px) {
  .section-title {
    font-size: 2rem;
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .process-step,
  .process-step:nth-child(even) {
    flex-direction: column;
  }
  
  .step-content {
    margin: var(--spacing-sm) 0;
  }
  
  .innovation-content,
  .mission-content {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .legal-content {
    grid-template-columns: 1fr;
  }
  
  .legal-nav {
    position: static;
    margin-bottom: var(--spacing-md);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
  }
  
  .menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .menu li {
    margin: var(--spacing-xs) 0;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

.fade-in {
  animation: fadeIn 1s ease forwards;
}

/* Micro Animations */
.btn, button, input[type="submit"] {
  position: relative;
  overflow: hidden;
}

.btn:after, button:after, input[type="submit"]:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1) translate(-50%, -50%);
  transform-origin: 50% 50%;
}

.btn:focus:not(:active)::after, button:focus:not(:active)::after, input[type="submit"]:focus:not(:active)::after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0) translate(-50%, -50%);
    opacity: 1;
  }
  100% {
    transform: scale(20) translate(-50%, -50%);
    opacity: 0;
  }
}

/* Adaptive Typography */
@media (max-width: 1200px) {
  body {
    font-size: 15px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
}

/* Page specific styles */
.page-hero {
  height: 60vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #FFFFFF;
  position: relative;
  margin-top: -80px;
  padding-top: 80px;
}

.page-hero-content h2 {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
  color: #FFFFFF;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Image containers in cards */
.image-container, .card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container img, .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contact Info Cards */
.contacto-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.contacto-card {
  text-align: center;
  padding: var(--spacing-md);
  background-color: var(--light-color);
  border-radius: var(--glass-radius);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contacto-card:hover {
  transform: translateY(-10px);
}

.contacto-icon {
  margin-bottom: var(--spacing-sm);
}

/* Instalaciones Gallery */
.instalaciones-galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.galeria-item {
  position: relative;
  border-radius: var(--glass-radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
}

.galeria-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--spacing-sm);
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: var(--light-color);
}

.galeria-caption h3 {
  color: var(--light-color);
  margin-bottom: 5px;
}

/* Recomendaciones Grid */
.recomendaciones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.recomendacion-card {
  text-align: center;
  padding: var(--spacing-md);
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.recomendacion-card:hover {
  transform: translateY(-10px);
}

.recomendacion-icon {
  margin-bottom: var(--spacing-sm);
}

/* Menu Toggle Animation */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

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

/* Error Message Styles */
.error-message {
  color: #d8000c;
  font-size: 0.9rem;
  margin-top: 5px;
}

.is-invalid {
  border-color: #d8000c !important;
}

.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(216, 0, 12, 0.3) !important;
}