:root {
  --celeste: #009fe3;
  --amarillo: #f29100;
  --rojo: #e30613;
  --verde: #3dad44;
  --verde2: #209176;

  --primary: var(--celeste);
  --primary-dark: #007bb0;
  --secondary: var(--verde);
  --bg: #ffffff;
  --bg-alt: #fcfdfe;
  --text: #1a1b1e;
  --text-muted: #606770;
  --border: #eceef0;
  --font-main: "Questrial", sans-serif;
  --nav-height: 120px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Base Styles */
h1,
h2,
h3 {
  font-weight: 400;
  color: var(--text);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(150px, -150px) scale(1.2);
  }

  66% {
    transform: translate(-100px, 150px) scale(0.8);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

.bg-animations {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(circle at center, #ffffff 0%, #fcfdfe 100%);
}

.blob {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
  animation: float 20s infinite ease-in-out;
}

.blob.celeste {
  background: var(--celeste);
  top: 5%;
  left: 10%;
  animation-duration: 18s;
}

.blob.amarillo {
  background: var(--amarillo);
  top: 50%;
  right: 5%;
  animation-duration: 25s;
  animation-delay: -5s;
  width: 350px;
  height: 350px;
}

.blob.rojo {
  background: var(--rojo);
  bottom: 10%;
  left: 15%;
  animation-duration: 20s;
  animation-delay: -10s;
  width: 250px;
  height: 250px;
}

.blob.verde {
  background: var(--verde2);
  top: 15%;
  right: 15%;
  animation-duration: 22s;
  animation-delay: -15s;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  padding: 0 5%;
  display: flex;
  justify-content: flex-start;
  gap: 4rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  z-index: 1000;
  transition:
    all 0.4s ease,
    transform 0.35s ease;
}

nav.nav-hidden {
  transform: translateY(-100%);
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.logo-container {
  display: flex;
  align-items: center;
  height: 100%;
}

.header-logo {
  height: 85px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
  flex-grow: 1;
}

.nav-cta {
  margin-left: auto;
}

.nav-cta .btn {
  padding: 0.6rem 1.6rem;
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-link {
  font-size: 1rem;
  color: var(--text);
}

.nav-link:hover,
.nav-link.active,
.has-dropdown.active .nav-link {
  color: var(--celeste);
}

.nav-link.active {
  font-weight: 600;
}

/* Dropdown */
.nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.has-dropdown {
  cursor: pointer;
}

.has-dropdown .nav-link {
  display: inline;
  position: relative;
  padding-bottom: 14px;
  margin-bottom: -14px;
}

.has-dropdown .nav-link::after {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 1.5px solid var(--text);
  border-bottom: 1.5px solid var(--text);
  transform: rotate(45deg);
  position: absolute;
  bottom: 0;
  left: 50%;
  translate: -50% 0;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.has-dropdown.active .nav-link::after {
  transform: rotate(-135deg);
  bottom: 2px;
  opacity: 1;
  border-color: var(--celeste);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  /* Solid white background */
  min-width: 240px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem 0;
  z-index: 1000;
}

.has-dropdown.active .dropdown-content {
  display: block;
  animation: dropdownFade 0.3s ease forwards;
}

.dropdown-item {
  color: var(--text);
  padding: 0.8rem 1.8rem;
  display: block;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background: rgba(0, 159, 227, 0.05);
  /* Very light celeste */
  color: var(--celeste);
  padding-left: 2.2rem;
  /* Subtle slide effect */
}

/* Hero Section */
.hero {
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 10%;
  padding-top: var(--nav-height);
  background: transparent;
}

.hero h1 {
  font-size: 4.8rem;
  max-width: 1200px;
  margin-bottom: 1.5rem;
  color: var(--text);
  line-height: 1.2;
  display: flex;
  /* Centering */
  justify-content: center;
}

.text-slider-container {
  display: inline-block;
  /* semantic container */
}

.text-slider {
  display: grid;
  text-align: center;
  grid-template-areas: "slide";
  align-items: center;
}

.text-slide {
  grid-area: 1 / 1;
  /* Both occupy the same cell */
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  /* For manual JS? No, keyframes */
  animation: fadeSlide 8s infinite;
  padding: 0 10px;
}

/* Offsets for animations so they alternate */
.text-slide:nth-child(1) {
  animation-delay: 0s;
}

.text-slide:nth-child(2) {
  animation-delay: 4s;
  /* Half of 8s */
}

@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  5%,
  45% {
    opacity: 1;
    transform: translateY(0);
  }

  /* Visible for 40% of cycle */
  50%,
  100% {
    opacity: 0;
    transform: translateY(-20px);
  }

  /* Fade out upward */
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 2.5rem;
}

/* Buttons */
.btn {
  padding: 0.8rem 2.2rem;
  border-radius: 30px;
  font-family: "Questrial", sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

/* Sections */
section {
  padding: 80px 10%;
  background: transparent;
}

.section-title {
  color: #000000;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 700;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
}

/* Brand Color Utilities */
.border-celeste:hover {
  border-color: var(--celeste) !important;
}

.border-amarillo:hover {
  border-color: var(--amarillo) !important;
}

.border-rojo:hover {
  border-color: var(--rojo) !important;
}

.border-verde:hover {
  border-color: var(--verde) !important;
}

.border-verde2:hover {
  border-color: var(--verde2) !important;
}

.text-celeste {
  color: var(--celeste) !important;
}

.text-amarillo {
  color: var(--amarillo) !important;
}

.text-rojo {
  color: var(--rojo) !important;
}

/* Brand Color Utilities */
.border-celeste:hover {
  border-color: var(--celeste) !important;
}

/* ... existing code ... */

#servicios .grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

#servicios .grid .card-link {
  grid-column: span 2;
}

/* Center the last 2 cards: offset by 1 column */
#servicios .grid .card-link:nth-child(4) {
  grid-column: 2 / span 2;
}

#servicios .grid .card-link:nth-child(5) {
  grid-column: 4 / span 2;
}

@media (max-width: 768px) {
  #servicios .grid {
    grid-template-columns: 1fr;
  }

  #servicios .grid .card-link,
  #servicios .grid .card-link:nth-child(4),
  #servicios .grid .card-link:nth-child(5) {
    grid-column: span 1;
  }
}

/* Products Section Layout */
.google-products-grid,
.own-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.google-products-grid {
  margin-bottom: 4rem;
}

.section-subtitle {
  text-align: center;
  font-size: 2.2rem;
  color: var(--text);
  margin-bottom: 2rem;
  font-weight: 600;
}

.own-products-grid .card {
  width: 100%;
  /* Removed flex and max-width constraints to match google grid */
}

/* Hover effects for Own Products - Verde2 Theme */
.own-products-grid .card:hover {
  border-color: var(--verde2) !important;
}

.own-products-grid .card:hover h3 {
  color: var(--verde2) !important;
}

.own-products-grid .card:hover h3::after {
  background-color: var(--verde2) !important;
}

@media (max-width: 768px) {
  .google-products-grid,
  .own-products-grid {
    grid-template-columns: 1fr;
  }
}

#servicios .card {
  width: 100%;
  max-width: 800px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#servicios .card h3 {
  font-size: 1.8rem;
  margin: 0;
  transition: color 0.4s ease;
}

#servicios .card p {
  opacity: 1;
  color: #333 !important;
  text-align: center;
  margin: 0;
  font-size: 1.2rem;
  /* Increased from 1.1rem */
  line-height: 1.6;
}

.border-celeste:hover h3 {
  color: var(--celeste) !important;
}

.border-celeste:hover h3::after {
  background-color: var(--celeste) !important;
}

.border-amarillo:hover h3 {
  color: var(--amarillo) !important;
}

.border-amarillo:hover h3::after {
  background-color: var(--amarillo) !important;
}

.border-rojo:hover h3 {
  color: var(--rojo) !important;
}

.border-rojo:hover h3::after {
  background-color: var(--rojo) !important;
}

.border-verde:hover h3 {
  color: var(--verde) !important;
}

.border-verde:hover h3::after {
  background-color: var(--verde) !important;
}

.border-verde2:hover h3 {
  color: var(--verde2) !important;
}

.border-verde2:hover h3::after {
  background-color: var(--verde2) !important;
}

.text-verde {
  color: var(--verde) !important;
}

.text-verde2 {
  color: var(--verde2) !important;
}

/* Cards */
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
  border-color: var(--primary);
}

.card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  font-weight: 400;
  position: relative;
  display: inline-block;
  white-space: nowrap;
  /* Force single line if desired, but size reduction is safer */
}

.card h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 4px;
  background-color: transparent;
  /* No color by default */
  border-radius: 2px;
  transition:
    width 0.4s ease-in-out,
    background-color 0.4s ease;
}

.card:hover h3::after {
  width: 60%;
}

.card p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333;
}

/* Video Section */
.video-section {
  background: transparent;
  padding-top: 40px;
}

.video-section-header {
  text-align: center;
  width: 100%;
}

.video-footer {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
  width: 100%;
}

.video-container-inner {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.video-text {
  flex: 1;
  text-align: left;
  padding-top: 1rem;
}

.underline-verde {
  font-size: 2.2rem;
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
  font-weight: 500;
}

.underline-verde::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60%;
  height: 4px;
  background-color: var(--verde2);
  border-radius: 2px;
}

.video-text p {
  font-size: 1.25rem;
  line-height: 1.7;
  margin-top: 1.5rem;
  color: #333;
  margin-bottom: 2rem;
}

.btn-video-concept {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--verde2);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-video-concept:hover {
  background-color: #1a7a63;
  color: white;
}

.video-iframe {
  flex: 1;
  position: relative;
  padding-bottom: 28.125%;
  /* 16:9 for half width */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  background: transparent;
}

.video-iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 1;
}

@media (max-width: 968px) {
  .video-container-inner {
    flex-direction: column;
    text-align: center;
  }

  .video-text {
    text-align: center;
  }

  .video-iframe {
    width: 100%;
    padding-bottom: 56.25%;
    /* Full 16:9 */
  }
}

/* Forms */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

input,
textarea,
select {
  padding: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s;
  background-color: #fff;
  color: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
}

/* Logo Slider */
.logo-carousel-container {
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
  position: relative;
  margin-top: 1rem;
}

.logo-track {
  display: flex;
  width: 1000%;
  /* 10 items (5 original + 5 dupes), each 100% container width */
  animation: logo-slide 15s infinite ease-in-out;
}

.logo-item {
  width: 10%;
  /* 1/10 of the 1000% track */
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
}

@keyframes logo-slide {
  0%,
  17% {
    transform: translateX(0);
  }

  20%,
  37% {
    transform: translateX(-10%);
  }

  40%,
  57% {
    transform: translateX(-20%);
  }

  60%,
  77% {
    transform: translateX(-30%);
  }

  80%,
  97% {
    transform: translateX(-40%);
  }

  100% {
    transform: translateX(-50%);
  }
}

.logo-item img.logo-chrome,
.logo-item img.logo-edu {
  max-height: 80px;
  /* Enhanced size for wider logos */
}

.logo-item img {
  max-width: 80%;
  max-height: 50px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-item img:hover {
  transform: scale(1.1);
}

.section-description {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  line-height: 1.6;
}

/* Steps / Process Layout */
.steps-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  padding: 1rem;
  transition: all 0.3s ease;
}

.step:hover {
  transform: translateY(-6px);
}

.step-number {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  background: var(--celeste);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 159, 227, 0.3);
  transition: all 0.3s ease;
  margin-bottom: 1.2rem;
}

.step:hover .step-number {
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(0, 159, 227, 0.4);
}

.step-content h3 {
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.step-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 300px;
  margin: 0 auto;
}

.step-connector {
  height: 3px;
  flex: 0 0 40px;
  background: linear-gradient(to right, var(--celeste), var(--verde));
  border-radius: 2px;
  opacity: 0.35;
  margin-top: 28px;
  /* Aligns with center of the circle (56px / 2) */
  align-self: flex-start;
}

@media (max-width: 900px) {
  .steps-container {
    flex-direction: column;
    align-items: center;
    max-width: 500px;
  }

  .step {
    flex-direction: row;
    text-align: left;
    gap: 1.2rem;
    width: 100%;
  }

  .step-number {
    margin-bottom: 0;
  }

  .step-content p {
    max-width: 100%;
  }

  .step-connector {
    width: 3px;
    height: 25px;
    flex: 0 0 25px;
    margin-top: 0;
    margin-left: calc(1rem + 26px);
    align-self: auto;
    background: linear-gradient(to bottom, var(--celeste), var(--verde));
  }

  .step:hover {
    transform: translateX(6px);
  }
}

/* Partners Carousel */
.partners-track {
  display: flex;
  width: max-content;
  animation: continuous-scroll 35s linear infinite;
}

.partners-track:hover {
  animation-play-state: paused;
}

#socios {
  position: relative;
  z-index: 5;
}

/* Partners Card Styles */
.partners-track .logo-item {
  background: #ffffff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  width: 250px;
  /* Slightly wider */
  min-height: 160px;
  /* Slightly taller */
  flex-shrink: 0;
  margin: 0 1rem;
}

.partners-track .logo-item img {
  max-height: 90px;
  max-width: 85%;
}

.partners-track .logo-item a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.partners-track .logo-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border-color: var(--primary);
  background: #ffffff;
}

.logo-item img.logo-lg {
  max-height: 90px;
}

.logo-item img.logo-xl {
  max-height: 110px;
}

@keyframes continuous-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Footer */
footer {
  padding: 60px 10% 100px;
  background: var(--verde2);
  background: linear-gradient(135deg, var(--verde2) 0%, #1a7a63 100%);
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4rem;
  position: relative;
  /* Subtle relief effect on the right */
  box-shadow:
    inset -1px 0 0 rgba(255, 255, 255, 0.1),
    inset -10px 0 20px -10px rgba(0, 0, 0, 0.15);
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
}

.footer-info {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
}

.social-links {
  margin-top: 1.5rem;
  display: flex;
  gap: 1.2rem;
}

.social-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: #ffffff;
  transform: translateY(-3px);
}

.footer-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  align-self: flex-start;
}

.footer-logo-white {
  filter: brightness(0) invert(1);
}

.footer-content {
  text-align: left;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 4rem;
  flex: 2;
  justify-content: center;
}

.footer-section h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.footer-section ul li a:hover {
  color: #ffffff;
  padding-left: 5px;
}

.footer-bottom {
  position: absolute;
  bottom: 20px;
  left: 10%;
  right: 10%;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #ffffff;
}

@media (max-width: 800px) {
  footer {
    flex-direction: column;
    padding-bottom: 140px;
    gap: 3rem;
  }

  .footer-info {
    flex: 1;
    text-align: center;
    align-items: center;
  }

  .footer-logo {
    align-self: center;
  }

  .footer-info p {
    max-width: 100% !important;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    text-align: center;
    justify-content: center;
    gap: 2rem 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Tecnologías Section */
#tecnologias {
  text-align: center;
}

.tech-logos-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.tech-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.3s ease;
}

.tech-logo-item:hover {
  transform: translateY(-6px);
}

.tech-logo-item img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.tech-logo-item span {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 400;
}

@media (max-width: 768px) {
  .tech-logos-grid {
    gap: 2rem;
  }

  .tech-logo-item img {
    width: 56px;
    height: 56px;
  }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  section {
    padding: 80px 5%;
  }
}
