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

/* General styling */

@font-face {
	font-family:'Red Hat Display Black';
	font-weight:bold;/* defines better compatibilty with Safari*/
	font-weight: 900;
	src:url("../fonts/RedHatDisplay-Black.ttf") format('truetype');
}

@font-face {
	font-family:'Red Hat Display';
	font-weight:normal;/* defines better compatibilty with Safari*/
    font-weight: 400;
	src:url("../fonts/RedHatDisplay-Regular.ttf") format('truetype');
}

@font-face {
    font-family:'Red Hat Italic';
	font-weight:bold;  /* defines better compatibilty with Safari*/
	font-weight: 200;
    src:url("../fonts/RedHatDisplay-LightItalic.ttf") format('truetype');
}

@font-face {
  font-family: "inge-variable",sans-serif;
  font-variation-settings: 'slnt' 0;
}


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

:root {
			/*showcase slider*/
   			--accent-color: #e63030;
            --text-main: #1a1a1a;
            --text-muted: #666;
            --bg-light: #f9f9f9;
            --transition-speed: 0.5s;
	
--vh-fix: 100svh; /*apple fix bug viewport*/
  --red:#e63030;
  --white:#ffffff;
  --dim:#9a9590;
  --nav-h:80px;
  --dark: #000000;
  --grey: #EFEFEF;
  --bluegrey: #445E6E;
  --nl-red: #cc0000;
  --nl-grey: #808080;
  --nl-black: #000000;
  --nl-white: #ffffff;
--text-gradient: linear-gradient(90deg, #ff0000, #ffffff);
	
/*buttons configuration*/
  --btn-height: 60px;
  --btn-padding: 0 40px;
  --btn-radius: calc(var(--btn-height) / 2); /* Always a perfect pill */
  --stroke-width: 4px;
  --anim-speed: 1.5s;
  --color-hover: rgba(233, 15, 15, 0.21);
	
    /* fuente */
    --titulo: 'Red Hat Display Black', Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	--parrafo: 'Red Hat Display', Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	--italic: 'Red Hat Italic', Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	--titulo2: 'Anton', Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	--condensed: 'inge-variable',sans-serif;
    
	/* size - clamp(min, preferred, max) */
  
  /* 1. Hero Title: Large, impactful, scales significantly */
  --hero: clamp(2.5rem, 6vw + 1rem, 5rem);

  /* 2. General Titles: Clear section headers (H2/H3 level) */
  --title: clamp(1.75rem, 3vw + 1rem, 2.5rem);

  /* 3. Paragraph: Standard body text (targeting ~16px to 18px) */
  --paragraph: clamp(1.3rem, 0.25vw + 0.9rem, 1.125rem);

  /* 4. Details Text: Slightly smaller for UI elements or captions */
  --details: clamp(0.875rem, 0.1vw + 0.8rem, 1rem);

  /* 5. Disclaimer Text: Smallest legible size for legal/fine print */
  --disclaimer: clamp(0.75rem, 0.75rem, 0.875rem);
	
	--small: 14px;
	--sm: clamp(18px,2vw,20px);
    --medium: clamp(11px,4vw,25px);
	--large: clamp(16px,9vw,60px);
    --XL: 30rem ; /*<--clamp(20px,6vw,60px) clamp = minimum, preferred size and maximum)*/
}

.highlight-bold {font-weight: 900}

.material-icons-outlined {color: var(--dim)}

/* Custom highlighted text */
::selection {
  background-color: var(--red); /* New highlight color */
  color: #000000;            /* New text color */
}

/* Mozilla Firefox support */
::-moz-selection {
  background-color: #ffcc00;
  color: #000000;
}



body{
  background: var(--white);
  color:var(--white);
  font-family: var(--titulo), sans-serif;
  overflow-x:hidden;
  /* min-height:200vh; so scroll works */
  min-height: var(--vh-fix);
}

h1 {font-family: var(--titulo); color: var(--rojo); font-size: var(--XL);}
p, ul, ol {font-family: var(--parrafo);color: var(--dark); font-size: var(--sm);}

hr {width: 100%; height: 1px; border: none; margin: 20px 0}
#logo-separator { display: none} /*hr under footer logo*/

/* ══════════════ NAV ══════════════ */


/* Logo */
.logo{
  display:flex;align-items:center;gap:10px;
  font-family: var(--titulo),serif;
  font-weight:700;font-size:22px;
  letter-spacing:0.08em;
  text-decoration:none;color:var(--white);
  flex-shrink:0;
}
.logo-mark{
  width:36px;height:36px;
  border:2px solid var(--red);
  border-radius:6px;
  display:flex;align-items:center;justify-content:center;
  font-size:16px;font-weight:800;color:var(--red);
  letter-spacing:0;
}

/* ══════════════ DESKTOP NAV (Visible by default) ══════════════ */
    .nav-container {
      position: fixed;
      top: 0; left: 0; width: 100%;
      height: 80px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 50px;
      z-index: 1000;
      background: transparent; /* Start transparent */
      transition: background 0.4s ease;
    }

    /* Background change on scroll */
    .nav-container.scrolled {
      background: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); /* Crucial for Safari compatibility */
  
    }

    .logo img {
      height: 50px; /* Adjust based on your image */
      display: block;
	  margin: 0;
    }
	
	/*menu bar style on desktop*/
    .desktop-links {
      display: flex;
      list-style: none;
      gap: 30px;
    }

	 .desktop-links a {
	  font-family: var(--parrafo), sans-serif;
	  text-decoration:none;
	  color:var(--dim);
	  font-size:12px;
	  letter-spacing:0.12em;
	  text-transform:uppercase;
	  transition:color 0.25s;
	  position:relative;
		 border: 0px solid yellow;
	 }

	.desktop-links a::after{
	  content:'';position:absolute;bottom:-3px;left:0;right:0;
	  height:1px;background:var(--red);
	  transform:scaleX(0);transform-origin:left;
	  transition:transform 0.3s ease;
	}
	.desktop-links a:hover{color:var(--white);}
	.desktop-links a:hover::after{transform:scaleX(1);}

    /* Special style for Client Portal */
    .desktop-links .portal a {
      border: 1px solid var(--red);
      padding: 8px 15px;
      border-radius: 20px;
      color: var(--red);
    }

	.desktop-links svg, #idioma {
	margin: auto 0;
	fill:var(--dim);
	}

	
.desktop-links svg:hover {
	fill: #ffffff;
}


    /* ══════════════ MOBILE ELEMENTS ══════════════ */
    /* Hide checkbox and menu button on desktop */
    input[type="checkbox"], .menu-btn { display: none; }

    .wrapper {
      position: fixed;
      top: 0; right: -100%;
      height: 100%; width: 100%;
      background: #000;
      transition: all 0.6s ease-in-out;
      z-index: 1500;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* ══════════════ MEDIA QUERY (Mobiles) ══════════════ */
    @media (max-width: 1024px) {
      .desktop-links { display: none; } /* Hide desktop links */
      
      .menu-btn {
        display: block; /* Show hamburger */
        position: fixed;
        z-index: 2000;
        right: 20px; top: 15px;
        height: 50px; width: 50px;
        cursor: pointer;
      }

      /* Animated Red Lines */
      .menu-btn span, .menu-btn:before, .menu-btn:after {
        content: "";
        position: absolute;
        top: 50%; left: 20%;
        width: 60%;
        border-bottom: 2px solid var(--red);
        transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
      }
      .menu-btn:before { transform: translateY(-8px); }
      .menu-btn:after { transform: translateY(8px); }

      /* X Animation */
      #active:checked + .menu-btn span { transform: scaleX(0); }
      #active:checked + .menu-btn:before { transform: rotate(45deg); border-color: var(--red); }
      #active:checked + .menu-btn:after { transform: rotate(-45deg); border-color: var(--red); }

      #active:checked ~ .wrapper { right: 0; }
    }

    /* Mobile Menu List Styling */
    .wrapper ul { list-style: none; text-align: center; }
    .wrapper ul li { margin: 20px 0; }
    .wrapper ul li a {
      text-decoration: none; font-size: 30px; color: var(--red); font-family: var(--titulo);
      text-transform: uppercase; opacity: 0;
      transition: all 0.3s ease;
      display: inline-block;
    }

    #active:checked ~ .wrapper ul li a {
      opacity: 1;
      transform: translateX(0);
      transition-delay: 0.4s;
    }

  
/* ══════════════ HERO ══════════════ */

.hero-video {
	position: absolute;
	opacity: 0.25;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background-image: url("../media/fallback-bg-xbit.jpg");
	background-size: cover;
	background-position: center;
}



/* ── Dot canvas background ── */



/* 1. Center the entire section */
.hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /*min-height: 100vh;  Full screen height */
  background-color: #111; /* Matching your dark theme */
  padding: 40px;
  min-height: var(--vh-fix);
}

.centered-title {
  text-align: center;
  border: 0px solid yellow;
  width: 70%; /*main title width*/
  z-index:3;
}

.subtitle {	
	font-family: var(--parrafo), sans-serif;
	font-size: var(--medium);
	text-transform: uppercase;
}

/* 2. Style the main H1 */
#multiline-title {
  color: var(--white);
  font-family: var(--titulo), sans-serif; /* Your chosen font */
  font-size: 3rem; /* Adjust as needed */
  line-height: 1.4; /* Give space between lines */
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 0px solid purple;
  margin: 3vh 0;
}

/* 3. Style and define the underline animation for each span */
#multiline-title .line {
  position: relative;
  display: inline-block; /* Crucial for animation to respect text width */
  opacity: 0; /* Start invisible */
  transform: translateY(10px); /* Start slightly down */
  
  /* Animation 1: Fade and Slide Up (handles the text itself) */
  animation: fadeInSlideUp 0.8s ease forwards;
}

/* 4. Define the underline (::after pseudo-element) */
#multiline-title .line::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0px; /* Position underline */
  width: 0%; /* Start at 0 width */
  height: 4px; /* Underline thickness */
  background-color: var(--red);
  
  /* Animation 2: Underline Expand (draws the red line) */
  animation: underlineExpand 1s ease-in-out forwards;
}

/* 5. Stagger the animations (delay each line) */
/* This creates the cascading "waterfall" effect */

/* Line 2 starts after Line 1 is mostly visible */
#multiline-title .line:nth-child(3) { animation-delay: 0.6s; }
#multiline-title .line:nth-child(3)::after { animation-delay: 1.0s; }

/* Line 3 starts later */
#multiline-title .line:nth-child(5) { animation-delay: 1.2s; }
#multiline-title .line:nth-child(5)::after { animation-delay: 1.6s; }

/* Line 4 starts last */
#multiline-title .line:nth-child(7) { animation-delay: 1.8s; }
#multiline-title .line:nth-child(7)::after { animation-delay: 2.2s; }

/* (Wait, why child 3, 5, 7? Because <br> tags count as children!) */
/* Let's simplify and just use consecutive selectors for clarity */
#multiline-title br { display: none; } /* On large screens, we might not need forced breaks */

/* Adjusting selectors to be cleaner (ignores <br> tags) */
#multiline-title span:nth-of-type(1) { animation-delay: 0.0s; }
#multiline-title span:nth-of-type(1)::after { animation-delay: 0.4s; }

#multiline-title span:nth-of-type(2) { animation-delay: 0.6s; }
#multiline-title span:nth-of-type(2)::after { animation-delay: 1.0s; }

#multiline-title span:nth-of-type(3) { animation-delay: 1.2s; }
#multiline-title span:nth-of-type(3)::after { animation-delay: 1.6s; }

#multiline-title span:nth-of-type(4) { animation-delay: 1.8s; }
#multiline-title span:nth-of-type(4)::after { animation-delay: 2.2s; }

/* 6. Keyframe Definitions */

/* Animation 1: Fade and Slide Up */
@keyframes fadeInSlideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation 2: Expand Underline Width */
@keyframes underlineExpand {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

/* 7. Responsive adjustments */
@media (max-width: 1024px) {
  #multiline-title {
    font-size: 2rem;
  }
	
	#multiline-title .line::after {
  height: 0px; /* disable underline animation on mobile */
}

	.centered-title {
  width: 100%; /*main title width*/
}
	
	.centered-title .line {
	text-decoration-line: underline; /* Adds an underline */
  	text-decoration-color: var(--red); /* Underline color is red */
	}
}

/* ── Scroll hint ── */
.scroll-hint{
  font-family: var(--parrafo), sans-serif;
  position:absolute;bottom:36px;left:50%;transform:translateX(-50%);
  z-index:3;
  display:flex;flex-direction:column;align-items:center;gap:8px;
  color:var(--dim);font-size:10px;letter-spacing:0.2em;text-transform:uppercase;
}
.scroll-hint-line{
  width:1px;height:48px;
  background:linear-gradient(to bottom,transparent,var(--red));
  animation:scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse{
  0%,100%{opacity:0.3;transform:scaleY(0.7);}
  50%{opacity:1;transform:scaleY(1);}
}

/* placeholder content below hero */
.below{
  height:100vh;
  display:flex;align-items:center;justify-content:center;
  color:var(--dim);font-size:14px;letter-spacing:0.2em;text-transform:uppercase;
}


/*WHATSAPP*/


.whatsapp-button {
	position: fixed;
	z-index: 2;
	margin: auto;
	width:100px;
	height:60px;
	bottom:20px;
	left:5px;
	background-color: transparent;
	color:#FFF;
	text-align:center;
	  animation-name: whatsapp;
  animation-duration: 2s;
  animation-iteration-count: 1;
	opacity: 0.8;
	border: 0px solid red;
}

.whatsapp-button:hover {
	 animation: smooth-shake 0.5s ease-in-out;
	opacity: 1;
}

@keyframes smooth-shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(5px); }
  50% { transform: translateY(-5px); }
  75% { transform: translateX(5px); }
  100% { transform: translateY(0); }
}

@keyframes whatsapp {
	from {bottom: 0; opacity: 0;}
	to {bottom:20px; opacity: 0.8;}
	
}

.title-whatsapp {
	background-color: #25d366;
	color: #4F4D46;
	border-radius:10px;
	font-weight: 700;
	padding: 10px;
	font-size: var(--small);
	font-family: var(--parrafo);
	margin-bottom: 5px;
}

#whatsapp-img {
	text-align: left;
	width: 60px;
	height: auto;
	background-color: transparent;
}

@media (max-width: 768px) {
	
	#whatsapp-img {
	width: 45px;
}
	
	.whatsapp-button {
	border: 0px solid red;
	bottom:7px;
	left:7px;
	width:60px;
	height:auto;
	}
	
	@keyframes whatsapp {
	from {bottom: 0; opacity: 0;}
	to {bottom:7px; opacity: 0.8;}
	
}
	
}


/* --- BUTTONS CONFIGURATION --*/

.btn-xbit {
  /* Layout: Button grows with text */
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--btn-height);
  padding: var(--btn-padding);
  margin: 80px 0 0 0;
  z-index: 3;
  
	
  /* Styling */
  background: transparent;
  border: 1px solid var(--red); /* Faint base border */
  border-radius: var(--btn-radius);
  color: var(--dim);
  font-family: var(--titulo) , sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  overflow: hidden; /* Clips the sliding text */
  
  /* The 1.5s background transition */
  transition: background-color var(--anim-speed) ease, color var(--anim-speed) ease;
}

 button .btn-xbit  {
	margin: 200px 0 0 0;
}

/* xbit Text Slide Effect */
.btn-content {
  display: block;
  transition: transform 0.3s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.3s;
}

.btn-xbit::after {
  content: attr(data-text);
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  left: 0;
  opacity: 0;
  transform: translate3d(0, 50%, 0);
  transition: transform 0.3s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.3s;
}

/* The SVG Overlay */
.btn-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  fill: none;
  pointer-events: none;
  overflow: visible; /* Prevents the stroke from cutting off */
}

.btn-outline {
  /* Using the variables to ensure the radius matches the button */
  rx: var(--btn-radius);
  ry: var(--btn-radius);
  stroke: var(--color-hover);
  stroke-width: var(--stroke-width);
  
  /* The Perimeter Animation */
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  stroke-linecap: round;
  transition: stroke-dashoffset var(--anim-speed) linear;
}

/* --- HOVER STATES --- */

.btn-xbit:hover {
  background-color: var(--color-hover);
  color: var(--white);
}

/* Slide text up */
.btn-xbit:hover .btn-content {
  opacity: 0;
  transform: translate3d(0, -50%, 0);
}

.btn-xbit:hover::after {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Animate the border */
.btn-xbit:hover .btn-outline {
  stroke-dashoffset: 0;
  stroke: var(--red); /* Changes to white to see it over the blue background */
}


/* FADE-IN GENERAL ANIMATION */

/* The initial state of the element */
.fade-in-scroll {
  opacity: 0;
  transform: translateY(30px) scale(1.005); /* Adjust distance as needed */
  transition: opacity 1s ease-out, transform 1s ease-out;
  will-change: opacity, transform;
}

/* The state when the element enters the viewport */
.fade-in-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/*FOR PEOPLE WITH SIGHT DISORDERS*/

@media (prefers-reduced-motion: reduce) {
  .fade-in-scroll {
    transition: none;
    transform: none;
    opacity: 1;
  }
}


/* ABOUT SECTION*/

.about {
	width: 100%;
	border: 0px solid orange;
	box-sizing: border-box;
	padding: 0 10%;
	background-color: var(--dark);
	min-height: 70vh;
	display: flex;
	justify-content: center;
background: #000000;
border-bottom: 5px solid var(--red);
background-image: url("../media/bg-about-xbit.jpg");
background-position: center;
background-size: cover;
/*backgroundImage: radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.5) 100%);
opacity: 0.95;
background:
         linear-gradient(0deg, rgba(0,0,0,0.6), rgba(0,0,0,0.6)), radial-gradient(68% 58% at 50% 50%, #c81e3a 0%, #a51d35 16%, #7d1a2f 32%, #591828 46%, #3c1722 60%, #2a151d 72%, #1f1317 84%, #141013 94%, #0a0a0a 100%), radial-gradient(90% 75% at 50% 50%, rgba(228,42,66,0.06) 0%, rgba(228,42,66,0) 55%), radial-gradient(150% 120% at 8% 8%, rgba(0,0,0,0) 42%, #0b0a0a 82%, #070707 100%), radial-gradient(150% 120% at 92% 92%, rgba(0,0,0,0) 42%, #0b0a0a 82%, #070707 100%), radial-gradient(60% 50% at 50% 60%, rgba(240,60,80,0.06), rgba(0,0,0,0) 60%), #050505;*/

}

.wrap {
	border: 0px solid red;
	width: 100%;
	margin: 0 0 30px 0;
	display: flex;
	justify-content: center;
	flex-direction: row;
	align-items: center;
}

.reel-video, .about-text {
	width: 50%;
}

#reel {
	width: 90%;
	height: auto;
	aspect-ratio: 4 / 3;
	border: 0px solid blue;
	border-radius: 20px;
}

.about-text {
	color: var(--white);
	margin: 80px 0 30px 0;
}

.about-text a {
	color: var(--white);
	text-decoration: none;
}

h2 {
	text-transform: uppercase;
	font-family: var(--italic), sans-serif;
	margin: 0;
	border: 0px solid blue;
}

.about-text .highlight {
	font-size: var(--large);
	color: var(--red);
	
}

.highlight {
	font-family: var(--titulo), sans-serif;
	font-size: 3rem;
	font-weight: 700;
	margin: 0;
	border: 0px solid blue;
	color: var(--white);
}


.about-text .highlight-p {
	color: var(--white);
	font-weight: 900;
	font-family: var(--titulo);
}

.about-text p {
	border: 0px solid blue;
	margin: 20px 0;
	font-size: var(--sm);
	color: var(--white);
}

#model-container {
	border: 0px solid blue;
	width: 50%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-content: center;
}

model-viewer {
	border: 0px solid blue;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-content: center;
}

/* SERVICES TITLE */

.scroll-container {
  width: 100%;
  height: 20vh;
  background: transparent;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; /* Space between the two words when they meet */
  border: 0px solid red;
  box-sizing: border-box;
}

#scroll-container-bottom {
	margin-bottom: 30px;
}

.sliding-text-wrapper {
  opacity: 0;
  will-change: transform, opacity;
  transition: transform 0.1s linear, opacity 0.1s linear;
}

.sliding-text-wrapper span {
	font-family: var(--titulo), sans-serif;
}

/* Initial States */
.ltr { transform: translateX(-100%); } /* Starts way off left */
.rtl { transform: translateX(100%); }  /* Starts way off right */

.gradient-text {
  font-family: var(--italic), sans-serif;
  font-size: var(--hero); /* Adjusted for two words side-by-side */
  background: linear-gradient(90deg, #ff0000, #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
	.scroll-container {width: 90%; margin: 0 auto; height: 15vh}
	.sliding-text-wrapper {display: flex; flex-direction: row;}
	.gradient-text {font-size: 5vh; text-align: left}
}

/* SLIDER*/

.slider-section {
  position: relative;
  width: 80%;
  height: 80vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
	border: 0px solid blue;
	border-radius: 20px;
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

/* Video Styling */
.video-container {
  position: absolute;
  inset: 0;
  z-index: 1;
}

#bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6; /* Video transparency */
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3); /* Darkens video for text readability */
}

/* Slides Content */
.wrap-servicios {
		margin-bottom: 100px;
		border: 0px solid blue;
	}

.slides-container {
  position: relative;
  z-index: 10;
  width: 80%;
  text-align: left; 
  border: 0px solid purple;
  /* user-select: none;
   -webkit-user-drag: none;*/ /* User selection deactivation*/
}



.red-arrow {
	color: var(--red);
}

.img-servicio {
  position: absolute;
  /* Fixed positioning relative to .slider-section */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1); /* Initial state */
  
  /* Fill the 80vh height and 80% width container */
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  
  /* Layering: behind the text (z-index 10), but maybe in front of video */
  z-index: -1; 
  opacity: 0.3;
  
  /* Smooth transition for the zoom effect */
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s ease;
  pointer-events: none; /* Let clicks pass through to the links */
}

/* 2. The Zoom-In Effect on Hover */
.slider-section:hover .slide.active .img-servicio {
  transform: translate(-50%, -50%) scale(1.10);
}


.slide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
  border: 0px solid blue;
	
}

.slide img {
    pointer-events: none; /* Prevents dragging the image itself */
}

.slide.active {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) translateY(0);
  border: 0px solid red;

}

.slide-title {
  font-family: var(--titulo), sans-serif;
  font-size: var(--large);
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.slide-desc { /*description of the service*/
  font-family: var(--parrafo), sans-serif;
  color: #ddd;
  font-size: var(--sm);
  max-width: 600px;
  margin: 0;  /*define text aligment*/
  text-align: left;
  border: 0px solid red;
}

.slide ul, .slide a {
	color: var(--white);
	text-decoration: none;
	text-decoration-color: var(--red);
	font-family: var(--titulo), sans-serif;
	font-size: var(--sm);
	list-style-type: none;
	text-underline-offset: 5px ;
}

.slide ul {
	border: 0px solid purple;
	width: auto;
}


.slides-container .slide ul li {
  transform: translateX(0);
  transition: transform 0.3s ease-out; 
  /* Optional: keeps the movement crisp on high-res screens */
  backface-visibility: hidden;
}

.slides-container .slide ul li:hover{
	transform: translateX(10px);
	text-decoration: underline;
	text-decoration-color: var(--red);
	font-family: var(--titulo), sans-serif;
}

.arrow-square {
	width: 24px;
	height: 24px;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	background: var(--red);
	margin: 0 5px;
}

.arrow-square svg {
	fill: var(--white);
	margin: 0;
	transition: 0.3s;
}

.arrow-square svg:hover {
	transform: scale(1.5);
}


.slide.active ul a li.cta-service {
	text-decoration: underline;
	text-decoration-color: var(--white);
	border: 0px solid red;
}

.slide.active ul a li.cta-service:hover {
	font-family: var(--parrafo);
}

.cta-service {
	margin: 20px 0 0 0;
	display: flex;
	flex-direction: row;
	text-decoration: none;
	width: 20%;
	font-family: var(--parrafo);
}
        

.controls button {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 30px;
  color: #fff;
  padding: 10px 20px;
  cursor: pointer;
  font-size: var(--sm);
  transition: 0.3s;
}

/* Controls (Top Right) */
.controls {
  position: absolute;
  top: 30px; /* Below your fixed nav */
  right: 3%;
  z-index: 20;
  display: flex;
  gap: 15px;
  border: 0px solid red;
  align-items: center;
}


.controls button:hover {
  background: var(--red);
  border-color: var(--red);
}

#services-title {
	text-transform: uppercase;
	font-family: var(--parrafo), sans-serif;
	color: var(--dim);
}



/* Dots (Bottom Center) */
.dots-container {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 12px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background: #ff0000;
  transform: scale(1.3);
}


/* SLIDER CONTROL */

.slider-container {
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
  background: transparent;
  position: relative;
  height: 80px;
  border: 0px solid blue;
  margin: 20px 0;
}

	 

.image-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  cursor: grab;
  will-change: transform;
  border: 0px solid green;
}

.image-track img {
  height: 30px;
  width: auto;
  user-select: none;
  -webkit-user-drag: none;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.image-track img:hover {
  filter: grayscale(0%);
}

/* ════════ LINE CONTROL ════════ */
.line-control-wrapper {
  width: 80%;
  margin: 15px auto;  /* Distance between line control and logos*/
  display: flex;
  justify-content: center;
  border: 0px solid pink;
}

#lineControl {
  -webkit-appearance: none;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  cursor: pointer;
}

/* The "Thumb" (the sliding part of the line) */
#lineControl::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 60px;
  height: 4px;
  background: #ff0000; /* Your theme red */
  cursor: pointer;
  transition: transform 0.2s;
}

#lineControl::-webkit-slider-thumb:hover {
  transform: scaleY(2);
}


/* CULTURE SECTION*/

.wrap-culture {
background: url("../media/bg-culture.jpg");
background-size: cover;
background-position: center;
background-attachment: fixed;
margin: 0;

}

.culture {
	border: 0px solid pink;
	width: 80%;
	height: 80vh;
	background-color: transparent;
	border-radius: 30px;
	margin: 80px 0;
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
	/*box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;*/

}

.culture p {
	font-size: var(--sm);
	margin: 0 0 0 0px;
}

#culture1, #culture2 {
	width: 40%;
	height: auto;
	border-radius: 30px;
	display: flex;
	justify-content: space-around;
	align-items: center;
	flex-direction: column;
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

#culture1 {
	border: 0px solid #000000;
	background: var(--grey);
	padding: 30px;
}

#culture1 span{
	color: var(--dark);
}

#culture2 {
	background-color: var(--red);
	padding: 2%;
	align-items: flex-start;
}


#culture1 .highlight, #culture2 .highlight {
	font-size: 2.2rem;
	margin: 0 0 5px 0;
}


#culture1 p {
	text-align: justify;
}


.highlight, #culture1 p {
	margin: 0 0 20px 0;
}



.highlight-dark {
	color: var(--dark);
}

.metodologia-wrap {
	display: flex;
	justify-content: center;
	flex-direction: row;
	align-items: center;
	border: 0px solid green;
	margin: 10px 0;
}

.metodologia-wrap img {
	width: 60px;
	height: auto;
	
}

.metodologia-wrap a {
	color: var(--dark);
	font-size: var(--medium);
	margin: 0 0 0 10px;
}

/* Featured work */

     /* Container setup */
        .slider-showcase-wrapper {
            width: 90%;
            max-width: 1000px;
            position: relative;
            background: #fff;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }

        /* The Viewport */
        .slider-showcase-viewport {
            display: flex;
            transition: transform var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* Individual Slide */
        .slider-showcase-item {
            min-width: 100%;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
        }

        /* Hero Media Section */
        .slider-showcase-hero {
            width: 100%;
            height: 500px;
            background: #000;
            overflow: hidden;
        }

        .slider-showcase-hero img, 
        .slider-showcase-hero video {
            width: 100%;
            height: 100%;
            object-fit: cover; /* Ensures media fills space without distortion */
            display: block;
        }

        /* Content Section */
        .slider-showcase-content {
            padding: 30px;
            text-align: center;
        }

        .slider-showcase-description {
            font-size: 1.2rem;
            color: var(--text-main);
            margin-bottom: 12px;
            line-height: 1.5;
            font-weight: 500;
			text-align: justify;
        }


		.highlight-showcase {font-family: var(--titulo); text-align: left}


        .slider-showcase-hashtags {
            font-size: 0.9rem;
            color: var(--accent-color);
            font-weight: bold;
            letter-spacing: 1px;
			text-align: left;
        }

        /* Navigation Buttons */
        .slider-showcase-nav-btn {
            position: absolute;
            top: 250px; /* Centered on the hero image */
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.8);
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            z-index: 10;
            font-size: 20px;
            transition: 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .slider-showcase-nav-btn:hover {
            background: var(--accent-color);
            color: white;
        }

        .slider-showcase-prev { left: 20px; }
        .slider-showcase-next { right: 20px; }

        /* Pagination Dots */
        .slider-showcase-dots-container {
            display: flex;
            justify-content: center;
            gap: 10px;
            padding-bottom: 25px;
        }

        .slider-showcase-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #ddd;
            cursor: pointer;
            transition: 0.3s;
        }

        .slider-showcase-dot.is-active {
            background: var(--accent-color);
            transform: scale(1.3);
        }


.proyectos-destacados {
	background: var(--dark);
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
	padding: 40px 0;
}

.destacado-orden {
	display: flex;
	justify-content: space-around;
	flex-direction: row;
	align-items: center;
	border: 0px solid green;
	width: 100%;
	padding: 20px;
	margin: 20px;
}

.destacado {
	width: 400px;
	height: 640px;
	border-radius: 30px;
	overflow: hidden;
	display: flex;
	justify-content: center;
	flex-direction: column;
	padding: 20px;
background: #445E6E;
background: -webkit-linear-gradient(175deg, rgba(68, 94, 110, 1) 0%, rgba(237, 27, 36, 1) 100%, rgba(0, 0, 0, 1) 0%);
background: -moz-linear-gradient(175deg, rgba(68, 94, 110, 1) 0%, rgba(237, 27, 36, 1) 100%, rgba(0, 0, 0, 1) 0%);
background: linear-gradient(175deg, rgba(68, 94, 110, 1) 0%, rgba(237, 27, 36, 1) 100%, rgba(0, 0, 0, 1) 0%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#445E6E", endColorstr="#000000", GradientType=0);
}


.destacado p {
	font-family: var(--parrafo);
	font-size: var(--small);
	color: var(--white);
	text-align: center;
	font-weight: 100;
}

.destacado iframe {
	border-radius: 30px;
	width: 100%;
	margin: 20px auto;
	text-align: center;
	height: 399px;
	border: 0px solid yellow;
}



.instagram-post {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center;     /* Centers vertically (if the div has a set height) */
    width: 100%;             /* Ensures the container spans the full width */
    padding: 20px 0;         /* Optional: gives some breathing room */
}

/* This forces the generated iframe to respect the centering */
.instagram-post iframe {
    margin: 0 auto !important;
}


.titulo-destacados {
	margin: 0 0 20px 0;
}

h4 {
	font-family: var(--parrafo);
	font-size: var(--large);
	color: var(--white);
	text-align: center;
}

.star {
  color: var(--red); /* Change the color with CSS */
  display: inline-block; /* Required for transforms to work on spans */
  font-size: 50px;
  animation: spin 5s linear infinite; /* Name, duration, timing, loop */
}

/* Define the spinning motion */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
        

h5 {
	font-family: var(--parrafo);
	font-size: var(--medium);
	color: var(--white);
	text-align: center;
	font-weight: 100;
}

.info-extra {
	display: flex;
	justify-content: center;
	align-items: center;
	border: 0px solid green;
	width: 80%;
	margin: 20px auto;
}


.info-extra img {
	margin: 0 5px;
	height: 20px;
	width: auto;
}

#newsletter {
	margin: 0 5px 0 0;
}

#schedule-contact {
	margin: 0 0 10px 0;
}

.submit-btn {
	cursor: pointer;
}

        
.form-section {
	width: 100%;
	border: 0px solid green;
	text-align: center;
	padding: 40px;
	background-color: #ffffff;
}

.form-wrap {
	width: 90%;
	text-align: center;
	border: 0px solid blue;
	margin: 20px auto;
	display: flex;
	justify-content: center;
	flex-direction: row;
	align-items: center;
}


.form-section .highlight{
			color: var(--red);
			border: 0px solid black;
			width: 90%;
	overflow: hidden;
	text-align: center;
		}

.form-section h2 {
	color: var(--red);
}

#form-title {}

.form-section img {
		width: 40%;
		height: auto;
		margin: 20px 10px;
		aspect-ratio: 1 / 1;
		border: 0px solid purple;
}

.g-recaptcha {
	width: 100%;
	margin: 0 0 15px 0;
}

/* CTA FAST RESPONSE */

.resp-rapida-wrap {
	border: 0px solid red;
	margin: 30px auto;
	width: 90%;
	display: flex;;
	flex-direction: row;
	align-items: center;
}

.resp-rapida-wrap-divisor {
	width: 90%;
	border: 0px solid blue;
	margin: 0 auto;
}

.resp-rapida-cta {
	border: 0px solid blue;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	margin: 30px 0;
}

.resp-rapida-cta a {
	text-decoration: none;
	color: var(--bluegrey);
	font-family: var(--titulo), sans-serif;
	font-size: var(--sm);
	display: flex;
	justify-content: center;
	align-items: center;
}

.resp-rapida-cta img {
	width: 30px;
	height: auto;
	margin: 0 5px 0 20px;
}

.resp-rapida {
	color: var(--bluegrey);
	font-size: var(--sm);
}

.horario-oficina {
	margin: 0 20px 0 0;
	font-size: var(--small);
}

.horarios img {
	width: 20px;
	height: auto;
	fill: var(--bluegrey);
	margin: 0 5px 0 0;
}

/*Tooltip texts*/

.tooltip { position: relative; font-size: var(--small); display: flex; justify-content: center; align-items: center;}
.tooltiptext {
  visibility: hidden;
  opacity: 0;
  width: 120px;
  background-color: #EAEAEA;
  color: var(--dark);
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  transition: opacity 0.3s;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
	font-size: var(--small);
}
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}


/*DISCOVERY SECTION*/

.discovery-section {
border: 0px solid green;
text-align: center;
padding: 60px 0;
background-color: #000000;
background-size: cover;
background-position: center;
 position: relative; /* Establish reference for absolute positioning */
  z-index: 1;
}

.discovery-section::before {
  content: "";
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background-image: url('../media/bg_now2.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.5; /* Set desired background image opacity here */
  z-index: -1; /* Push the image layer behind the text */
}

.discovery-wrap {
	width: 80%;
	text-align: center;
	margin: 0 auto;
	border: 0px solid yellow;
}

.discovery-wrap p {
		color: var(--white);
}
.discovery-wrap .discovery-resume {
	margin: 0 0 30px 0;
	width: 100%;
	color: var(--white);
}


.resume-wrapper {
	border: 0px solid white;

	
}

.discovery-resume {
	text-align: center;
	width: 100%;
	border: 0px solid purple;
}

.discovery-wrap2 {
	width: 80%;
	height: 100%;
	text-align: left;
	margin: 15px auto;
	padding: 60px 5px;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	border: 0px solid purple;
	background-color: var(--dark);
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); /* Crucial for Safari compatibility */
}

.discovery-wrap2 img, .resume-wrapper {
	width: 50%;
	margin: 0 10px;
	border: 0px solid purple;
	height: 100%;
}

.resume-wrapper {
	padding: 20px;
	/*background-color: var(--white);*/
	min-height: 400px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-radius: 10px;
}

.discovery-title {
	display: flex;
	justify-content: center;
	flex-direction: row;
	align-items: center;
}

.subtitulo {
	margin: 0 0 40px 0;
}

.discovery-wrap2 .discovery-cover {
	width: 400px;
	height: auto;
}

h6 {
	font-family: var(--titulo);
	font-size: 8vw;
	text-transform: uppercase;
	font-weight: 100;
}

/* button styling */

.resume-wrapper button {
	border: 1px solid var(--red); /* Faint base border */
	margin: 0;
	color: var(--white);
}


.resume-wrapper .btn-outline {
  stroke: var(--color-hover);
}

.resume-wrapper .btn-xbit:hover {
  background-color: var(--red);
  color: var(--white);
}

/* Animate the border */
.resume-wrapper .btn-xbit:hover .btn-outline {
  stroke: var(--red); /* Changes to white to see it over the blue background */
}


.cta-wrapper {
	display: flex;
	justify-content: space-around;
	flex-direction: row;
	align-items: center;
	align-content: center;
	border: 0px solid blue;
	background: transparent;
	width: 95%;
	margin: 0 auto;
	border-radius: 0 0 10px 10px;
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.cta-wrapper .btn-xbit {background:var(--red); color: #FFFFFF; margin: 0px auto; width:50%; border-radius: 0;}
.cta-wrapper .btn-xbit:hover {color: var(--dark);}



/* NEWSLETTER SUMBIT */

    .newsletter-overlay {
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0, 0, 0, 0.85);
        display: flex; align-items: center; justify-content: center;
        z-index: 1000;
    }

    .newsletter-modal-content {
        background: var(--nl-white);
        padding: 30px;
        width: 90%; max-width: 400px;
        border-radius: 14px;
        border-top: 6px solid var(--nl-red);
        position: relative;
        text-align: center;
        font-family: var(--parrafo), sans-serif;
		border: 0px solid green;
    }

    .newsletter-header-img { width: 100%; margin-bottom: 20px; border-radius: 2px; }

    .newsletter-close-btn {
        position: absolute; top: 10px; right: 15px;
        font-size: 28px; cursor: pointer; color: var(--nl-grey);
    }

    .newsletter-input {
        width: 100%;
		padding: 12px;
		margin: 5px 0;
        border: 1px solid #ccc; box-sizing: border-box;
		border-radius: 15px;
    }

    .newsletter-submit-btn {
        background: var(--nl-black);
        color: white;
		border: none;
		margin-top: 5px;
		padding: 12px 30px;
        font-weight: bold;
		cursor: pointer;
		width: 100%;
		border-radius: 15px;
    }

    .newsletter-submit-btn:hover { background: var(--nl-red); }

    .newsletter-success-title { color: var(--nl-red); margin-top: 10px; font-family: var(--titulo)}
	
	.newsletter-text {color: #000000}

	.newsletter-title {color: var(--red); margin: 5px 0; font-family: var(--titulo);}
	#newsletter-form-container p {color: var(--dark)}

	/* Animation Keyframes */
    @keyframes newsletterFadeDown {
        from {
            opacity: 0;
            transform: translateY(-50px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .newsletter-animate-down {
        animation: newsletterFadeDown 0.5s ease-out;
    }


/* MINIATURA */


#card-post {
	border: 0px solid red;
	width: 100%;
	margin: 0 auto;
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

#card-post iframe {
	border: 0px solid blue;
	width: 100%;
	height: 400px;
	overflow: hidden;
	border-radius: 10px;
	display: flex;
	flex-direction: row;
}



/* Footer */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 2rem 1rem;
  font-family: var(--parrafo), sans-serif;
  min-height: 300px;
  width: 100%;
  text-align: center;
  border: 0px solid yellow;
}


.footer-social {
	font-family: var(--titulo), sans-serif;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border: 0px solid yellow;
	margin: auto;
	width: 80%;
}

#footer-logo {
	width: 200px;
	height: auto;
	margin:0;
	border: 0px solid green;
}

.social-urls {
	border: 0px solid lightgreen;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 5px;
	width: auto;
	
}

.social-urls a:hover {
	transform: translateY(-8px);
	transition: transform 0.5s ease-in-out;
	background: var(--red);
	padding: 5px;
	border-radius: 5px;
}

.social-urls div {
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
	}


.social-urls img {
	width: auto;
	height: 30px;
	gap: 2rem;
	margin: 0 3px;
	filter: grayscale(0%);
}

h7 {
	font-size: var(--medium);
	margin: 0 10px 0 0;
}

.grid {
	min-height: 300px;
	border: 0px solid blue;
	padding: 0px;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: flex-start;
	width: 100%;
	margin: 30px 0 0 0;
	font-family: var(--parrafo), sans-serif;
}


.grid-sitemap {
	color: var(--white);
	width: 33%;
	min-height: 200px;
	border: 0px solid green;
	padding: 10px;
	text-align: center;
}

.grid-sitemap a, .grid-sitemap p {
	text-decoration: none;
	color: var(--dim);
	line-height: 35px;
	font-family: var(--parrafo), sans-serif;
	font-size: var(--sm);
}


.grid-sitemap div div {
	border: 0px solid red;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: row;
	gap: 5px;
}

/*Footer animations*/

.swipe-underline {
  text-decoration: none; /* Remove default underline */
  position: relative; /* Position context for the pseudo-element */
  color: black;
}

.swipe-underline::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px; /* Line thickness */
  bottom: -1px; /* Distance from text */
  left: 0;
  background-color: var(--red); /* Line color */
  
  /* Initial state: hidden */
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
  transform-origin: left; /* Starts animation from left */
}

.swipe-underline:hover::after {
  /* Hover state: visible */
  transform: scaleX(1);
}



.grid-sitemap h3 {
	font-size: var(--sm);
	font-family: var(--titulo);
	margin: 0 0 20px 0;
}

	#waze {
	margin: 20px auto;
	width: 400px;
	height: 350px;
}
	.waze-wrap{margin:5px auto;border-radius:10px;overflow:hidden;position:relative; width: 80%}
	.waze-wrap a {color: var(--dark)}
    .waze-wrap iframe{width:100%;height:250px;border:none;display:block;pointer-events:none;}
    .waze-cta{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:10px;padding:11px 14px;background:#33CCFF;color:#003C64;border-radius:8px;font-size:.85rem;font-weight:700;transition:var(--transition);}
    .waze-cta:hover{background:#1AB8F0;}
    .waze-cta .material-icons-outlined{font-size:18px; color: var(--dark)}
	.material-icons-outlined {margin: 0}

.copyright,  #year  {
	color: var(--white);
	font-family: var(--parrafo), sans-serif;
	font-size: var(--small);
}

/* RESPONSIVENESS BABY!*/

@media (max-width: 1024px) {
	
	   .nav-container {
	  padding: 0 50px 0 20px;}
	
	.hero-section button {
		font-size: var(--medium);
	}
	
	.culture p, .about-text p {
	font-size: var(--medium);
	
}
	
	.slide-desc, .slide ul, .slide a, #services-title {
  font-size: 2rem;
		}
	
	.subtitle {	
		font-size: 3rem;
	}
	
	
	#multiline-title {
		font-size: 3.5rem;
	}
	
	.slider-section {
		width: 100%;
		border-radius: 0px;
		margin-bottom: 0px;
	}

	.wrap-servicios {
		margin-bottom: 0px;
		border: 0px solid blue;
	}
	
	.cta-service {
	width: 100%
	
}
	
	.about {
		padding: 20px;
	}
	
	.wrap {
		flex-direction: column;
		width: 100%;
	}
	
	.reel-video, .about-text {
		width: 100%;
		margin: 30px 0;
}
	
	#reel {
		width: 100%;
		margin: 0 auto;
		aspect-ratio: 16 / 9;
	}
	
	.scroll-hint {
		display: none;
	}
	
	
	.slider-section {
		height: 90vh;
	}
	
.controls {
	margin: 0 auto;
	width: 90%;
	height: 100%;
	border: 0px solid green;
	padding: 10px 0;
	right: 0;
	top: 20px;
	left: 0;
	bottom: 0;
	justify-content: flex-end;
	align-items: flex-start;
	pointer-events: none; /* let taps pass through the empty area to the links below */
}


.controls button {
	background: var(--red);
	 border-color: var(--red);
	pointer-events: auto; /* re-enable taps on the actual arrow buttons */
}
	
	
	
	@media (max-width: 375px) {
		.controls {top: 2px; width: 95%}
		.controls button { width: 70px; height: 40px}
	}
	
	
	.culture {
		flex-direction: column;
		justify-content: center;
		width: 90%;
		height: auto;
		background-color: transparent;
		padding: 0;
		margin: 20px 0;
		box-shadow: none;
	}
	
	#culture1 {
		background-color: var(--grey);
	}
	
	#culture1, #culture2 {
		width: 100%;
		min-height: 600px;
		padding: 20px;
		margin: 20px;
		box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
	}
	
	#culture1 .highlight, #culture1 span {
		padding: 0px;
		border: 0px solid orange;
		width: 100%;
		font-size: 5vw;
	}
	
	#culture2 .highlight {
		font-size: 5vw;
	}
	
	.proyectos-destacados {
		padding: 20px 0;
		border: 0px solid orange;
	}
	
	.destacado-orden {
		flex-direction: column;
	}
	
	.destacado {
		height: auto; /* Allow the card to grow with the content */
        min-height: 640px; 
        padding-bottom: 30px;
		width: 80%;
		margin: 0 0 20px 0;
		border-radius: 0px;
	}
	
	.destacado iframe {
		border-radius: 0px;
	}
	
	.discovery-wrap {
		width: 90%;}
	
	
	.resume-wrapper {
		width: 100%;
	}
	
	#card-post {
	border: 0px solid red;
	width: 100%;
	margin: 0 auto;
}

	#card-post iframe {
	border: 0px solid blue;
	width: 100%;
	height: 400px;
	overflow: hidden;
	border-radius: 10px;
	display: flex;
	flex-direction: row;
}
		.form-wrap {
		flex-direction: column;
	}
	
	.cta-wrapper {
	justify-content: space-around;
	flex-direction: row;
	}
	
	.discovery-wrap2 img, .resume-wrapper button  {
		margin: 0 0 30px 0;
	}
	
	
	.footer-social {
		flex-direction: column;
		min-height: 400px;
		align-items: center;
		justify-content: space-around;
	}
	
	#logo-separator { 
		display: block
	}
	
	.social-urls {
		flex-direction: column;
		width: 100%;
	}
	
	.social-urls div {
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		width: 100%;
	}
	
	.social-urls img {
		
	}
	
	h7 {
	font-size: var(--large);
	margin: 0 0 15px 0;
	}
	
	.grid {
		flex-direction: column;
		align-items: center;
	}
	
	.grid-sitemap {
		width: 100%;
		margin: 20px 0;
	}
	
	#waze {
		width: 100%;
	}

	
	.metodologia-wrap a {
		font-size: 4vw;
	}
	
	.footer-social {
		width: 100%;
		margin: 0;
	justify-content: center;
	}

}

@media (max-width: 768px) {
	
	#model-container {
	width: 100%;
	height: 100%;
	margin: 0 auto;
	}
	
	model-viewer {
	width: 100%;
	height: 300px;

}
	
	  .slider-showcase-hero { height: 350px; }
      .slider-showcase-nav-btn { width: 40px; height: 40px; top: 175px; }
	
		.slide-desc, .slide ul, .slide a, #services-title {
  font-size: var(--sm);
		}
	
		.subtitle {	
		font-size: 1.3rem;
	}
	
	
	#multiline-title {
		font-size: 1.8rem;
	}

	
	#culture2 .highlight {
		font-size: 8vw;
	}
	
	#reel {
		width: 100%;
		margin: 0 auto;
		aspect-ratio: 1 / 1;
	}
	
	.discovery-wrap {
		width: 95%
	}
	
	.cta-wrapper {
	justify-content: center;
	flex-direction: column;
	border: 0px solid white;
	}

	.cta-wrapper .btn-xbit {margin: 10px auto; border-radius: 60px; width: 80%;}
	

	#card-post {
	border: 0px solid red;
	width: 100%;
	margin: 0 auto;
}

	#card-post iframe {
	border: 0px solid blue;
	width: 100%;
	height: 650px;
	overflow: hidden;
	border-radius: 10px;
	display: flex;
	flex-direction: row;
}
	
	
	#culture1 .highlight, #culture1 span {
		padding: 0px;
		border: 0px solid orange;
		width: 100%;
		font-size: 8vw;
	}
	
	.destacado {
		width: 100%;
		margin: 0 0 20px 0;
		border-radius: 0px;
	}
	
	.form-section {
		padding: 40px 15px;
		width: 100%;
	}
	
	.form-section img { 
		width: 100%;
	}
	
	
	.form-section .highlight {font-size: var(--title)}
	
	.xbit-form-container {
            max-width: 100%;
	}
	
	.resp-rapida-cta {
		border: 0px solid blue;
	}
	
	.resp-rapida-cta img {
		max-height: 60px;
		margin: 20px 0;
	}
	
	.horarios {
		display: flex;
		flex-direction: column;
		justify-content: center;
		margin: 20px 0;
	}
	
	.horarios img {
		max-height: 30px
	}
	
	.resp-rapida-cta a {
	margin: 0 0 30px 0;	
	}
	
	.resp-rapida-cta, .resp-rapida-cta a {
	flex-direction: column;
	}
	
	.metodologia-wrap a {
		font-size: 6vw;
	}
	

	h6 {
	font-size: 18vw;
}
	
	.footer {
		height: auto;
	}
	
	
}


@media (max-width: 500px) {
.proyectos-destacados {
		padding: 20px 0;
		border: 0px solid orange;
	}

	.slider-showcase-wrapper {border: 0px solid orange; width: 100%}

}