/* Base Styles */
:root {
  --primary-color: #ff4c00;
  --primary-dark: #e64400;
  --primary-light: #ff6a33;
  --secondary-color: #b3b3b3;
  --text-color: #1a1a1a;
  --text-light: #4d4d4d;
  --text-lighter: #777777;
  --bg-color: #ffffff;
  --bg-light: #f5f5f5;
  --bg-dark: #1a1a1a;
  --border-color: #e0e0e0;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
  --image-zoom: 1.4; /* Valor por defecto para zoom de imágenes */
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

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

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

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

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

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

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

section {
  padding: 5rem 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

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

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

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

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

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000; /* Asegurar que el header esté por encima de otros elementos */
  padding: 1rem 0;
}

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

.logo img {
  height: 70px;
}

nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  margin-right: 2rem;
  z-index: 1000; /* Asegurar que el menú esté por encima de otros elementos */
}

.nav-links li {
  margin: 0 1rem;
}

.nav-links a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
}

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

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

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

.nav-links a.active {
  color: var(--primary-color);
}

.nav-links a.active::after {
  width: 100%;
}

.nav-buttons {
  display: flex;
  gap: 1rem;
  z-index: 1000; /* Asegurar que los botones estén por encima de otros elementos */
}

.nav-buttons .btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-buttons .btn-outline {
  border-width: 1px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: var(--transition);
}

/* Estilos para el menú móvil */
.mobile-menu-container {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: white;
  padding: 1rem;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.mobile-menu-container .nav-links {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0 0 1rem 0;
}

.mobile-menu-container .nav-links li {
  margin: 0.5rem 0;
  width: 100%;
  text-align: center;
}

.mobile-menu-container .nav-buttons {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.mobile-menu-container .nav-buttons .btn {
  margin: 0.5rem 0;
  width: 100%;
  text-align: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
#hero {
  position: relative;
  padding-top: 8rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: none;
  overflow: hidden;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
  filter: blur(0px) brightness(0.8);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, rgba(245, 245, 245, 0.8) 0%, rgba(230, 230, 230, 0.8) 100%);
  z-index: 1;
}

#hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-content {
  flex: 1;
  max-width: 50%;
  color: var(--text-color);
}

.hero-content h1 {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-content h2 {
  font-size: 1.8rem;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.hero-description {
  margin-bottom: 2rem;
}

.hero-cta {
  margin-top: 2rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 50%;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
}

/* Stats Section */
#stats {
  background-color: var(--primary-color);
  color: white;
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Features Section */
#features {
  background-color: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-light);
}

/* Clients Section */
.client-logos-container {
  overflow: hidden;
  padding: 2rem 0;
  position: relative;
}

.client-logos {
  display: flex;
  animation: scroll 30s linear infinite;
}

.client-logo {
  flex: 0 0 auto;
  width: 200px;
  height: 100px;
  margin: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.client-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-200px * 8 - 4rem * 8));
  }
}

.cta-banner {
  background-color: var(--primary-light);
  color: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  text-align: center;
  margin-top: 3rem;
}

.cta-banner h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

/* Testimonials Section */
#testimonials {
  background-color: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-stars {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-light);
}

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

.testimonial-author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.testimonial-author-info p {
  color: var(--text-lighter);
  font-size: 0.9rem;
}

/* News Section */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.news-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

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

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

.news-content {
  padding: 1.5rem;
}

.news-content h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.news-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

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

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

/* Contact Section */
#contact {
  background-color: var(--bg-light);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contact-info h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.contact-details {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-right: 1rem;
  margin-top: 0.2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

.contact-form {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(255, 76, 0, 0.2);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background-color: var(--bg-dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.footer-logo {
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 140px;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-column h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.8rem;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: white;
}

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
}

/* Page Hero Section */
#page-hero {
  background-color: var(--bg-light);
  padding: 8rem 0 4rem;
  text-align: center;
}

#page-hero .page-hero-content h1 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

#page-hero .page-hero-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
}

/* Platform Overview Section */
#platform-overview {
  padding: 5rem 0;
  background-color: white;
  position: relative;
  z-index: 4;
}

.overview-container {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.overview-content {
  flex: 1;
}

.overview-content h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.overview-content .lead {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.overview-content p {
  margin-bottom: 2rem;
  color: var(--text-light);
  font-size: 1.1rem;
}

.overview-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.overview-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.overview-feature i {
  font-size: 1.5rem;
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 76, 0, 0.1);
  border-radius: 50%;
}

.overview-feature span {
  font-weight: 500;
}

.overview-image {
  flex: 1;
}

.overview-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

/* Feature List */
.feature-list {
  list-style: none;
}

.feature-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.feature-list li i {
  color: var(--primary-color);
  margin-top: 0.3rem;
}

/* Mobile App Section */
#mobile-app {
  padding: 5rem 0;
  background-color: white;
}

.mobile-app-container {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.mobile-app-image {
  flex: 1;
}

.mobile-app-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.mobile-app-content {
  flex: 1;
}

.mobile-app-content h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.mobile-app-content .lead {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.mobile-app-content p {
  margin-bottom: 2rem;
  color: var(--text-light);
  font-size: 1.1rem;
}

.mobile-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.mobile-feature {
  text-align: center;
  padding: 1.5rem;
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

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

.mobile-feature i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.mobile-feature h4 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.mobile-feature p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Additional Features Section */
#additional-features {
  background-color: var(--bg-light);
  padding: 5rem 0;
}

.features-grid.extended {
  margin-top: 3rem;
}

/* AI & Machine Learning Section */
#ai-ml {
  padding: 5rem 0;
  background-color: white;
}

.ai-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.ai-content {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--box-shadow);
}

.ai-content h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.ai-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.ai-metrics {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
}

.metric-card {
  flex: 1;
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.metric-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.metric-label {
  font-size: 1.1rem;
  color: var(--text-light);
}

/* Advanced Technology Section */
#advanced-technology {
  background-color: var(--bg-light);
  padding: 5rem 0;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.tech-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

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

.tech-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.tech-card p {
  color: var(--text-light);
}

/* CTA Section */
#features-cta {
  padding: 3rem 0;
}

/* Botón flotante para volver arriba */
#scroll-to-top {
  position: fixed;
  bottom: 90px;
  right: 23px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1001; /* Asegurar que esté por encima de todo */
}

#scroll-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

#scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

/* ===== CARACTERÍSTICAS PAGE STYLES ===== */

/* Enhanced Hero Section */
#features-hero {
  position: relative;
  padding: 120px 0 0 0; /* Aumentado el padding-top para dar espacio al header fijo */
  overflow: hidden;
  background-color: var(--primary-color);
  z-index: 1; /* Asegurar que esté por debajo del header */
}

.features-hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 80px; /* Aumentado el padding-bottom para dar espacio a la onda */
}

.hero-text {
  flex: 1;
  color: white;
  max-width: 40%;
  padding-right: 20px;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 0.8rem;
  border-radius: 12px;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.hero-feature:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.hero-feature i {
  font-size: 1.5rem;
  color: white;
}

.hero-feature span {
  font-weight: 500;
  color: white;
}

.hero-image {
  flex: 1;
  max-width: 60%;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 20px;
}

/* Modificar el contenedor del diamante para permitir múltiples capas */
.diamond-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Estilos para avatares planos */
.avatar {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #ffce00; /* Color amarillo como las nubes */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 3px solid white;
}

/* Añadir el nuevo icono de usuario usando pseudo-elementos */
.avatar::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  top: 8px;
  background-color: white;
  border-radius: 50%;
}

.avatar::before {
  content: "";
  position: absolute;
  width: 36px;
  height: 20px;
  bottom: 8px;
  background-color: white;
  border-radius: 18px 18px 0 0;
}

.avatar-1 {
  top: 20px;
  left: 30px;
  animation: float 4s infinite ease-in-out;
}

.avatar-2 {
  bottom: 20px;
  right: 30px;
  animation: float 4s infinite ease-in-out reverse;
  animation-delay: 2s;
}

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

/* Nubes decorativas - ahora con efecto de pulso */
.cloud {
  position: absolute;
  background-color: #ffce00;
  border-radius: 50%;
  z-index: 1; /* Detrás del rombo */
  animation: cloudPulse 3s infinite ease-in-out; /* Añadido efecto de pulso */
}

/* Animación de pulso para las nubes */
@keyframes cloudPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background-color: #ffce00;
  border-radius: 50%;
}

.cloud-1 {
  width: 80px;
  height: 40px;
  top: -15px;
  left: 20px;
  animation-delay: 0s; /* Sin retraso */
}

.cloud-1::before {
  width: 40px;
  height: 40px;
  top: -20px;
  left: 10px;
}

.cloud-1::after {
  width: 40px;
  height: 40px;
  top: -10px;
  left: 40px;
}

.cloud-2 {
  width: 80px;
  height: 40px;
  bottom: -15px;
  right: 20px;
  animation-delay: 1.5s; /* Retraso para que no pulsen al mismo tiempo */
}

.cloud-2::before {
  width: 40px;
  height: 40px;
  top: -20px;
  left: 10px;
}

.cloud-2::after {
  width: 40px;
  height: 40px;
  top: -10px;
  left: 40px;
}

/* Crear nuevos elementos pulsantes con animaciones más visibles y centrados correctamente */
.pulse-effect {
  position: absolute;
  width: 100%;
  height: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  background-color: rgba(255, 206, 0, 0.4); /* Color amarillo más visible */
  border-radius: 24px;
  transform: rotate(45deg);
  z-index: 1; /* Entre las nubes y el rombo principal */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.pulse-effect-1 {
  animation: pulseOne 3s infinite ease-in-out;
}

.pulse-effect-2 {
  animation: pulseTwo 3s infinite ease-in-out;
  animation-delay: 1s;
}

.pulse-effect-3 {
  animation: pulseThree 3s infinite ease-in-out;
  animation-delay: 2s;
}

@keyframes pulseOne {
  0% {
    transform: translate(-50%, -50%) rotate(45deg) scale(0.8);
    opacity: 0.7;
  }
  50% {
    transform: translate(-50%, -50%) rotate(45deg) scale(1.1);
    opacity: 0.3;
  }
  100% {
    transform: translate(-50%, -50%) rotate(45deg) scale(0.8);
    opacity: 0.7;
  }
}

@keyframes pulseTwo {
  0% {
    transform: translate(-50%, -50%) rotate(45deg) scale(0.9);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) rotate(45deg) scale(1.2);
    opacity: 0.2;
  }
  100% {
    transform: translate(-50%, -50%) rotate(45deg) scale(0.9);
    opacity: 0.6;
  }
}

@keyframes pulseThree {
  0% {
    transform: translate(-50%, -50%) rotate(45deg) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) rotate(45deg) scale(1.3);
    opacity: 0.1;
  }
  100% {
    transform: translate(-50%, -50%) rotate(45deg) scale(1);
    opacity: 0.5;
  }
}

/* Asegurar que el rombo principal esté por encima de los efectos pulsantes y centrado */
.diamond-frame {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 1 / 1;
  transform: rotate(45deg);
  overflow: hidden;
  border-radius: 24px;
  background-color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin: 2rem auto;
  z-index: 2; /* Por encima de los efectos pulsantes */
}

.diamond-frame img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%; /* Tamaño base de la imagen */
  height: 150%;
  object-fit: cover;
  transform: translate(-50%, -50%) rotate(-45deg) scale(var(--image-zoom)); /* Usa la variable para el zoom */
  transform-origin: center;
}

.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 3;
  margin-top: 40px; /* Espacio adicional entre el contenido y la onda */
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 100px;
}

/* Botón de acción */
#features-hero .btn-primary {
  background-color: white;
  color: var(--primary-color);
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  margin-bottom: 30px; /* Espacio entre el botón y la onda */
}

#features-hero .btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Estilos para las pestañas en una sola línea - REDISEÑADO */
.features-tabs {
  margin-top: 2rem;
}

.features-tabs-nav {
  display: flex;
  justify-content: center;
  width: 100%;
  border-bottom: none;
  position: relative;
  margin-bottom: 0;
  overflow-x: auto; /* Permite desplazamiento horizontal en pantallas pequeñas */
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) #f0f0f0;
}

.features-tabs-nav::-webkit-scrollbar {
  height: 6px;
}

.features-tabs-nav::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

.features-tabs-nav::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 10px;
}

.tab-button {
  position: relative;
  padding: 1rem 1.5rem;
  background-color: #f5f5f5;
  color: #666;
  font-weight: 500;
  border: 1px solid #ddd;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  margin-right: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 120px;
  z-index: 1;
  white-space: nowrap;
}

.tab-button:hover {
  background-color: #fff;
  color: #333;
}

.tab-button.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  z-index: 2;
}

.features-tabs-content {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 0 8px 8px 8px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
  margin-top: -1px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

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

.tab-flex {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.tab-text {
  flex: 1;
}

.tab-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.tab-image img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ===== TARIFAS PAGE STYLES ===== */

/* Hero Section */
#pricing-hero {
  position: relative;
  padding: 120px 0 0 0;
  overflow: hidden;
  background-color: var(--primary-color);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}

/* Contenedor para el círculo y los anillos */
.circle-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 500px;
}

/* Círculo principal */
.circle-frame {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background-color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* Imagen dentro del círculo */
.circle-frame img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
}

/* Anillos orbitales */
.orbit {
  position: absolute;
  border-radius: 50%;
  border: 3px dashed rgba(255, 255, 255, 0.7);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotate 20s linear infinite;
  pointer-events: none;
}

.orbit-1 {
  width: 400px;
  height: 400px;
  z-index: 1;
}

.orbit-2 {
  width: 450px;
  height: 450px;
  z-index: 1;
  animation-direction: reverse;
  animation-duration: 25s;
}

/* Pequeños círculos decorativos en las órbitas */
.orbit-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #ffce00;
  box-shadow: 0 0 10px rgba(255, 206, 0, 0.5);
}

.orbit-dot-1 {
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-dot-2 {
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
}

.orbit-dot-3 {
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-dot-4 {
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
}

/* Animación de rotación */
@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Botón de acción */
#pricing-hero .btn-primary {
  background-color: white;
  color: var(--primary-color);
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

#pricing-hero .btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Pricing Model Section */
#pricing-model {
  padding: 80px 0;
  background-color: #ffffff;
}

.pricing-model-container {
  margin-top: 40px;
}

.pricing-model-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.pricing-model-text {
  flex: 1;
}

.pricing-model-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.pricing-model-text p {
  margin-bottom: 15px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #1a1a1a;
}

.highlight-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  padding: 15px;
  border-left: 4px solid var(--primary-color);
  background-color: rgba(255, 76, 0, 0.05);
  margin: 20px 0;
}

.pricing-model-image {
  flex: 1;
}

.pricing-comparison {
  display: flex;
  gap: 20px;
}

.pricing-card {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.pricing-card-header {
  padding: 20px;
  color: #ffffff;
  text-align: center;
}

.pricing-card-header.planitrack {
  background-color: var(--primary-color);
}

.pricing-card-header.competitors {
  background-color: #b3b3b3;
}

.pricing-card-header h4 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.pricing-card-body {
  padding: 20px;
  background-color: #ffffff;
}

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

.pricing-card-body ul li {
  padding: 10px 0;
  border-bottom: 1px solid #b3b3b3;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1a1a1a;
}

.pricing-card-body ul li:last-child {
  border-bottom: none;
}

.pricing-card-body ul li i.fa-check {
  color: var(--primary-color);
}

.pricing-card-body ul li i.fa-times {
  color: #b3b3b3;
}

/* Included Services Section */
#included-services {
  padding: 80px 0;
  background-color: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid #b3b3b3;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.service-card p {
  color: #1a1a1a;
  margin-bottom: 20px;
}

.service-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.service-tag.included {
  background-color: rgba(255, 76, 0, 0.1);
  color: var(--primary-color);
}

/* Additional Services Section */
#additional-services {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.additional-services-container {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.additional-service {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid #b3b3b3;
}

.additional-service:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.additional-service-content {
  display: flex;
  gap: 30px;
}

.additional-service-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.additional-service-text {
  flex: 1;
}

.additional-service-text h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.additional-service-text p {
  color: #1a1a1a;
  margin-bottom: 20px;
}

.additional-service-tag {
  position: absolute;
  top: 20px;
  right: -45px;
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 5px 40px;
  font-weight: 600;
  transform: rotate(45deg);
  font-size: 0.8rem;
  width: 180px;
  text-align: center;
}

/* CTA Section */
#pricing-cta {
  padding: 80px 0;
}

.pricing-cta-container {
  background-color: var(--primary-color);
  border-radius: 12px;
  padding: 60px;
  text-align: center;
  color: #ffffff;
}

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

.pricing-cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.pricing-cta-content p a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Modificar los estilos de los botones en la sección CTA */
#pricing-cta .btn-primary,
#pricing-cta .btn-outline {
  background-color: white;
  color: var(--primary-color);
  border: 2px solid white;
  font-weight: 600;
  transition: all 0.3s ease;
}

#pricing-cta .btn-primary:hover,
#pricing-cta .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ===== NOSOTROS PAGE STYLES ===== */

/* Hero Section */
#about-hero {
  position: relative;
  padding: 120px 0 0 0;
  overflow: hidden;
  background-color: var(--primary-color);
}

/* Reemplazar el rombo por un hexágono */
.diamond-frame.hexagon {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transform: none;
}

/* Ajustar la imagen dentro del hexágono */
.diamond-frame.hexagon img {
  transform: none;
}

/* Our Story Section */
#our-story {
  padding: 80px 0;
  background-color: #ffffff;
}

.story-container {
  margin-top: 40px;
}

.story-content-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.story-image {
  flex: 1;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
}

.story-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.story-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 76, 0, 0.8);
  color: white;
  padding: 15px;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.story-text {
  flex: 1;
}

.story-intro {
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #1a1a1a;
}

.story-milestone {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.milestone-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: rgba(255, 76, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.milestone-text {
  flex: 1;
}

.milestone-text h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.milestone-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #1a1a1a;
}

.story-content strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Timeline Section */
#timeline {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.timeline-container {
  margin-top: 60px;
  position: relative;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  width: 4px;
  background-color: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  padding: 20px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  border-radius: 50%;
  top: 30px;
  z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

.timeline-date {
  position: absolute;
  top: 30px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.timeline-item:nth-child(odd) .timeline-date {
  right: -120px;
}

.timeline-item:nth-child(even) .timeline-date {
  left: -120px;
}

.timeline-content {
  padding: 20px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.timeline-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.timeline-tech,
.timeline-clients,
.timeline-focus {
  background-color: rgba(255, 76, 0, 0.1);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--primary-color);
  display: inline-block;
}

/* Mission & Vision Section */
#mission-vision {
  padding: 80px 0;
  background-color: #ffffff;
}

.mission-vision-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.mission-vision-card {
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  padding: 40px 30px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-vision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.mission-vision-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.mission-vision-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.mission-vision-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #1a1a1a;
}

/* Powered By Section */
#powered-by {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.powered-by-container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.powered-by-content {
  flex: 2;
}

.powered-by-content h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.powered-by-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.powered-by-logos {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.powered-by-logo {
  width: 120px;
  height: 120px;
  background-color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

/* Ajustar tamaño del logo en la sección Powered By */
.powered-by-logo {
  width: 80px; /* Cambiar a un valor más pequeño, por ejemplo 80px */
  height: 80px; /* Cambiar a un valor más pequeño, por ejemplo 80px */
}

/* Si el logo sigue siendo demasiado grande, puedes añadir esta regla específica */
.powered-by-logo img {
  max-width: 100%;
  max-height: 100%;
}

.powered-by-logo:hover {
  transform: translateY(-5px);
}

.powered-by-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Team Section */
#team {
  padding: 5rem 0;
  background-color: #ffffff;
}

.team-container {
  margin-top: 40px;
  display: flex;
  flex-direction: row;
  align-items: flex-start; /* Cambiado de stretch a flex-start */
  gap: 40px;
}

.team-image {
  flex: 1;
  max-width: 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: auto; /* Cambiado de 100% a auto */
  max-height: 450px; /* Añadido un límite de altura */
}

.team-image img {
  width: 100% !important; /* Cambiado de auto a 100% */
  height: auto !important; /* Cambiado de 100% a auto */
  object-fit: cover; /* Cambiado de contain a cover */
  display: block;
}

.team-description {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Cambiado de center a flex-start */
}

/* Media query para dispositivos móviles */
@media (max-width: 768px) {
  .team-container {
    flex-direction: column;
  }

  .team-image {
    max-width: 100%;
    margin-bottom: 30px;
    height: auto;
    max-height: 400px;
  }
}

/* Eliminar todas las reglas anteriores que limitan el ancho de la imagen */
/* Eliminar estas reglas específicas que podrían estar causando el problema */
#team .team-image img,
img[src="assets/images/equipo2.jpg"],
.team-image img {
  max-width: none;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  display: block;
  object-fit: cover !important;
}

/* Media query para dispositivos móviles */
@media (max-width: 768px) {
  .team-container {
    flex-direction: column;
  }

  .team-image {
    max-width: 100%;
    margin-bottom: 30px;
    height: 300px;
  }
}

/* Estilos para los valores del equipo */
.team-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.team-value {
  display: flex;
  gap: 15px;
}

.value-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: rgba(255, 76, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.value-text {
  flex: 1;
}

.value-text h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.value-text p {
  font-size: 1rem;
  margin-bottom: 0;
}

/* Media query para dispositivos móviles */
@media (max-width: 768px) {
  .team-container {
    flex-direction: column;
  }

  .team-image {
    max-width: 100%;
    margin-bottom: 30px;
    height: 300px; /* Altura fija para móviles */
  }
}

/* Eliminar todas las reglas anteriores que limitan el tamaño de la imagen */
/* Eliminar estas reglas específicas que podrían estar causando el problema */
#team .team-image img,
img[src="assets/images/equipo2.jpg"],
.team-image img {
  max-width: none !important;
  width: auto !important;
  height: 100% !important;
  margin: 0 !important;
  display: block;
  object-fit: contain !important;
}

/* Team Section - Reescribir completamente */
#team {
  padding: 5rem 0;
  background-color: #ffffff;
}

.team-container {
  margin-top: 40px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 40px;
}

.team-image {
  flex: 1;
  max-width: 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-image img {
  width: auto !important;
  height: 100% !important;
  max-height: 100%;
  object-fit: contain;
}

.team-description {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Media query para dispositivos móviles */
@media (max-width: 768px) {
  .team-container {
    flex-direction: column;
  }

  .team-image {
    max-width: 100%;
    margin-bottom: 30px;
    height: 300px;
  }
}

/* CTA Section */
#about-cta {
  padding: 80px 0;
}

/* Estilos para los botones en tarifas.php */
#pricing-cta .cta-buttons .btn {
  background-color: white;
  color: var(--primary-color);
  border: 2px solid white;
  font-weight: 600;
  transition: all 0.3s ease;
}

#pricing-cta .cta-buttons .btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Ajustar tamaño del logo de INFOSITIO */
.powered-by-image img {
  max-width: 250px; /* Reducir el ancho máximo */
  height: auto;
}

/* Ajustar tamaño de la foto del equipo */
.team-image img {
  max-width: 80%; /* Reducir el ancho máximo */
  margin: 0 auto;
  display: block;
}

/* Media Queries */
@media (max-width: 1200px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content h2 {
    font-size: 1.5rem;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .features-grid,
  .testimonials-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

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

  .hero-content,
  .hero-image {
    max-width: 100%;
  }

  .hero-image {
    margin-top: 2rem;
    justify-content: center;
  }

  .overview-container,
  .mobile-app-container,
  .contact-container,
  .features-hero-content,
  .pricing-model-content,
  .story-content-wrapper,
  .powered-by-container {
    flex-direction: column;
  }

  .tab-flex {
    flex-direction: column;
  }

  .tab-image {
    order: -1;
  }

  .ai-metrics {
    flex-direction: column;
  }

  .metric-card {
    margin-bottom: 1rem;
  }

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

  .timeline-item {
    width: 100%;
    padding-left: 70px;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline::before {
    left: 40px;
  }

  .timeline-dot {
    left: 31px !important;
    right: auto !important;
  }

  .timeline-date {
    position: relative;
    top: auto;
    left: auto !important;
    right: auto !important;
    margin-bottom: 10px;
    display: block;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content h2 {
    font-size: 1.2rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .stats-grid,
  .features-grid,
  .testimonials-grid,
  .news-grid,
  .tech-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .pricing-comparison {
    flex-direction: column;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-buttons {
    display: none;
  }

  .header-content {
    justify-content: space-between;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-column {
    width: 100%;
  }

  /* Estilos específicos para la sección de contacto en móviles */
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form {
    padding: 1.5rem;
    width: 100%;
  }

  .contact-info {
    width: 100%;
  }

  /* Asegurar que el formulario de contacto sea completamente visible */
  .form-group input,
  .form-group textarea {
    width: 100%;
    max-width: 100%;
  }

  /* Ajustar el recaptcha para que sea responsivo */
  #recaptcha-footer {
    transform-origin: left top;
    transform: scale(0.85);
    margin-bottom: 1rem;
  }
}

/* Añadir media query específica para dispositivos muy pequeños */
@media (max-width: 480px) {
  .contact-container {
    padding: 0;
  }

  .contact-form {
    padding: 1rem;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.6rem 0.8rem;
  }

  /* Ajustar el recaptcha para dispositivos muy pequeños */
  #recaptcha-footer {
    transform: scale(0.75);
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .cta-banner h3 {
    font-size: 1.3rem;
  }

  .hero-features {
    grid-template-columns: 1fr;
  }

  .mobile-features {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .pricing-cta-container {
    padding: 30px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .mission-vision-card {
    min-width: 100%;
  }
}

/* Botón de acción en about-hero (nosotros.php) */
#about-hero .btn-primary {
  background-color: white;
  color: var(--primary-color);
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  margin-bottom: 30px; /* Espacio entre el botón y la onda */
}

#about-hero .btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Ajustar la onda en about-hero (nosotros.php) */
#about-hero .features-hero-content {
  padding-bottom: 80px; /* Mismo padding que en features-hero y pricing-hero */
}

#about-hero .wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 3;
}

/* Añadir estilos específicos para mejorar la visualización del header en móviles */
@media (max-width: 768px) {
  /* Ajustes para el hero section en todas las páginas */
  #features-hero,
  #about-hero,
  #pricing-hero {
    padding-top: 100px; /* Reducir el padding superior para dar más espacio */
  }

  .features-hero-content {
    flex-direction: column;
    padding-bottom: 60px; /* Reducir el padding inferior */
  }

  .hero-text {
    max-width: 100%;
    padding-right: 0;
    text-align: center;
    margin-bottom: 2rem;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-image {
    max-width: 100%;
    justify-content: center;
    padding-right: 0;
  }

  .hero-features {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  /* Ajustes específicos para el menú móvil */
  .mobile-menu-container {
    position: fixed;
    top: 70px; /* Altura del header */
    left: 0;
    width: 100%;
    background-color: white;
    padding: 1rem;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    max-height: 80vh;
    overflow-y: auto;
  }

  /* Asegurar que el rombo y círculo se vean bien en móviles */
  .diamond-container,
  .circle-container {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .diamond-frame,
  .circle-frame {
    max-width: 280px;
  }

  /* Ajustar tamaño de los efectos pulsantes */
  .pulse-effect {
    max-width: 280px;
  }

  /* Ajustar la onda divisoria */
  .wave-divider {
    bottom: -1px;
  }

  .wave-divider svg {
    height: 50px;
  }
}

/* Ajustes adicionales para pantallas muy pequeñas */
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-features {
    grid-template-columns: 1fr;
  }

  .diamond-container,
  .circle-container {
    max-width: 250px;
  }

  .diamond-frame,
  .circle-frame {
    max-width: 220px;
  }
}

#about-hero .wave-divider svg {
  display: block;
  width: 100%;
  height: 100px;
}

/* Widget completo */
.whatsapp-widget {
  position: fixed;
  bottom: 90px;
  left: 20px;
  width: 260px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-family: sans-serif;
  display: none;
  z-index: 1000;
}

/* Encabezado */
.whatsapp-header {
  background: #25d366;
  color: white;
  padding: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.whatsapp-header img {
  height: 20px;
  margin-right: 8px;
}

.whatsapp-header span {
  flex-grow: 1;
  font-weight: bold;
}

#whatsapp-close {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

/* Cuerpo */
.whatsapp-body {
  padding: 15px;
  text-align: center;
}

.whatsapp-message {
  background: #f1f1f1;
  padding: 10px;
  border-radius: 20px;
  margin-bottom: 15px;
  font-size: 14px;
}

.whatsapp-button {
  background: #25d366;
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
}

/* Botón flotante */
.whatsapp-bubble {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1001;
}

.whatsapp-bubble img {
  width: 30px;
  height: 30px;
}
