
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Playfair+Display:wght@400;700&display=swap');

:root {
  /* Color Scheme - Inspired by Spanish architecture and modern design */
  --color-primary: #e63946; /* Vibrant red for emphasis */
  --color-secondary: #2a9d8f; /* Teal for secondary elements */
  --color-tertiary: #f4a261; /* Warm accent */
  --color-dark: #264653; /* Deep blue for text and contrast */
  --color-light: #f1faee; /* Off-white background */
  --color-gray: #8d99ae; /* Subtle gray for supporting elements */
  --color-black: #1d3557; /* Near-black for headings */
  
  /* Typography */
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Playfair Display', serif;
  
  /* Font Sizes */
  --fs-xxl: 4.5rem; /* 72px */
  --fs-xl: 3.5rem;  /* 56px */
  --fs-lg: 2.5rem;  /* 40px */
  --fs-md: 1.75rem; /* 28px */
  --fs-sm: 1.25rem; /* 20px */
  --fs-xs: 1rem;    /* 16px */
  --fs-xxs: 0.875rem; /* 14px */
  
  /* Spacing */
  --space-xxs: 0.25rem; /* 4px */
  --space-xs: 0.5rem;   /* 8px */
  --space-sm: 1rem;     /* 16px */
  --space-md: 2rem;     /* 32px */
  --space-lg: 3rem;     /* 48px */
  --space-xl: 5rem;     /* 80px */
  --space-xxl: 7.5rem;  /* 120px */
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 24px;
  --radius-rounded: 50%;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(38, 70, 83, 0.1);
  --shadow-md: 0 4px 16px rgba(38, 70, 83, 0.12);
  --shadow-lg: 0 8px 30px rgba(38, 70, 83, 0.16);
  --shadow-inset: inset 0 2px 6px rgba(38, 70, 83, 0.08);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Icon Sizes */
  --icon-xs: 1rem;
  --icon-sm: 1.25rem;
  --icon-md: 1.75rem;
  --icon-lg: 2.5rem;
  --icon-xl: 3.5rem;
}

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

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

body {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-light);
}

.container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-black);
}

h1 {
  font-size: var(--fs-xxl);
  letter-spacing: -1px;
}

h2 {
  font-size: var(--fs-xl);
  letter-spacing: -0.5px;
}

h3 {
  font-size: var(--fs-lg);
}

h4 {
  font-size: var(--fs-md);
}

h5 {
  font-size: var(--fs-sm);
  font-weight: 600;
}

h6 {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

p {
  font-size: var(--fs-xs);
  margin-bottom: var(--space-md);
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xs) var(--space-md);
  font-family: var(--font-primary);
  font-size: var(--fs-xs);
  font-weight: 500;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-medium);
  text-decoration: none;
}

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

.btn-primary:hover {
  background-color: #d42836;
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-light);
}

.btn-secondary:hover {
  background-color: #238c7f;
  box-shadow: var(--shadow-md);
}

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

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

.btn i {
  margin-right: var(--space-xs);
}

/* Card Styles */
.card {
  background-color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

/* Icon Styling */
.icon-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-xs {
  font-size: var(--icon-xs);
}

.icon-sm {
  font-size: var(--icon-sm);
}

.icon-md {
  font-size: var(--icon-md);
}

.icon-lg {
  font-size: var(--icon-lg);
}

.icon-xl {
  font-size: var(--icon-xl);
}

.icon-circle {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-rounded);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-light);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

/* Form Elements */
input, textarea, select {
  font-family: var(--font-primary);
  font-size: var(--fs-xs);
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid var(--color-gray);
  border-radius: var(--radius-md);
  background-color: #fff;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-inset);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--color-primary);
}

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

.bg-primary {
  background-color: var(--color-primary);
  color: var(--color-light);
}

.bg-secondary {
  background-color: var(--color-secondary);
  color: var(--color-light);
}

.bg-tertiary {
  background-color: var(--color-tertiary);
  color: var(--color-dark);
}

.bg-dark {
  background-color: var(--color-dark);
  color: var(--color-light);
}

.bg-light {
  background-color: var(--color-light);
  color: var(--color-dark);
}

/* Responsive Typography */
@media (max-width: 1023px) {
  :root {
    --fs-xxl: 3.5rem;
    --fs-xl: 2.75rem;
    --fs-lg: 2rem;
    --fs-md: 1.5rem;
  }
}

@media (max-width: 767px) {
  :root {
    --fs-xxl: 2.75rem;
    --fs-xl: 2.25rem;
    --fs-lg: 1.75rem;
    --fs-md: 1.25rem;
    --fs-sm: 1.125rem;
    
    --space-xl: 4rem;
    --space-xxl: 5rem;
  }
  
  h1, h2, h3, h4, h5 {
    margin-bottom: var(--space-sm);
  }
}
.header {
  font-family: var(--font-primary);
  background-color: var(--color-light);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  max-width: 1440px;
  margin: 0 auto;
}

/* Logo Styling */
.header__logo-container {
  display: flex;
  align-items: center;
}

.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-black);
  transition: transform var(--transition-medium);
}

.header__logo:hover {
  transform: translateY(-2px);
}

.header__logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: var(--color-primary);
  color: var(--color-light);
  border-radius: var(--radius-md);
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: var(--fs-md);
  margin-right: var(--space-xs);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.header__logo-icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 50%);
}

.header__logo-text {
  display: flex;
  flex-direction: column;
}

.header__logo-main {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--color-black);
  line-height: 1.2;
}

.header__logo-tagline {
  font-size: var(--fs-xxs);
  color: var(--color-gray);
  font-weight: 500;
}

/* Navigation */
.header__nav {
  display: flex;
}

.header__nav-list {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.header__nav-item {
  margin: 0 var(--space-sm);
  position: relative;
}

.header__nav-link {
  color: var(--color-black);
  text-decoration: none;
  font-size: var(--fs-xs);
  font-weight: 500;
  padding: var(--space-xs) var(--space-xxs);
  transition: color var(--transition-fast);
  position: relative;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-medium);
}

.header__nav-link:hover {
  color: var(--color-primary);
}

.header__nav-link:hover::after,
.header__nav-link:focus::after {
  width: 100%;
}

.header__nav-link--highlight {
  color: var(--color-secondary);
  font-weight: 600;
}

.header__nav-link--highlight::after {
  background-color: var(--color-secondary);
}

.header__nav-link--highlight:hover {
  color: var(--color-secondary);
}

/* Actions area */
.header__actions {
  display: flex;
  align-items: center;
}

.header__cta {
  margin-right: var(--space-sm);
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.header__cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Mobile Toggle Button */
.header__mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10000;
}

.header__mobile-toggle-bar {
  width: 100%;
  height: 2px;
  background-color: var(--color-black);
  transition: all var(--transition-medium);
  border-radius: var(--radius-sm);
}

/* Accent Bar */
.header__accent-bar {
  display: flex;
  height: 4px;
  width: 100%;
}

.header__accent-segment {
  height: 100%;
}

.header__accent-segment--primary {
  background-color: var(--color-primary);
  width: 60%;
}

.header__accent-segment--secondary {
  background-color: var(--color-secondary);
  width: 25%;
}

.header__accent-segment--tertiary {
  background-color: var(--color-tertiary);
  width: 15%;
}

/* Mobile Menu */
.header__mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-light);
  z-index: 9999;
  padding: var(--space-md);
  flex-direction: column;
  overflow-y: auto;
}

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

.header__mobile-close {
  background: transparent;
  border: none;
  font-size: var(--fs-md);
  color: var(--color-black);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-rounded);
  transition: background-color var(--transition-fast);
}

.header__mobile-close:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.header__mobile-nav {
  margin-top: var(--space-md);
}

.header__mobile-nav-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.header__mobile-nav-item {
  margin-bottom: var(--space-md);
}

.header__mobile-nav-link {
  color: var(--color-black);
  text-decoration: none;
  font-size: var(--fs-md);
  font-weight: 500;
  display: block;
  transition: color var(--transition-fast);
  padding: var(--space-xs) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header__mobile-nav-link:hover {
  color: var(--color-primary);
}

.header__mobile-nav-link--highlight {
  color: var(--color-secondary);
  font-weight: 600;
}

.header__mobile-nav-link--highlight:hover {
  color: var(--color-secondary);
}

.header__mobile-footer {
  margin-top: auto;
  padding-top: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.header__mobile-footer-link {
  color: var(--color-gray);
  text-decoration: none;
  font-size: var(--fs-xxs);
  transition: color var(--transition-fast);
}

.header__mobile-footer-link:hover {
  color: var(--color-primary);
}

/* Responsive Styles */
@media (max-width: 1023px) {
  .header__nav-item {
    margin: 0 var(--space-xs);
  }
  
  .header__cta {
    padding: var(--space-xxs) var(--space-sm);
    font-size: var(--fs-xxs);
  }
}

@media (max-width: 767px) {
  .header__nav {
    display: none;
  }
  
  .header__cta {
    display: none;
  }
  
  .header__mobile-toggle {
    display: flex;
  }
  
  .header__logo-main {
    font-size: var(--fs-xs);
  }
  
  .header__logo-tagline {
    font-size: 0.75rem;
  }
  
  .header__logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    font-size: var(--fs-sm);
  }
}

@media (max-width: 480px) {
  .header__container {
    padding: var(--space-xs) var(--space-sm);
  }
  
  .header__logo-icon {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1rem;
  }
}

/* Animation for mobile menu toggle */
.header__mobile-toggle.is-active .header__mobile-toggle-bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.header__mobile-toggle.is-active .header__mobile-toggle-bar:nth-child(2) {
  opacity: 0;
}

.header__mobile-toggle.is-active .header__mobile-toggle-bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.header__mobile-menu.is-active {
  display: flex;
}

/* Main Styles */
.main {
  overflow-x: hidden;
}

/* Hero Section */
.main .hero {
  position: relative;
  padding: var(--space-xl) 0;
  overflow: hidden;
}

.main .hero-container {
  position: relative;
}

.main .hero-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  position: relative;
}

.main .hero-content {
  position: relative;
  z-index: 2;
}

.main .hero-subtitle {
  color: var(--color-secondary);
  margin-bottom: var(--space-xs);
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

.main .hero-title {
  font-size: var(--fs-xxl);
  margin-bottom: var(--space-sm);
  line-height: 1.1;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

.main .hero-title span {
  position: relative;
  display: inline-block;
}

.main .hero-title span::after {
  content: "";
  position: absolute;
  bottom: 0.1em;
  left: 0;
  width: 100%;
  height: 0.1em;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transform-origin: right;
  animation: lineReveal 1s ease forwards;
  animation-delay: 1s;
}

.main .hero-description {
  font-size: var(--fs-sm);
  max-width: 90%;
  margin-bottom: var(--space-md);
  color: var(--color-dark);
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.6s;
}

.main .hero-cta {
  display: flex;
  gap: var(--space-sm);
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.8s;
}

.main .hero-visual {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main .hero-shape-1 {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 300px;
  height: 300px;
  background-color: var(--color-secondary);
  opacity: 0.1;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  animation: morphShape 15s ease-in-out infinite alternate;
  z-index: 1;
}

.main .hero-shape-2 {
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 250px;
  height: 250px;
  background-color: var(--color-primary);
  opacity: 0.1;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morphShape 12s ease-in-out infinite alternate-reverse;
  z-index: 1;
}

.main .hero-image-container {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  transform: perspective(1000px) rotateY(-5deg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  animation: fadeIn 1s ease forwards, float 6s ease-in-out infinite;
  animation-delay: 0.5s;
  z-index: 2;
}

.main .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: slowZoom 20s linear infinite alternate;
}

.main .hero-accent {
  position: absolute;
  bottom: 10%;
  right: -10%;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  z-index: 3;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 1.2s;
}

.main .hero-stat {
  background-color: var(--color-light);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: rotate(5deg);
}

.main .hero-stat-number {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--color-primary);
}

.main .hero-stat-label {
  font-size: var(--fs-xxs);
  color: var(--color-dark);
}

.main .hero-badge {
  background-color: var(--color-secondary);
  color: var(--color-light);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  transform: rotate(-3deg);
  box-shadow: var(--shadow-md);
}

.main .hero-badge i {
  font-size: var(--fs-sm);
}

.main .hero-badge span {
  font-size: var(--fs-xxs);
  font-weight: 500;
}

.main .hero-scroll-indicator {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: var(--space-md);
  opacity: 0;
  animation: fadeIn 0.8s ease forwards, bounce 2s ease-in-out infinite;
  animation-delay: 1.5s;
}

.main .scroll-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-light);
  border-radius: var(--radius-rounded);
  box-shadow: var(--shadow-sm);
  color: var(--color-primary);
  font-size: var(--fs-xs);
}

/* Featured Posts Section */
.main .featured-posts {
  padding: var(--space-xl) 0;
  background-color: var(--color-light);
  position: relative;
}

.main .featured-posts::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 10% 20%, rgba(230, 57, 70, 0.03) 0%, transparent 50%),
                    radial-gradient(circle at 90% 80%, rgba(42, 157, 143, 0.03) 0%, transparent 50%);
  z-index: 0;
}

.main .section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-lg);
  position: relative;
  z-index: 1;
}

.main .featured-title {
  position: relative;
  display: inline-block;
  margin-bottom: var(--space-xs);
}

.main .featured-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--color-primary);
}

.main .section-description {
  font-size: var(--fs-sm);
  color: var(--color-gray);
  max-width: 600px;
  margin: var(--space-md) auto;
}

.main .posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.main .post-card {
  background-color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.main .post-image-container {
  height: 220px;
  overflow: hidden;
}

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

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

.main .post-content {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.main .post-title {
  font-size: var(--fs-md);
  margin-bottom: var(--space-sm);
  color: var(--color-black);
  line-height: 1.3;
}

.main .post-description {
  font-size: var(--fs-xs);
  color: var(--color-dark);
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.main .section-cta {
  text-align: center;
  margin-top: var(--space-md);
  position: relative;
  z-index: 1;
}

.main .btn-large {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--fs-xs);
}

/* Principios Section */
.main .principios-section {
  padding: var(--space-xl) 0;
  background-color: var(--color-dark);
  color: var(--color-light);
  position: relative;
  overflow: hidden;
}

.main .principios-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background-color: var(--color-secondary);
  opacity: 0.1;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.main .principios-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 250px;
  height: 250px;
  background-color: var(--color-primary);
  opacity: 0.1;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.main .principios-header {
  text-align: center;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.main .principios-header h2 {
  color: var(--color-light);
  margin-bottom: var(--space-xs);
}

.main .principios-subtitle {
  color: var(--color-gray);
  font-size: var(--fs-sm);
  max-width: 600px;
  margin: 0 auto;
}

.main .principios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.main .principio-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: transform var(--transition-medium), background-color var(--transition-medium);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.main .principio-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.1);
}

.main .principio-icon-container {
  margin-bottom: var(--space-sm);
  color: var(--color-tertiary);
}

.main .principio-card h4 {
  color: var(--color-light);
  margin-bottom: var(--space-sm);
  font-size: var(--fs-sm);
}

.main .principio-card p {
  color: var(--color-gray);
  font-size: var(--fs-xxs);
  margin-bottom: 0;
}

.main .principios-image-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-top: var(--space-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1;
}

.main .principios-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Metodología Section */
.main .metodologia-section {
  padding: var(--space-xl) 0;
  background-color: var(--color-light);
  position: relative;
  overflow: hidden;
}

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

.main .metodologia-header h6 {
  color: var(--color-primary);
  margin-bottom: var(--space-xxs);
}

.main .metodologia-header h2 {
  margin-bottom: var(--space-xs);
}

.main .metodologia-header p {
  color: var(--color-gray);
  font-size: var(--fs-sm);
  max-width: 600px;
  margin: 0 auto;
}

.main .metodologia-process {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  position: relative;
}

.main .metodologia-process::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 70px;
  width: 2px;
  background: linear-gradient(to bottom, 
    var(--color-primary) 0%, 
    var(--color-secondary) 50%, 
    var(--color-tertiary) 100%);
  z-index: 0;
}

.main .process-step {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

.main .step-number {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-secondary);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-light);
  background-color: var(--color-primary);
  border-radius: var(--radius-rounded);
  box-shadow: var(--shadow-md);
  position: relative;
}

.main .process-step:nth-child(2) .step-number {
  background-color: var(--color-secondary);
}

.main .process-step:nth-child(3) .step-number {
  background-color: var(--color-tertiary);
  color: var(--color-dark);
}

.main .process-step:nth-child(4) .step-number {
  background-color: var(--color-dark);
}

.main .step-content {
  padding: var(--space-md);
  background-color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.main .step-content h4 {
  margin-bottom: var(--space-xs);
  color: var(--color-black);
}

.main .step-content p {
  margin-bottom: 0;
  color: var(--color-dark);
}

.main .step-image-container {
  height: 220px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

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

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

/* Testimonios Section */
.main .testimonios-section {
  padding: var(--space-xl) 0;
  background-color: var(--color-light);
  position: relative;
  overflow: hidden;
}

.main .testimonios-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 90% 10%, rgba(230, 57, 70, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(42, 157, 143, 0.05) 0%, transparent 50%);
  z-index: 0;
}

.main .testimonios-header {
  text-align: center;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.main .testimonios-header h2 {
  margin-bottom: var(--space-xs);
}

.main .testimonios-header p {
  color: var(--color-gray);
  font-size: var(--fs-sm);
  max-width: 600px;
  margin: 0 auto;
}

.main .testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

.main .testimonio-card {
  background-color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.main .testimonio-content {
  padding: var(--space-md);
  position: relative;
}

.main .testimonio-icon {
  color: var(--color-primary);
  font-size: var(--fs-lg);
  opacity: 0.2;
  position: absolute;
  top: var(--space-xs);
  left: var(--space-xs);
}

.main .testimonio-text {
  font-size: var(--fs-xs);
  font-style: italic;
  color: var(--color-dark);
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}

.main .testimonio-rating {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-sm);
}

.main .testimonio-rating i {
  color: var(--color-tertiary);
}

.main .testimonio-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background-color: rgba(244, 162, 97, 0.1);
  border-top: 1px solid rgba(244, 162, 97, 0.2);
}

.main .author-image-container {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-rounded);
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm);
}

.main .author-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main .author-info {
  flex: 1;
}

.main .author-name {
  margin-bottom: 0;
  font-size: var(--fs-xs);
  color: var(--color-black);
}

.main .author-position {
  font-size: var(--fs-xxs);
  color: var(--color-gray);
  margin-bottom: 0;
}

/* Contacto Section */
.main .contacto-section {
  padding: var(--space-xl) 0;
  background-color: var(--color-light);
  position: relative;
}

.main .contacto-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(135deg, rgba(38, 70, 83, 0.03) 0%, transparent 50%),
    linear-gradient(45deg, rgba(230, 57, 70, 0.03) 50%, transparent 100%);
  z-index: 0;
}

.main .contacto-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  position: relative;
  z-index: 1;
}

.main .contacto-content {
  padding-right: var(--space-lg);
}

.main .contacto-content h2 {
  margin-bottom: var(--space-sm);
  position: relative;
}

.main .contacto-content h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: var(--color-primary);
}

.main .contacto-content p {
  margin-bottom: var(--space-md);
  color: var(--color-dark);
  font-size: var(--fs-sm);
}

.main .contacto-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.main .contacto-feature {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.main .feature-icon-container {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-rounded);
  background-color: var(--color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.main .feature-text {
  flex: 1;
}

.main .feature-text h5 {
  margin-bottom: var(--space-xxs);
  font-size: var(--fs-xs);
  color: var(--color-black);
}

.main .feature-text p {
  font-size: var(--fs-xxs);
  color: var(--color-gray);
  margin-bottom: 0;
}

.main .contacto-form-container {
  background-color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
}

.main .contacto-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.main .form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xxs);
}

.main .form-group label {
  font-size: var(--fs-xxs);
  font-weight: 500;
  color: var(--color-dark);
}

.main .form-group input,
.main .form-group select,
.main .form-group textarea {
  padding: var(--space-sm);
  border: 1px solid var(--color-gray);
  border-radius: var(--radius-md);
  font-size: var(--fs-xs);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.main .form-group input:focus,
.main .form-group select:focus,
.main .form-group textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 2px rgba(42, 157, 143, 0.2);
}

.main .form-privacy {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.main .form-privacy input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.main .form-privacy label {
  font-size: var(--fs-xxs);
  color: var(--color-gray);
}

.main .form-privacy a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.main .form-privacy a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Cookie Banner */
.main .cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-dark);
  color: var(--color-light);
  padding: var(--space-md);
  z-index: 1000;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  display: none; /* Initially hidden, shown via JS */
}

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

.main .cookie-content p {
  margin-bottom: 0;
  font-size: var(--fs-xs);
}

.main .cookie-content a {
  color: var(--color-tertiary);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.main .cookie-content a:hover {
  color: var(--color-primary);
}

.main .cookie-buttons {
  display: flex;
  gap: var(--space-sm);
}

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

@keyframes fadeUp {
  from { 
    opacity: 0;
    transform: translateY(20px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lineReveal {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes float {
  0%, 100% { transform: perspective(1000px) rotateY(-5deg) translateY(0); }
  50% { transform: perspective(1000px) rotateY(-5deg) translateY(-10px); }
}

@keyframes slowZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.15); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes morphShape {
  0% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }
  50% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  100% {
    border-radius: 30% 70% 40% 60% / 50% 60% 30% 60%;
  }
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .main .hero-content-wrapper {
    gap: var(--space-md);
  }
  
  .main .hero-description {
    max-width: 100%;
  }
  
  .main .hero-image-container {
    height: 450px;
  }
  
  .main .principios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .main .testimonios-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
  }
}

@media (max-width: 992px) {
  .main .hero-content-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .main .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .main .hero-cta {
    justify-content: center;
  }
  
  .main .hero-title::after {
    left: 50%;
    transform: translateX(-50%) scaleX(0);
  }
  
  .main .hero-visual {
    margin-top: var(--space-lg);
  }
  
  .main .hero-image-container {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .main .hero-accent {
    right: 0;
  }
  
  .main .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .main .process-step {
    grid-template-columns: 100px 1fr;
  }
  
  .main .step-image-container {
    display: none;
  }
  
  .main .testimonios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .main .contacto-wrapper {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .main .contacto-content {
    padding-right: 0;
  }
  
  .main .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .main .hero {
    padding: var(--space-lg) 0;
  }
  
  .main .hero-title {
    font-size: var(--fs-xl);
  }
  
  .main .hero-description {
    font-size: var(--fs-xs);
  }
  
  .main .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .main .hero-cta .btn {
    width: 100%;
    max-width: 250px;
  }
  
  .main .hero-image-container {
    height: 350px;
  }
  
  .main .posts-grid {
    grid-template-columns: 1fr;
  }
  
  .main .principios-grid {
    grid-template-columns: 1fr;
  }
  
  .main .process-step {
    grid-template-columns: 1fr;
  }
  
  .main .step-number {
    width: 100px;
    height: 100px;
    font-size: var(--fs-lg);
    margin: 0 auto var(--space-sm);
  }
  
  .main .metodologia-process::before {
    display: none;
  }
  
  .main .testimonios-grid {
    grid-template-columns: 1fr;
  }
  
  .main .cookie-buttons {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 576px) {
  .main .hero-image-container {
    height: 250px;
  }
  
  .main .hero-accent {
    position: relative;
    bottom: auto;
    right: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: var(--space-md);
  }
  
  .main .principios-image-container {
    height: 250px;
  }
  
  .main .contacto-form-container {
    padding: var(--space-md);
  }
}

/* Footer Styles */
.footer {
  position: relative;
  background-color: var(--color-dark);
  color: var(--color-light);
  overflow: hidden;
  margin-top: var(--space-xl);
}

.footer__top {
  position: relative;
  height: 50px;
  overflow: hidden;
}

.footer__wave {
  position: absolute;
  rotate: 180deg;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: var(--color-light);
  clip-path: polygon(
    0% 0%,
    12% 30%,
    24% 0%,
    36% 40%,
    48% 10%,
    60% 40%,
    72% 0%,
    84% 30%,
    100% 0%,
    100% 100%,
    0% 100%
  );
}

.footer__main {
  padding: var(--space-md) var(--space-sm);
  position: relative;
  z-index: 1;
}

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

.footer__brand {
  position: relative;
}

.footer__title {
  font-family: var(--font-secondary);
  font-size: var(--fs-md);
  color: var(--color-light);
  margin-bottom: var(--space-xs);
  position: relative;
  z-index: 2;
}

.footer__tagline {
  color: var(--color-gray);
  font-size: var(--fs-xxs);
  max-width: 90%;
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 2;
}

.footer__heading {
  font-family: var(--font-primary);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--color-tertiary);
  margin-bottom: var(--space-sm);
  position: relative;
}

.footer__heading::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--color-secondary);
  border-radius: var(--radius-sm);
}

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

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

.footer__link {
  color: var(--color-light);
  font-size: var(--fs-xxs);
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
  position: relative;
}

.footer__link::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-secondary);
  transition: width var(--transition-medium);
}

.footer__link:hover {
  color: var(--color-secondary);
  transform: translateX(3px);
}

.footer__link:hover::before {
  width: 100%;
}

.footer__text {
  color: var(--color-gray);
  font-size: var(--fs-xxs);
  margin-bottom: var(--space-sm);
}

.footer__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer__input {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--color-gray);
  color: var(--color-light);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
  font-size: var(--fs-xxs);
}

.footer__input::placeholder {
  color: var(--color-gray);
}

.footer__input:focus {
  border-color: var(--color-secondary);
  background-color: rgba(255, 255, 255, 0.15);
}

.footer__button {
  background-color: var(--color-secondary);
  color: var(--color-light);
  border: none;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
  font-size: var(--fs-xxs);
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  align-self: flex-start;
}

.footer__button:hover {
  background-color: var(--color-primary);
  transform: translateY(-2px);
}

.footer__bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: var(--space-sm) 0;
  position: relative;
}

.footer__copyright {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--fs-xxs);
  color: var(--color-gray);
  text-align: center;
  position: relative;
}

/* 3D Shape Elements */
.footer__shape {
  position: absolute;
  opacity: 0.1;
  pointer-events: none;
}

.footer__shape--cube {
  width: 80px;
  height: 80px;
  right: 10px;
  top: 0;
  border: 2px solid var(--color-secondary);
  transform: perspective(500px) rotateX(45deg) rotateZ(45deg);
  animation: rotateCube 20s infinite linear;
}

.footer__shape--sphere {
  width: 50px;
  height: 50px;
  right: 20%;
  bottom: 10px;
  border-radius: 50%;
  border: 2px solid var(--color-tertiary);
  animation: floatSphere 10s infinite ease-in-out;
}

@keyframes rotateCube {
  0% {
    transform: perspective(500px) rotateX(45deg) rotateZ(0deg);
  }
  100% {
    transform: perspective(500px) rotateX(45deg) rotateZ(360deg);
  }
}

@keyframes floatSphere {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Media Queries */
@media (max-width: 767px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .footer__brand {
    text-align: center;
  }
  
  .footer__tagline {
    max-width: 100%;
  }
  
  .footer__heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer__heading, 
  .footer__links,
  .footer__text {
    text-align: center;
  }
  
  .footer__form {
    align-items: center;
  }
  
  .footer__input,
  .footer__button {
    width: 100%;
    max-width: 300px;
  }
  
  .footer__shape--cube {
    right: 5%;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg) var(--space-md);
  }
  
  .footer__brand {
    grid-column: 1 / -1;
    text-align: center;
  }
  
  .footer__tagline {
    max-width: 80%;
    margin: 0 auto var(--space-sm);
  }
}

@media (min-width: 1024px) {
  .footer__main {
    padding: var(--space-lg) var(--space-sm);
  }
  
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: var(--space-lg);
  }
}

.privacy-page {
  background-color: var(--color-light);
  padding: var(--space-lg) 0;
}

.privacy-page__container {
  max-width: 900px;
}

.privacy-page__header {
  margin-bottom: var(--space-lg);
  border-bottom: 2px solid var(--color-secondary);
  padding-bottom: var(--space-md);
}

.privacy-page__title {
  color: var(--color-black);
  font-family: var(--font-secondary);
  font-size: var(--fs-xl);
  margin-bottom: var(--space-xs);
}

.privacy-page__last-updated {
  color: var(--color-gray);
  font-size: var(--fs-xxs);
  font-style: italic;
  margin-bottom: var(--space-sm);
}

.privacy-page__section {
  margin-bottom: var(--space-lg);
}

.privacy-page__section-title {
  color: var(--color-dark);
  font-family: var(--font-secondary);
  font-size: var(--fs-md);
  margin-bottom: var(--space-sm);
  border-left: 4px solid var(--color-primary);
  padding-left: var(--space-sm);
}

.privacy-page__text {
  font-size: var(--fs-xs);
  color: var(--color-dark);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.privacy-page__list {
  margin-left: var(--space-md);
  margin-bottom: var(--space-md);
}

.privacy-page__list-item {
  font-size: var(--fs-xs);
  color: var(--color-dark);
  margin-bottom: var(--space-xs);
  line-height: 1.5;
}

.privacy-page__contact-info {
  background-color: white;
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  margin-top: var(--space-sm);
}

.privacy-page__contact-detail {
  margin-bottom: var(--space-xs);
  font-size: var(--fs-xs);
}

.privacy-page__contact-detail strong {
  color: var(--color-secondary);
}

@media (max-width: 767px) {
  .privacy-page {
    padding: var(--space-md) 0;
  }
  
  .privacy-page__title {
    font-size: var(--fs-lg);
  }
  
  .privacy-page__section-title {
    font-size: var(--fs-sm);
  }
  
  .privacy-page__contact-info {
    padding: var(--space-sm);
  }
}

.terms-page {
  padding: var(--space-lg) 0;
  background-color: var(--color-light);
}

.terms-page__container {
  max-width: 900px;
}

.terms-page__title {
  font-family: var(--font-secondary);
  font-size: var(--fs-xl);
  color: var(--color-black);
  margin-bottom: var(--space-md);
  text-align: center;
}

.terms-page__updated {
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--color-gray);
  font-size: var(--fs-xxs);
}

.terms-page__section {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(141, 153, 174, 0.2);
}

.terms-page__section:last-child {
  border-bottom: none;
}

.terms-page__section-title {
  font-family: var(--font-secondary);
  font-size: var(--fs-md);
  color: var(--color-black);
  margin-bottom: var(--space-sm);
}

.terms-page p {
  font-family: var(--font-primary);
  font-size: var(--fs-xs);
  line-height: 1.8;
  color: var(--color-dark);
  margin-bottom: var(--space-sm);
}

.terms-page__list {
  margin-left: var(--space-md);
  margin-bottom: var(--space-md);
}

.terms-page__list li {
  font-family: var(--font-primary);
  font-size: var(--fs-xs);
  color: var(--color-dark);
  margin-bottom: var(--space-xs);
  line-height: 1.6;
}

@media (max-width: 767px) {
  .terms-page {
    padding: var(--space-md) 0;
  }
  
  .terms-page__title {
    font-size: var(--fs-lg);
  }
  
  .terms-page__section-title {
    font-size: var(--fs-sm);
  }
  
  .terms-page__section {
    margin-bottom: var(--space-md);
  }
}

/* Disclaimer Page Styles */
.disclaimer-page {
  padding: var(--space-lg) 0;
  background-color: var(--color-light);
}

.disclaimer-page__container {
  max-width: 900px;
  margin: 0 auto;
}

.disclaimer-page__title {
  font-family: var(--font-secondary);
  color: var(--color-black);
  font-size: var(--fs-xl);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.disclaimer-page__section {
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  background-color: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.disclaimer-page__section-title {
  font-family: var(--font-secondary);
  color: var(--color-secondary);
  font-size: var(--fs-md);
  margin-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-tertiary);
  padding-bottom: var(--space-xs);
}

.disclaimer-page__text {
  font-family: var(--font-primary);
  font-size: var(--fs-xs);
  color: var(--color-dark);
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.disclaimer-page__text strong {
  color: var(--color-primary);
  font-weight: 600;
}

.disclaimer-page__list {
  margin-left: var(--space-md);
  margin-bottom: var(--space-md);
}

.disclaimer-page__list li {
  font-family: var(--font-primary);
  font-size: var(--fs-xs);
  color: var(--color-dark);
  margin-bottom: var(--space-xxs);
  line-height: 1.6;
}

.disclaimer-page__contact {
  background-color: var(--color-light);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-secondary);
  margin-top: var(--space-sm);
}

.disclaimer-page__contact p {
  margin-bottom: var(--space-xs);
}

.disclaimer-page__contact strong {
  color: var(--color-secondary);
  font-weight: 600;
}

.disclaimer-page__footer {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-gray);
  text-align: center;
}

.disclaimer-page__updated {
  font-size: var(--fs-xxs);
  color: var(--color-gray);
  font-style: italic;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .disclaimer-page {
    padding: var(--space-md) 0;
  }
  
  .disclaimer-page__title {
    font-size: var(--fs-lg);
    margin-bottom: var(--space-md);
  }
  
  .disclaimer-page__section {
    padding: var(--space-sm);
    margin-bottom: var(--space-md);
  }
  
  .disclaimer-page__section-title {
    font-size: var(--fs-sm);
  }
  
  .disclaimer-page__contact {
    padding: var(--space-sm);
  }
}

/* Cookie Policy Page Styles */
.cookie-page {
  background-color: var(--color-light);
  padding: var(--space-lg) 0;
  color: var(--color-dark);
}

.cookie-page__container {
  max-width: 900px;
}

.cookie-page__title {
  font-family: var(--font-secondary);
  font-size: var(--fs-xl);
  color: var(--color-black);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.cookie-page__section {
  margin-bottom: var(--space-lg);
}

.cookie-page__section-title {
  font-family: var(--font-secondary);
  font-size: var(--fs-md);
  color: var(--color-black);
  margin-bottom: var(--space-sm);
  position: relative;
  padding-bottom: var(--space-xs);
}

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

.cookie-page__subtitle {
  font-family: var(--font-primary);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: var(--space-xs);
  margin-top: var(--space-sm);
}

.cookie-page__text {
  font-family: var(--font-primary);
  font-size: var(--fs-xs);
  line-height: 1.7;
  color: var(--color-dark);
  margin-bottom: var(--space-sm);
}

.cookie-page__subsection {
  margin-bottom: var(--space-md);
  padding-left: var(--space-sm);
  border-left: 2px solid var(--color-tertiary);
}

.cookie-page__list {
  list-style-type: disc;
  padding-left: var(--space-md);
  margin-bottom: var(--space-md);
}

.cookie-page__list-item {
  font-size: var(--fs-xs);
  margin-bottom: var(--space-xs);
  line-height: 1.6;
}

.cookie-page__updated {
  font-size: var(--fs-xxs);
  color: var(--color-gray);
  text-align: center;
  font-style: italic;
  margin-top: var(--space-xl);
}

@media (max-width: 767px) {
  .cookie-page {
    padding: var(--space-md) 0;
  }
  
  .cookie-page__title {
    font-size: var(--fs-lg);
    margin-bottom: var(--space-md);
  }
  
  .cookie-page__section-title {
    font-size: var(--fs-sm);
  }
  
  .cookie-page__subtitle {
    font-size: var(--fs-xs);
  }
  
  .cookie-page__text {
    font-size: var(--fs-xxs);
  }
  
  .cookie-page__list-item {
    font-size: var(--fs-xxs);
  }
}

.thank-page {
  background-color: var(--color-light);
  padding: var(--space-lg) 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thank-page__container {
  max-width: 800px;
}

.thank-page__content {
  background-color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.thank-page__icon-container {
  margin-bottom: var(--space-md);
}

.thank-page__icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto;
  background-color: var(--color-light);
  color: var(--color-secondary);
}

.thank-page__title {
  color: var(--color-black);
  margin-bottom: var(--space-md);
  font-family: var(--font-secondary);
}

.thank-page__message {
  margin-bottom: var(--space-lg);
}

.thank-page__text {
  color: var(--color-dark);
  margin-bottom: var(--space-sm);
  font-size: var(--fs-sm);
}

.thank-page__confirmation {
  background-color: var(--color-light);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin: var(--space-md) 0;
  text-align: left;
  border-left: 4px solid var(--color-secondary);
}

.thank-page__confirmation-title {
  color: var(--color-black);
  margin-bottom: var(--space-xs);
  font-family: var(--font-primary);
}

.thank-page__confirmation-text {
  color: var(--color-dark);
  margin-bottom: var(--space-xxs);
  font-size: var(--fs-xs);
}

.thank-page__action {
  margin-top: var(--space-md);
}

.thank-page__button {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--fs-sm);
  font-weight: 600;
}

@media (max-width: 767px) {
  .thank-page {
    padding: var(--space-md) 0;
  }
  
  .thank-page__content {
    padding: var(--space-md);
  }
  
  .thank-page__title {
    font-size: var(--fs-lg);
  }
  
  .thank-page__text {
    font-size: var(--fs-xs);
  }
  
  .thank-page__confirmation {
    padding: var(--space-sm);
  }
  
  .thank-page__button {
    width: 100%;
  }
}

  .category-page {
    color: var(--color-dark);
    background-color: var(--color-light);
  }

  /* Hero Section */
  .category-page__hero {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: var(--space-xl) 0;
    margin-bottom: var(--space-xl);
  }

  .category-page__hero h1 {
    color: var(--color-light);
    margin-bottom: var(--space-md);
  }

  .category-page__hero-description {
    font-size: var(--fs-sm);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
  }

  /* Posts Grid Section */
  .category-page__posts-grid {
    padding: var(--space-lg) 0;
  }

  .category-page__posts-grid h2 {
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
  }

  .category-page__posts-grid h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--color-primary);
  }

  .category-page__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }

  /* Post Card Styles */
  .post-card {
    background-color: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    display: flex;
    flex-direction: column;
  }

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

  .post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .post-card h3 {
    font-size: var(--fs-sm);
    padding: var(--space-sm) var(--space-sm) 0;
    margin-bottom: var(--space-xs);
    color: var(--color-black);
    min-height: 3.5rem;
  }

  .post-card p {
    padding: 0 var(--space-sm);
    margin-bottom: var(--space-md);
    font-size: var(--fs-xxs);
    color: var(--color-dark);
    flex-grow: 1;
  }

  .post-card a {
    margin: 0 var(--space-sm) var(--space-sm);
    align-self: flex-start;
  }

  /* Principles Section */
  .category-page__principles {
    padding: var(--space-xl) 0;
    background-color: var(--color-light);
    margin: var(--space-xl) 0;
  }

  .category-page__principles h2 {
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
  }

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

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

  .category-page__principles-text {
    flex: 1;
  }

  .category-page__principles-image-container {
    flex: 1;
  }

  .category-page__principles-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
  }

  .category-page__principles-list {
    list-style: none;
    padding: 0;
  }

  .category-page__principles-list li {
    display: flex;
    margin-bottom: var(--space-md);
    align-items: flex-start;
  }

  .category-page__principles-list .icon-container {
    margin-right: var(--space-sm);
    flex-shrink: 0;
  }

  .category-page__principles-list h5 {
    color: var(--color-secondary);
    margin-bottom: var(--space-xxs);
  }

  .category-page__principles-list p {
    margin-bottom: var(--space-xs);
  }

  /* Industry Section */
  .category-page__industry {
    padding: var(--space-xl) 0;
    background-color: #fff;
  }

  .category-page__industry h2 {
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
  }

  .category-page__industry h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--color-tertiary);
  }

  .category-page__industry-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
  }

  .category-page__stat-card {
    background-color: var(--color-light);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
  }

  .category-page__stat-number {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--color-tertiary);
    margin-bottom: var(--space-xs);
    font-family: var(--font-secondary);
  }

  .category-page__stat-card p {
    font-size: var(--fs-xxs);
    margin-bottom: 0;
  }

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

  .category-page__industry-image-container {
    flex: 1;
  }

  .category-page__industry-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
  }

  .category-page__industry-text {
    flex: 1;
  }

  .category-page__industry-list {
    padding-left: var(--space-md);
  }

  .category-page__industry-list li {
    margin-bottom: var(--space-xs);
  }

  /* Media Queries */
  @media (max-width: 1200px) {
    .category-page__grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .category-page__industry-stats {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 767px) {
    .category-page__grid {
      grid-template-columns: 1fr;
    }

    .category-page__principles-content,
    .category-page__industry-content {
      flex-direction: column;
    }

    .category-page__industry-stats {
      grid-template-columns: 1fr;
    }

    .category-page__principles-image-container {
      order: -1;
      margin-bottom: var(--space-md);
    }

    .category-page__industry-image-container {
      margin-bottom: var(--space-md);
    }
  }

/* Base Styles for Post Page */
.post-page {
  overflow-x: hidden;
}

/* Breadcrumbs Section */
.breadcrumbs--compo {
  background-color: var(--color-light);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(38, 70, 83, 0.1);
}

.breadcrumbs--compo a {
  color: var(--color-secondary);
  font-size: var(--fs-xxs);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumbs--compo a:hover {
  color: var(--color-primary);
}

.breadcrumbs--compo span {
  color: var(--color-dark);
  font-size: var(--fs-xxs);
}

/* Hero Section */
.post-hero--compo {
  background-color: var(--color-dark);
  color: var(--color-light);
  padding: var(--space-xl) 0;
  position: relative;
  text-align: center;
}

.post-hero--compo h1 {
  color: var(--color-light);
  font-size: var(--fs-xl);
  max-width: 900px;
  margin: 0 auto var(--space-sm);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.post-hero--compo .lead {
  font-size: var(--fs-sm);
  max-width: 800px;
  margin: 0 auto;
  color: var(--color-light);
  opacity: 0.9;
}

/* Content Section 1 */
.content-section--compo-1 {
  background-color: var(--color-light);
  color: var(--color-dark);
  padding: var(--space-xl) 0;
}

.content-section--compo-1 h2 {
  color: var(--color-black);
  margin-bottom: var(--space-md);
  position: relative;
}

.content-section--compo-1 h2:after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--color-primary);
  margin-top: var(--space-xs);
}

.content-section--compo-1 .section-content {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
}

.content-section--compo-1 .text-content {
  flex: 1;
}

.content-section--compo-1 .image-container {
  flex: 1;
}

.content-section--compo-1 .section-image {
  display: block;
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.content-section--compo-1 .design-principles {
  margin: var(--space-md) 0;
  padding-left: var(--space-md);
}

.content-section--compo-1 .design-principles li {
  margin-bottom: var(--space-xs);
}

/* Content Section 2 */
.content-section--compo-2 {
  background-color: var(--color-light);
  background-image: linear-gradient(rgba(244, 162, 97, 0.05), rgba(244, 162, 97, 0.1));
  color: var(--color-dark);
  padding: var(--space-xl) 0;
}

.content-section--compo-2 h2 {
  color: var(--color-black);
  text-align: center;
  margin-bottom: var(--space-lg);
}

.content-section--compo-2 .techniques-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.content-section--compo-2 .technique {
  background-color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.content-section--compo-2 .technique:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.content-section--compo-2 h3 {
  color: var(--color-secondary);
  font-size: var(--fs-md);
  margin-bottom: var(--space-sm);
}

.content-section--compo-2 ul, 
.content-section--compo-2 ol {
  padding-left: var(--space-md);
  margin: var(--space-sm) 0;
}

.content-section--compo-2 li {
  margin-bottom: var(--space-xs);
}

.content-section--compo-2 .case-study {
  background-color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-top: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.content-section--compo-2 .case-study-image {
  display: block;
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-top: var(--space-md);
}

/* Content Section 3 */
.content-section--compo-3 {
  background-color: var(--color-light);
  color: var(--color-dark);
  padding: var(--space-xl) 0;
}

.content-section--compo-3 h2 {
  color: var(--color-black);
  text-align: center;
  margin-bottom: var(--space-lg);
}

.content-section--compo-3 .narrative-techniques {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.content-section--compo-3 .technique-card {
  background-color: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--color-secondary);
  transition: transform var(--transition-medium);
}

.content-section--compo-3 .technique-card:hover {
  transform: translateY(-5px);
}

.content-section--compo-3 .technique-card h3 {
  color: var(--color-secondary);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-xs);
}

.content-section--compo-3 .conclusion {
  margin-top: var(--space-lg);
  background-color: rgba(42, 157, 143, 0.05);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
}

.content-section--compo-3 .conclusion h3 {
  color: var(--color-secondary);
  margin-bottom: var(--space-sm);
}

.content-section--compo-3 .implementation-steps {
  margin: var(--space-md) 0;
  padding-left: var(--space-md);
}

.content-section--compo-3 .implementation-steps li {
  margin-bottom: var(--space-sm);
}

.content-section--compo-3 .conclusion-image {
  display: block;
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-top: var(--space-md);
  box-shadow: var(--shadow-md);
}

/* Related Posts Section */
.related-posts--compo {
  background-color: var(--color-dark);
  color: var(--color-light);
  padding: var(--space-xl) 0;
}

.related-posts--compo h2 {
  color: var(--color-light);
  text-align: center;
  margin-bottom: var(--space-lg);
}

.related-posts--compo .posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.related-posts--compo .post-card {
  background-color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium);
}

.related-posts--compo .post-card:hover {
  transform: translateY(-10px);
}

.related-posts--compo .post-card-image {
  height: 200px;
  overflow: hidden;
}

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

.related-posts--compo .post-card:hover .post-card-image img {
  transform: scale(1.05);
}

.related-posts--compo .post-card-content {
  padding: var(--space-md);
  color: var(--color-dark);
}

.related-posts--compo .post-card-content h3 {
  font-size: var(--fs-sm);
  color: var(--color-black);
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}

.related-posts--compo .post-card-content p {
  font-size: var(--fs-xxs);
  margin-bottom: var(--space-md);
  color: var(--color-dark);
}

.related-posts--compo .btn {
  font-size: var(--fs-xxs);
}

/* Responsive Styles */
@media (max-width: 1023px) {
  .content-section--compo-1 .section-content {
    flex-direction: column;
  }
  
  .content-section--compo-1 .image-container {
    margin-top: var(--space-md);
    width: 100%;
  }
  
  .content-section--compo-2 .techniques-grid {
    grid-template-columns: 1fr;
  }
  
  .content-section--compo-3 .narrative-techniques {
    grid-template-columns: 1fr;
  }
  
  .related-posts--compo .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .post-hero--compo {
    padding: var(--space-lg) 0;
  }
  
  .content-section--compo-1,
  .content-section--compo-2,
  .content-section--compo-3,
  .related-posts--compo {
    padding: var(--space-lg) 0;
  }
  
  .related-posts--compo .posts-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* Base Styles for this specific page */
.post-herramientas-software-disenador-3d {
  overflow-x: hidden;
}

/* Breadcrumbs */
.breadcrumbs--funda {
  padding: var(--space-sm) 0;
  background-color: var(--color-light);
  color: var(--color-gray);
  font-size: var(--fs-xxs);
  border-bottom: 1px solid rgba(141, 153, 174, 0.2);
}

.breadcrumbs--funda a {
  color: var(--color-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumbs--funda a:hover {
  color: var(--color-primary);
}

/* Hero Section */
.post-hero--funda {
  background-color: var(--color-light);
  color: var(--color-dark);
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.post-hero--funda h1 {
  color: var(--color-black);
  margin-bottom: var(--space-md);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.post-hero--funda .lead {
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--color-dark);
  max-width: 800px;
  margin: 0 auto var(--space-lg);
  line-height: 1.5;
}

.hero-image--funda {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: var(--space-md);
}

/* Content Section 1 */
.content-section--funda-1 {
  padding: var(--space-xxl) 0;
  background-color: #fff;
  color: var(--color-dark);
}

.content-section--funda-1 .section-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-lg);
}

.content-section--funda-1 .text-content {
  flex: 1;
}

.content-section--funda-1 h2 {
  color: var(--color-black);
  margin-bottom: var(--space-md);
  position: relative;
}

.content-section--funda-1 h2:after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--color-primary);
  margin-top: var(--space-xs);
}

.content-section--funda-1 p {
  margin-bottom: var(--space-sm);
  font-size: var(--fs-xs);
  line-height: 1.8;
}

.feature-list {
  margin: var(--space-md) 0;
  padding-left: var(--space-md);
}

.feature-list li {
  margin-bottom: var(--space-xs);
  position: relative;
  padding-left: var(--space-xs);
}

.section-image--funda {
  max-width: 45%;
  max-height: 350px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Content Section 2 */
.content-section--funda-2 {
  padding: var(--space-xxl) 0;
  background-color: var(--color-light);
  color: var(--color-dark);
}

.content-section--funda-2 h2 {
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--color-black);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.principle-card {
  background-color: #fff;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.principle-icon {
  margin: 0 auto var(--space-sm);
  background-color: var(--color-primary);
  color: var(--color-light);
}

.principle-card h3 {
  font-size: var(--fs-sm);
  margin-bottom: var(--space-xs);
  color: var(--color-black);
}

.principle-card p {
  font-size: var(--fs-xs);
  color: var(--color-dark);
}

.methodology-process {
  background-color: #fff;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin: var(--space-lg) 0;
}

.methodology-process h4 {
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  text-align: center;
}

.process-steps {
  padding-left: var(--space-md);
  counter-reset: step-counter;
}

.process-steps li {
  margin-bottom: var(--space-xs);
  position: relative;
}

.process-steps li strong {
  color: var(--color-secondary);
}

.section-image--funda-wide {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: var(--space-lg);
}

/* Content Section 3 */
.content-section--funda-3 {
  padding: var(--space-xxl) 0;
  background-color: #fff;
  color: var(--color-dark);
}

.content-section--funda-3 h2 {
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--color-black);
}

.section-columns {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.column-text p {
  margin-bottom: var(--space-md);
  font-size: var(--fs-xs);
  line-height: 1.8;
}

.key-sectors {
  margin: var(--space-md) 0;
}

.sector-item {
  margin-bottom: var(--space-md);
  padding-left: var(--space-sm);
  border-left: 3px solid var(--color-tertiary);
}

.sector-item h5 {
  color: var(--color-secondary);
  margin-bottom: var(--space-xxs);
}

.sector-item p {
  margin-bottom: var(--space-xs);
}

.column-highlight {
  display: flex;
  align-items: center;
}

.highlight-card {
  background-color: var(--color-dark);
  color: var(--color-light);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  height: fit-content;
}

.highlight-card h4 {
  color: var(--color-tertiary);
  margin-bottom: var(--space-sm);
  text-align: center;
}

.highlight-list {
  padding-left: var(--space-sm);
}

.highlight-list li {
  margin-bottom: var(--space-xs);
  position: relative;
  padding-left: var(--space-xs);
}

.conclusion {
  background-color: var(--color-light);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-primary);
  margin-top: var(--space-lg);
}

.conclusion h4 {
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

/* Related Posts */
.related-posts--funda {
  padding: var(--space-xxl) 0;
  background-color: var(--color-dark);
  color: var(--color-light);
}

.related-posts--funda h2 {
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--color-light);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.post-card {
  background-color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

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

.card-content h3 {
  font-size: var(--fs-sm);
  margin-bottom: var(--space-xs);
  color: var(--color-black);
}

.card-content p {
  font-size: var(--fs-xs);
  color: var(--color-dark);
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.card-content .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Responsive Styles */
@media (max-width: 1023px) {
  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section-columns {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .content-section--funda-1 .section-content {
    flex-direction: column;
  }
  
  .section-image--funda {
    max-width: 100%;
    order: -1;
    margin-bottom: var(--space-md);
  }
  
  .principles-grid {
    grid-template-columns: 1fr;
  }
  
  .posts-grid {
    grid-template-columns: 1fr;
  }
  
  .post-hero--funda {
    padding: var(--space-lg) 0;
  }
  
  .content-section--funda-1,
  .content-section--funda-2,
  .content-section--funda-3,
  .related-posts--funda {
    padding: var(--space-xl) 0;
  }
}

/* General Page Styles */
.post-page {
  font-family: var(--font-primary);
  color: var(--color-dark);
  background-color: var(--color-light);
}

/* Breadcrumbs */
.breadcrumbs--educa {
  background-color: var(--color-light);
  padding: var(--space-sm) 0;
  font-size: var(--fs-xxs);
  color: var(--color-gray);
  border-bottom: 1px solid rgba(141, 153, 174, 0.2);
}

.breadcrumbs--educa a {
  color: var(--color-gray);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumbs--educa a:hover {
  color: var(--color-primary);
}

/* Hero Section */
.post-hero--educa {
  background-color: var(--color-dark);
  color: var(--color-light);
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.post-hero--educa h1 {
  color: var(--color-light);
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 2;
}

.post-hero--educa .lead {
  font-size: var(--fs-md);
  line-height: 1.5;
  max-width: 900px;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
  color: var(--color-light);
}

/* Content Sections */
.content-section--educa-1 {
  background-color: var(--color-light);
  color: var(--color-dark);
  padding: var(--space-xl) 0;
}

.content-section--educa-2 {
  background-color: rgba(42, 157, 143, 0.05);
  color: var(--color-dark);
  padding: var(--space-xl) 0;
}

.content-section--educa-3 {
  background-color: var(--color-light);
  color: var(--color-dark);
  padding: var(--space-xl) 0;
}

.content-section h2 {
  color: var(--color-black);
  margin-bottom: var(--space-md);
  position: relative;
}

.content-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--color-primary);
}

.content-section h3 {
  color: var(--color-secondary);
  font-size: var(--fs-md);
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
}

.content-section h4 {
  color: var(--color-black);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-xs);
}

.section-content {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin: var(--space-md) 0;
}

.section-content.reverse {
  flex-direction: row-reverse;
}

.section-text {
  flex: 1;
}

.section-image {
  max-width: 45%;
  max-height: 350px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.key-points {
  background-color: rgba(244, 162, 97, 0.1);
  border-left: 4px solid var(--color-tertiary);
  padding: var(--space-md);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-md) 0;
}

.key-points ul {
  margin-bottom: 0;
  padding-left: var(--space-md);
}

.key-points li {
  margin-bottom: var(--space-xs);
}

.programs-comparison {
  margin-top: var(--space-lg);
}

.program-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.program-card {
  background-color: white;
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  border-top: 3px solid var(--color-secondary);
}

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

.program-card h4 {
  color: var(--color-secondary);
  margin-bottom: var(--space-xs);
}

.program-card p {
  margin-bottom: var(--space-xs);
  font-size: var(--fs-xxs);
}

.conclusion {
  background-color: rgba(38, 70, 83, 0.05);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-top: var(--space-lg);
}

.conclusion h3 {
  color: var(--color-dark);
}

/* Related Posts Section */
.related-posts--educa {
  background-color: var(--color-dark);
  color: var(--color-light);
  padding: var(--space-xl) 0;
}

.related-posts--educa h2 {
  color: var(--color-light);
  text-align: center;
  margin-bottom: var(--space-lg);
}

.related-posts--educa h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--color-primary);
  margin: var(--space-xs) auto 0;
}

.post-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.post-card {
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: var(--space-md);
  color: var(--color-dark);
}

.card-content h3 {
  font-size: var(--fs-sm);
  color: var(--color-black);
  margin-bottom: var(--space-xs);
}

.card-content p {
  font-size: var(--fs-xxs);
  color: var(--color-gray);
  margin-bottom: var(--space-sm);
}

.card-content .btn {
  width: 100%;
}

/* Responsive Styles */
@media (max-width: 1023px) {
  .program-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .post-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
}

@media (max-width: 767px) {
  .section-content {
    flex-direction: column;
  }
  
  .section-content.reverse {
    flex-direction: column;
  }
  
  .section-image {
    max-width: 100%;
    margin-top: var(--space-sm);
    margin-bottom: var(--space-md);
  }
  
  .program-cards {
    grid-template-columns: 1fr;
  }
  
  .post-cards {
    grid-template-columns: 1fr;
  }
  
  .post-hero--educa {
    padding: var(--space-lg) 0;
  }
  
  .content-section--educa-1,
  .content-section--educa-2,
  .content-section--educa-3,
  .related-posts--educa {
    padding: var(--space-lg) 0;
  }
  
  .post-hero--educa .lead {
    font-size: var(--fs-sm);
  }
}

/* List Styling */
.content-section ol {
  padding-left: var(--space-md);
  margin-bottom: var(--space-md);
}

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

/* Button Hover Effects */
.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-light);
  transform: translateY(-2px);
}

/* Base Styles for the page */
.post-page {
  color: var(--color-dark);
  background-color: var(--color-light);
  font-family: var(--font-primary);
}

/* Breadcrumbs Styles */
.breadcrumbs--herra {
  padding: var(--space-sm) 0;
  font-size: var(--fs-xxs);
  background-color: var(--color-light);
  color: var(--color-gray);
  border-bottom: 1px solid rgba(141, 153, 174, 0.2);
}

.breadcrumbs--herra a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumbs--herra a:hover {
  color: var(--color-primary);
}

/* Hero Section Styles */
.post-hero--herra {
  background-color: var(--color-black);
  color: var(--color-light);
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.post-hero--herra .container {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.post-hero--herra h1 {
  color: var(--color-light);
  margin-bottom: var(--space-sm);
  font-size: var(--fs-xl);
  line-height: 1.2;
}

.post-hero--herra .lead {
  font-size: var(--fs-md);
  max-width: 800px;
  margin: 0 auto var(--space-md);
  color: var(--color-light);
  opacity: 0.9;
  line-height: 1.5;
}

.hero-image--herra {
  max-width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-top: var(--space-md);
}

/* Content Sections */
.content-section--herra-1 {
  background-color: var(--color-light);
  color: var(--color-dark);
  padding: var(--space-xl) 0;
}

.content-section--herra-2 {
  background-color: rgba(42, 157, 143, 0.05);
  color: var(--color-dark);
  padding: var(--space-xl) 0;
}

.content-section--herra-3 {
  background-color: var(--color-light);
  color: var(--color-dark);
  padding: var(--space-xl) 0;
}

.content-section--herra-1 h2,
.content-section--herra-2 h2,
.content-section--herra-3 h2 {
  color: var(--color-black);
  margin-bottom: var(--space-md);
  font-size: var(--fs-lg);
  text-align: center;
}

.content-section--herra-1 h3,
.content-section--herra-2 h3,
.content-section--herra-3 h3 {
  color: var(--color-secondary);
  margin-bottom: var(--space-sm);
  font-size: var(--fs-md);
}

.content-section--herra-1 p,
.content-section--herra-2 p,
.content-section--herra-3 p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

/* Section content with image */
.section-content {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.text-content {
  flex: 1;
}

.section-image--herra {
  max-width: 45%;
  max-height: 350px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.section-image--herra-full {
  display: block;
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: var(--space-md) auto;
}

/* Tools Grid */
.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin: var(--space-md) 0;
}

.tool-card {
  background-color: white;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.tool-card h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  font-size: var(--fs-sm);
}

.tool-card ul {
  padding-left: var(--space-md);
  margin-bottom: var(--space-xs);
}

.tool-card li {
  margin-bottom: var(--space-xs);
}

/* Workflow Cards */
.workflow-container {
  margin: var(--space-md) 0;
  background-color: rgba(244, 162, 97, 0.05);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
}

.workflow-container h3 {
  text-align: center;
  margin-bottom: var(--space-md);
  color: var(--color-dark);
}

.workflow-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.workflow-card {
  background-color: white;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.workflow-card h4 {
  color: var(--color-tertiary);
  margin-bottom: var(--space-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.workflow-card ol {
  padding-left: var(--space-md);
  margin-bottom: var(--space-xs);
}

.workflow-card li {
  margin-bottom: var(--space-xs);
  font-size: var(--fs-xxs);
}

/* Related Posts */
.related-posts--herra {
  background-color: var(--color-dark);
  color: var(--color-light);
  padding: var(--space-xl) 0;
}

.related-posts--herra h2 {
  color: var(--color-light);
  text-align: center;
  margin-bottom: var(--space-lg);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.post-card {
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: var(--space-md);
  color: var(--color-dark);
}

.card-content h3 {
  font-size: var(--fs-sm);
  margin-bottom: var(--space-xs);
  color: var(--color-black);
}

.card-content p {
  font-size: var(--fs-xxs);
  margin-bottom: var(--space-md);
  color: var(--color-gray);
}

.card-content .btn {
  font-size: var(--fs-xxs);
  padding: var(--space-xs) var(--space-sm);
}

/* Responsive Styles */
@media (max-width: 1023px) {
  .section-content {
    flex-direction: column;
  }
  
  .section-image--herra {
    max-width: 100%;
    margin-top: var(--space-md);
    order: -1;
  }
  
  .tools-grid,
  .workflow-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .post-hero--herra {
    padding: var(--space-lg) 0;
  }
  
  .post-hero--herra .lead {
    font-size: var(--fs-sm);
  }
  
  .tools-grid,
  .workflow-cards,
  .posts-grid {
    grid-template-columns: 1fr;
  }
  
  .content-section--herra-1,
  .content-section--herra-2,
  .content-section--herra-3 {
    padding: var(--space-lg) 0;
  }
}

  /* Page-specific styles */
  .post-educacion-desarrollo-visual-3d-espana {
    background-color: var(--color-light);
    color: var(--color-dark);
  }

  /* Breadcrumbs */
  .breadcrumbs--tende {
    padding: var(--space-sm) 0;
    font-size: var(--fs-xxs);
    background-color: var(--color-light);
    border-bottom: 1px solid rgba(141, 153, 174, 0.2);
  }

  .breadcrumbs--tende a {
    color: var(--color-secondary);
    transition: color var(--transition-fast);
  }

  .breadcrumbs--tende a:hover {
    color: var(--color-primary);
  }

  .breadcrumbs--tende span {
    color: var(--color-gray);
  }

  /* Hero Section */
  .post-hero--tende {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
  }

  .post-hero--tende h1 {
    color: var(--color-light);
    margin-bottom: var(--space-md);
    position: relative;
  }

  .post-hero--tende .lead {
    font-size: var(--fs-md);
    line-height: 1.4;
    max-width: 900px;
    margin-bottom: 0;
    position: relative;
  }

  /* Content Section 1 */
  .content-section--tende-1 {
    background-color: var(--color-light);
    color: var(--color-dark);
    padding: var(--space-xl) 0;
  }

  .content-section--tende-1 .content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: center;
    margin-bottom: var(--space-md);
  }

  .content-section--tende-1 .text-content {
    flex: 1;
    min-width: 300px;
  }

  .content-section--tende-1 .image-container {
    flex: 1;
    min-width: 300px;
  }

  .content-section--tende-1 .section-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
  }

  .content-section--tende-1 .key-points {
    background-color: rgba(42, 157, 143, 0.1);
    border-left: 4px solid var(--color-secondary);
    padding: var(--space-md);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-top: var(--space-md);
  }

  .content-section--tende-1 .key-points h4 {
    color: var(--color-secondary);
    margin-bottom: var(--space-xs);
  }

  .content-section--tende-1 .key-points ul {
    margin-left: var(--space-md);
    list-style-type: square;
  }

  .content-section--tende-1 .key-points li {
    margin-bottom: var(--space-xxs);
  }

  /* Content Section 2 */
  .content-section--tende-2 {
    background-color: var(--color-black);
    color: var(--color-light);
    padding: var(--space-xl) 0;
  }

  .content-section--tende-2 h2 {
    color: var(--color-light);
    text-align: center;
    margin-bottom: var(--space-lg);
  }

  .content-section--tende-2 .two-column-layout {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
  }

  .content-section--tende-2 .column {
    flex: 1;
    min-width: 300px;
  }

  .content-section--tende-2 .section-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-lg);
  }

  .content-section--tende-2 .innovation-box {
    background-color: rgba(244, 162, 97, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
  }

  .content-section--tende-2 .innovation-box h4 {
    color: var(--color-tertiary);
    margin-bottom: var(--space-sm);
  }

  .content-section--tende-2 .innovation-box ol {
    margin-left: var(--space-md);
  }

  .content-section--tende-2 .innovation-box li {
    margin-bottom: var(--space-sm);
  }

  .content-section--tende-2 .innovation-box strong {
    color: var(--color-tertiary);
  }

  /* Content Section 3 */
  .content-section--tende-3 {
    background-color: var(--color-light);
    color: var(--color-dark);
    padding: var(--space-xl) 0;
  }

  .content-section--tende-3 .highlight-box {
    background-color: var(--color-secondary);
    color: var(--color-light);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-md);
  }

  .content-section--tende-3 .highlight-box p {
    margin-bottom: 0;
    font-size: var(--fs-sm);
  }

  .content-section--tende-3 .image-text-container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: center;
    margin: var(--space-md) 0;
  }

  .content-section--tende-3 .side-image {
    max-width: 45%;
    max-height: 350px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
  }

  .content-section--tende-3 .text-beside-image {
    flex: 1;
    min-width: 300px;
  }

  .content-section--tende-3 .conclusion-box {
    background-color: rgba(230, 57, 70, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    margin-top: var(--space-lg);
    border-left: 4px solid var(--color-primary);
  }

  .content-section--tende-3 .conclusion-box h4 {
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
  }

  /* Related Posts Section */
  .related-posts--tende {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: var(--space-xl) 0;
  }

  .related-posts--tende h2 {
    color: var(--color-light);
    text-align: center;
    margin-bottom: var(--space-lg);
  }

  .related-posts--tende .post-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }

  .related-posts--tende .post-card--tende {
    background-color: var(--color-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .related-posts--tende .post-card--tende:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
  }

  .related-posts--tende .card-image-container {
    height: 200px;
    overflow: hidden;
  }

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

  .related-posts--tende .post-card--tende:hover .card-image {
    transform: scale(1.05);
  }

  .related-posts--tende .card-content {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  .related-posts--tende .card-content h3 {
    font-size: var(--fs-sm);
    margin-bottom: var(--space-xs);
    color: var(--color-black);
  }

  .related-posts--tende .card-content p {
    color: var(--color-dark);
    margin-bottom: var(--space-md);
    font-size: var(--fs-xxs);
    flex-grow: 1;
  }

  .related-posts--tende .btn {
    align-self: flex-start;
  }

  /* Responsive Styles */
  @media (max-width: 1023px) {
    .post-hero--tende {
      padding: var(--space-lg) 0;
    }

    .content-section--tende-1,
    .content-section--tende-2,
    .content-section--tende-3,
    .related-posts--tende {
      padding: var(--space-lg) 0;
    }

    .related-posts--tende .post-cards {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 767px) {
    .post-hero--tende {
      padding: var(--space-md) 0;
    }

    .post-hero--tende .lead {
      font-size: var(--fs-sm);
    }

    .content-section--tende-1,
    .content-section--tende-2,
    .content-section--tende-3,
    .related-posts--tende {
      padding: var(--space-md) 0;
    }

    .content-section--tende-1 .content-wrapper,
    .content-section--tende-2 .two-column-layout,
    .content-section--tende-3 .image-text-container {
      flex-direction: column;
    }

    .content-section--tende-3 .side-image {
      max-width: 100%;
      margin-bottom: var(--space-sm);
    }

    .related-posts--tende .post-cards {
      grid-template-columns: 1fr;
    }
  }

.privacy-page {
  padding: var(--space-lg) 0;
  background-color: var(--color-light);
}

.privacy-page__container {
  max-width: 900px;
  margin: 0 auto;
}

.privacy-page__title {
  font-family: var(--font-secondary);
  color: var(--color-black);
  margin-bottom: var(--space-md);
  text-align: center;
}

.privacy-page__updated {
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--color-gray);
  font-size: var(--fs-xxs);
}

.privacy-page__section {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(141, 153, 174, 0.2);
}

.privacy-page__section:last-child {
  border-bottom: none;
}

.privacy-page__section-title {
  font-family: var(--font-secondary);
  color: var(--color-dark);
  font-size: var(--fs-md);
  margin-bottom: var(--space-sm);
}

.privacy-page p {
  font-family: var(--font-primary);
  color: var(--color-dark);
  font-size: var(--fs-xs);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.privacy-page__list {
  padding-left: var(--space-md);
  margin-bottom: var(--space-md);
}

.privacy-page__list li {
  font-family: var(--font-primary);
  color: var(--color-dark);
  font-size: var(--fs-xs);
  margin-bottom: var(--space-xs);
  line-height: 1.6;
}

.privacy-page__contact-info {
  background-color: #fff;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-top: var(--space-sm);
}

.privacy-page__contact-info p {
  margin-bottom: var(--space-sm);
}

.privacy-page__contact-info p:last-child {
  margin-bottom: 0;
}

.privacy-page strong {
  font-weight: 600;
  color: var(--color-black);
}

@media (max-width: 767px) {
  .privacy-page {
    padding: var(--space-md) 0;
  }
  
  .privacy-page__section {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
  }
  
  .privacy-page__contact-info {
    padding: var(--space-sm);
  }
}

.terms-page {
  padding: var(--space-lg) 0;
  background-color: var(--color-light);
  color: var(--color-dark);
}

.terms-page__header {
  margin-bottom: var(--space-lg);
  text-align: center;
  border-bottom: 2px solid var(--color-secondary);
  padding-bottom: var(--space-md);
}

.terms-page__header h1 {
  color: var(--color-black);
  font-family: var(--font-secondary);
  margin-bottom: var(--space-xs);
}

.terms-page__last-updated {
  font-size: var(--fs-xxs);
  color: var(--color-gray);
  font-style: italic;
  margin-bottom: 0;
}

.terms-page__content {
  max-width: 900px;
  margin: 0 auto;
}

.terms-page__section {
  margin-bottom: var(--space-lg);
}

.terms-page__section h2 {
  font-size: var(--fs-md);
  color: var(--color-black);
  font-family: var(--font-secondary);
  border-left: 4px solid var(--color-primary);
  padding-left: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.terms-page__section p {
  margin-bottom: var(--space-sm);
  font-size: var(--fs-xs);
  line-height: 1.7;
}

.terms-page__list {
  margin: var(--space-sm) 0;
  padding-left: var(--space-md);
}

.terms-page__list li {
  margin-bottom: var(--space-xs);
  font-size: var(--fs-xs);
  line-height: 1.7;
}

@media (max-width: 767px) {
  .terms-page {
    padding: var(--space-md) 0;
  }
  
  .terms-page__header {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
  }
  
  .terms-page__section {
    margin-bottom: var(--space-md);
  }
  
  .terms-page__section h2 {
    font-size: var(--fs-sm);
  }
  
  .terms-page__list {
    padding-left: var(--space-sm);
  }
}

  /* Disclaimer Page Styles */
  .disclaimer-page {
    padding: var(--space-lg) 0;
    background-color: var(--color-light);
    color: var(--color-dark);
  }

  .disclaimer-page__header {
    margin-bottom: var(--space-lg);
  }

  .disclaimer-page__header h1 {
    color: var(--color-black);
    font-family: var(--font-secondary);
    position: relative;
    padding-bottom: var(--space-sm);
  }

  .disclaimer-page__header h1:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--color-primary);
  }

  .disclaimer-page__content {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
  }

  .disclaimer-page__section {
    margin-bottom: var(--space-lg);
  }

  .disclaimer-page__section h2 {
    color: var(--color-secondary);
    font-size: var(--fs-md);
    margin-bottom: var(--space-xs);
    font-family: var(--font-secondary);
  }

  .disclaimer-page__section p {
    margin-bottom: var(--space-sm);
    font-size: var(--fs-xs);
    line-height: 1.7;
  }

  .disclaimer-page__section p strong {
    font-weight: 600;
    color: var(--color-dark);
  }

  .disclaimer-page__contact-info {
    background-color: var(--color-light);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-tertiary);
    margin-top: var(--space-sm);
  }

  .disclaimer-page__contact-info p {
    margin-bottom: var(--space-xs);
  }

  .disclaimer-page__footer {
    margin-top: var(--space-xl);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-gray);
    text-align: center;
  }

  .disclaimer-page__updated {
    color: var(--color-gray);
    font-size: var(--fs-xxs);
    margin-bottom: 0;
  }

  /* Responsive adjustments */
  @media (max-width: 767px) {
    .disclaimer-page__content {
      padding: var(--space-md);
    }
    
    .disclaimer-page__section {
      margin-bottom: var(--space-md);
    }
    
    .disclaimer-page__contact-info {
      padding: var(--space-sm);
    }
  }

/* Cookie Policy Page Styles */
.cookie-page {
  padding: var(--space-lg) 0;
  background-color: var(--color-light);
}

.cookie-page__header {
  margin-bottom: var(--space-lg);
  border-bottom: 2px solid var(--color-secondary);
  padding-bottom: var(--space-sm);
}

.cookie-page__title {
  color: var(--color-black);
  font-family: var(--font-secondary);
  font-size: var(--fs-xl);
  margin-bottom: var(--space-sm);
}

.cookie-page__section {
  margin-bottom: var(--space-lg);
}

.cookie-page__section-title {
  color: var(--color-black);
  font-family: var(--font-secondary);
  font-size: var(--fs-md);
  margin-bottom: var(--space-sm);
  border-left: 4px solid var(--color-primary);
  padding-left: var(--space-sm);
}

.cookie-page__subsection {
  margin-bottom: var(--space-md);
  padding-left: var(--space-sm);
}

.cookie-page__subsection-title {
  color: var(--color-dark);
  font-family: var(--font-secondary);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-xs);
}

.cookie-page__text {
  font-family: var(--font-primary);
  font-size: var(--fs-xs);
  color: var(--color-dark);
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.cookie-page__list {
  margin-left: var(--space-md);
  margin-bottom: var(--space-md);
}

.cookie-page__list-item {
  font-family: var(--font-primary);
  font-size: var(--fs-xs);
  color: var(--color-dark);
  margin-bottom: var(--space-xs);
  line-height: 1.5;
}

.cookie-page__footer {
  margin-top: var(--space-xl);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-gray);
}

.cookie-page__updated {
  font-size: var(--fs-xxs);
  color: var(--color-gray);
  font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .cookie-page {
    padding: var(--space-md) 0;
  }
  
  .cookie-page__title {
    font-size: var(--fs-lg);
  }
  
  .cookie-page__section-title {
    font-size: var(--fs-sm);
  }
  
  .cookie-page__subsection-title {
    font-size: var(--fs-xs);
  }
  
  .cookie-page__text,
  .cookie-page__list-item {
    font-size: var(--fs-xxs);
  }
}

.thank-page {
  padding: var(--space-xl) 0;
  background-color: var(--color-light);
}

.thank-page__container {
  max-width: 800px;
}

.thank-page__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.thank-page__icon-container {
  margin-bottom: var(--space-md);
}

.thank-page__icon-container .icon-circle {
  width: 5rem;
  height: 5rem;
  background-color: var(--color-light);
  color: var(--color-secondary);
}

.thank-page__title {
  color: var(--color-black);
  margin-bottom: var(--space-md);
  font-family: var(--font-secondary);
}

.thank-page__message {
  margin-bottom: var(--space-lg);
}

.thank-page__message p {
  color: var(--color-dark);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-sm);
}

.thank-page__confirmation {
  background-color: var(--color-light);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  width: 100%;
}

.thank-page__confirmation h4 {
  color: var(--color-secondary);
  margin-bottom: var(--space-xs);
}

.thank-page__confirmation-text {
  font-size: var(--fs-xs);
  margin-bottom: 0;
}

.thank-page__action {
  margin-top: var(--space-sm);
}

.thank-page__button {
  font-size: var(--fs-sm);
  padding: var(--space-xs) var(--space-lg);
  font-weight: 600;
}

@media (max-width: 767px) {
  .thank-page {
    padding: var(--space-lg) 0;
  }
  
  .thank-page__content {
    padding: var(--space-md);
  }
  
  .thank-page__message p {
    font-size: var(--fs-xs);
  }
  
  .thank-page__icon-container .icon-circle {
    width: 4rem;
    height: 4rem;
  }
}

  .error-404 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: var(--space-xl) var(--space-md);
    background-color: var(--color-light);
  }

  .error-404__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
  }

  .error-404__visual {
    position: relative;
    margin-bottom: var(--space-md);
  }

  .error-404__code {
    font-family: var(--font-secondary);
    font-size: 10rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: var(--space-sm);
    text-shadow: 3px 3px 0 var(--color-tertiary);
    letter-spacing: -4px;
  }

  .error-404__decoration {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 4px;
    background-color: var(--color-secondary);
    border-radius: var(--radius-md);
    opacity: 0.7;
  }

  .error-404__message {
    margin-bottom: var(--space-lg);
  }

  .error-404__title {
    font-family: var(--font-secondary);
    font-size: var(--fs-lg);
    color: var(--color-black);
    margin-bottom: var(--space-xs);
  }

  .error-404__description {
    font-family: var(--font-primary);
    font-size: var(--fs-sm);
    color: var(--color-dark);
    max-width: 90%;
    margin: 0 auto var(--space-md);
  }

  .error-404__action {
    margin-top: var(--space-sm);
  }

  .error-404__button {
    padding: var(--space-xs) var(--space-md);
    transition: all var(--transition-medium);
  }

  .error-404__button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }

  .error-404__icon {
    display: inline-block;
    margin-right: var(--space-xs);
    font-style: normal;
  }

  /* Responsive Styles */
  @media (max-width: 767px) {
    .error-404 {
      padding: var(--space-lg) var(--space-sm);
    }

    .error-404__code {
      font-size: 7rem;
    }

    .error-404__title {
      font-size: var(--fs-md);
    }

    .error-404__description {
      font-size: var(--fs-xs);
      max-width: 100%;
    }
  }

  @media (max-width: 480px) {
    .error-404__code {
      font-size: 5rem;
    }
  }
