/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; 
    overflow-x: hidden;
}

/* TT COMMONS PRO FONT paragraphs */
@import url("https://use.typekit.net/xvn5ozw.css");

/* MANROPE FONT titles */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primary-color: #2F5C7A;
    --text-color: #181D1D;
    --background-color: #F4F1EB;
    --gray-color: #484542;
    --font-size-h1: 3.7rem;
    --font-size-h2: 2.4rem;
    --font-size-h3: 1.3rem;
    --font-size-h4: 1rem;
    --font-size-h5: 4rem;
    --font-size-p: 1.1rem;
    --line-height: 1.5;
    --font-weight-thin: 100;
    --font-weight-regular: 500;
    --font-weight-bold: 700;
    --scroll-direction: 1;
    --title-font: "Manrope", sans-serif;
    --paragraph-font: "TT Commons Pro", sans-serif;
    --border-radius: 4px;

    @media (min-width:1800px){
        --font-size-h1: 4.3rem;   
        --font-size-h2: 3.5rem; 
        --font-size-h3: 2rem; 
        --font-size-h4: 2.1rem;
        --font-size-h5: 1.6rem;
        --font-size-p: 1.5rem; 
    }

    @media (max-width:1200px){
        --font-size-h1: 2.9rem;
        --font-size-h2: 2.4rem;
        --font-size-h3: 1.5rem;
        --font-size-h4: 1.3rem;
        --font-size-h5: 1.2rem;
        --font-size-p: 1rem;
    }

    @media (max-width:992px){
        --font-size-h1: 2.8rem;
        --font-size-h2: 2.4rem;
        --font-size-h3: 1.3rem;
        --font-size-h4: 1.1rem;
        --font-size-h5: 1rem;
        --font-size-p: 0.9rem;
    }

    @media (max-width:576px){
        --font-size-h1: 2.4rem;
        --font-size-h2: 1.7rem;
        --font-size-h3: 1.2rem;
        --font-size-h4: 1rem;
        --font-size-h5: 0.9rem;
        --font-size-p: 0.9rem;
    }

}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader img {
    width: 100px;
    height: auto;
    animation: loaderPulse 2s ease-in-out infinite;
}

@keyframes loaderPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Animaciones de scroll */
.animate-left,
.animate-right,
.animate-up,
.animate-down {
  opacity: 0;
  transition: all 0.6s ease-out;
  position: relative;
}

.animate-left {
  transform: translateX(-100px);
}

.animate-right {
  transform: translateX(100px);
}

.animate-up {
  transform: translateY(-100px);
}

.animate-down {
  transform: translateY(100px);
}

.animate-left.visible,
.animate-right.visible,
.animate-up.visible,
.animate-down.visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

body {
    font-family: var(--paragraph-font);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1;
    overflow-x: hidden;
    width: 100%;
}

/* WHATSAPP FLOAT */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}


/* HEADER */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background-color: rgba(244, 241, 235, 0.797);
    backdrop-filter: blur(10px);
}

.logo {
    flex: 1;
    display: flex;
    align-items: center;
}

.logo img {
    width: 120px;
    height: auto;
    animation: logoPulse 3s ease-in-out infinite;
}

.logo:hover img {
    animation-play-state: paused;
}

@media (min-width: 1800px) {
    .logo img {
        width: 250px;
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 5%;
}

.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 5rem;
}

.nav-links1 {
    flex: 2;
    display: flex;
    justify-content: center;
}

.nav-links:last-child {
    flex: 1;
    justify-content: flex-end;
}

.nav-links1 a {
    position: relative;
    text-decoration: none;
}

.nav-links1 a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links1 a:hover::after {
    width: 100%;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: var(--font-size-p);
    transition: color 0.3s ease;
}

/* Hamburger Menu Styles */
.hamburger-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: transform 0.3s ease-in-out,
                opacity 0.3s ease-in-out,
                background-color 0.3s ease-in-out;
    box-shadow: 0 0 5px rgba(0, 240, 255, 0.5);
}

/* Nav container for mobile */
/* Responsive Nav Section */
@media (max-width: 930px) {
    .nav-links {
        gap: 2rem;
    }
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Responsive Navigation */
@media (max-width: 940px) {
    .hamburger-btn {
        display: block;
    }

    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgb(244, 241, 235);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        padding: 2rem;
    }

    .nav-container.active {
        right: 0;
    }

    /* Combine all navigation links into one unified list */
    .nav-links, .nav-links1 {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 0; /* Remove default gap */
    }

    /* Create a wrapper for all nav items */
    .nav-container {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly; /* This ensures equal spacing */
        height: 100vh;
        padding: 15vh 0; /* Add some padding top and bottom */
    }

    /* Style individual nav items */
    .nav-links li, .nav-links1 li {
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.3s ease-in-out,
                    transform 0.3s ease-in-out;
        margin: 1rem 0; /* Add consistent vertical margin */
        width: 100%;
        text-align: center;
    }

    /* Make all links consistent in size */
    .nav-links a, .nav-links1 a {
        font-size: var(--font-size-h3);
        padding: 1rem;
        display: inline-block;
        width: auto;
    }

    .nav-container.active .nav-links li,
    .nav-container.active .nav-links1 li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Adjust stagger delays for smoother animation */
    .nav-links1 li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links1 li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links1 li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links li:nth-child(1) { transition-delay: 0.4s; }

    /* Ensure consistent hover effects */
    .nav-links1 a:hover::after {
        width: 50%; /* Make underline effect consistent */
        left: 25%; /* Center the underline */
    }

    /* Hamburger animation */
    .hamburger-btn.active .hamburger-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
        background-color: var(--primary-color);
    }

    .hamburger-btn.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .hamburger-btn.active .hamburger-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
        background-color: var(--primary-color);
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

/* Remove the old media query if it exists */
@media (max-width: 768px) {
    .nav-links {
        display: flex !important;
    }
}

/* HERO SECTION */  

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
    padding: 80px 0px;
    margin: 0px 50px;
    margin-top: 100px;
}

.hero h1 {
    font-family: var(--title-font);
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-thin);
    margin: 0;
}

.hero h1 strong {
    font-weight: var(--font-weight-bold);
}

.hero p.subtexto {
    font-style: italic;
    color: var(--gray-color);
    font-size: var(--font-size-p);
    font-weight: var(--font-weight-thin);
}

.primary-btn {
    font-weight: bold;
    font-size: var(--font-size-p);
    padding: 0.6rem 3rem;
    border: 2px solid var(--gray-color);
    position: relative;
    color: var(--gray-color);
    background: transparent;
    transition: color 0.3s ease-in-out;
    z-index: 1;
    overflow: hidden;
    animation: glowPulse 2s infinite;
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-in-out;
    z-index: -1;
}

.primary-btn:hover {
    color: var(--background-color);
    border: 2px solid var(--primary-color);
}

.primary-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.hero .video-container {
    margin: 50px 0px;
    margin-bottom: 0px;
}

.hero video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

@media (max-width: 830px) {
    .hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 580px) {
    .hero .video-container {
        margin: 30px 0px;
        margin-bottom: 0px;
    }

    .hero video {
        width: auto;
        height: 300px;
    }
}

/* ABOUT SECTION */

.about-section {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0px 5vw 0px 5vw;
    margin: 130px 50px;
    background: var(--background-color);
    gap: 2vw;
}

.about-content {
    flex: 2;
    font-family: var(--paragraph-font);
    font-size: var(--font-size-p);
    color: var(--gray-color);
    font-style: italic;
    font-weight: var(--font-weight-thin);
    line-height: var(--line-height);
}

.about-title {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.about-title h2 {
    font-family: var(--title-font);
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-thin);
    color: var(--text-color);
    margin: 0;
}

@media (max-width: 800px) {
    .about-section {
      flex-direction: column;
      align-items: flex-start;
      gap: 1.5rem;
    }
    .about-title {
      justify-content: flex-start;
      margin-top: 1rem;

      order: 0; /* título primero */
    }
    .about-content {
      order: 1; /* párrafo después */
    }
}

/* DOUBLE MARQUEE SECTION */

.double-marquee {
    margin: 80px 0px;
}

.marquee-text {
    overflow: clip;
    background-color: var(--text-color);
}

.marquee-text-track {
    display: flex;
    padding-left: 0rem;
    gap: 0rem;
    width: max-content;
    animation: marquee-move-text var(--speed, 70s) linear infinite
    var(--direction, forwards);
}

.marquee-text-track-reverse {
    display: flex;
    padding-left: 0rem;
    gap: 0rem;
    width: max-content;
    animation: marquee-move-text var(--speed, 70s) linear infinite
    var(--direction, reverse);
}

.marquee-text p {
    color: var(--background-color);
    font-size: var(--font-size-h2);
    padding: 2rem 1rem;
}

.marquee-text-track p {
    padding-bottom: 0rem !important;
}

@keyframes marquee-move-text {
    to {
    transform: translateX(-50%);
    }
}

/* This wrapper div is only there so we know for sure we have enough text to fill your screen.
    If you want to have this marquee loop on devices with a very large width, you simply need to add more text.*/
.wrapper {
    max-width: 3000px;
    margin: 0 auto;
    color: #fff;
}
  
/* CTA SECTION */

.cta-section {
    display: flex;
    align-items: stretch;
    margin: 0 0 40px 0;
    min-height: 260px;
    border-top: 1px solid var(--gray-color);
    border-bottom: 1px solid var(--gray-color);
}
  
.cta-image {
    flex: 1.2;
    min-width: 0;
    overflow: hidden;
    background: #ddd;
    display: flex;
    align-items: stretch;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cta-content {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding: 2.5rem 3rem 2.5rem 2rem;
    text-align: right;
}

.cta-content p {
    font-family: var(--paragraph-font);
    font-size: var(--font-size-p);
    font-style: italic;
    font-weight: var(--font-weight-thin);
    color: var(--gray-color);
    line-height: var(--line-height);
    margin-bottom: 1.5rem;
    max-width: 60%;
}


/* Responsive cta section*/
@media (max-width: 900px) {
    .cta-section {
    flex-direction: column;
    min-height: unset;
    }
    .cta-image, .cta-content {
    width: 100%;
    min-height: 180px;
    padding: 0;
    }
    .cta-content {
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    }
    .cta-content p {
    max-width: 100%;
    }
}

/* SLIDER LOGO SECTION */

.wrapper-logos {
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
    border-radius: 180px;
    background: transparent;
}

.logos-track {
    display: flex;
    width: max-content;
    animation: scroll 60s linear infinite;
}

.logos-slide {
    display: flex;
}

.item {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.item img {
    width: 130px;
    height: auto;
    margin: 30px;
}

/* Scroll continuo sin cortes */
@keyframes scroll {
    0% {
    transform: translateX(0%);
    }
    100% {
    transform: translateX(-50%);
    }
}

@media (min-width: 1800px) {
    .item img {
        width: 250px;
    }
}

/* SERVICES SECTION */

.services-section {
    margin-top: 50px;
    margin-bottom: 80px;
}

.services-title {
    font-family: var(--title-font);
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-thin);
    color: var(--text-color);
    margin: 0 0 1.5rem 50px;
}

.service-box {
    border-top: 2px solid var(--primary-color);
    cursor: pointer;
    transition: background 0.2s;
    overflow: hidden;
}

.service-box:last-child {
    border-bottom: 2px solid var(--primary-color);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 2.2rem 2vw 1.2rem 2vw;
    align-items: baseline;
}

.service-number {
    font-family: var(--title-font);
    font-size: var(--font-size-h3);
    color: var(--primary-color);
    font-weight: 100;
    display: flex;
}

.service-name {
    font-family: var(--title-font);
    font-size: var(--font-size-h1);
    color: var(--primary-color);
    font-weight: 500;
    letter-spacing: 0.01em;
}

.service-content {
    display: flex;
    background: #f7f3ed;
    border-top: 1px solid var(--gray-color);
    max-height: 0;
    overflow: hidden;
    height: 0;
    transition:
        max-height 1s cubic-bezier(0.4,0,0.2,1),
        height 1s cubic-bezier(0.4,0,0.2,1);
}

.service-box.active .service-content {
    max-height: 520px; /* or higher if you want it taller */
    height: 320px;     /* controls the visible height of the expanded section */
    transition:
        max-height 1s cubic-bezier(0.4,0,0.2,1),
        height 1s cubic-bezier(0.4,0,0.2,1);
}

.service-img {
    flex: 1;
    background: #181d1d;
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-width: 180px;
    min-height: 160px;
    height: 100%;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-desc {
    flex: 2;
    padding: 2.5rem 2vw;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

@media (max-width: 900px) {
    .service-content {
    flex-direction: column;
    max-height: 800px;
    }
    .service-img, .service-desc {
    max-width: 100%;
    min-width: 0;
    padding: 1rem 0;
    }
}

@media (min-width: 1800px) {
    .service-desc {
        font-size: 1.8rem !important;
    }
}

/* GALLERY SECTION */

.gallery-section {
  width: 100%;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  border-collapse: collapse;
  perspective: 1000px;
}

.gallery-item {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  position: relative;
  transform-style: preserve-3d;
}

.gallery-item:hover {
  transform: 
    rotateX(var(--mouse-y, 0deg)) 
    rotateY(var(--mouse-x, 0deg)) 
    scale(1.01);
  z-index: 10;
}

.gallery-img, .gallery-text {
  width: 100%;
  height: 100%;
}

.gallery-item:hover .gallery-img,
.gallery-item:hover .gallery-text {
  transform: translate(var(--mouse-x, 0), var(--mouse-y, 0)) scale(1.05);
}

.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-text {
  padding: 1.5rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.gallery-text p {
  margin: 0;
  font-size: var(--font-size-p);
  font-family: var(--paragraph-font);
  color: var(--text-color);
  font-weight: var(--font-weight-thin);
  line-height: 1.4;
}

.gallery-text strong {
  font-weight: 700;
  color: #181d1d;
}

.gallery-text em {
  font-style: italic;
}

@media (min-width: 1800px) {
    .gallery-grid {
        max-width: 1800px;
      }
}

/* estos son los responsive originales que tenia */

/* @media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 1fr);
  }
  .gallery-item {
    min-height: 140px;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(9, 1fr);
  }
  .gallery-item {
    min-height: 100px;
  }
  .gallery-text p {
    font-size: 1rem;
  }
} */

/* INDUSTRIES SECTION */

.industries-section {
  padding: 80px 5vw;
  padding-top: 0px;
}

.industries-header {
  text-align: left;
  margin-bottom: 60px;
}

.industries-header h2 {
  font-family: var(--title-font);
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-thin);
  color: var(--text-color);
  margin-bottom: 1rem;
}

.industries-header p {
  font-family: var(--paragraph-font);
  font-size: var(--font-size-p);
  color: var(--gray-color);
  font-weight: var(--font-weight-thin);
  max-width: 600px;
  margin: 0;
  line-height: var(--line-height);
  font-style: italic;
}

.industries-carousel-container {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
}

.industries-carousel {
  display: flex;
  gap: 2rem;
  padding: 0;
  cursor: grab;
  user-select: none;
  width: max-content;
  transition: transform 0.3s ease;
}

.industries-carousel.dragging {
  transition: none;
  cursor: grabbing;
}

.industry-card {
  flex: 0 0 calc(25vw - 1.5rem);
  height: 400px;
  position: relative;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  margin: 0;
  transition: transform 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-5px);
}

.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  padding: 2rem 1.5rem 1.5rem;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.industry-card.active .card-content {
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  padding-bottom: 2rem;
  pointer-events: auto;
}

.card-content h3 {
  font-family: var(--title-font);
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 500;
  margin: 0 0 0.5rem 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-card.active .card-content h3 {
  transform: translateY(-10px);
}

.card-description {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-card.active .card-description {
  max-height: 100px;
}

.card-description p {
  font-family: var(--paragraph-font);
  font-size: var(--font-size-p);
  line-height: 1.4;
  margin: 0;
  opacity: 0;
  transition: opacity 0.3s ease 0.1s;
}

.industry-card.active .card-description p {
  opacity: 1;
}

@media (max-width: 1200px) {
    .industries-carousel {
      gap: 1rem;
    }
    
    .industry-card {
      flex: 0 0 400px;
      height: 350px;
    }
    
    .card-content h3 {
      font-size: 1.3rem;
    }
}

@media (max-width: 950px) {
  .industries-carousel {
    gap: 1rem;
  }
  
  .industry-card {
    flex: 0 0 280px;
    height: 350px;
  }
  
  .card-content h3 {
    font-size: 1.3rem;
  }
}

@media (min-width: 1800px) {
    .card-content h3 {
        font-size: 1.8rem !important;
    }
}

.cta-industries-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

#primary-btn-center {
    display: inline-block;
    margin: -20px auto 50px auto;
    text-align: center;
}


/* CONTACT SECTION */

.contact-section {
    padding-bottom: 50px;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-title {
    font-family: var(--title-font);
    color: var(--text-color);
    font-size: var(--font-size-h2);
    margin-bottom: 20px;
    line-height: 1;
}

.contact-subtitle {
    font-style: italic;
    color: var(--gray-color);
    font-family: var(--paragraph-font);
    margin-bottom: 40px;
    line-height: 1.5;
}

.contact-form label {
    display: block;
    margin-bottom: 25px;
}

.contact-form label span {
    display: block;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 5px;
    font-style: italic;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 5px;
    border: none;
    border-bottom: 1px solid var(--text-color);
    background-color: transparent;
    font-size: 1rem;
    color: var(--text-color);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
    font-style: italic;
    font-family: var(--paragraph-font);
}

.contact-form textarea {
    resize: vertical;
    min-height: 60px;
}

.contact-button {
    font-weight: bold;
    font-size: var(--font-size-p);
    padding: 0.6rem 3rem;
    border: 2px solid var(--gray-color);
    position: relative;
    color: var(--gray-color);
    background: transparent;
    transition: color 0.3s ease-in-out;
    z-index: 1;
    overflow: hidden;
    animation: glowPulse 2s infinite;
}

.contact-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-in-out;
    z-index: -1;
}

.contact-button:hover {
    color: var(--background-color);
    border: 2px solid var(--primary-color);
}

.contact-button:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

@media (max-width: 600px) {
    .contact-section {
        padding-bottom: 30px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .contact-container {
        max-width: 100%;
        margin: 0 10px;
    }

    .contact-title {
        font-size: 1.5rem; /* Ajusta tamaño */
        margin-bottom: 15px;
    }

    .contact-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .contact-form label {
        margin-bottom: 20px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 0.9rem;
        padding: 8px 5px;
    }

    .contact-button {
        font-size: 1rem;
        padding: 0.5rem 2rem;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
}

@media (min-width: 1800px) {
    .contact-section {
        padding-bottom: 100px;
        padding-left: 40px;
        padding-right: 40px;
    }

    .contact-container {
        max-width: 1400px;
    }

    .contact-title {
        font-size: 4rem; /* Más grande */
        margin-bottom: 30px;
    }

    .contact-subtitle {
        font-size: 1.8rem;
        margin-bottom: 60px;
    }

    .contact-form label {
        margin-bottom: 30px;
        font-size: 1.4rem;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 1.8rem;
        padding: 14px 10px;
    }

    .contact-button {
        font-size: 1.8rem;
        padding: 1rem 5rem;
    }
}


/* FOOTER SECTION */

.footer {
    background-color: var(--primary-color);
    padding: 40px 20px;
    font-family: var(--paragraph-font);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0px auto;
}

.footer-container {
    margin: 0px auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0px auto;
    gap: 200px;
    position: relative;
}

.footer-left {
    flex: 1 1 200px;
}

.footer-logo {
    margin-bottom: 10px;
}

.footer-logo img {
    width: 130px;
    height: auto;
}


.footer-address {
    font-size: var(--font-size-p);
    color: var(--background-color);
    line-height: 1.5;
}

.footer-center {
    flex: 1 1 150px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--background-color);
    text-decoration: none;
    font-size: var(--font-size-p);
    transition: all 0.5s ease-in-out;
    display: inline-block;
}

.footer-links a:hover {
    transform: scale(1.1);
}

.footer-right {
    flex: 1 1 200px;
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-socials a {
    margin-right: 10px;
    display: inline-block;
    text-decoration: none;
}

.footer-socials i {
    font-size: var(--font-size-h2);
    color: var(--background-color);
    transition: all 0.5s ease-in-out;
    display: inline-block;
}

.footer-socials i:hover {
    transform: scale(1.1);
}

.footer-phone,
.footer-email {
    font-size: var(--font-size-p);
    color: var(--background-color);
    font-style: italic;
}

@media (max-width: 800px) {
    .footer {
        padding: 30px 15px;
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        flex: none;
        width: 100%;
    }

    .footer-logo img {
        width: 100px;
        margin: 0 auto 15px auto;
        display: block;
    }

    .footer-address,
    .footer-phone,
    .footer-email {
        font-size: 0.9rem;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .footer-links li {
        margin-bottom: 0;
    }

    .footer-links a {
        font-size: 1rem;
    }

    .footer-right {
        align-items: center;
        gap: 15px;
        width: 100%;
    }

    .footer-socials a {
        margin-right: 15px;
    }

    .footer-socials i {
        font-size: 1.5rem;
    }
}




