/* ===== VARIABLES CSS ===== */
:root {
  --primary-color: #1e3a8a;
  --secondary-color: #1e40af;
  --accent-color: #3b82f6;
  --dark-color: #0f172a;
  --dark-blue: #1e293b;
  --light-color: #f1f5f9;
  --text-color: #334155;
  --gradient: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  --shadow: 0 10px 25px rgba(30, 58, 138, 0.15);
  --transition: all 0.3s ease;
}

/* ===== ESTILOS GENERALES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body, html {
  box-sizing: content-box;
}
body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
}

/* ===== ANIMACIONES ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ===== NAVEGACIÓN ===== */
.navbar {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(30, 58, 138, 0.2);
  transition: var(--transition);
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: white !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0 0.5rem;
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: white !important;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #3b82f6;
  transition: var(--transition);
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-toggler {
  border: none;
  padding: 4px 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== SECCIÓN HERO ===== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-perspective: 1000px;
  perspective: 1000px;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  filter: grayscale(100%);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100vh;
  /* Fix para Chrome */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.hero-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 50vw;
  height: 100vh;
  z-index: 2;
  padding: 10px;
  background-color: rgba(30, 58, 138, 0.15);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  /* Fixes específicos para Chrome */
  -webkit-transform: translateZ(25px);
  transform: translateZ(25px);
  will-change: transform;
  -webkit-backdrop-filter: blur(10px);
}

.hero-text h1 {
  color: white;
  font-size: 4.2rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin: 0 0 10px 0;
}

.hero-slogan {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.4rem;
  font-weight: 400;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  margin: 10px 0 0 0;
  line-height: 1.4;
}

.hero-intro {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  font-weight: 300;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  margin: 15px 0 0 0;
  line-height: 1.5;
  max-width: 400px;
}

.hero-image-container {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-color: transparent;
  padding: 0;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 999999;
  /* Crear contexto de apilamiento 3D */
  -webkit-transform: translateZ(100px);
  transform: translateZ(100px);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  will-change: transform;
  background-color:rgba(30, 58, 138,0.6);
  
}

.hero-image {
  height: 100vh;
  width: auto;
  object-fit: contain;
  transform: translateX(-50%) translateZ(200px);
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 9999999;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
  will-change: transform;
  -webkit-transform: translateX(-50%) translateZ(200px);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* ===== SECCIONES GENERALES ===== */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

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

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

/* ===== SERVICIOS ===== */
.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
  font-size: 1.5rem;
}

.service-card h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-features {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature-tag {
  background: rgba(30, 58, 138, 0.1);
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ===== TECNOLOGÍAS ===== */
.tech-section {
  background: rgba(30, 58, 138, 0.03);
}

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

.tech-category {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.tech-category:hover {
  transform: translateY(-5px);
}

.tech-category h5 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.tech-list {
  list-style: none;
  padding: 0;
}

.tech-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  font-weight: 500;
}

.tech-list li:last-child {
  border-bottom: none;
}

.tech-list li i {
  color: var(--primary-color);
  margin-right: 0.8rem;
  width: 20px;
}

/* ===== PROYECTOS ===== */
.project-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  margin-bottom: 2rem;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
}

.project-image {
  height: 200px;
  background: var(--gradient);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-overlay {
  color: white;
  font-size: 3rem;
}

.project-content {
  padding: 1.5rem;
}

.project-content h5 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.project-tags {
  margin: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: rgba(30, 58, 138, 0.1);
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.project-stats {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.project-stats span {
  font-size: 0.9rem;
  color: var(--text-color);
  font-weight: 500;
}

.project-stats i {
  color: var(--primary-color);
  margin-right: 0.3rem;
}

/* ===== EQUIPO ===== */
.team-section {
  background: rgba(30, 58, 138, 0.03);
}

.team-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  margin-bottom: 2rem;
}

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

.team-image {
  width: 120px;
  height: 120px;
  background: var(--gradient);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  position: relative;
  overflow: hidden;
}

.team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.team-image:hover .team-overlay {
  opacity: 1;
}

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

.team-social a {
  color: white;
  font-size: 1.2rem;
  transition: var(--transition);
}

.team-social a:hover {
  transform: scale(1.2);
}

.team-content h5 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--accent-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-description {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.team-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.skill {
  background: rgba(30, 58, 138, 0.1);
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ===== TESTIMONIOS ===== */
.testimonial-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  margin-bottom: 2rem;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-stars {
  color: #fbbf24;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

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

.author-info h6 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

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

/* ===== SOBRE NOSOTROS ===== */
.about-section {
  background: rgba(30, 58, 138, 0.03);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-text h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

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

.value-item {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(30, 58, 138, 0.1);
}

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

.value-item h6 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(30, 58, 138, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(30, 58, 138, 0.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}

.stat-label {
  color: var(--text-color);
  font-weight: 500;
}

.about-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  text-align: center;
}

.mission-points {
  margin-top: 1.5rem;
  text-align: left;
}

.mission-point {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
}

.mission-point i {
  color: var(--primary-color);
  margin-right: 0.8rem;
  font-size: 0.9rem;
}

/* ===== CONTACTO ===== */
.contact-section {
  background: rgba(30, 58, 138, 0.03);
}

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

.contact-info {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

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

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-item h6 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-social {
  margin-top: 2rem;
}

.contact-social h6 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

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

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

.social-link:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  color: white;
}

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

.form-label {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-control {
  border: 2px solid rgba(30, 58, 138, 0.1);
  border-radius: 10px;
  padding: 12px 15px;
  margin-bottom: 1rem;
  transition: var(--transition);
  font-family: "Inter", sans-serif;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-label {
  font-size: 0.9rem;
}

.btn-submit {
  background: var(--gradient);
  border: none;
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  width: 100%;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.form-note {
  font-size: 0.9rem;
  color: var(--text-color);
  text-align: center;
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary-color);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-brand h5 {
  color: white;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

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

.footer-social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: white;
}

footer h6 {
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

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

.footer-links a:hover {
  color: white;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.2);
  margin: 2rem 0 1rem;
}

.footer-copyright,
.footer-made {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 2400px) {
  .hero-text {
    top: 450px;
    left: 80px;
    padding: 80px;
  }

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

  .hero-slogan {
    font-size: 2rem;
  }

  .hero-intro {
    font-size: 1.5rem;
    max-width: 600px;
  }

  .hero-image {
    height: 85vh;
  }
}

@media (min-width: 1800px) and (max-width: 2399px) {
  .hero-text {
    top: 350px;
    left: 50px;
    padding: 60px;
  }

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

  .hero-slogan {
    font-size: 1.6rem;
  }

  .hero-intro {
    font-size: 1.3rem;
    max-width: 500px;
  }

  .hero-image-container {
    width: 50vw;
    /* Fix adicional para Chrome en resoluciones grandes */
    contain: layout style paint;
  }

  .hero-image {
    height: 90vh;
  }
}

/* Fix específico para Chrome en resoluciones grandes */
@supports (-webkit-appearance: none) {
  @media (min-width: 1800px) {
    .hero-text {
      top: 0;
      left: 0;
      width: 50vw;
      height: 100vh;
      padding: calc(50px + 2vh) calc(50px + 2vw);
    }

    .hero-image-container {
      width: 50vw;
      min-width: 800px;
    }
  }
}

/* Media queries para pantallas de alta resolución */
@media (min-width: 1920px) {
  .hero-text {
    position: fixed;
    top: 0;
    left: 0;
    width: 50vw;
    height: 100vh;
    z-index: 5;
    padding: 80px 60px;
    -webkit-transform: translateZ(50px);
    transform: translateZ(50px);
  }

  .hero-image {
    height: 100vh;
    transform: translateX(-50%) translateZ(200px);
    -webkit-transform: translateX(-50%) translateZ(200px);
    z-index: 9999999;
    position: fixed;
    left: 50%;
    bottom: 0;
  }

  .hero-image-container {
    width: 100vw;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999998;
    justify-content: center;
    -webkit-transform: translateZ(100px);
    transform: translateZ(100px);
  }
}

@media (min-width: 2560px) {
  .hero-text {
    padding: 100px 80px;
    -webkit-transform: translateZ(75px);
    transform: translateZ(75px);
  }

  .hero-image {
    transform: translateX(-50%) translateZ(300px);
    -webkit-transform: translateX(-50%) translateZ(300px);
  }

  .hero-image-container {
    width: 100vw;
    justify-content: center;
    -webkit-transform: translateZ(150px);
    transform: translateZ(150px);
  }
}

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

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

@media (max-width: 992px) and (min-width: 897px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 896px) {
  .hero {
    height: 100vh;
    flex-direction: column;
  }

  .hero-video {
    position: relative;
    width: 100vw;
    height: 50vh;
    object-fit: cover;
    z-index: 1;
  }

  .hero-content {
    position: relative;
    height: 100vh;
    z-index: 1;
  }

  /* .hero-image-container {
    /* width: 100vw; */
  /* height: 50vh; */
  /* position: absolute; */
  /* top: 10vh; */
  /* left: 0; */
  /* z-index: 99999999; */
  /* display: flex; */
  /* align-items: flex-end;
  justify-content: flex-start; */
  /* } */

  .hero-image-container {
    width: 100vw;
    height: 100%;
  }
  .hero-image {
    position: absolute;
    bottom: 5vh;
    left: 5vw;
    width: auto;
    height: 30vh;
    z-index: 99999999;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
    animation: float 3s ease-in-out infinite;
    display: none;
  }

  .hero-text {
    position: absolute;
    top: -60px;
    left: 20px;
    width: calc(100vw - 40px);
    height: auto;
    padding: 20px;
    background-color: rgba(30, 58, 138, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    z-index: 5;
    animation: slideInLeft 1s ease-out;
  }

  .hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    animation: fadeInUp 1.2s ease-out 0.3s both;
  }

  .hero-text .hero-slogan {
    font-size: 1.2rem;
    margin-bottom: 10px;
    animation: fadeInUp 1.2s ease-out 0.6s both;
  }

  .hero-text .hero-intro {
    font-size: 1rem;
    max-width: 100%;
    animation: fadeInUp 1.2s ease-out 0.9s both;
  }

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

  .section-title h2 {
    font-size: 2rem;
  }

  section {
    padding: 60px 0;
  }

  .service-features,
  .project-tags,
  .team-skills {
    justify-content: center;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
  }

  .contact-icon {
    margin: 0 auto 1rem;
  }
}

@media (max-width: 576px) {
  .hero {
    height: 100vh;
    flex-direction: column;
  }

  .hero-video {
    position: relative;
    width: 100vw;
    height: 50vh;
    object-fit: cover;
    z-index: 1;
  }

  .hero-content {
    position: relative;
    height: 50vh;
    z-index: 1;
  }

  .hero-image-container {
    width: 100vw;
    /* height: "-100px"; */
    position: absolute;
    top: -3vh;
    left: 0;
    z-index: 99999999;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
  }

  .hero-image {
    position: absolute;
    bottom: 3vh;
    left: 3vw;
    width: auto;
    height: 25vh;
    z-index: 99999999;
    filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.4));
    animation: float 3s ease-in-out infinite;
  }

  .hero-text {
    position: absolute;
    top: 50px;
    left: 15px;
    width: calc(100vw - 30px);
    height: auto;
    padding: 15px;
    background-color: rgba(30, 58, 138, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    z-index: 3;
    animation: slideInLeft 1s ease-out;
  }

  .hero-text h1 {
    font-size: 2.4rem;
    margin-bottom: 12px;
    animation: fadeInUp 1.2s ease-out 0.3s both;
  }

  .hero-text .hero-slogan {
    font-size: 1.1rem;
    margin-bottom: 8px;
    animation: fadeInUp 1.2s ease-out 0.6s both;
  }

  .hero-text .hero-intro {
    font-size: 0.95rem;
    max-width: 100%;
    animation: fadeInUp 1.2s ease-out 0.9s both;
  }

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

  .navbar-brand {
    font-size: 1.2rem;
  }

  .service-card,
  .project-card,
  .team-card,
  .testimonial-card,
  .contact-info,
  .contact-form {
    margin-bottom: 1.5rem;
  }
}

/* ===== UTILIDADES ===== */
.text-gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn:focus {
  box-shadow: none;
}

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

.pulse-animation {
  animation: pulse 2s infinite;
}

/* ===== SCROLL SMOOTH ===== */
html {
  scroll-behavior: smooth;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* ===== LOADING STATES ===== */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--primary-color);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ===== ACCESIBILIDAD ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== ESTADOS DE FOCO ===== */
a:focus,
button:focus,
.form-control:focus,
.btn:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* ===== EFECTOS HOVER MEJORADOS ===== */
.service-card:hover .service-icon {
  animation: pulse 1s ease-in-out;
}

.project-card:hover .project-overlay {
  animation: float 2s ease-in-out infinite;
}

.team-card:hover .team-image {
  animation: pulse 1.5s ease-in-out;
}

/* ===== TRANSICIONES SUAVES ===== */
.service-card,
.project-card,
.team-card,
.testimonial-card,
.tech-category,
.contact-info,
.contact-form {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== EFECTOS DE CRISTAL ===== */
.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== GRADIENTES ADICIONALES ===== */
.gradient-blue {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-purple {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-ocean {
  background: linear-gradient(135deg, #2196f3 0%, #21cbf3 100%);
}
