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

@font-face {
  font-family: itcavant;
  src: url(font/ITCAvantGardeStd-Md.ttf);
}

:root {
  --primary: #000000;
  --secondary: #ffffff;
  --tertiary: #f5f5f5;
  --text-light: #cccccc;
  --text-muted: #999999;
  --text-dark: #333333;
  --border: #e0e0e0;
  --accent: #1a1a1a;
  --radius: 0;
  --single-duration: 2s; /* tiempo que "ocupa" cada palabra */
  --word-count: 3; /* número de palabras */
  --total-duration: calc(var(--single-duration) * var(--word-count)); /* ciclo total */
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: itcavant;
  background-color: var(--secondary);
  color: var(--primary);
  overflow-x: hidden;
}

.hero-logo-wrap {
  margin: 0 !important;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  left: 400px;
}

.hero-logo {
  height: 10px; /* bajalo si seguís teniendo espacio (ej. 72px) */
  max-width: none;
  margin: 0;
  display: block;
  margin-top: -35px;
  margin-left: -20px;
}

a {
  text-decoration: none;
}

.hero-status span {
  color: #fff !important;
}

.whatsapp-button {
  position: fixed;
  bottom: 70px;
  right: 35px;
  background: #25d366;
  color: white;
  padding: 24px;
  border-radius: 50%;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.4);
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes buildingConstruction {
  0% {
    height: 0;
    opacity: 0;
  }
  100% {
    height: 100%;
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

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

@keyframes constructionProgressLine {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 100%;
    opacity: 1;
  }
}

@keyframes constructionBlock {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes constructionBar {
  from {
    height: 0;
    opacity: 0;
  }
  to {
    height: 100%;
    opacity: 1;
  }
}

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

/* Added keyframe for catapult animation of tagline words */
@keyframes catapultWord {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.8);
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-30px) scale(0.8);
  }
}

/* Added keyframe for fadeIn animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
  /* pause animations until visible on scroll */
  animation-play-state: paused;
}

.mover {
  position: static;
  width: 100%;
}

.mover2 {
  position: static;
  width: 100%;
  margin-top: 2rem;
}

.mover3 {
  position: static;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-out forwards;
  opacity: 0;
  /* pause animations until visible on scroll */
  animation-play-state: paused;
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out forwards;
  opacity: 0;
  /* pause animations until visible on scroll */
  animation-play-state: paused;
}

.scale-in {
  animation: scaleIn 0.6s ease-out forwards;
  opacity: 0;
  /* pause animations until visible on scroll */
  animation-play-state: paused;
}

.building-animation {
  animation: buildingConstruction 1s ease-out forwards;
  /* pause animations until visible on scroll */
  animation-play-state: paused;
}

/* Light text modifier */
.light-text {
  font-weight: 300;
  color: #ffffff;
}

/* Parallax scrolling effect */
.parallax-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
}

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--primary);
}

/* Show video background for hero section */
.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: linear-gradient(
      0deg,
      transparent 24%,
      rgba(255, 255, 255, 0.1) 25%,
      rgba(255, 255, 255, 0.1) 26%,
      transparent 27%,
      transparent 74%,
      rgba(255, 255, 255, 0.1) 75%,
      rgba(255, 255, 255, 0.1) 76%,
      transparent 77%,
      transparent
    ),
    linear-gradient(
      90deg,
      transparent 24%,
      rgba(255, 255, 255, 0.1) 25%,
      rgba(255, 255, 255, 0.1) 26%,
      transparent 27%,
      transparent 74%,
      rgba(255, 255, 255, 0.1) 75%,
      rgba(255, 255, 255, 0.1) 76%,
      transparent 77%,
      transparent
    );
  background-size: 50px 50px;
  z-index: 2;
}

/* Added hero intro styling */
.hero-intro {
  position: absolute;
  top: 3rem;
  left: 3rem;
  z-index: 15;
}

.intro-text br + span {
  font-size: clamp(0.9rem, 2vw, 20px) !important;
}

.intro-stats {
  background: rgba(255, 255, 255, 0.95);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.intro-text {
  margin: 0;
  text-align: center;
}

.intro-text span {
  font-size: clamp(2rem, 6vw, 48px) !important;
}

/* Added company name and animated tagline styling */
.hero-header {
  display: flex;
  align-items: center; /* asegúrate de que estén a la misma altura */
  gap: 20px !important; /* reduce separación entre logo y tagline */
  justify-content: flex-start;
  padding-left: 0; /* quitar padding que empujaba todo */
  margin-left: 370px;
}

.company-name {
  font-size: clamp(1.5rem, 4vw, 4rem);
  font-weight: 900;
  color: var(--secondary);
  margin: 0;
  letter-spacing: -0.03em;
}

.animated-tagline {
  width: auto !important; /* que ocupe solo lo necesario */
  min-width: 0; /* evita que tome ancho extra por flexbox */
  padding-left: 0.9rem; /* separacion interna si querés borde */
  border-left: 3px solid var(--secondary); /* opcional */
  box-sizing: border-box;
  margin-left: 0 !important; /* elimina margenes previos */
}

.tagline-word {
  left: 0.6rem !important; /* acercá más el texto al borde / logo */
  font-size: 6rem;
  position: absolute;
  top: 0;
  display: block;
  opacity: 0;
  animation: rotate 8s infinite ease-in-out;
}

.animated-tagline {
  padding-left: 0.8rem;
}
/* desfases negativos para que cada palabra ocupe su ventana en el ciclo.
   nth-child(1) = comienzo, nth-child(2) empieza -1 single, nth-child(3) empieza -2 single, etc. */
.tagline-word:nth-child(1) {
  animation: fadeWord 10s infinite;
  animation-delay: 0s;
}
.tagline-word:nth-child(2) {
  animation: fadeWord 10s infinite;
  animation-delay: 2.5s;
}
.tagline-word:nth-child(3) {
  animation: fadeWord 10s infinite;
  animation-delay: 5s;
}
.tagline-word:nth-child(4) {
  animation: fadeWord 10s infinite;
  animation-delay: 7.5s;
}
/* Animación revisada */
@keyframes rotate {
  0%   { opacity: 0; transform: translateY(100%); }

  5%   { opacity: 1; transform: translateY(0%); }  /* entra */
  20%  { opacity: 1; transform: translateY(0%); }  /* se mantiene */
  25%  { opacity: 0; transform: translateY(-100%); } /* sale */

  100% { opacity: 0; transform: translateY(-100%); }
}

/* keyframes sobre el ciclo completo.
   Cada palabra estará visible durante ~33.333% del ciclo (para 3 palabras). 
   Ajustá porcentajes si cambiás var(--single-duration) o var(--word-count). */
@keyframes cycleWord {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  8.333% {
    opacity: 1;
    transform: translateY(0);
  } /* entra */
  25% {
    opacity: 1;
    transform: translateY(0);
  } /* permanece */
  33.333% {
    opacity: 0;
    transform: translateY(-20px);
  } /* sale */
  100% {
    opacity: 0;
  }
}

@keyframes fadeWord {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  5% {
    opacity: 1;
    transform: translateY(0);
  }
  20% {
    opacity: 1;
    transform: translateY(0);
  }
  25% {
    opacity: 0;
    transform: translateY(-8px);
  }
  100% {
    opacity: 0;
    transform: translateY(-8px);
  }
}

/* Logo móvil (tu pedido anterior) */
.logo-fv {
  height: 40px;
}
@media (max-width: 600px) {
  .logo-fv {
    height: 35px;
  }
}

/* Updated hero content padding to accommodate intro */
.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 90%;
  width: 100%;
  margin: 0 auto;
}
.hero-title {
  font-size: clamp(2.5rem, 8vw, 8rem);
  font-weight: 900;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-family: itcavant;
  text-align: center;
  font-size: clamp(0.9rem, 1.5vw, 1.5rem)+2px;
  color: #cccccc;
  margin-bottom: 2rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.6;
  max-width: 100%;
  padding: 0 1rem;
  margin-top: -35px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--secondary);
  color: var(--primary);
  border: none;
  padding: 1rem 2rem;
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: scale(1);
}

.btn-hero:hover {
  background-color: #e5e5e5;
  transform: scale(1.05);
}

.btn-hero:active {
  transform: scale(0.95);
}

.hero-status {
  margin-top: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: #666666;
  font-size: 0.875rem;
  font-family: itcavant;
}

.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--secondary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--secondary);
  opacity: 0.6;
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Add parallax effect to sections with background images */
.parallax-section {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-clip: padding-box;
}

/* About Section */
.about-section {
  position: relative;
  padding: 8rem 0;
  background-color: var(--secondary);
  color: var(--primary);
}

/* Add dark overlay for about section parallax image */
.about-section::before {
  display: none;
}

.construction-progress-line {
  display: none;
}

.blueprint-pattern {
  display: none;
}

.container-lg {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
  color: #ddd;
}

.animated-tagline .tagline-word{
  color: #fff;
  font-family: itcavant;
  margin-right: 6px;
  display: inline-block;
}

@media (min-width: 1200px) {
  .hero-logo {
    height: 110px;
  }
  .animated-tagline {
    width: 320px;
    height: 76px;
  }
  .tagline-word {
    font-size: 2.5rem;
    left: 2rem;
  }
}

.about-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 2rem;
  line-height: 1.3;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.about-text {
  font-size: 1.125rem;
  color: #d1d1d1;
  line-height: 1.6;
  font-weight: 300;
}

.about-text.text-muted {
  color: #999999;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-left: 4px solid var(--secondary);
  padding-left: 1.5rem;
}

.stat {
  opacity: 0;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.stat-label {
  color: #999999;
  font-size: 0.875rem;
  font-weight: 300;
}

.about-image {
  position: relative;
  height: 400px;
  overflow: hidden;
  border: 4px solid var(--secondary);
  opacity: 0;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

/* Services Section */
.services-section {
  position: relative;
  padding: 8rem 0;
  background-color: var(--secondary);
  color: var(--primary);
  /* Remove old background image, will use inline style */
  background-image: none;
}

/* Added overlay to lighten the background image */
.services-section::before {
  display: none;
}

/* Add dark semi-transparent overlay for better text readability */
.services-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.services-construction-line {
  display: none;
}

/* Removed: grid-pattern was barely visible at 0.08 opacity - now using real image */
.grid-pattern {
  display: none;
}

.services-section .text-center {
  position: relative;
  z-index: 1;
  margin-bottom: 4rem;
}

.services-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: #000000;
}

.title-underline {
  width: 5rem;
  height: 4px;
  background-color: var(--primary);
  margin: 1.5rem auto;
}

.services-subtitle {
  font-size: 1.25rem;
  color: #555555;
  max-width: 32rem;
  margin: 0 auto;
  font-weight: 300;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0;
  position: relative;
  z-index: 1;
}

.hero-header.tight .hero-logo {
  margin-right: -8px; /* negativo para superponer ligeramente */
}
.hero-header.tight .animated-tagline {
  margin-left: 0;
}

@media (max-width: 768px) {
  .hero-header {
    gap: 10px;
    flex-direction: column;
    align-items: center;
  }
  .animated-tagline {
    padding-left: 0.6rem;
    width: 180px;
  }
  .tagline-word {
    left: 0.5rem;
    font-size: 1.2rem;
  }
  .hero-logo {
    height: 66px;
  }
}

@media (max-width: 768px) {
  .hero-header {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    margin-left: 0px;
  }
  .animated-tagline {
    width: 180px;
    height: 48px;
    padding-left: 0.75rem;
    border-left-width: 2px;
  }
  .tagline-word {
    font-size: 1.2rem;
    left: 0.75rem;
  }
  .hero-logo {
    height: 66px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  position: relative;
  padding: 2rem;
  border: 2px solid var(--primary);
  overflow: hidden;
  transition: all 0.5s ease;
  opacity: 0;
  /* Add subtle background and better text contrast */
  background-color: rgba(255, 255, 255, 0.95);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--primary);
  transition: left 0.5s ease;
  z-index: -1;
}

.service-card:hover::before {
  left: 0;
}

.service-card:hover {
  color: var(--secondary);
}

.service-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: #504f4f;
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}

.service-card:hover .service-number {
  color: var(--secondary);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
  color: #000000;
}

.service-description {
  color: #666666;
  font-weight: 300;
  transition: color 0.3s ease;
}

.service-card:hover .service-description {
  color: #d1d1d1;
}

/* Projects Section */
.projects-section {
  position: relative;
  padding: 8rem 0;
  background-color: var(--primary);
  color: var(--secondary);
  /* Remove old background image, will use inline style */
  background-image: none;
}

.projects-section::after {
  display: none;
}

/* Add dark overlay for Projects section text readability */
.projects-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  pointer-events: none;
  z-index: 0;
}

.construction-blocks {
  display: none;
}

.construction-grid {
  display: none;
}

.projects-section .text-center {
  position: relative;
  z-index: 1;
  margin-bottom: 4rem;
}

.projects-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.title-underline.light {
  background-color: var(--secondary);
}

.projects-subtitle {
  font-size: 1.25rem;
  color: #eeeded;
  max-width: 32rem;
  margin: 0 auto;
  font-weight: 300;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  position: relative;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  /* Añadir altura uniforme a todas las tarjetas */
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.project-image {
  position: relative;
  height: 18rem;
  overflow: hidden;
  background-color: #1a1a1a;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.project-card:hover .project-image {
  border-color: var(--secondary);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  transition: background-color 0.3s ease;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.3);
}

.project-grid-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-grid-overlay {
  opacity: 1;
}

.project-info {
  background-color: var(--primary);
  border-bottom: 2px solid var(--secondary);
  padding: 2rem;
  transition: all 0.3s ease;
  /* Hacer que el info se expanda para llenar el espacio disponible */
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-card:hover .project-info {
  background-color: var(--secondary);
  color: var(--primary);
}

.project-number {
  font-size: 2.25rem;
  font-weight: 900;
  color: #333333;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.project-card:hover .project-number {
  color: #999999;
}

.project-category {
  font-size: 0.875rem;
  font-family: itcavant;
  color: #666666;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.project-card:hover .project-category {
  color: #999999;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 900;
  transition: color 0.3s ease;
}

.project-description {
  color: #999999;
  font-size: 0.95rem;
  font-weight: 300;
  margin-top: 0.75rem;
  line-height: 1.5;
  /* Permitir que la descripción se expanda en tarjetas más altas */
  flex: 1;
}

.project-card:hover .project-description {
  color: #d1d1d1;
}

/* Features Section */
.features-section {
  position: relative;
  padding: 8rem 0;
  background-color: var(--secondary);
  color: var(--primary);
  border-top: 4px solid var(--primary);
  /* Remove old background image, will use inline style */
  background-image: none;
}

/* Added overlay to lighten the background image */
.features-section::before {
  display: none;
}

/* Add white semi-transparent overlay for better text readability */
.features-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.features-construction-bars {
  display: none;
}

.features-construction-bars::before,
.features-construction-bars::after {
  display: none;
}

/* Removed: light-blueprint-pattern was barely visible - now using real image */
.light-blueprint-pattern {
  display: none;
}

.features-title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 3rem;
}

.features-list {
  border-left: 4px solid var(--primary);
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.features-list.right {
  border-left: none;
  border-right: 4px solid var(--primary);
  padding-left: 0;
  padding-right: 1.5rem;
  color: #ffffff;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  opacity: 0;
  color: #ddd;
}

.features-list.right .feature-item {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.feature-dot {
  width: 0.75rem;
  height: 0.75rem;
  background-color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.feature-text {
  font-size: 1.125rem;
  color: #e8e6e6;
  font-weight: 300;
}

/* CTA Section */
.cta-section {
  position: relative;
  padding: 8rem 0;
  background-color: var(--primary);
  color: var(--secondary);
  overflow: hidden;
  /* Remove old background image, will use inline style */
  background-image: none;
}

.cta-section::after {
  display: none;
}

/* Add dark overlay for CTA section text readability */
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  pointer-events: none;
  z-index: 0;
}

.cta-construction-elements {
  display: none;
}

.cta-grid {
  display: none;
}

.cta-section .container-lg {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 2rem;
  line-height: 1.3;
}

.cta-subtitle {
  font-size: 1.25rem;
  color: #999999;
  max-width: 48rem;
  margin: 0 auto 3rem;
  font-weight: 300;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 4rem;
  opacity: 0;
  flex-wrap: wrap;
}

@media (max-width: 576px) {
  .cta-buttons {
    flex-direction: column;
  }
}

.btn {
  padding: 1rem 2.5rem;
  font-weight: 900;
  font-size: 1.125rem;
  border: none;
  cursor: pointer;
  border-radius: 0;
  transition: all 0.3s ease;
  transform: scale(1);
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  transform: scale(1.05);
}

.btn:active {
  transform: scale(0.95);
}

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

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

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

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

.cta-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #efeded;
  font-size: 0.875rem;
  opacity: 0;
}

.pulse-dots {
  display: flex;
  gap: 0.25rem;
}

.pulse-dot {
  width: 0.5rem;
  height: 0.5rem;
  background-color: #555555;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* Custom banner sections styling */
.custom-banner-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding: 4rem 0;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 60%;
  padding: 3rem;
  color: white;
  /* added animation to banner-content */
  animation: fadeInUp 0.8s ease-out forwards;
}

.banner-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: white;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.banner-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #b6b6b6;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.banner-description {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: #c6c5c5;
  line-height: 1.8;
  font-weight: 300;
  text-align: justify;
  max-width: 100%;
}

@media (max-width: 768px) {
  .custom-banner-section {
    min-height: 400px;
    align-items: center;
    justify-content: center;
  }

  .banner-content {
    max-width: 100%;
    padding: 2rem 1.5rem;
    text-align: center;
  }

  .banner-description {
    text-align: center;
  }
}

/* Footer Section */
.footer-section {
  /* Remove background image and parallax for footer - keep pure black */
  background-color: var(--primary);
  color: var(--secondary);
  border-top: 4px solid var(--secondary);
  padding: 4rem 0;
  background-image: none;
  background-attachment: scroll;
}

/* Updated footer overlay to darker for pure black appearance */
.footer-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.95);
  pointer-events: none;
  z-index: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-column {
  position: relative;
  z-index: 1;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.footer-brand.light {
  font-weight: 300;
  color: #999999;
}

.footer-text {
  color: #999999;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-title {
  font-weight: 900;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links li {
  color: #999999;
  font-weight: 300;
  font-size: 0.95rem;
}

.footer-links a {
  color: #999999;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary);
}

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

.social-links a {
  color: #999999;
  text-decoration: none;
  font-weight: 300;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid #333333;
  padding-top: 2rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

code {
  font-family: itcavant;
}
@media (max-width: 767px) {
  .hero-section {
    min-height: 500px;
  }

  .hero-content {
    padding: 1rem;
    justify-content: center;
    align-items: center;
  }

  /* Resetear posicionamientos */
  .mover {
    position: static;
    width: 100%;
  }

  .mover2 {
    position: static;
    width: 100%;
    margin-top: 2rem;
  }

  .mover3 {
    position: static;
  }

  .hero-header {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
    width: 100%;
    margin-left: 0px;
  }

  .company-name {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .logo-text2 {
    height: 50px !important;
    max-width: 90%;
  }

  .animated-tagline {
    width: 180px;
    height: 45px;
    padding-left: 0.75rem;
    border-left-width: 2px;
    margin: 0 auto;
  }

  .tagline-word {
    left: 0.75rem;
    font-size: 1.3rem;
  }

  .hero-subtitle {
    font-family: itcavant;
    font-size: 0.85rem;
    line-height: 1.5;
    padding: 0;
    margin: 0 auto 1rem;
    max-width: 100%;
    position: static;
    margin-left: center;
    top: 0;
    margin: 18px 0 0 0;    /* separacion superior */
  line-height: 1.6;
  color: #ddd;
  font-size: 1rem;
  }

  /* Contador responsive */
  .intro-text {
    text-align: center;
    margin: 0 auto;
  }

  .intro-text span:first-child {
    font-size: 2.5rem !important;
  }

  .intro-text br + span {
    font-size: 0.9rem !important;
  }

  /* Scroll indicator más pequeño */
  .scroll-indicator {
    bottom: 1rem;
  }

  .scroll-indicator svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 0.75rem;
  }

  .logo-text2 {
    height: 40px !important;
  }

  .animated-tagline {
    width: 150px;
    height: 40px;
  }

  .tagline-word {
    font-size: 1.1rem;
  }

  .hero-subtitle {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .intro-text span:first-child {
    font-size: 2rem !important;
  }
}

@media (max-height: 600px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
  }

  .hero-header {
    margin-bottom: 0.5rem;
  }

  .hero-subtitle {
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
  }

  .mover2 {
    margin-top: 0.5rem;
  }

  .scroll-indicator {
    display: none;
  }
}

/* Estilos base comunes a todos los tamaños */
.hero-header {
  display: flex;
}

.company-name {
  font-weight: 900;
  color: var(--secondary);
  margin: 0;
  letter-spacing: -0.03em;
}

.hero-section,
.hero-content,
.hero-header,
.animated-tagline,
.hero-logo-wrap {
  overflow: visible !important;
}

.animated-tagline {
  position: relative !important;
  height: auto !important;
  min-height: 80px !important; /* subí si tu fuente es grande */
  padding-left: 0.8rem !important;
  box-sizing: border-box !important;
}

.tagline-word {
  position: absolute !important;
  left: 0.8rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  white-space: nowrap !important;
  font-size: 2rem !important;
  line-height: 1 !important;
  opacity: 0;
  z-index: 999 !important;
}

.tagline-word:nth-child(1) { animation-delay: 0s; }
.tagline-word:nth-child(2) { animation-delay: 2s; }
.tagline-word:nth-child(3) { animation-delay: 4s; }
.tagline-word:nth-child(4) { animation-delay: 6s; }

.hero-subtitle {
  color: #cccccc;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-left: 60px; /* ESTA es la línea que mueve el párrafo a la derecha */
}

.intro-text {
  margin: 0;
  position: relative;
  top: -100px;
}

.intro-text span {
  font-weight: 700;
  color: white;
}

.intro-text br + span {
  font-weight: 400;
  color: white;
}

@media (min-width: 992px) {
  .mover {
    position: relative;
    top: 40px;
    left: 220px;
  }

  .mover2 {
    position: relative;
    top: 130px;
    left: center;
  }

  .hero-subtitle {
    text-align: left;
    font-size: 15px;
    color: #cccccc;
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.6;
    max-width: 700px;
    position: relative;
    top: -10px;
    left: 300px;
  }

  .hero-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .company-name {
    font-size: clamp(2rem, 5vw, 4rem);
  }

  .animated-tagline {
    position: relative;
    width: 250px;
    height: 60px;
    display: flex;
    align-items: center;
    border-left: 3px solid var(--secondary);
    padding-left: 1.5rem;
    overflow: hidden;
  }

  .tagline-word {
    position: absolute;
    left: 1.5rem;
    font-size: 2rem;
  }

  .logo-text2 {
    height: 100px;
  }
}

@media (max-width: 991px) {
  .intro-text {
    margin: 0;
    position: relative;
    top: 0px;
  }
}

@media (max-width: 991px) and (min-width: 768px) {
  .hero-content {
    max-width: 95%;
    align-items: center;
  }

  .intro-text {
    margin: 0;
    position: relative;
    top: 0px;
  }

  /* Reducir offsetting gradualmente */
  .mover {
    position: relative;
    top: 20px;
    left: 50px;
  }

  .mover2 {
    position: relative;
    top: 80px;
    left: 0;
  }

  .hero-subtitle {
    text-align: center;
    font-size: 14px;
    left: 0;
    top: 0;
    max-width: 90%;
    margin: 0 auto 2rem;
    padding: 0 1rem;
  }

  .hero-header {
    display: flex;
    align-items: center;
    gap: 22px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    margin-left: 0px;
  }

  .logo-text2 {
    height: 70px !important;
  }

  .animated-tagline {
    width: 220px;
    height: 55px;
    margin: 0 auto;
  }

  .tagline-word {
    font-size: 1.6rem;
  }

  .intro-text span:first-child {
    font-size: 40px !important;
  }

  .intro-text br + span {
    font-size: 18px !important;
  }
}

@media (max-width: 600px) {
  .hero-subtitle {
    font-size: calc(clamp(0.9rem, 1.5vw, 1.5rem) + 1px);
  }
  /* Selector específico para evitar que Bootstrap lo sobreescriba */
  .top-navbar .navbar-toggler {
    transform: translate(80px, 1px);
    -webkit-transform: translate(80px, 1px);
    transition: transform 0.15s ease;
    /* mantener posición relativa (ya la tenés) para que translate funcione como esperás */
    position: relative;
    /* si necesitás que el área clicable también se mueva visualmente, no cambiar padding; sólo translate */
  }

  .top-navbar {
    display: flex;
    justify-content: space-between !important;
    align-items: center;
  }

  /* Asegurar que el menú desplegado no recentre los elementos */
  .top-navbar .navbar-collapse {
    flex-basis: auto !important;
    flex-grow: 0 !important;
    text-align: left;
  }

  .top-navbar .navbar-collapse.show {
    display: block !important;
    width: 100%;
  }

  .top-navbar .navbar-nav {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .top-navbar .nav-container {
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
  }

  .top-navbar .navbar-toggler {
    margin-left: auto !important;
    left: -60px;
  }
}

@media (min-width: 992px) {
  #mainNavbar {
    justify-content: center;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  /* Hero / layout */
  .hero-section {
    min-height: 85vh; /* ocupa casi toda la pantalla sin desbordar */
    height: 100vh;
    padding: 1.5rem;
    align-items: center;
    justify-content: center;
  }

  /* normalizar offsets problemáticos */
  .mover,
  .mover2,
  .mover3 {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    margin: 0 !important;
  }

  /* Header (logo + nombre + tagline) centrado y con gap reducido */
  .hero-header {
    margin-left: 0 !important;
    padding-left: 0 !important;
    gap: 14px !important;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    width: 100%;
    max-width: 920px;
    box-sizing: border-box;
  }

  .hero-logo {
    height: 72px !important;
    max-width: none;
  }

  .company-name {
    font-size: clamp(1.6rem, 4.5vw, 2.8rem) !important;
    text-align: left;
  }

  .animated-tagline {
    width: 220px !important;
    height: 56px !important;
    padding-left: 0.9rem !important;
    border-left-width: 2px !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .tagline-word {
    font-size: clamp(1.1rem, 3.2vw, 1.6rem) !important;
    left: 0.6rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    white-space: nowrap;
  }

  .hero-content {
    padding: 1.5rem 1rem !important;
    max-width: 920px;
    width: 100%;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(2rem, 6.5vw, 4rem) !important;
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: clamp(0.95rem, 1.6vw, 1.15rem) !important;
    max-width: 720px;
    margin: 0.75rem auto 1.75rem;
    text-align: center;
    position: static !important;
    left: 0 !important;
    top: 0 !important;
    padding: 0 1rem;
  }

  .intro-text {
    top: -40px !important; /* ajusta si lo necesitás */
    margin: 0 auto;
  }

  .scroll-indicator {
    bottom: 1.75rem !important;
  }
}

/* --------------------------
   Regla concreta para ancho 912px
   (ej. tablet en retrato 912 × 1368)
   -------------------------- */
@media (width: 912px) {
  .hero-section {
    min-height: 88vh;
  }

  .hero-header {
    gap: 12px !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 0.5rem;
  }

  .hero-logo {
    height: 76px !important;
  }

  .company-name {
    font-size: 3rem !important;
    letter-spacing: -0.02em;
  }

  .animated-tagline {
    width: 240px !important;
    height: 60px !important;
    padding-left: 1rem !important;
  }

  .tagline-word {
    font-size: 1.9rem !important;
    left: 0.8rem !important;
  }

  .hero-title {
    font-size: 3.6rem !important;
  }

  .hero-subtitle {
    font-size: 1rem !important;
    max-width: 720px;
  }

  /* asegurar que los elementos no se superpongan */
  .intro-text {
    top: -50px !important;
  }

  /* botones más accesibles en tablets */
  .btn-hero {
    padding: 0.9rem 1.75rem;
    font-size: 1rem;
  }
}

/* -----------------------------------------------------
   Ajustes GENERALES para tablets (768px–1024px)
   ----------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1024px) {
  /* NAVBAR → más alto */
  nav,
  .navbar {
    height: 90px !important; /* agrandado */
    padding: 0 1.5rem !important;
    align-items: center;
  }

  /* LOGO del navbar → más grande */
  nav .logo img,
  .navbar .logo img {
    height: 70px !important; /* antes suele ser 45–55 */
    width: auto;
  }

  /* HERO HEADER → centrado, sin márgenes conflictivos */
  .hero-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center; /* ← centrado horizontal */
    gap: 20px;
    width: 100%;
    margin: 0 auto !important;
    padding: 0 1rem;
  }

  /* Logo dentro del hero */
  .hero-logo {
    height: 95px !important; /* más grande para tablets */
    width: auto;
  }

  /* Tagline */
  .animated-tagline {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
    gap: 4px;
    padding-left: 12px;
    border-left: 3px solid rgba(255, 255, 255, 0.8);
  }

  .tagline-word {
    font-size: 1.65rem !important;
    position: static !important;
    transform: none !important;
  }
}

/* -----------------------------------------------------
   Ajuste FINO para tablets de 912px EXACTOS
   (modo retrato, ej. 912 × 1368)
   ----------------------------------------------------- */
@media (width: 912px) {
  /* Navbar aún más grande */
  nav,
  .navbar {
    height: 105px !important;
  }

  nav .logo img,
  .navbar .logo img {
    height: 78px !important; /* versión más grande */
  }

  /* Centrado perfecto del hero-header */
  .hero-header {
    gap: 26px !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 25px; /* baja un poco para que quede visualmente equilibrado */
  }

  .hero-logo {
    height: 110px !important; /* agrandado especial para 912px */
  }

  .tagline-word {
    font-size: 1.9rem !important;
  }
}

@media (max-width: 767px) {
  /* Contenedor horizontal (img izquierda / textos derecha) */
  .hero-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px; /* separación más chica */
    padding: 0 0.5rem;
    width: 100%;
  }

  /* LOGO reducido para teléfonos */
  .hero-logo {
    height: 48px !important; /* antes gigante, ahora tamaño móvil */
    width: auto;
  }

  .hero-logo-wrap {
    flex-shrink: 0; /* evita que se deforme */
  }

  /* CONTENEDOR DE TEXTOS (más pequeño y alineado) */
  .animated-tagline {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 8px;
    border-left: 2px solid rgba(255, 255, 255, 0.7);
    max-width: 60%; /* evita que ocupe demasiado y se salga */
  }

  /* Palabras más pequeñas */
  .tagline-word {
    font-size: 1rem !important; /* tamaño móvil correcto */
    line-height: 1.1;
    white-space: nowrap;
    position: static !important;
    transform: none !important;
  }
}

@media (max-width: 600px) {
  .hero-subtitle {
    text-align: center !important;
    margin-left: 0 !important;
    left: 0 !important;
    margin: 0 auto 1rem !important;
    padding: 0 1rem !important;
    max-width: 100%;
  }

  .subtitle-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

.cta-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #efeded;
  font-size: 0.875rem;
  font-family: itcavant;
  opacity: 0;
}

/* Nuevos estilos para el contenedor de logos */
.logos-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-top: 2.5rem;
  opacity: 0;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo {
  max-height: 120px;
  max-width: 210px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0.9) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  transition: all 0.3s ease;
}


.partner-logo:hover {
  filter: brightness(1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transform: scale(1.05);

}

/* Responsive para móviles */
@media (max-width: 768px) {
  .logos-container {
    gap: 2rem;
    flex-wrap: wrap;
  }

  .partner-logo {
    max-height: 50px;
    max-width: 120px;
  }
}