@charset "UTF-8";
/* CSS Document */

/* Base styles */ :root {
  --background: #ffffff;
  --foreground: #121212;
  --card: #ffffff;
  --card-foreground: #121212;
  --popover: #ffffff;
  --popover-foreground: #121212;
  --primary: #121212;
  --primary-foreground: #ffffff;
  --secondary: #f5f5f5;
  --secondary-foreground: #121212;
  --muted: #f5f5f5;
  --muted-foreground: #737373;
  --accent: #f5f5f5;
  --accent-foreground: #121212;
  --destructive: #ef4444;
  --destructive-foreground: #ffffff;
  --border: #e5e5e5;
  --input: #e5e5e5;
  --ring: #121212;
  --radius: 0.5rem;
  /* Custom colors */
  --cruce-teal: #20c997;
  --cruce-orange: #fd7e14;
  --cruce-yellow: #ffc107;
  --cruce-gray: #6c757d;
  --cruce-black: #121212;
  --cruce-light-gray: #f8f9fa;
}
[data-theme="dark"] {
  --background: #121212;
  --foreground: #ffffff;
  --card: #1e1e1e;
  --card-foreground: #ffffff;
  --popover: #1e1e1e;
  --popover-foreground: #ffffff;
  --primary: #ffffff;
  --primary-foreground: #121212;
  --secondary: #1e1e1e;
  --secondary-foreground: #ffffff;
  --muted: #1e1e1e;
  --muted-foreground: #a1a1a1;
  --accent: #1e1e1e;
  --accent-foreground: #ffffff;
  --destructive: #ef4444;
  --destructive-foreground: #ffffff;
  --border: #333333;
  --input: #333333;
  --ring: #ffffff;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  overflow-x: hidden;
  transition: background-color 0.3s, color 0.3s;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
}
/* Containers */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-title {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  text-align: left;
}
.page-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
/*******************************************************************************************************************************************************************  Buttons */
.button-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.button-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.button-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: transparent;
  color: var(--foreground);
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  border: 1px solid var(--border);
  cursor: pointer;
}
.button-secondary:hover {
  background-color: var(--secondary);
}
/*******************************************************************************************************************************************************************  Animated Background */
.animated-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  opacity: 0.10;
  pointer-events: none;
}
[data-theme="light"] .animated-background {
  opacity: 0.30;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  mix-blend-mode: screen;
  opacity: 0.6;
}
/* Lava-style blobs with flowing animation */
.blob-1 {
  width: 400px;
  height: 400px;
  background-color: #F37021;
  animation: float-1 15s ease-in-out infinite;
  top: 10%;
  left: 10%;
}
.blob-2 {
  width: 350px;
  height: 350px;
  background-color: #FFC20E;
  animation: float-2 16s ease-in-out infinite;
  top: 40%;
  left: 70%;
}
.blob-3 {
  width: 300px;
  height: 300px;
  background-color: #00B49D;
  animation: float-3 14s ease-in-out infinite;
  top: 80%;
  left: 20%;
}
.blob-4 {
  width: 280px;
  height: 280px;
  background-color: #4d4d4d;
  animation: float-4 13s ease-in-out infinite;
  top: 25%;
  left: 50%;
}
.blob-5 {
  width: 200px;
  height: 200px;
  background-color: #00B49D;
  animation: float-5 13s ease-in-out infinite;
  top: 60%;
  left: 80%;
}
.blob-6 {
  width: 320px;
  height: 320px;
  background-color: #FFC20E;
  animation: float-6 20s ease-in-out infinite;
  top: 5%;
  left: 50%;
}
@keyframes float-1 {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(100px, -150px) scale(1.2) rotate(180deg);
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(360deg);
  }
}
@keyframes float-2 {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(-120px, 100px) scale(0.9) rotate(-180deg);
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(-360deg);
  }
}
@keyframes float-3 {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(60px, -80px) scale(1.1) rotate(90deg);
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(360deg);
  }
}
@keyframes float-4 {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(-90px, 90px) scale(0.95) rotate(-90deg);
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(-360deg);
  }
}
@keyframes float-5 {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(70px, -70px) scale(1.05) rotate(270deg);
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(540deg);
  }
}
@keyframes float-6 {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(-150px, 60px) scale(1.15) rotate(-180deg);
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(-360deg);
  }
}
/******************************************************************************************************************************************************************* Navbar */
.navbar {
  background-color: rgba(0, 0, 0, 0.2); /* 80% transparent */
  backdrop-filter: blur(15px); /* blur the background behind */
  -webkit-backdrop-filter: blur(10px); /* Safari support */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* subtle shadow for lift */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 0;
  z-index: 100;
  transition: background-color 0.3s, padding 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  background-color: rgba(var(--background));
  padding: 1rem 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
[data-theme="light"] .navbar {
  background-color: rgba(255, 255, 255, 0.2); /* 80% transparent */
}
.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.logo {
  height: 2.5rem;
  max-width: 140px;
}
.logo img {
  display: block; /* removes inline spacing gap */
  width: 100%;
  height: auto;
}
.logo-light {
  display: none;
}
.logo-dark {
  display: block;
}
[data-theme="dark"] .logo-light {
  display: block;
}
[data-theme="dark"] .logo-light img {
  display: block;
}
[data-theme="dark"] .logo-dark {
  display: none;
}
[data-theme="dark"] .logo-dark img {
  display: none;
}
[data-theme="light"] .logo-dark {
  display: block;
}
[data-theme="light"] .logo-dark img {
  display: block;
}
[data-theme="light"] .logo-light {
  display: none;
}
[data-theme="light"] .logo-light img {
  display: none;
}
.desktop-menu {
  display: none;
}
@media (min-width: 768px) {
  .desktop-menu {
    display: flex;
    gap: 2.5rem;
  }
}
.nav-link {
  position: relative;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover {
  color: var(--cruce-teal);
}
.nav-link.active {
  color: var(--cruce-teal);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--cruce-teal);
}
.toggles {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 70%;
}
.theme-toggle, .language-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
/* Hide toggles on mobile */
@media (max-width: 767px) {
  .desktop-only {
    display: none !important;
  }
}
.switch {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 10px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--cruce-yellow);
  transition: .5s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: -1.5px;
  bottom: -1.5px;
  background-color: var(--primary);
  transition: .5s;
}
input:checked + .slider {
  background-color: var(--cruce-orange);
}
input:checked + .slider:before {
  transform: translateX(10px);
}
.slider.round {
  border-radius: 34px;
}
.slider.round:before {
  border-radius: 50%;
}
.toggle-icon {
  color: var(--foreground);
  width: 18px;
  height: 18px;
}
.mobile-menu-button {
  display: block;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--foreground);
}
@media (min-width: 768px) {
  .mobile-menu-button {
    display: none;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0; /* Fix: start from left instead of using right-only logic */
  width: 100%;
  height: 100vh; /* Fix: ensure it covers the entire screen */
  background-color: var(--background); /* Confirm this is not transparent */
  opacity: 0.95;
  transition: transform 0.3s ease;
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  transform: translateX(100%); /* Start offscreen */
}
.mobile-menu.active {
  transform: translateX(0); /* Slide in */
}
.close-menu {
  align-self: flex-end;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  cursor: pointer;
  color: var(--foreground);
}
.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: top;
  justify-content: flex-start;
  height: 100%;
}
.mobile-menu .nav-link {
  font-size: 1.5rem;
}
.mobile-toggles {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
}
/*******************************************************************************************************************************************************************  Hero Section */
.hero {
  position: relative;
  min-height: 70vh;
  align-items: center;
  padding-top: 10rem;
  padding-bottom: 5rem;
  overflow: hidden;
  z-index: 0;
  justify-content: center;
}
.hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
/* Background Video */
.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6); /* adjust for contrast */
  z-index: 1;
}
.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  color: white;
  text-align: left;
}
.hero-title {
  font-size: 2.5rem;
  margin-top: 5rem;
  margin-bottom: 0rem;
  line-height: 1.3;
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}
.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: white;
  color: var(--cruce-black);
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}
.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
/******************************************************************************************************************************************************************* Services section */
.services {
  padding: 5rem 0;
}
.services-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-inner {
  padding-inline: 1.5rem;
}

.services-subtitle {
  font-size: 1rem;
  color: var(--secondary-foreground);
  margin-bottom: 2.5rem;
}
.services-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .services-grid {
    padding-inline: 1.5rem;
  }
}



.service-card {

  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;

  background: rgba(255, 255, 255, 0.01); /* transparencia */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);

  /* Fix para Safari */
  overflow: clip; /* evita conflictos con border-radius y blur */
  isolation: isolate; /* fuerza que el blur se aplique sólo adentro */
	
display: flex;
align-items: stretch;

	flex-grow: 1;

}



.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.service-card:hover h3 {
  background: linear-gradient(90deg, #F37021, #FFC20E, #00B49D, #4D4D4D);
  background-size: 300% 300%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gradient-move 3s ease infinite;
}

.card-header {
  position: relative;
  height: 160px;
  background: #000;
}

.card-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.1);
}

.card-icon {
  position: absolute;
  top: 1.5rem;    /* podÃ©s subirlo mÃ¡s si querÃ©s */
  left: 1.5rem;
}

.card-icon svg {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}


.card-content {
  padding: 1rem;
  flex-grow: 1;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.01); /* transparencia */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 0 0 var(--radius) var(--radius); /* solo en esquinas inferiores */
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.service-title {
  font-weight: 600;
  font-size: 1.1rem;
  color: white;
  margin-bottom: 0.5rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--muted-foreground, #aaa);
}


.service-card.--work .card-content {
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card.--work .card-header {
  height: 120px; /* en lugar de 160px */
}

.service-card.--work .card-content {
  padding: 1rem;
  min-height: 160px; /* mÃ¡s compacto que los 180px originales */
}

.service-card.--work .service-title {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.service-card.--work .service-desc,
.service-card.--work .service-list li {
  font-size: 0.85rem;
}

@media (max-width: 767px) {
  .services-work-section {
    padding-inline: 1.5rem;
  }
}


.services-cta {
  margin-top: 3rem;
  text-align: center;
}
/* CTA section */
.cta {
  padding: 5rem 0;
  color: white;
}
.cta-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}
.cta-title {
  color: var(--foreground);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
.cta-text {
  color: var(--foreground);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
/* Contenedor general del Ã­cono */
.service-icon-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}
/* SVG Ã­cono */
.service-icon {
  width: 40px;
  height: 40px;
  stroke: var(--cruce-teal, #00b49d);
  margin-bottom: 0.5rem;
}
/* AnimaciÃ³n suave en hover */
.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}
/* TÃ­tulo del servicio */
.service-card h3 {
  font-size: 1.25rem;
  color: var(--foreground);
  transition: all 0.3s ease;
  margin-bottom: 0.75rem;
}
/* DescripciÃ³n del servicio */
.service-card p {
  margin-top: 0;
  font-size: 1rem;
  color: var(--muted-text, #888);
  line-height: 1.6;
}
/******************************************************************************************************************************************************************** Contact section */
.contact-section {
  padding: 8rem 0;
}
.contact-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.contact-text {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 3rem;
  max-width: 600px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }
}
.contact-form-box, .contact-info-box {
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Inter', sans-serif;
}
.form-select:not([multiple]) {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23ffffff" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
}
.form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: var(--radius);
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}
.form-submit:hover {
  opacity: 0.9;
}
.arrow-right, .arrow-up {
  stroke-width: 2;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--cruce-teal, #00b49d);
  flex-shrink: 0;
}
.contact-details h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
}
.contact-details a {
  display: inline-block;
  margin-top: 0.25rem;
  color: var(--cruce-teal, #00b49d);
  text-decoration: none;
}
.contact-details a:hover {
  text-decoration: underline;
}
.location {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
}
.location-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}
.location-map {
  margin-top: 1rem;
  text-align: left;
}
.location-map img {
  width: 100%;
  max-width: 220px;
  opacity: 0.8;
}
.location-map iframe {
  border-radius: var(--radius, 0.75rem);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.contact-method .contact-icon svg {
  width: 24px;
  height: 24px;
}
.contact-method.location .contact-icon svg {
  width: 26px;
  height: 26px;
}
.location-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  transform: scale(1.3); /* opcional si todavÃ­a se ve pequeÃ±o */
}
/******************************************************************************************************************************************************************* Footer */
.footer {
  padding: 2rem 0 2rem;
  background-color: var(--secondary);
}
.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 2rem;
  }
}
.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 0rem;
}
.footer-logo-img {
  width: 2rem;
  height: auto;
}
.copyright {
  font-size: 0.875rem;
  margin-top: 5px;
  color: var(--muted-foreground);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.social-icons {
  display: flex;
  gap: 0.1rem;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--muted);
  color: var(--foreground);
  transition: background-color 0.2s;
}
.social-icon:hover {
  background-color: var(--cruce-teal);
  color: white;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.footer-link {
  transition: color 0.2s;
}
.footer-link:hover {
  color: var(--cruce-teal);
}
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.back-to-top:hover {
  color: var(--cruce-teal);
}
.arrow-up {
  margin-top: -2px;
}

.footer-note {
  font-size: 0.65rem;
  color: var(--muted-text, #888);
  margin-top: 0.25rem;
  text-align: left;
}

/******************************************************************************************************************************************************************* About page */
.about-section {
  padding-top: 8rem;
  padding-bottom: 5rem;
}
.about-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 5rem;
}
@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}
.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.about-image {
  overflow: hidden;
  border-radius: var(--radius);
}
.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
.about-image:hover img {
  transform: scale(1.05);
}
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1rem;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--cruce-teal);
}
.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.approach-section, .team-section {
  margin-bottom: 5rem;
}
.values {
  padding: 5rem 0;
}
.values-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.approach-grid, .values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .approach-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.approach-card, {
  background-color: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card {
  background: rgba(255, 255, 255, 0.1); /* transparencia */
  backdrop-filter: blur(10px); /* efecto vidrio difuminado */
  -webkit-backdrop-filter: blur(10px); /* para Safari */
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.2); /* borde sutil translÃºcido */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); /* sombra suave */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.approach-card:hover, .value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.approach-card h3, .value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}
.approach-card p, .value-card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.team {
  padding: 5rem 0;
}
.team-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.team-member {
  display: flex;
  flex-direction: column;
}
.team-member-image {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.team-member:hover .team-member-image img {
  transform: scale(1.05);
}
.team-member-name {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}
.team-member-role {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
/* Work page */
.work-section {
  padding-top: 8rem;
  padding-bottom: 5rem;
}
.work-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.services-work-section {
  margin-bottom: 5rem;
}
/* Default: 3 columnas */
.services-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columnas */
  gap: 2rem;
  align-items: stretch; /* fuerza igual altura */
}

/* Tablets: 2 columnas */
@media (max-width: 1024px) {
  .services-work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 1 columna */
@media (max-width: 640px) {
  .services-work-grid {
    grid-template-columns: 1fr;
  }
}

.service-work-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* o flex-start si prefers que el CTA quede junto al contenido */
  height: 100%;
  padding: 2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}
.service-work-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.service-work-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}
.service-list {
  list-style: none;
  margin-bottom: 1.5rem;
}
.service-list li {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.5rem 0;
  padding-left: 0;
  border-bottom: 1px solid var(--cruce-gray);
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.service-list li:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.projects-section {
  margin-bottom: 3rem;
}
.projects-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem; /* menos espacio en mobile */
}
@media (min-width: 768px) {
  .projects-container {
    gap: 2rem; /* menos espacio en desktop tambiÃ©n */
  }
}
.project-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 0.5rem; /* o incluso 0.5rem si lo querÃ©s bien compacto */
}
@media (min-width: 768px) {
  .project-card {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .project-card:nth-child(even) .project-image {
    order: 2;
  }
  .project-card:nth-child(even) .project-info {
    order: 1;
  }
}
.project-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.project-card:hover .project-image img {
  transform: scale(1.05);
}
.project-client {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  display: block;
  margin-bottom: 0.5rem;
}
.project-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.project-category {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}
.view-project-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: var(--foreground);
  padding: 0;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
}
.view-project-btn:hover {
  color: var(--cruce-teal);
}

/******************************************************************************************************************************************************************* Custom Styles (SF) */
[data-theme="dark"] button.back-to-top span {
  color: white;
}
[data-theme="dark"] button.back-to-top svg {
  stroke: white;
}
.button-centered-div {
  text-align: center;
  margin-top: 2rem; /* o lo que visualmente quede bien */
}
/* Fondo suave para el bloque de texto */
.with-accent-bg {
  background: var(--muted);
  padding: 2rem;
  border-radius: var(--radius);
}
/* Layout principal: imagen a la izquierda, texto a la derecha */
.team-flex {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-top: 2rem;
}
.team-photo {
  flex-shrink: 0;
  width: auto;
  max-height: 300px;
}
.team-photo img {
  height: 100%;
  width: auto;
  max-height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.3s ease;
}
.team-photo img:hover {
  transform: scale(1.05);
}
@media (max-width: 767px) {
  .team-flex {
    flex-direction: column;
  }
  .team-photo {
    width: 100%;
    max-height: 300px;
  }
  .team-photo img {
    width: 100%;
    height: auto;
  }
}
[data-theme="dark"] .value-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.value-card strong {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  color: var(--cruce-teal);
  margin-bottom: 0.5rem;
}
.value-card h3 {
  background: none;
  background-clip: initial;
  color: var(--foreground);
  transition: all 0.4s ease;
}
.value-card:hover h3 {
  background: linear-gradient(90deg, #F37021, #FFC20E, #00B49D, #4D4D4D);
  background-size: 300% 300%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gradient-move 3s ease infinite;
}
@keyframes gradient-move {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.team-section-bg {
  width: 100%;
  margin-left: 0;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  padding: 4rem 1.5rem;
}
.team-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.team-flex {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: flex-start;
  margin-top: 2rem;
}
.team-photo {
  flex-shrink: 0;
  max-height: 300px;
}
.team-photo img {
  height: 100%;
  width: auto;
  max-height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
}
.about-text {
  flex: 1;
  font-size: 1rem;
  line-height: 1.7;
}
/* Responsive */
@media (max-width: 767px) {
  .team-flex {
    flex-direction: column;
  }
  .team-photo {
    width: 100%;
    max-height: 300px;
  }
  .team-photo img {
    width: 100%;
    height: auto;
  }
}
/* âœ¨ AnimaciÃ³n al hacer scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.nav-link {
  position: relative;
  text-decoration: none;
  color: var(--foreground);
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}
/* LÃ­nea inferior en hover */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background-color: var(--cruce-teal); /* color teal */
  transition: width 0.3s ease;
}
/* Aparece al hacer hover */
.nav-link:hover::after {
  width: 100%;
}
/* LÃ­nea permanente en el activo */
.nav-link.active::after {
  width: 100%;
}
/* âœ¨ HERO GLASSMORPHISM SHARED STYLE */
.hero-glass {
  width: 100vw;
  margin-left: calc(-1 * (100vw - 100%) / 2);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
  padding: 14rem 1.5rem 6rem;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}
.hero-glass .hero-container {
  max-width: 1280px;
  margin: 0 auto;
  text-align: left; /* â¬…ï¸ cambia de center a left */
  padding: 0 1.5rem;
}
.hero-container {
  position: relative;
  z-index: 1;
}
.hero-glass .hero-title {
  font-size: 2.75rem;
  margin: 0;
  text-align: left;
  color: var(--foreground); /* âœ… se adapta a modo claro/oscuro */
}
.hero-glass .hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--muted-text, #666); /* âœ… mÃ¡s claro en light mode */
  margin-top: 1rem;
  max-width: 700px;
  text-align: left;
}
/* Responsive */
@media (max-width: 767px) {
  .hero-glass {
    padding: 12rem 1.25rem 3rem; /* antes: 4rem */
  }
  .hero-glass .hero-title {
    font-size: 2rem;
  }
  .hero-glass .hero-subtitle {
    font-size: 1rem;
  }
}
.hero-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 35%, rgba(243, 112, 33, 0.25), transparent 70%), radial-gradient(circle at 75% 65%, rgba(0, 180, 157, 0.25), transparent 70%);
  animation: float-gradient 12s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes float-gradient {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(0, 20px);
  }
  100% {
    transform: translate(0, 0);
  }
}
[data-theme="dark"] .hero-subtitle {
  color: var(--foreground);
}
/* ðŸ”’ Desactiva el cursor de texto para textos no clickeables */
.service-card h3, .service-card p, .services-subtitle, .section-title {
  cursor: default;
}
a, button, .button-primary {
  cursor: pointer;
}

.service-work-card:hover h3 {
  background: linear-gradient(90deg, #F37021, #FFC20E, #00B49D, #4D4D4D);
  background-size: 300% 300%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gradient-move 3s ease infinite;
}

.service-work-card .service-icon-container {
  margin-bottom: 1rem;
}

.service-work-card .service-icon {
  width: 40px;
  height: 40px;
  stroke: var(--cruce-teal, #00b49d);
  transition: transform 0.3s ease;
  margin-bottom: 0.75rem;
}
.service-work-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.marquee-container {
 margin-top:50px;
  width: 100%;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee-scroll 20s linear infinite;
}

.marquee-text {
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  color: transparent;
  -webkit-text-stroke: 1px var(--primary);
  font-weight: 600;
  padding: 1rem 0;
}

.marquee-icon {
  margin: 0 1.5rem;
  position: relative;
  top: -0.2rem; /* o -0.1rem si lo necesitÃ¡s mÃ¡s arriba */
  animation: wiggle 1.5s ease-in-out infinite;
  transform-origin: center;
}

@keyframes wiggle {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(3px);
  }
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-80%);
  }
}

@media (max-width: 768px) {
  .marquee-text {
    font-size: 2rem;
  }
  .marquee-track {
    animation-duration: 8s; /* o 10s si lo querÃ©s mÃ¡s rÃ¡pido */
  }
.marquee-icon {
  top: 0rem; /* o -0.1rem si lo necesitÃ¡s mÃ¡s arriba */
  }
}


[data-theme="light"] .button-primary {
  background-color: var(--cruce-gray);
  color: white;
  border: 1px solid rgba(0, 0, 0, 0.1); /* borde sutil */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* sombra leve */
}

[data-theme="light"] .button-primary:hover {
  background-color: #5a6268; /* un poco mÃ¡s oscuro al hacer hover */
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}


.button-primary {
  position: relative;
  overflow: hidden;
  background-color: var(--cruce-gray);
  color: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.button-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--cruce-teal);
  transition: left 0.4s ease;
  z-index: 0;
}

.button-primary:hover::before {
  left: 0;
}

.button-primary:hover {
  color: black;
  border-color: var(--cruce-teal);
  box-shadow: 0 6px 20px rgba(0, 242, 226, 0.3); /* glow cruce-teal */
  transform: translateY(-2px); /* levanta un toque */
}

.button-primary span {
  position: relative;
  z-index: 2;
}

[data-theme="light"] .button-primary:hover {
  box-shadow: 0 10px 32px rgba(0, 242, 226, 0.6);
}

.button-primary svg {
  position: relative;
  z-index: 2;
}

/* Wrapper del box derecho */
.contact-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;          /* desktop/tablet */
  overflow: hidden;
  border-radius: inherit;
}

/* Video full cover */
.contact-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .contact-media {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;  /* probá 16/9 o 4/3 según la toma */
  }
}

@media (max-width: 900px) {
  .contact-grid {            /* <-- poné acá tu clase real del layout */
    grid-template-columns: 1fr;
  }
}
/* iPhone fix: evitar video gigante */
@media (max-width: 600px) {
  .contact-media {
    height: auto;
    min-height: 0;
    max-height: 240px;          /* 🔑 tope duro */
    aspect-ratio: 16 / 9;      /* mantiene proporción */
  }

  .contact-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}