/* ====================
   VARIABLES & BASE STYLES
   ==================== */
:root {
  /* Primary Colors */
  --primary-color: #3a66db;
  --primary-dark: #2a4ba0;
  --primary-light: #5e87f5;
  
  /* Secondary Colors */
  --secondary-color: #44c0aa;
  --secondary-dark: #318f7d;
  --secondary-light: #6fdbc8;
  
  /* Accent Colors */
  --accent-color: #f7612e;
  --accent-dark: #d84a1a;
  --accent-light: #ff8457;
  
  /* Neutrals */
  --text-dark: #1a1a2e;
  --text-medium: #333;
  --text-light: #ffffff;
  --bg-light: #ffffff;
  --bg-medium: #f7f9fc;
  --bg-dark: #1a1a2e;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  --gradient-dark: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(26, 26, 46, 0.95));
  --gradient-overlay: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.6));
  
  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Merriweather', serif;
}

/* ====================
   GLOBAL STYLES
   ==================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

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

h1 {
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
}

h2 {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

h3 {
  font-size: 1.75rem;
  margin-bottom: var(--space-sm);
}

h4 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

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

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

a:hover, a:focus {
  color: var(--primary-dark);
  text-decoration: underline;
}

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

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

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

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header h2 {
  position: relative;
  display: inline-block;
  margin-bottom: var(--space-sm);
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
}

.section-header p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-medium);
}

/* ====================
   BUTTONS
   ==================== */
.btn,
button,
input[type='submit'] {
  display: inline-block;
  padding: 12px 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  outline: none;
  box-shadow: var(--shadow-sm);
}

.primary-btn {
  background: var(--gradient-primary);
  color: var(--text-light);
}

.primary-btn:hover, .primary-btn:focus {
  background: var(--primary-dark);
  color: var(--text-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
}

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

.secondary-btn:hover, .secondary-btn:focus {
  background: var(--primary-color);
  color: var(--text-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
}

/* ====================
   HEADER & NAVIGATION
   ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  height: 80px;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
}

.logo a {
  color: var(--primary-color);
  text-decoration: none;
}

.nav-menu {
  display: flex;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin: 0 var(--space-sm);
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width var(--transition-normal);
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--primary-color);
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  width: 100%;
}

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.burger-menu span {
  display: block;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
}

/* ====================
   HERO SECTION
   ==================== */
.hero-section {
  position: relative;
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-dark);
  overflow: hidden;
}

.hero-content {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay);
}

.hero-content .container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding-top: 80px;
}

.hero-content h1 {
  color: var(--text-light);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  color: var(--text-light);
  font-size: 1.3rem;
  margin-bottom: var(--space-md);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

/* ====================
   SERVICES SECTION
   ==================== */
.services-section {
  background-color: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-md);
}

.card {
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

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

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

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

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

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

.card-content h3 {
  font-size: 1.4rem;
  margin-bottom: var(--space-sm);
  color: var(--text-dark);
}

.card-content p {
  color: var(--text-medium);
  margin-bottom: var(--space-sm);
}

/* ====================
   VISION SECTION
   ==================== */
.vision-section {
  background-color: var(--bg-medium);
  position: relative;
  overflow: hidden;
}

.vision-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-lg);
}

.vision-image {
  flex: 1 1 400px;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.vision-text {
  flex: 1 1 500px;
  padding: var(--space-md);
}

.vision-text h2 {
  margin-bottom: var(--space-md);
  color: var(--text-dark);
}

.vision-text p {
  margin-bottom: var(--space-md);
  color: var(--text-medium);
}

/* ====================
   TEAM SECTION
   ==================== */
.team-section {
  background-color: var(--bg-light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.team-grid .card-image {
  height: 350px;
}

.position {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

/* ====================
   RESEARCH SECTION
   ==================== */
.research-section {
  background-color: var(--bg-medium);
}

.research-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-lg);
}

.research-image {
  flex: 1 1 400px;
  text-align: center;
}

.research-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 500px;
  height: auto;
  margin: 0 auto;
}

.research-text {
  flex: 1 1 500px;
}

.research-text h3 {
  margin-bottom: var(--space-md);
  color: var(--text-dark);
}

.timeline {
  position: relative;
  margin: var(--space-md) 0;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-md);
}

.timeline-marker {
  position: absolute;
  left: -36px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(58, 102, 219, 0.3);
  z-index: 1;
}

.timeline-content {
  padding-bottom: var(--space-sm);
}

.timeline-content h4 {
  color: var(--primary-color);
  margin-bottom: var(--space-xs);
}

/* ====================
   RECURSOS SECTION
   ==================== */
.recursos-section {
  background-color: var(--bg-light);
}

.recursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-md);
}

.recurso-card {
  background-color: var(--bg-light);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.recurso-card h3 {
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
}

.recurso-card p {
  color: var(--text-medium);
  margin-bottom: var(--space-sm);
}

.recurso-card a {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  display: block;
  transition: color var(--transition-normal);
}

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

.recurso-desc {
  font-size: 0.9rem;
  color: var(--text-medium);
  opacity: 0.8;
}

/* ====================
   GALLERY SECTION
   ==================== */
.gallery-section {
  background-color: var(--bg-medium);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--space-md);
  background: var(--gradient-dark);
  color: var(--text-light);
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-caption h3 {
  color: var(--text-light);
  margin-bottom: var(--space-xs);
  font-size: 1.2rem;
}

.gallery-caption p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ====================
   CLIENTELE SECTION
   ==================== */
.clientele-section {
  background-color: var(--bg-light);
}

.clientele-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-md);
}

.clientele-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-md);
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

.clientele-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.clientele-item img {
  width: 200px;
  height: 120px;
  object-fit: contain;
  margin-bottom: var(--space-md);
}

.clientele-quote {
  margin-top: var(--space-md);
}

.clientele-quote p {
  font-style: italic;
  color: var(--text-medium);
  position: relative;
  padding: 0 var(--space-md);
}

.clientele-quote p::before,
.clientele-quote p::after {
  content: '"';
  font-size: 2rem;
  color: var(--primary-light);
  position: absolute;
  opacity: 0.3;
}

.clientele-quote p::before {
  top: -10px;
  left: 0;
}

.clientele-quote p::after {
  bottom: -20px;
  right: 0;
}

.clientele-quote cite {
  display: block;
  margin-top: var(--space-sm);
  font-weight: 600;
  color: var(--primary-color);
}

/* ====================
   PRICING SECTION
   ==================== */
.pricing-section {
  background-color: var(--bg-medium);
}

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

.pricing-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
  z-index: 1;
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-header {
  background: var(--gradient-primary);
  color: var(--text-light);
  padding: var(--space-md);
  text-align: center;
}

.pricing-header h3 {
  color: var(--text-light);
  margin-bottom: var(--space-sm);
}

.price {
  font-family: var(--font-heading);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price span {
  font-size: 0.9rem;
  opacity: 0.8;
}

.price .amount {
  font-size: 2.5rem;
  font-weight: 700;
  opacity: 1;
}

.pricing-features {
  padding: var(--space-md);
  flex-grow: 1;
}

.pricing-features ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pricing-features li {
  padding: var(--space-xs) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
}

.pricing-features li::before {
  content: '✓';
  display: inline-block;
  margin-right: var(--space-xs);
  color: var(--primary-color);
  font-weight: bold;
}

.pricing-footer {
  padding: var(--space-md);
  text-align: center;
}

.pricing-note {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  font-style: italic;
  color: var(--text-medium);
}

/* ====================
   CONTACT SECTION
   ==================== */
.contact-section {
  background-color: var(--bg-light);
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.contact-info {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.contact-map {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

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

.contact-form {
  flex: 1 1 500px;
  background-color: var(--bg-light);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  margin-bottom: var(--space-md);
  text-align: center;
}

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

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--bg-light);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(58, 102, 219, 0.2);
  outline: none;
}

.consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
}

.consent-checkbox input[type="checkbox"] {
  width: auto;
  margin-top: 5px;
}

.form-submit {
  text-align: center;
  margin-top: var(--space-md);
}

/* ====================
   FOOTER
   ==================== */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: var(--space-lg) 0 var(--space-md);
}

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

.footer-logo h3 {
  color: var(--text-light);
  margin-bottom: var(--space-sm);
  font-size: 1.8rem;
}

.footer-logo p {
  opacity: 0.8;
}

.footer h4 {
  color: var(--text-light);
  margin-bottom: var(--space-md);
  font-size: 1.3rem;
}

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

.footer li {
  margin-bottom: var(--space-sm);
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer a:hover,
.footer a:focus {
  color: var(--text-light);
  text-decoration: none;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.social-links a {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

.social-links a:hover,
.social-links a:focus {
  color: var(--text-light);
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
}

.copyright {
  opacity: 0.7;
}

.legal-links {
  display: flex;
  gap: var(--space-md);
}

/* ====================
   COOKIE CONSENT
   ==================== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(26, 26, 46, 0.95);
  color: var(--text-light);
  padding: var(--space-md);
  z-index: 9999;
  display: none;
}

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

.cookie-content p {
  margin: 0;
  flex: 1;
}

.cookie-btn {
  background: var(--primary-color);
  color: var(--text-light);
  border: none;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: background-color var(--transition-fast);
}

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

/* ====================
   SUCCESS PAGE
   ==================== */
.success-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-lg);
}

.success-content {
  max-width: 700px;
  background-color: var(--bg-light);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.success-icon {
  font-size: 5rem;
  color: var(--secondary-color);
  margin-bottom: var(--space-md);
}

.success-title {
  color: var(--text-dark);
  margin-bottom: var(--space-md);
}

.success-message {
  margin-bottom: var(--space-lg);
}

/* ====================
   PRIVACY & TERMS PAGES
   ==================== */
.page-content {
  padding-top: 120px;
  padding-bottom: var(--space-lg);
}

.page-header {
  margin-bottom: var(--space-lg);
}

.page-header h1 {
  margin-bottom: var(--space-sm);
}

.page-section {
  margin-bottom: var(--space-lg);
}

.page-section h2 {
  margin-bottom: var(--space-md);
}

.page-section h3 {
  margin-bottom: var(--space-sm);
}

.page-section p,
.page-section ul {
  margin-bottom: var(--space-md);
}

.page-section ul {
  padding-left: var(--space-md);
}

.page-section li {
  margin-bottom: var(--space-xs);
}

/* ====================
   ICONS
   ==================== */
[class^="icon-"] {
  display: inline-block;
  width: 1em;
  height: 1em;
  position: relative;
  margin-right: var(--space-xs);
  color: var(--primary-color);
}

.icon-location::before,
.icon-phone::before,
.icon-email::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1em;
  height: 1em;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.icon-location::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233a66db'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
}

.icon-phone::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233a66db'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
}

.icon-email::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233a66db'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

/* ====================
   MEDIA QUERIES
   ==================== */
@media (max-width: 991px) {
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .clientele-grid,
  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .section-header {
    margin-bottom: var(--space-md);
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .navbar {
    height: 70px;
  }
  
  .burger-menu {
    display: flex;
    z-index: 100;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: var(--bg-light);
    box-shadow: var(--shadow-lg);
    padding: 80px var(--space-md) var(--space-md);
    transition: right var(--transition-normal);
    z-index: 99;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-links {
    flex-direction: column;
    width: 100%;
  }
  
  .nav-links li {
    margin: var(--space-xs) 0;
  }
  
  .vision-content,
  .research-content,
  .contact-content {
    flex-direction: column;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .services-grid,
  .team-grid,
  .gallery-grid,
  .recursos-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header p {
    font-size: 1rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .precio-item {
    padding: var(--space-sm);
  }
}