:root {
  --primary-dark: #0A192F;
  --primary-light: #00B8A9;
  --gray-light: #E0E0E0;
  --white: #FFFFFF;
  --black: #000000;
}

/* RESET GENERAL */
body , html{
  font-family: 'Montserrat', sans-serif;
  background-color: var(--white);
  color: var(--primary-dark);
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
}

/* BOTONES */
.btn-primary {
  background-color: var(--primary-light);
  border: none;
  color: var(--white);
  font-weight: bold;
  padding: 12px 24px;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #52e0c3;
}

.btn-secondary {
  background-color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
  color: var(--white);
  font-weight: bold;
  padding: 12px 24px;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

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

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-light);
  color: var(--primary-light);
  font-weight: 500;
  padding: 12px 24px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

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

.btn-primary:hover,
.btn-secondary:hover,
.btn-outline:hover {
  box-shadow: 0 0 10px rgba(0, 184, 169, 0.6), 0 0 20px rgba(0, 184, 169, 0.4);
  transition: all 0.4s ease;
}


/* SECCIONES */
section {
  padding: 100px 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

/* TARJETAS DE SERVICIO */
.card-service {
  border: none;
  background-color: var(--gray-light);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  height: 100%;
}

/* PORTFOLIO */
.portfolio-card {
  background-color: var(--gray-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.portfolio-card img {
  width: 100%;
  height: auto;
}

.portfolio-card-body {
  padding: 20px;
}

/* FOOTER */
footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 20px;
}

/* HERO CON IMAGEN DE FONDO */
.hero {
  height: 100vh;
  background-image: url('../img/bg_hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.7);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1000px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.25rem;
  margin-top: 1rem;
}

/* HERO ILUSTRADO (estilo moderno blanco) */
.hero-illustrated {
  height: 100vh;
  background-color: var(--white);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
}

.hero-illustrated .text-accent {
  color: var(--primary-light);
}

.hero-illustrated h1 {
  font-size: 2.5rem;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .hero-illustrated {
    height: auto;
    padding: 60px 0;
  }

  .hero-illustrated h1 {
    padding-top:25px;
    font-size: 1.6rem;
  }
}

/* NAVBAR TRANSPARENTE AL INICIO */
.navbar {
  transition: background-color 0.4s ease, box-shadow 0.3s ease;
  background-color: transparent;
}

/* NAVBAR CON SCROLL */
.navbar.scrolled {
  background-color: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Navbar transparente al inicio */
.navbar {
  background-color: transparent;
  transition: background-color 0.4s ease, box-shadow 0.3s ease;
}

/* Links claros cuando el fondo es oscuro (al hacer scroll) */
.navbar-light .nav-link {
  color: var(--primary-dark);
  font-weight: 500;
}

.navbar-light .nav-link:hover,
.navbar-light .nav-link.active {
  color: var(--primary-light);
}

/* Navbar al hacer scroll */
.navbar.scrolled {
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Botón CTA siempre visible */
.navbar .btn-primary {
  color: var(--white);
  font-weight: bold;
}
.text-accent {
  color: var(--primary-light);
}

.badge.bg-secondary {
  background-color: #DDE3EA;
  color: #333;
  font-weight: 500;
  margin-right: 4px;
}

.badge {
  font-weight: 600;
  padding: 0.4em 0.7em;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  margin-right: 4px;
  margin-bottom: 4px;
}

.badge-ux { background-color: #ffffff; color: #303030; border: 1px solid #303030;} 

#rotating-text {
  display: inline-block;
  min-width: 280px; /* Ajustá según la frase más larga */
  text-align: left;
  transition: opacity 0.5s ease;
}



.card-service {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid transparent;
}

.card-service:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-light);
  background-color: #f9f9f9;
}

.card-service svg {
  transition: stroke 0.3s ease;
}

.card-service:hover svg {
  stroke: var(--primary-light);
}
/* --- Portfolio Card Effects --- */
.portfolio-card {
  perspective: 1000px;
  transition: transform 0.6s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid #f0f0f0;
  background-color: #fff;
}

.portfolio-card:hover {
  transform: rotateX(0deg) rotateY(0deg) translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

/* Imagen */
.portfolio-card img {
  transition: transform 0.4s ease;
}

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

/* Botón oculto inicialmente */
.portfolio-card .project-btn {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  margin-top: 1rem;
}

/* Mostrar el botón al hacer hover */
.portfolio-card:hover .project-btn {
  opacity: 1;
  transform: translateY(0);
}

/* Entrada animada con flip + slide */
[data-animate-flip] {
  opacity: 0;
  transform: rotateX(40deg) translateY(60px);
  transition: all 0.8s ease;
  transform-origin: bottom;
}

[data-animate-flip].visible {
  opacity: 1;
  transform: rotateX(0) translateY(0);
}
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: none;
}


.social-icons a {
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-3px) scale(1.1);
  color: var(--primary-dark); /* o cualquier color que quieras destacar */
}

.img-hover-wrap img {
  transition: transform 0.5s ease, box-shadow 0.3s ease;
}

.img-hover-wrap:hover img {
  transform: scale(1.04);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background-color: var(--primary-light); /* o cualquier color */
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.05s ease-out;
  transform: translate(-50%, -50%);
}
@media (max-width: 768px) {
  .cursor-dot {
    display: none !important;
  }
}

.bg-nosotros {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.bg-nosotros::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/img-7.png'); /* Ajustá la ruta */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1; /* 🔆 Opacidad solo del fondo */
  z-index: -1;
}


.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  max-width: 100vw; /* evita desbordar en caso extremo */
}


