:root {
    --color-blue: #0F2B3F;
    --color-white: #F1F1F1;
    --color-orange: #F83C3C;
    --color-gray: #333333
}

@font-face {
  font-family: 'Mont';
  src: url(../fonts/Mont-Regular.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Mont';
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: var(--color-white);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: rgb(0, 0, 0);
  }

/* NAV  */
.main-nav{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background-color: transparent;
    padding: 1.2rem 5%;
    box-sizing: border-box;
    transition: padding 0.3s ease, background-color 0.3s ease;
}

.nav-container{
    display: flex;
  justify-content: space-between; 
  align-items: center; 
  max-width: 1300px;
  margin: 0 auto; 
}

.logo {
  color: var(--color-white);
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo h4{
  margin-top: -13px;
  font-size: 1.2rem;
  font-weight: 700;

}

.logo img {
  max-height: 130px; 
  width: auto;
  display: block; 
  transition: max-height 0.3s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem; 
}

.nav-links ul {
 
  list-style: none;
  margin: 0;
  padding: 0;

 
  display: flex;
  gap: 1.5rem;
}

.nav-links ul li a {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  transition: color 0.3s ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.nav-links ul li a:hover {
  color: #ddd; 
}

.main-nav.scrolled {
  padding: 0.5rem 5%; 
  background-color: var(--color-blue); 
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.main-nav.scrolled .logo img {
  max-height: 100px; 
}


.nav-toggle {
  display: none; 
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001; 
}

.nav-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--color-white, white); 
  transition: all 0.3s ease-in-out;
}

.main-nav.nav-open .nav-toggle .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.main-nav.nav-open .nav-toggle .bar:nth-child(2) {
  opacity: 0;
}
.main-nav.nav-open .nav-toggle .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero-section {
  background-color: #333;
  position: relative;
  overflow: hidden;
  height: 100vh; 
  color: var(--color-white); 
  display: flex;
  align-items: center;
  justify-content: flex-start; 
  padding: 0 5%;
  box-sizing: border-box; 
  padding-top: 150px;
}

.video-fondo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: 400px;
  height: auto;
  object-fit: fill;
  z-index: 1;
  filter: brightness(0.7);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 550px; 
  text-align: left;
}

.hero-content h1 {
  font-size: 3.9rem; 
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.3rem; 
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem; 
  align-items: center;
}


.btn {
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}


.btn-primary {
  background-color: var(--color-orange);
  color: var(--color-white);
  border-color: var(--color1);
}

.btnHero {
  font-size: 1.1rem;
}

.btn-primary:hover {
  background-color: var(--color-gray);
  border-color: var(--color-white);
}


.btn-secondary {
  background-color: var(--color-white);
  color: #212529;
  border-color: var(--color-white);
}

.btnHero {
  font-size: 1.1rem;
}

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

@media (max-width: 992px) {
  
 
  .nav-toggle {
    display: block;
  }
  
 
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(30, 30, 30, 0.98);
    
    
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    
   
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
  }

 
  .main-nav.nav-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  
  .nav-links ul {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .nav-links ul li a {
    font-size: 1.5rem; 
  }
  
  
  .nav-links .btn {
    width: 80%;
    max-width: 300px;
    text-align: center;
  }
}


@media (max-width: 768px) {
  
  .hero-section {
  
    justify-content: center;
    text-align: center;
    padding-top: 120px; 
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2.5rem; 
  }

  .hero-content p {
    font-size: 1rem; 
  }

  
  .hero-buttons {
    flex-direction: column;
    align-items: stretch; 
    width: 90%;
    margin: 0 auto; 
  }

  .hero-buttons .btn {
    width: 100%;
  }
}
/* VALORES */
.valores {
    padding: 2rem 1rem;
    max-width: 1200px;
    width: 100%;
    margin: auto;
}

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

.barra-container {
    width: 100%;
    max-width: 90%;
    background-color:white;
    margin: 30px 0;
    margin-bottom: 60px;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
    display: grid;
    gap: 1em;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.columna {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.columna-texto {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hijo1 {
    width: 80px;
    height: 80px;
    margin: 0;
    margin-bottom: 5px;
}

.hijo1 img {
    width: 100%;
    height: 100%;
    margin: 0;
}

.hijo2 {
    font-size: 14px;
    color: #555;
    line-height: 1.3em;
}

/* ABOUT US */
.about-us-section {
    width: 100%;
    padding: 40px 40px;
    box-sizing: border-box;
}

.about-us-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    gap: 7%;
}

.about-us-image-column {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.main-image {
    width: 100%;
    height: auto;
    display: block; 
    max-width: 800px;
}

.decorative-graphic {
    width: 100px;
    height: 100px;
    position: absolute;
    top: -20px;
    left: -20px;
    z-index: 1;
}

.social-icons {
    display: flex;
    gap: 25px;
    margin-top: 20px;
    justify-self: center;
}

.social-icons a {
    text-decoration: none;
    color: #222;
    font-size: 18px;
    font-weight: bold;
    cursor: default;
}

.about-us-content-column {
    flex: 1;
    min-width: 300px;
}

.about-us-content-column h2 {
    font-size: 4.5rem;
    font-weight: 900;
    color: #222;
    margin: 0 0 25px 0;
    letter-spacing: 1px;
}

.about-us-content-column p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.decorative-line {
    width: 60px;
    height: 6px;
    background-color: #222;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .about-us-section {
        padding: 40px 20px; 
    }

    .about-us-container {
        flex-direction: column; 
        gap: 40px;
    }
    
    .about-us-content-column h2 {
        font-size: 2.5rem; 
    }

    .decorative-graphic {
        width: 60px;
        height: 60px;
        top: -10px;
        left: -10px;
    }
}


/* SERVICIOS */
.services-section {
    padding: 20px 30px;
    overflow: hidden;
    position: relative;
    width: 95%;
}

.header-services {
  padding: 2em 3em;
  padding-top: 0;
}

.header-services h2 {
  font-size: 60px;
}

.services-carousel-container {
    width: 100%;
    position: relative;
}

.services-wrapper {
    display: flex;
    justify-content: flex-start;
    gap: 40px;
    padding: 0 5vw;
    transform: translateX(0);
    will-change: transform;
}

.service-card {
    position: relative;
    width: 350px;
    height: 450px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    flex-shrink: 0;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: fill  ;
    display: block;
    transition: transform 0.3s ease-in-out;
    will-change: transform;
}

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

.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    box-sizing: border-box;
}

.card-info h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.card-info .card-subtitle {
    margin: 5px 0 0 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.service-description-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px); 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    color: #fff;
    opacity: 0;
    visibility: hidden; 
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.service-description-overlay.active {
    opacity: 1;
    visibility: visible;
}

.description-text {
    font-size: 1.1rem;
    text-align: center;
    line-height: 1.6;
    margin: 0;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.service-description-overlay.active .description-text {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.1s;
}

@media (max-width: 768px) {

    .header-services h2 {
      text-align: center;
    }

    .services-section {
        padding: 20px 30px;
        overflow: hidden;
        position: relative;
        width: 100%;
    }

    .services-wrapper {
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
    }

    .service-card {
        width: 90%;
        max-width: 350px;
        height: 400px;
    }

    .services-section {
        padding: 40px 0;
    }
}

/* GALLERY */

.work-gallery {
  width: 100%;
  padding: 4rem 0; 
  background-color: var(--color-white); 
  color: #222; 
  overflow: hidden; 
}

.gallery-header {
  text-align: center;
  margin-bottom: 2rem;
}

.gallery-header .pre-title {
  
  color: var(--color1); 
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.gallery-header h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  margin: 0.5rem 0 0 0;
}



.slider {
  width: 100%;
  overflow: hidden; 
  margin: 1.5rem 0; 
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.slider-track {
  display: flex;
  width: max-content; 
  animation-play-state: running;
}

.slider:hover .slider-track {
  animation-play-state: paused;
}


.slider-track img {
  height: 180px; 
  width: auto;   
  min-width: 250px; 
  margin: 0 10px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.slider-track img:hover {
  transform: scale(1.05); 
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
   
    transform: translateX(-50%);
  }
}


@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

#slider-1 .slider-track {
  animation: scroll-left 40s linear infinite;
}

#slider-2 .slider-track {
  animation: scroll-right 40s linear infinite;
}

@media (max-width: 768px) {
  .slider-track img {
    height: 150px;
    min-width: 200px;
  }
  

  .slider {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* Reviews  */

.reviews-section {
  background-color: var(--color-gray);
  color: var(--color-white);
  padding: 4rem 5%;
   overflow: hidden; 
}

.reviews-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.reviews-header h2 {
  font-size: clamp(2.2rem, 5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.reviews-header p {
  font-size: 1rem;
  color: #ccc;
  max-width: 400px;
  margin: 0 auto;
}

.reviews-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap; 
}

.review-button {
  display: flex;
  align-items: center;
  background-color: var(--color-blue); 
  color: var(--color-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  
  /* Redondeo */
  border-radius: 8px;
  overflow: hidden; 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.button-icon {
  background-color: var(--color-white);
  padding: 10px;
  display: grid;
  place-items: center;
}

.button-icon svg {
  width: 24px;
  height: 24px;
}

.button-text {
  padding: 10px 20px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.review-card {
  background-color: var(--color-white);
  color: #222;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%; 
  box-sizing: border-box; 
}

.review-stars {
  color: #fbbc05; 
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.review-text {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end; 
  margin-top: 1.5rem;
}

.review-author strong {
  display: block;
  font-size: 1rem;
  color: #111;
}

.review-author span {
  font-size: 0.9rem;
  color: #555;
}

.review-source svg {
  width: 28px;
  height: 28px;
}



@media (max-width: 992px) {
  
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .reviews-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .review-button {
    width: 90%;
    max-width: 350px;
    justify-content: flex-start; 
  }

  .button-text {
    flex-grow: 1; 
    text-align: center;
  }
}

/*  FAQ  */
.faq-section {
  width: 100%;
  max-width: 800px; 
  margin: 4rem auto; 
  padding: 2rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-black);
  background-color: var(--color-white);
}

.faq-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
}

.faq-container {
  border-top: 1px solid #e0e0e0;
}

.faq-item {
  border-bottom: 1px solid #e0e0e0;
}


.faq-question {
  background: none;
  border: none;
  padding: 1.5rem 0;
  width: 100%;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: #000;
}


.faq-arrow {
  display: inline-block;
  border: solid #000;
  border-width: 0 2px 2px 0; 
  padding: 4px;

  transform: rotate(45deg); 
  transition: transform 0.3s ease;
}


.faq-answer {
 
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-answer p {
  padding-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}



.faq-item.active .faq-arrow {
  
  transform: rotate(-135deg); 
}

.faq-item.active .faq-question {
  
  color: #555;
}

/*  CTA  */
.cta-section {
  background-color: var(--color-gray); 
  padding: 4rem 5%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-white);
}

.cta-container {
  display: grid;
  
  grid-template-columns: 1fr 1fr; 
  align-items: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}


.cta-content h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem); 
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 500px; 
  opacity: 0.9;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 700;
  transition: opacity 0.3s ease;
}

.cta-phone:hover {
  opacity: 0.8;
}

.cta-phone svg {
  width: 24px;
  height: 24px;
}


.cta-form-container {
  background-color: var(--color-white);
  color: #333;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.25rem;
}


.cta-form-container input[type="text"],
.cta-form-container input[type="tel"],
.cta-form-container input[type="email"],
.cta-form-container select {
  width: 100%;
  padding: 14px 16px;
  background-color: var(--color-blue);
  color: var(--color-white);
  border: 1px solid var(--color-white); 
  border-radius: 4px;
  font-size: 1rem;
  box-sizing: border-box; 
}


.cta-form-container ::placeholder {
  color: #b0c4de; 
  opacity: 1;
}


.cta-form-container select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20fill%3D%22%23ffffff%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M7%2010l5%205%205-5H7z%22%2F%3E%3C%2Fsvg%3E');
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 1em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}


.form-recaptcha-placeholder {
  height: 78px;
  background: #f9f9f9;
  border: 1px solid #d3d3d3;
  border-radius: 4px;
  display: grid;
  place-items: center;
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}


.btn-submit {
  width: 100%;
  padding: 1rem;
  background-color: var(--color-orange);
  color: var(--color-white);
  border: none;
  border-radius: 4px;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-submit:hover {
  background-color: #f32d2d; 
}



@media (max-width: 992px) {
 
  .cta-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .cta-content {
    text-align: center; 
  }

  .cta-phone {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .cta-section {
    padding: 3rem 5%;
  }

 
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .cta-form-container {
    padding: 2rem 1.5rem; 
  }
}

/* FOOTER */
.site-footer {
    width: 100%;
    color: #ffffff; /* Color de texto general del footer */
}

.footer-social-bar {
    display: flex;
    width: 100%;
}

.social-link {
    flex: 1;
    padding: 20px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 1.8rem;
    /* Claves para el efecto cortina */
    position: relative; /* Contenedor para la cortina */
    overflow: hidden;   /* Esconde la cortina fuera de los límites */
    z-index: 1;         /* Establece un contexto de apilamiento */
}

/* El icono (o la letra en este caso) */
.social-link span {
    position: relative;
    z-index: 3; /* El icono SIEMPRE va encima de la cortina */
    transition: transform 0.3s ease; /* Efecto sutil al icono */
}

/* La "Cortina" (pseudo-elemento ::before) */
.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* Cortina negra semitransparente */
    
    /* Inicia 100% abajo (fuera de vista) */
    transform: translateY(100%); 
    
    transition: transform 0.3s ease-in-out; /* Animación de la cortina */
    z-index: 2; /* Detrás del icono, delante del fondo */
}

/* El Hover (Cuando pasas el cursor) */
.social-link:hover::before {
    transform: translateY(0); /* Mueve la cortina a su lugar (0%) */
}
.social-link:hover span {
    transform: scale(1.1); /* Agranda un poco el icono */
}


/* Colores de fondo de cada red */
.facebook-bg { background-color: #3b5998; }
.instagram-bg { background-color: #C13584; }
.linkedin-bg { background-color: #0077b5; }


/* =========================================
  Contenido Principal del Footer
=========================================
*/
.footer-main {
    background-color: #0d233f; /* Azul naval oscuro */
    padding: 60px 0;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-main h2 {
    text-align: center;
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 40px;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap; /* Para que se apilen en móvil */
    justify-content: space-between;
    gap: 30px; /* Espacio entre columnas */
}

.footer-column {
    flex: 1; /* Ocupa el espacio disponible */
    min-width: 280px; /* Ancho mínimo antes de apilarse */
    text-align: center;
}

.footer-column h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-column p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ccc; /* Texto un poco más claro que el blanco */
    margin: 0 0 15px 0;
}

.license-info {
    font-size: 0.8rem !important;
    color: #aaa !important;
}

/* Estilos de la lista de Quick Links */
.quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links li {
    margin-bottom: 12px;
}

.quick-links a {
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.quick-links a:hover {
    color: #fff;
    padding-left: 5px; /* Efecto sutil de desplazamiento */
}


/* =========================================
  Barra de Copyright (Inferior)
=========================================
*/
.footer-bottom {
    background-color: #081729; /* Un azul aún más oscuro */
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 0.85rem;
}

.footer-bottom p {
    margin: 0;
}


/* =========================================
  Diseño Responsivo (Móvil)
=========================================
*/
@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column; /* Apila las columnas */
        gap: 40px; /* Aumenta el espacio vertical */
    }

    .footer-main h2 {
        font-size: 1.6rem;
    }

    .social-link {
        padding: 15px 10px;
        font-size: 1.5rem; /* Iconos más pequeños */
    }
}

/* =========================================
  Meet The Team Section
========================================= */

.team-section {
    width: 100%;
    padding: 4rem 5%;
    background-color: var(--color-white); /* Usa el fondo blanco de tu web */
    color: #222;
    box-sizing: border-box;
    overflow: hidden;
}

.team-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.team-header h2 {
    font-size: clamp(2.2rem, 5vw, 2.8rem); /* Estilo de título similar a "Reviews" */
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #222;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    max-width: 1300px;
    margin: 0 auto;
}

.team-card {
    text-align: center;
    width: calc(25% - 2rem);
    min-width: 220px;
}

.team-image-wrapper {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto; /* Centrado y con espacio abajo */
    padding: 5px; /* Espacio para el borde de color */
    border: 4px solid; /* El borde tendrá el color de la clase helper */
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-image-wrapper:hover {
    transform: scale(1.05);
}

.team-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen llene el círculo */
    border-radius: 50%; /* Hace la imagen circular */
}

/* Clases de colores para los bordes (tomadas del ejemplo) */
.border-red { border-color: var(--color-orange); } /* Re-usando tu variable */
.border-purple { border-color: #9B59B6; }
.border-blue { border-color: #3498DB; }
.border-teal { border-color: #1ABC9C; }


.team-info h3 {
    font-family: 'Mont', sans-serif; /* Asegura la fuente */
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.team-info p {
    font-family: 'Mont', sans-serif; /* Asegura la fuente */
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    padding: 0 10px; /* Evita que el texto se pegue a los bordes en móvil */
}

/* --- Responsividad para la sección Team --- */

@media (max-width: 992px) {
    .team-card {
        width: calc(50% - 2.5rem); 
    }
}

@media (max-width: 768px) {
    .team-section {
        padding: 3rem 5%;
    }

    .team-header h2 {
        font-size: 2rem;
    }

    .team-card {
        width: 100%;
    }
    
    .team-image-wrapper {
        width: 130px;
        height: 130px;
    }
    
    #foot-text-left {
      text-align: center;
    }

    #foot-text-right {
      text-align: center;
    }
}

section[id] {
  scroll-margin-top: 110px;
}

/* =========================================
  Estilos para el Acordeón de Servicios
========================================= */

.service-accordion-container {
    width: 100%;
    max-width: 1300px;
    margin: 2rem auto 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.service-accordion-item {
    border-bottom: 2px solid #ddd;
}
.service-accordion-item:first-of-type {
    border-top: 2px solid #ddd;
}

.service-accordion-trigger {
    background: none;
    border: none;
    padding: 1.5rem 0.5rem;
    width: 100%;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-blue);
    transition: background-color 0.3s ease;
}

.service-accordion-trigger:hover {
    background-color: #f9f9f9;
}

.service-accordion-trigger span {
    font-family: 'Mont', sans-serif;
}

.accordion-arrow {
    display: inline-block;
    border: solid var(--color-blue);
    border-width: 0 3px 3px 0; 
    padding: 5px;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.service-accordion-item.active .accordion-arrow {
    transform: rotate(-135deg);
}

.service-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0;
    box-sizing: border-box;
}

/* Importante: Mueve el padding al contenido 
   para que no se vea raro al colapsar */
.service-accordion-content .services-carousel-container {
    padding: 2rem 0;
}

.service-accordion-content .services-wrapper {
    padding: 0 5vw;
}

@media (max-width: 768px) {
    .service-accordion-trigger {
        font-size: 1.2rem;
        padding: 1.2rem 0.5rem;
    }
}

.chat-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--color-blue);
  color: white;
  padding: 15px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 15px;
  z-index: 1000;
}


.chat-window {
  display: none; 
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 300px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border: 1px solid #ddd;
  z-index: 1000;
}


.chat-header {
  background-color: #333;
  color: white;
  padding: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-body {
  padding: 15px;
  height: 250px;
  overflow-y: auto;
  background-color: #f9f9f9;
}

.message {
  padding: 8px 12px;
  border-radius: 18px;
  margin-bottom: 10px;
  max-width: 80%;
  line-height: 1.4;
}


.message.bot {
  background-color: #e9e9eb;
  color: #333;
  float: left;
  clear: both;
}


.message.user {
  background-color:  var(--color-blue);
  color: white;
  float: right;
  clear: both;
}

.chat-footer {
  border-top: 1px solid #ddd;
}

#chatInputForm {
  display: flex;
  padding: 10px;
}

#chatInput {
  flex-grow: 1; 
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 8px 12px;
}

#chatInputForm button {
  background-color:  var(--color-blue);
  border: none;
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin-left: 10px;
  cursor: pointer;
}


#leadForm {
  padding: 0;
  margin: 0;
}
#leadForm label {
  color: #333; 
}
#leadForm input {
  background-color: white; 
  width: 100%;
  padding: 8px;
  box-sizing: border-box; 
  border: 1px solid #ccc;
  border-radius: 4px;
}
#leadForm button {
  background-color:  var(--color-blue); 
  color: white;
  width: 100%;
  padding: 10px;

  border: none;
  border-radius: 4px;
  margin-top: 15px;
  cursor: pointer;
}
#closeChat {
  cursor: pointer;
  font-size: 20px;
}

#foot-text-left {
  text-align: left;
}

#foot-text-right {
  text-align: right;
}

#video-desktop {
    display: block;
}
#video-mobile {
    display: none;
}

@media (max-width: 768px) {
    #video-desktop {
        display: none;
    }
    
    #video-mobile {
        display: block;
    }
}

@media (max-width: 768px) {
    #foot-text-left {
      text-align: center;
    }

    #foot-text-right {
      text-align: center;
    }
}