/* Estilos generales - Tema futurista con acentos de neón rojo y verde */
:root {
  --primary-color: #00ff4c; /* Verde neón */
  --secondary-color: #ff003c; /* Rojo neón */
  --bg-dark: #080b14; /* Fondo oscuro profundo */
  --bg-darker: #050709; /* Fondo aún más oscuro */
  --bg-light: #111827; /* Fondo oscuro más claro para contraste */
  --text-light: #f1f5f9; /* Texto claro */
  --text-muted: #94a3b8; /* Texto atenuado */
  --border-color: #1e293b; /* Borde oscuro */
  --shadow-color: rgba(0, 255, 76, 0.2); /* Sombra verde neón */
  --shadow-red: rgba(255, 0, 60, 0.2); /* Sombra roja neón */
  --font-primary: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-secondary: 'Montserrat', 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.3s ease;
  --border-radius: 6px;
  --card-radius: 12px;
  --glow-green: 0 0 10px rgba(0, 255, 76, 0.7);
  --glow-red: 0 0 10px rgba(255, 0, 60, 0.7);
}

/* Reseteo básico */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--text-light);
  text-shadow: var(--glow-green);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.2rem;
  position: relative;
  margin-bottom: 2rem;
}

h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  border-radius: 3px;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

ul {
  list-style-position: inside;
  margin-bottom: 1.5rem;
}

/* Botones */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-family: var(--font-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-darker);
  box-shadow: var(--glow-green);
}

.btn-primary:hover {
  background-color: #00e045;
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(0, 255, 76, 0.3);
  color: var(--bg-darker);
  text-shadow: none;
}

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

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--bg-darker);
  box-shadow: var(--glow-green);
  text-shadow: none;
}

/* Header y navegación */
header {
  background-color: var(--bg-darker);
  padding: 20px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
}

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

.logo img {
  max-height: 50px;
  border-radius: 0;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--text-light);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  font-size: 1rem;
}

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

nav ul li a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  box-shadow: var(--glow-green);
}

/* Sección hero */
.hero {
  padding: 100px 0;
  background-color: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 255, 76, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-content {
  flex: 1;
  max-width: 550px;
  margin-right: 50px;
}

.hero-content h1 {
  font-size: 3.2rem;
  margin-bottom: 25px;
  line-height: 1.2;
  color: var(--text-light);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: var(--text-muted);
}

.hero-image {
  flex: 1;
  max-width: 500px;
  position: relative;
}

.hero-image::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  bottom: -20px;
  left: -20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  opacity: 0.15;
  z-index: -1;
  border-radius: var(--card-radius);
  filter: blur(20px);
}

.hero-image img {
  border-radius: var(--card-radius);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

/* Sección de características */
.features {
  padding: 100px 0;
  background-color: var(--bg-darker);
}

.features h2 {
  text-align: center;
  margin-bottom: 60px;
}

.features h2::after {
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--bg-dark);
  padding: 30px;
  border-radius: var(--card-radius);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--primary-color);
  transition: var(--transition);
  z-index: -1;
}

.feature-card:hover::before {
  width: 100%;
  background-color: rgba(0, 255, 76, 0.05);
}

.feature-icon {
  margin-bottom: 20px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(0, 255, 76, 0.1);
  color: var(--primary-color);
}

.feature-card:hover .feature-icon {
  background-color: var(--primary-color);
  color: var(--bg-darker);
  box-shadow: var(--glow-green);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Slider */
.slider-section {
  padding: 100px 0;
  background-color: var(--bg-dark);
}

.slider-section h2 {
  text-align: center;
  margin-bottom: 60px;
}

.slider-section h2::after {
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.slider-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--card-radius);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.slider {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  transition: opacity 0.5s ease;
}

.slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--text-light);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.slider-btn:hover {
  background-color: var(--primary-color);
  color: var(--bg-darker);
  box-shadow: var(--glow-green);
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

/* Terminología */
.terminology {
  padding: 100px 0;
  background-color: var(--bg-darker);
}

.terminology h2 {
  text-align: center;
  margin-bottom: 60px;
}

.terminology h2::after {
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.term-card {
  background-color: var(--bg-dark);
  padding: 25px;
  border-radius: var(--card-radius);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.term-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 50px 50px 0;
  border-color: transparent var(--secondary-color) transparent transparent;
  opacity: 0.1;
  transition: var(--transition);
}

.term-card:hover::before {
  opacity: 0.2;
}

.term-card h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.term-card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Últimos posts */
.latest-posts {
  padding: 100px 0;
  background-color: var(--bg-dark);
}

.latest-posts h2 {
  text-align: center;
  margin-bottom: 60px;
}

.latest-posts h2::after {
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.post-card {
  background-color: var(--bg-light);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.post-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--primary-color);
}

.post-image {
  height: 200px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: var(--transition);
}

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

.post-content {
  padding: 25px;
}

.post-content h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

.post-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
}

.read-more::after {
  content: '→';
  margin-left: 5px;
  transition: var(--transition);
}

.read-more:hover::after {
  margin-left: 10px;
}

.view-all {
  text-align: center;
}

/* CTA */
.cta {
  padding: 100px 0;
  background-color: var(--bg-darker);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/cta-bg.jpg') no-repeat center center/cover;
  opacity: 0.05;
  z-index: 0;
}

.cta .container {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta h2::after {
  display: none;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: var(--text-muted);
}

/* Footer */
footer {
  background-color: var(--bg-darker);
  padding: 80px 0 30px;
  border-top: 1px solid var(--border-color);
}

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

.footer-logo img {
  max-width: 150px;
  margin-bottom: 20px;
  border-radius: 0;
}

.footer-logo p {
  color: var(--text-muted);
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer-nav h3, .footer-contact h3, .footer-social h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--text-light);
}

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

.footer-nav ul li {
  margin-bottom: 12px;
}

.footer-nav ul li a {
  color: var(--text-muted);
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer-nav ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.footer-contact svg {
  margin-right: 10px;
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  align-items: center;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--bg-light);
  border-radius: 50%;
  margin-right: 15px;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: var(--glow-green);
}

.social-icons a svg {
  color: var(--text-light);
}

.social-icons a:hover svg {
  color: var(--bg-darker);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.legal-links a {
  color: var(--text-muted);
  margin-right: 20px;
  font-size: 0.9rem;
}

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

.copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1000px;
  background-color: var(--bg-light);
  border-radius: var(--card-radius);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  border: 1px solid var(--border-color);
  display: none; /* Initially hidden, shown via JS */
}

.cookie-content {
  text-align: center;
}

.cookie-content p {
  margin-bottom: 20px;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.cookie-buttons button {
  padding: 8px 20px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

#acceptCookies {
  background-color: var(--primary-color);
  color: var(--bg-darker);
}

#customizeCookies {
  background-color: var(--bg-dark);
  color: var(--text-light);
  border: 1px solid var(--border-color);
}

#rejectCookies {
  background-color: var(--secondary-color);
  color: var(--bg-darker);
}

.cookie-content a {
  font-size: 0.9rem;
}

/* Estilos para la página de About */
.about-hero {
  padding: 100px 0;
  background-color: var(--bg-dark);
}

.about-hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 50px;
}

.about-content {
  flex: 1;
  max-width: 600px;
}

.about-image {
  flex: 1;
  max-width: 450px;
}

.about-image img {
  border-radius: var(--card-radius);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.mission-vision {
  padding: 80px 0;
  background-color: var(--bg-darker);
}

.mission-vision .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

.mission, .vision {
  padding: 40px;
  background-color: var(--bg-dark);
  border-radius: var(--card-radius);
  position: relative;
  border: 1px solid var(--border-color);
}

.mission::before, .vision::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 4px;
  top: 0;
  left: 0;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.mission::before {
  background: linear-gradient(90deg, var(--primary-color), transparent);
}

.vision::before {
  background: linear-gradient(90deg, var(--secondary-color), transparent);
}

.mission h2, .vision h2 {
  margin-bottom: 20px;
}

.mission h2::after, .vision h2::after {
  display: none;
}

.values {
  padding: 100px 0;
  background-color: var(--bg-dark);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.value-card {
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: var(--card-radius);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  text-align: center;
}

.value-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(0, 255, 76, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary-color);
  transition: var(--transition);
}

.value-card:hover .value-icon {
  background-color: var(--primary-color);
  color: var(--bg-darker);
  transform: rotateY(180deg);
  box-shadow: var(--glow-green);
}

.team {
  padding: 100px 0;
  background-color: var(--bg-darker);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.team-member {
  text-align: center;
  transition: var(--transition);
}

.team-member img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--card-radius);
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.team-member:hover img {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--primary-color);
}

.team-member h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.team-member p {
  color: var(--text-muted);
  margin-bottom: 15px;
}

.team-member p:first-of-type {
  color: var(--primary-color);
  font-weight: 600;
}

.testimonials {
  padding: 100px 0;
  background-color: var(--bg-dark);
}

.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial {
  background-color: var(--bg-light);
  padding: 40px;
  border-radius: var(--card-radius);
  border: 1px solid var(--border-color);
  margin-bottom: 30px;
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -30px;
  left: 40px;
  font-size: 100px;
  color: var(--primary-color);
  opacity: 0.1;
  font-family: Georgia, serif;
}

.quote {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.client {
  display: flex;
  flex-direction: column;
}

.client-name {
  font-weight: 600;
  font-size: 1.1rem;
}

.client-title {
  color: var(--text-muted);
}

/* Estilos para la página Blog */
.blog-hero {
  padding: 80px 0;
  background-color: var(--bg-darker);
  text-align: center;
}

.blog-hero h1 {
  margin-bottom: 20px;
}

.blog-hero p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.2rem;
}

.blog-content {
  padding: 80px 0;
  background-color: var(--bg-dark);
}

.blog-content .container {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 50px;
}

.blog-categories {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.blog-categories h2 {
  margin-bottom: 30px;
}

.blog-categories ul {
  list-style: none;
  margin-bottom: 40px;
}

.blog-categories ul li {
  margin-bottom: 15px;
}

.blog-categories ul li a {
  color: var(--text-muted);
  transition: var(--transition);
  display: inline-block;
}

.blog-categories ul li a:hover,
.blog-categories ul li a.active {
  color: var(--primary-color);
  padding-left: 5px;
}

.blog-categories ul li a.active {
  position: relative;
}

.blog-categories ul li a.active::before {
  content: '•';
  position: absolute;
  left: -15px;
  color: var(--primary-color);
}

.search-box {
  position: relative;
  margin-bottom: 40px;
}

.search-box input {
  width: 100%;
  padding: 12px 45px 12px 15px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-light);
  color: var(--text-light);
  font-family: var(--font-primary);
  transition: var(--transition);
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: var(--glow-green);
}

.search-box button {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

.post-item {
  background-color: var(--bg-light);
  border-radius: var(--card-radius);
  overflow: hidden;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  border: 1px solid var(--border-color);
}

.post-image {
  height: 100%;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.post-details {
  padding: 30px;
}

.post-meta {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 15px;
}

.post-date, .post-category {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
}

.post-category {
  color: var(--primary-color);
  background-color: rgba(0, 255, 76, 0.1);
  padding: 3px 12px;
  border-radius: 20px;
}

.post-details h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

.post-details h2::after {
  display: none;
}

.post-details p {
  margin-bottom: 20px;
  color: var(--text-muted);
}

.read-more {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

.pagination a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 5px;
  background-color: var(--bg-light);
  color: var(--text-light);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.pagination a.active {
  background-color: var(--primary-color);
  color: var(--bg-darker);
  border-color: var(--primary-color);
  box-shadow: var(--glow-green);
}

.pagination a:hover:not(.active) {
  background-color: var(--bg-darker);
  border-color: var(--primary-color);
}

.pagination a.next {
  width: auto;
  border-radius: 20px;
  padding: 0 20px;
}

.pagination a.next svg {
  margin-left: 5px;
}

.pagination span {
  margin: 0 5px;
  color: var(--text-muted);
}

.newsletter {
  padding: 80px 0;
  background-color: var(--bg-darker);
}

.newsletter-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-content h2 {
  margin-bottom: 20px;
}

.newsletter-content h2::after {
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.newsletter-content p {
  margin-bottom: 30px;
  color: var(--text-muted);
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 20px;
  border-radius: 30px 0 0 30px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-light);
  color: var(--text-light);
  font-family: var(--font-primary);
}

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

.newsletter-form button {
  border-radius: 0 30px 30px 0;
  padding: 12px 25px;
  border: none;
  background-color: var(--primary-color);
  color: var(--bg-darker);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: #00e045;
  box-shadow: var(--glow-green);
}

/* Estilos para la página de Contacto */
.contact-hero {
  padding: 80px 0;
  background-color: var(--bg-darker);
  text-align: center;
}

.contact-hero h1 {
  margin-bottom: 20px;
}

.contact-hero p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.2rem;
}

.contact-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 50px;
}

.contact-form-container, 
.contact-info-container {
  background-color: var(--bg-light);
  padding: 40px;
  border-radius: var(--card-radius);
  border: 1px solid var(--border-color);
}

.contact-form-container h2,
.contact-info-container h2 {
  margin-bottom: 30px;
}

.contact-form-container h2::after,
.contact-info-container h2::after {
  width: 60px;
}

.form-group {
  margin-bottom: 25px;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-primary);
  transition: var(--transition);
}

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

.form-group.checkbox {
  display: flex;
  align-items: center;
}

.form-group.checkbox input {
  width: auto;
  margin-right: 10px;
}

.form-group.checkbox label {
  margin-bottom: 0;
  font-weight: normal;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-form button {
  width: 100%;
  padding: 12px;
}

.info-item {
  display: flex;
  margin-bottom: 30px;
}

.info-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 255, 76, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  color: var(--primary-color);
  flex-shrink: 0;
}

.info-content h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.info-content p {
  color: var(--text-muted);
  margin-bottom: 5px;
}

.social-contact {
  margin-top: 40px;
}

.social-contact h3 {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.map-section {
  padding: 80px 0;
  background-color: var(--bg-darker);
}

.map-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

.map-section h2::after {
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.map-container {
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.faq-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

.faq-section h2::after {
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

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

.toggle-icon {
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding-bottom: 20px;
  color: var(--text-muted);
}

.faq-item.active .faq-question {
  background-color: var(--bg-dark);
}

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

.faq-item.active .faq-answer {
  max-height: 200px;
}

/* Estilos para artículos individuales */
.post-content {
  padding: 80px 0;
  background-color: var(--bg-dark);
}

.post-header {
  margin-bottom: 40px;
}

.post-header h1 {
  margin-bottom: 20px;
}

.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

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

.author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

.date, .category {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.date svg, .category svg {
  margin-right: 5px;
  color: var(--primary-color);
}

.category {
  background-color: rgba(0, 255, 76, 0.1);
  padding: 3px 12px;
  border-radius: 20px;
}

.featured-image {
  margin-bottom: 40px;
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.featured-image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 0;
}

.post-body {
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.post-body h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.post-body ul {
  list-style-type: disc;
  padding-left: 20px;
}

.post-body ul li {
  margin-bottom: 10px;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 30px;
}

.post-tags span {
  margin-right: 10px;
  font-weight: 600;
}

.post-tags a {
  background-color: var(--bg-light);
  padding: 5px 15px;
  border-radius: 20px;
  margin-right: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.post-tags a:hover {
  background-color: var(--primary-color);
  color: var(--bg-darker);
}

.share-post {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.share-post span {
  margin-right: 15px;
  font-weight: 600;
}

.share-post a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--bg-light);
  border-radius: 50%;
  margin-right: 10px;
  color: var(--text-light);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.share-post a:hover {
  transform: translateY(-5px);
}

.share-post a:nth-child(2):hover {
  background-color: #1877f2;
  border-color: #1877f2;
  box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

.share-post a:nth-child(3):hover {
  background-color: #1da1f2;
  border-color: #1da1f2;
  box-shadow: 0 5px 15px rgba(29, 161, 242, 0.4);
}

.share-post a:nth-child(4):hover {
  background-color: #0a66c2;
  border-color: #0a66c2;
  box-shadow: 0 5px 15px rgba(10, 102, 194, 0.4);
}

.share-post a:nth-child(5):hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: var(--glow-green);
}

.author-bio {
  display: flex;
  align-items: center;
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: var(--card-radius);
  margin-bottom: 50px;
  border: 1px solid var(--border-color);
}

.author-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 30px;
  flex-shrink: 0;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

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

.author-title {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.author-info p {
  margin-bottom: 15px;
  color: var(--text-muted);
}

.author-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: var(--bg-dark);
  border-radius: 50%;
  margin-right: 10px;
  color: var(--text-light);
  transition: var(--transition);
}

.author-social a:hover {
  transform: translateY(-3px);
}

.related-posts {
  margin-bottom: 50px;
}

.related-posts h2 {
  margin-bottom: 30px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.related-post {
  background-color: var(--bg-light);
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.related-post:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border-color: var(--primary-color);
}

.related-post img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 0;
}

.related-post h3 {
  padding: 15px 15px 10px;
  font-size: 1.1rem;
  margin-bottom: 0;
}

.related-post p {
  padding: 0 15px 15px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.post-comments {
  margin-bottom: 30px;
}

.post-comments h2 {
  margin-bottom: 30px;
}

.comments-list {
  margin-bottom: 50px;
}

.comment {
  display: flex;
  margin-bottom: 30px;
}

.comment-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 20px;
  flex-shrink: 0;
}

.comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.comment-content {
  flex: 1;
  background-color: var(--bg-light);
  padding: 20px;
  border-radius: var(--card-radius);
  position: relative;
  border: 1px solid var(--border-color);
}

.comment-content::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 20px;
  border-style: solid;
  border-width: 10px 10px 10px 0;
  border-color: transparent var(--bg-light) transparent transparent;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.comment-header h4 {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.comment-header span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.comment-content p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.comment-actions a {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 600;
}

.comment-form h3 {
  margin-bottom: 25px;
}

/* Modal para mensaje de éxito */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--bg-light);
  padding: 40px;
  border-radius: var(--card-radius);
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  border: 1px solid var(--border-color);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}

.close-modal:hover {
  color: var(--secondary-color);
}

.success-icon {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.success-icon svg {
  width: 60px;
  height: 60px;
}

/* Media queries para responsive */
@media screen and (max-width: 1024px) {
  .hero-content {
    margin-right: 0;
    margin-bottom: 40px;
  }

  .hero .container {
    flex-direction: column;
  }

  .hero-image {
    max-width: 100%;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .blog-content .container {
    grid-template-columns: 1fr;
  }

  .blog-categories {
    position: static;
    margin-bottom: 50px;
  }
  
  .post-item {
    grid-template-columns: 1fr;
  }
  
  .post-image {
    height: 200px;
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .feature-grid, 
  .terms-grid, 
  .posts-grid, 
  .related-grid {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
  }
  
  .legal-links {
    margin-bottom: 20px;
  }
  
  .author-bio {
    flex-direction: column;
    text-align: center;
  }
  
  .author-image {
    margin-right: 0;
    margin-bottom: 20px;
  }
  
  .comment {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .comment-avatar {
    margin-right: 0;
    margin-bottom: 20px;
  }
  
  .comment-content::before {
    display: none;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: 30px;
    margin-bottom: 15px;
  }
  
  .newsletter-form button {
    border-radius: 30px;
  }
}

@media screen and (max-width: 576px) {
  header .container {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 20px;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 0 15px 10px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .pagination {
    flex-wrap: wrap;
  }
  
  .pagination a,
  .pagination span {
    margin-bottom: 10px;
  }
  
  .post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .share-post {
    flex-wrap: wrap;
  }
  
  .share-post span {
    width: 100%;
    margin-bottom: 10px;
  }
}
