@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --synx-primary: #1a1a2e;
  --synx-secondary: #E95A0C;
  --synx-accent: #ED7D00;
  --synx-light: #f8f9fa;
  --synx-dark: #16213e;
  --synx-border: #e2e2e2;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--synx-primary);
  background-color: #fff;
}

a {
  color: var(--synx-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--synx-accent);
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 600;
}

p {
  margin-bottom: 1.5rem;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Animación mejorada para el header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  background: transparent;
  transition: all 0.3s ease;
}

.site-header.scrolling {
  transform: translateY(-100%);
}

.site-header.scrolled {
  background: rgba(51, 51, 51, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
}

.site-header.scrolling-up {
  transform: translateY(-100%);
}

.dark-mode-toggle {
  position: relative;
  margin-left: 20px;
  display: flex;
  align-items: center;
}

.dark-mode-checkbox {
  opacity: 0;
  position: absolute;
}

.dark-mode-label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px;
  width: 50px;
  height: 26px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Dark Mode Styles - Mejoras para elementos con fondo blanco */
body.dark-mode {
  background-color: #121212;
  color: #f1f1f1;
}

body.dark-mode .services-section,
body.dark-mode .testimonials-section {
  background-color: #1a1a1a;
}

body.dark-mode .section-title h2 {
  color: #f1f1f1;
}

body.dark-mode .section-title p {
  color: #ccc;
}

/* Service Cards en modo oscuro */
body.dark-mode .service-card {
  background-color: #2a2a2a;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

body.dark-mode .service-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

body.dark-mode .service-title {
  color: #f1f1f1;
}

body.dark-mode .entry-content p {
  color: #ccc;
}

/* Testimonials en modo oscuro */
body.dark-mode .testimonial-item {
  background-color: #2a2a2a;
  color: #f1f1f1;
}

body.dark-mode .testimonial-content {
  color: #e0e0e0;
}

body.dark-mode .author-info h4 {
  color: #f1f1f1;
}

body.dark-mode .author-info p {
  color: #ccc;
}

body.dark-mode .slider-prev,
body.dark-mode .slider-next {
  background-color: #333;
  color: #f1f1f1;
}

body.dark-mode .dot {
  background-color: #555;
}

body.dark-mode .dot.active {
  background-color: var(--synx-secondary);
}

/* Formulario de contacto en modo oscuro */
body.dark-mode .contact-form {
  background-color: #2a2a2a;
  color: #f1f1f1;
}

body.dark-mode .contact-form h3 {
  color: #f1f1f1;
}

body.dark-mode .form-label {
  color: #e0e0e0;
}

body.dark-mode .form-control,
body.dark-mode .form-select,
body.dark-mode .form-textarea {
  background-color: #333;
  border-color: #444;
  color: #f1f1f1;
}

body.dark-mode .form-control::placeholder,
body.dark-mode .form-textarea::placeholder {
  color: #aaa;
}

/* FAQ Card en modo oscuro */
body.dark-mode .faq-card {
  background-color: #2a2a2a;
  color: #f1f1f1;
}

body.dark-mode .faq-card h3 {
  color: #f1f1f1;
}

body.dark-mode .faq-question {
  color: #e0e0e0;
}

body.dark-mode .faq-answer {
  color: #ccc;
}

/* Stat boxes en modo oscuro */
body.dark-mode .stat-box {
  background-color: #2a2a2a;
  color: #f1f1f1;
  box-shadow:
    inset 0 2px 5px rgba(255, 255, 255, 0.1),
    inset 0 -3px 5px rgba(0, 0, 0, 0.2),
    0 5px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .stat-box p {
  color: #ccc;
}

/* Image overlay en modo oscuro */
body.dark-mode .image-overlay {
  background-color: #2a2a2a;
  color: #f1f1f1;
  box-shadow:
    inset 0 2px 5px rgba(255, 255, 255, 0.1),
    inset 0 -3px 5px rgba(0, 0, 0, 0.2),
    0 5px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .image-overlay p {
  color: #ccc;
}

/* Mensaje de éxito en modo oscuro */
body.dark-mode .success-message {
  background-color: #2a2a2a;
  color: #f1f1f1;
}

body.dark-mode .success-message h4 {
  color: #f1f1f1;
}

/* Menú móvil en modo oscuro */
body.dark-mode .mobile-menu {
  background-color: #1a1a1a;
}

body.dark-mode .mobile-nav a {
  color: #f1f1f1;
}

body.dark-mode .mobile-menu-close {
  color: #f1f1f1;
}


.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo img {
  height: 60px;
  width: auto;
}

/* Navigation */
.main-navigation {
    width: 100%;
    display: flex;
    justify-content: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
    justify-content: center;
}

.main-navigation a {
    color: #fff;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
  color: var(--synx-secondary);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--synx-primary);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--synx-primary) 0%, var(--synx-secondary) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #fff;
  color: var(--synx-secondary);
}

.btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--synx-secondary);
}

.btn-outline {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  /*left: 50%;
  transform: translateX(-50%);*/
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  animation: bounce 2s infinite;
  text-align: center;
  z-index: 2;
}

.scroll-indicator span {
  margin-bottom: 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.scroll-indicator i {
  font-size: 20px;
}

.scroll-indicator:hover {
  color: #fff;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Services Section */
.services-section {
  padding: 100px 0;
  background-color: var(--synx-light);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--synx-secondary), var(--synx-accent));
  margin: 0 auto 20px;
}

.section-title p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.2rem;
  color: #666;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  color: var(--synx-secondary);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.service-title {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.entry-content p {
  margin-bottom: 20px;
  color: #666;
}

.read-more {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  color: var(--synx-secondary);
}

.read-more i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(5px);
}

/* About Section */
.about-section {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* Stats Row Styling */
.stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  width: 100%;
}

.stat-box {
  flex: 1;
  text-align: center;
  padding: 1.5rem;
  background-color: white;
  border-radius: 12px;
  box-shadow:
    inset 0 2px 5px rgba(255, 255, 255, 0.5),
    inset 0 -3px 5px rgba(0, 0, 0, 0.1),
    0 5px 10px rgba(0, 0, 0, 0.2);
  margin: 0 0.5rem;
  border: 1px solid rgba(230, 230, 230, 1);
  position: relative;
  overflow: hidden;
  color: var(--synx-primary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:first-child {
  margin-left: 0;
}

.stat-box:last-child {
  margin-right: 0;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--synx-secondary);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-box p {
  color: rgba(0, 0, 0, 0.9);
  margin-bottom: 0;
}

/* Team Section */
.team-section {
  padding: 100px 0;
  background-color: var(--synx-primary);
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
}

.team-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(26, 26, 46, 0.75) 100%);
  z-index: 0;
}

.team-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.team-section .section-title h2,
.team-section .section-title p {
  position: relative;
  z-index: 2;
}

.team-section .divider {
  position: relative;
  z-index: 2;
}

.team-member {
  background-color: rgba(51, 51, 51, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.member-image {
  height: 320px;
  overflow: hidden;
  position: relative;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
  transform: scale(1.05);
}

.member-info {
  padding: 25px;
  background: linear-gradient(135deg, rgba(48, 48, 48, 0.2) 0%, rgba(255, 89, 0, 0.2) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.member-info h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: #fff;
}

.member-position {
  color: var(--synx-secondary);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1rem;
}

.member-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  font-size: 0.95rem;
  flex-grow: 1;
}

.member-social {
  display: flex;
  gap: 15px;
  margin-top: auto;
}

.member-social .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  /*background-color: rgba(255, 255, 255, 0.1);*/
  color: #fff;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.member-social .social-link:hover {
  background-color: var(--synx-secondary);
  transform: translateY(-3px);
}

.team-section .section-title h2,
.team-section .section-title p {
  color: #fff;
  position: relative;
  z-index: 2;
}

/* Mensaje de error */
.error-message {
  text-align: center;
  padding: 15px;
  margin-top: 20px;
  background-color: #ffebee;
  border-radius: 5px;
  color: #d32f2f;
}

.error-message i {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* Media queries */
@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .stats-row {
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .stat-box {
    margin: 0 0.25rem;
    padding: 0.75rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-box p {
    font-size: 0.9rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .stats-row {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-box {
    width: 100%;
    margin: 0;
  }
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(to right, var(--synx-secondary), var(--synx-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-features {
  margin: 30px 0;
}

.feature-item {
  display: flex;
  margin-bottom: 15px;
}

.feature-icon {
  color: var(--synx-secondary);
  margin-right: 15px;
  flex-shrink: 0;
}



.about-image {
  position: relative;
}

.about-image img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-overlay {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow:
    inset 0 2px 5px rgba(255, 255, 255, 0.5),
    inset 0 -3px 5px rgba(0, 0, 0, 0.1),
    0 5px 15px rgba(0, 0, 0, 0.2);
  min-width: 120px;
  text-align: center;
  border: 1px solid rgba(230, 230, 230, 1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 0;
  background-color: var(--synx-light);
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-wrapper {
  overflow: hidden;
  position: relative;
  height: 350px;
}

.testimonial-item {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  height: 100%;
}

.testimonial-item.active {
  opacity: 1;
  z-index: 1;
}

.testimonial-rating {
  color: #FFD700;
  margin-bottom: 20px;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 5px;
}

.author-info p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.slider-prev, 
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.slider-prev {
  left: -20px;
}

.slider-next {
  right: -20px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  margin: 0 5px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: var(--synx-secondary);
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
  margin-bottom: 30px;
  font-size: 1.8rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 5px;
  border: 1px solid var(--synx-border);
  font-family: inherit;
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-card {
  background: linear-gradient(135deg, var(--synx-secondary) 0%, var(--synx-accent) 100%);
  color: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-card h3 {
  margin-bottom: 30px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  margin-right: 15px;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.method-title {
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-card a {
  color: rgba(255, 255, 255, 0.8);
}

.contact-card a:hover {
  color: #fff;
  text-decoration: underline;
}

.faq-card {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-card h3 {
  margin-bottom: 30px;
}

.faq-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-question {
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.faq-answer {
  color: #666;
}

/* Success Message */
.success-message {
  text-align: center;
  padding: 30px;
}

.success-message i {
  font-size: 3rem;
  color: #4CAF50;
  margin-bottom: 20px;
}

.success-message h4 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* Footer */
.site-footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  height: 60px;
  width: auto;
}

.footer-description {
  opacity: 0.8;
  margin-bottom: 30px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--synx-secondary);
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
  color: #fff;
}

.newsletter-form {
  display: flex;
  margin-top: 20px;
}

.newsletter-input {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  padding: 12px 15px;
  color: #fff;
  border-radius: 5px 0 0 5px;
  flex-grow: 1;
}

.newsletter-button {
  background: var(--synx-secondary);
  color: #fff;
  border: none;
  padding: 12px 15px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.copyright {
  opacity: 0.7;
}

.footer-nav {
  display: flex;
  gap: 30px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100%;
  background: #fff;
  z-index: 1010;
  padding: 80px 30px 30px;
  transition: all 0.3s ease;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.mobile-nav ul {
  list-style: none;
}

.mobile-nav li {
  margin-bottom: 20px;
}

.mobile-nav a {
  color: var(--synx-primary);
  font-size: 1.2rem;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  visibility: hidden;
  opacity: 0;
  z-index: 1005;
  transition: all 0.3s ease;
}

.overlay.active {
  visibility: visible;
  opacity: 1;
}

/* Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Nuevas clases de animación para diferentes efectos */
.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-down {
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.zoom-in {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible,
.fade-in-right.visible,
.fade-in-up.visible,
.fade-in-down.visible,
.zoom-in.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Retrasos para crear efectos en cascada */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
.delay-600 { transition-delay: 0.6s; }
.delay-700 { transition-delay: 0.7s; }
.delay-800 { transition-delay: 0.8s; }

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    margin-top: 40px;
  }
  
  .image-overlay {
    bottom: -10px;
    left: -10px;
  }
}

@media (max-width: 768px) {
  .main-navigation {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  
  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .testimonial-item {
    padding: 30px 20px;
  }
  
  .slider-prev {
    left: -10px;
  }
  
  .slider-next {
    right: -10px;
  }
}
