@layer global, component, utility;

@layer global {
  html {
    scroll-behavior: smooth;
  }

  /* crimson-text-regular - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "Crimson Text";
    font-style: normal;
    font-weight: 400;
    src: url("/fonts/crimson-text-v19-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* crimson-text-700 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "Crimson Text";
    font-style: normal;
    font-weight: 700;
    src: url("/fonts/crimson-text-v19-latin-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }

  /* Fonts */
  :root {
    --fs-14: calc(14 / 16 * 1rem);
    --fs-16: calc(16 / 16 * 1rem);
    --fs-24: calc(24 / 16 * 1rem);
    --fs-36: calc(36 / 16 * 1rem);
    --fs-42: calc(42 / 16 * 1rem);
    --fs-48: calc(48 / 16 * 1rem);
    --fs-72: calc(72 / 16 * 1rem);

    --font-size-topnav: var(--fs-14);
    --font-size-h1: var(--fs-42);
    --font-size-h2: var(--fs-36);
    --font-size-h3: var(--fs-24);

    @media (width >= calc(600 / 16 * 1rem)) {
      --font-size-topnav: var(--fs-16);
      --font-size-h1: var(--fs-72);
      --font-size-h2: var(--fs-48);
    }
  }

  /* Colors */
  :root {
    --c-white: hsl(0, 0%, 100%);
    --c-gray-dark: hsl(0, 0%, 0%);
    --c-dark-light: hsl(0, 0%, 0%, 0.85);
    --c-teal: hsl(180, 100%, 25%);
    --c-teal-light: hsla(180, 100%, 25%, 0.8);
    --c-transparent: transparent;
    --c-copper: hsl(24, 86%, 44%);
    --c-gray: hsl(0, 0%, 62%);

    --color-main-bg: var(--c-white);
    --color-text-dark: var(--c-gray-dark);
    --color-text-light: var(--c-white);
    --color-header-bg: var(--c-white);
  }

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

  * {
    margin: 0;
  }

  body {
    font-family: "Crimson Text", Arial, Helvetica, sans-serif;
    line-height: 1.3;
    color: var(--color-text-dark);

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  h1,
  h2,
  h3 {
    line-height: 1.1;
  }

  h1 {
    font-size: var(--font-size-h1);
  }

  h2 {
    font-size: var(--font-size-h2);
  }

  h3 {
    font-size: var(--font-size-h3);
  }

  a {
    text-decoration: none;
  }

  img,
  picture,
  svg {
    max-width: 100%;
    display: block;
  }

  .wrapper {
    width: min(calc(100% - 48px), calc(1200 / 16 * 1rem));
    margin-inline: auto;
  }
}

@layer component {
  .topnav {
    background-color: var(--color-header-bg);
    display: flex;
    justify-content: center;
    align-content: center;
    padding-block: 0.5rem; /* margen del menu al slider */
    margin-top: 0.5rem; /* margen del top */

    .topnav__wrapper {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .topnav__company {
      color: var(--color-text-dark);

      font-size: 2.5rem;
      font-weight: 400;

      margin-top: 0.25rem;
    }

    .topnav__azroc {
      color: var(--c-teal);

      font-size: 0.9rem;
      font-weight: 700;

      margin-top: 0.25rem;
    }

    .topnav__homelink {
      margin-bottom: 1.5rem;
      /* display: flex; */
      display: flex;
      flex-direction: column;
      align-items: center;

      margin-bottom: 1.5rem;
    }

    .topnav__links {
      display: flex;
      justify-content: center;
      gap: 2rem;
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .topnav__item a:hover {
      color: var(--c-teal);
    }

    .topnav__link {
      font-size: var(--font-size-topnav);
      font-weight: 700;
      letter-spacing: 0.05em;
      color: var(--color-text-dark);
    }
  }

  .divider {
    width: 100%;
    height: 8px;
    background-color: var(--c-teal-light);
  }

  .slider {
    width: 100%;
    position: relative;

    .slider__viewport {
      overflow: hidden;
    }

    .slider__track {
      display: flex;
      transition: transform 0.5s ease;

      touch-action: pan-y;
      user-select: none;
      cursor: grab;
    }

    /* Para poder arrastrar las imagenes de un lado a otro */
    .slider__track:active {
      cursor: grabbing;
    }

    .slider__slide {
      width: 100%;
      aspect-ratio: 16 / 7; /* altura */
      aspect-ratio: 16 / 7; /* altura */
      flex-shrink: 0;
      object-fit: cover;
      display: block;

      /* Video */
      position: relative;
      overflow: hidden;
    }

    .slider__video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .slider__dots {
      position: absolute;
      left: 50%;
      bottom: 1.5rem;
      transform: translateX(-50%);
      display: flex;
      gap: 0.75rem;
    }

    .slider__dot {
      width: 0.75rem;
      height: 0.75rem;
      border: none;
      border-radius: 50%;
      cursor: pointer;
      background-color: rgba(255, 255, 255, 0.5);

      transition:
        background-color 0.3s ease,
        transform 0.3s ease;

      box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
    }

    .slider__dot.active {
      background-color: var(--c-teal);
      transform: scale(1.2);
    }

    /* Contenedor de la primera diapositiva */
    .slider__slide_corte {
      position: relative;
      width: 100%;
      flex-shrink: 0;
    }

    .slider__slide_corte img {
      width: 100%;
      aspect-ratio: 16 / 7;
      aspect-ratio: 16 / 7; /* altura */
      object-fit: cover;
      display: block;
    }

    /* Caja blanza izquierda */
    .slider__content {
      position: absolute;

      top: 0;
      left: 0;
      bottom: 0;

      width: 40%;

      background-color: rgba(255, 255, 255, 0.95);

      padding: 4rem;

      display: flex;
      flex-direction: column;
      justify-content: center;

      clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);

      /* Video */
      position: absolute;
      inset: 0;

      display: flex;
      flex-direction: column;
      justify-content: center;

      z-index: 2;
    }

    /* Titulo */
    .slider__title {
      font-size: 3rem;
      font-weight: 400;

      margin-bottom: 1rem;
    }

    .slider__title span {
      color: var(--c-teal);

      font-style: italic;
    }

    /* Texto */
    .slider__text {
      font-size: 1rem;

      margin-bottom: 1.5rem;

      line-height: 1.6;
    }

    /* Boton */
    .slider__button {
      width: 10rem;
      display: inline-block;

      background-color: var(--c-copper);

      color: white;

      padding: 0.9rem 2rem;

      border-radius: 0.5rem;

      font-weight: 700;
    }
  }

  .services {
    width: 100%;
    padding-block: 1rem;

    .services__header {
      margin-bottom: 4rem;
      margin: 3rem;
    }

    .services__eyebrow {
      font-size: 1.25rem;
      font-weight: 700;
      margin-bottom: 1rem;
    }

    .services__line {
      width: 100%;
      height: 2px;
      margin-bottom: 1.5rem;
      background-color: rgba(255, 255, 255, 0.25);
    }

    .services__icon {
      width: 1rem;
      height: 1rem;
      margin-bottom: 1rem;
    }

    .services__title {
      font-size: 3rem;
      font-weight: 400;
      margin-bottom: 1.5rem;
    }

    .services__description {
      max-width: 40rem;
    }

    .services__grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2rem;
      background-color: var(--c-teal-light);
      padding: 3rem;
    }

    .service-card {
      color: white;
    }

    .service-card h3 {
      margin-bottom: 1rem;
    }

    .service-card p {
      line-height: 1.6;
    }

    .services__bottom {
      text-align: center;
      padding: 6rem;
      display: grid;
      gap: 2rem;
      background-color: var(--c-teal-light);
    }

    .services__finaltext {
      font-size: 3rem;
      font-weight: 400;
      margin-bottom: 1.5rem;
      color: var(--c-white);
    }

    .services__finaltextdescription {
      max-width: 40rem;
      margin-inline: auto;
      color: var(--c-white);
    }
  }

  .service-detail {
    margin: 3rem;

    .service-detail__image {
      width: 100%;
      aspect-ratio: 16 / 7;
      border-radius: 1.5rem;
      display: block;
      margin-bottom: 3rem;
    }

    .service-detail__title {
      margin-bottom: 1rem;
    }

    .service-detail__description {
      color: hsl(0 0% 45%);
      margin-bottom: 3rem;
      max-width: 45rem;
    }

    .service-detail__steps {
      display: flex;
      flex-direction: column;
    }

    .service-detail__step {
      display: grid;
      grid-template-columns: 4rem 1fr;

      gap: 1rem;

      padding-block: 1.5rem;

      border-top: 1px solid hsl(0 0% 85%);
    }

    .service-detail__number {
      color: hsl(0 0% 50%);
      font-weight: 700;
    }

    .service-detail__step h3 {
      font-size: 1rem;
      margin-bottom: 0.25rem;
    }

    .service-detail__step p {
      color: hsl(0 0% 35%);
      line-height: 1.6;
    }
  }

  .video-detail {
    padding: 3rem;

    .video-detail__title {
      margin-bottom: 2rem;
      text-align: center;
    }

    .video-detail__video {
      width: 100%;
      border-radius: 1rem;
      display: block;
    }
  }

  /* .project {
    padding-block: 4rem;

    .project-hero {
      margin-bottom: 4rem;

      .project-hero__back {
        color: var(--c-teal);

        font-weight: 700;
      }

      .project-hero__category {
        color: var(--c-copper);

        margin-top: 2rem;

        font-weight: 700;

        text-transform: uppercase;
      }

      .project-hero__title {
        margin-top: 1rem;

        margin-bottom: 1rem;
      }

      .project-hero__location {
        color: hsl(0 0% 40%);
      }
    }

    .project-gallery {
      margin-bottom: 5rem;

      .project-gallery__image {
        width: 100%;

        border-radius: 1.5rem;

        aspect-ratio: 16/8;

        object-fit: cover;
      }
    }

    .project-overview {
      margin-bottom: 5rem;

      p {
        max-width: 60rem;

        line-height: 1.8;
      }
    }

    .project-services {
      margin-bottom: 5rem;

      .project-services__grid {
        display: grid;

        grid-template-columns: repeat(3, 1fr);

        gap: 1.5rem;
      }

      .project-services__grid div {
        padding: 1.5rem;

        background: #f6f6f6;

        border-radius: 1rem;
      }
    }

    .project-info {
      display: grid;

      grid-template-columns: repeat(3, 1fr);

      gap: 2rem;
    }
  } */

  /* .projects-page {
    padding-block: 5rem;

    .projects-page__hero {
      text-align: center;

      margin-bottom: 5rem;
    }

    .projects-page__eyebrow {
      color: var(--c-teal);

      font-weight: 700;

      letter-spacing: 0.15em;

      margin-bottom: 1rem;
    }

    .projects-page__title {
      margin-bottom: 1.5rem;
    }

    .projects-page__description {
      max-width: 45rem;

      margin-inline: auto;

      line-height: 1.7;
    }

    .projects-page__grid {
      display: grid;

      grid-template-columns: repeat(2, 1fr);

      gap: 2.5rem;
    }

    .project-card {
      background: white;

      border-radius: 1.5rem;

      overflow: hidden;

      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }

    .project-card img {
      width: 100%;

      aspect-ratio: 16/10;

      object-fit: cover;
    }

    .project-card__category {
      display: block;

      color: var(--c-teal);

      font-weight: 700;

      padding: 2rem 2rem 0.5rem;
    }

    .project-card h2 {
      padding-inline: 2rem;

      margin-bottom: 1rem;
    }

    .project-card p {
      padding-inline: 2rem;

      line-height: 1.7;

      margin-bottom: 2rem;
    }

    .project-card a {
      display: inline-flex;

      margin: 0 2rem 2rem;

      color: var(--c-copper);

      font-weight: 700;
    }
  } */

  /* Recent Projects Page */
  .projects-page {
    padding-block: 5rem;

    .projects-page__hero {
      text-align: center;
      margin-bottom: 5rem;
    }

    .projects-page__eyebrow {
      color: var(--c-teal);
      font-weight: 700;
      letter-spacing: 0.15em;
      margin-bottom: 1rem;
    }

    .projects-page__title {
      font-size: 3.5rem;
      margin-bottom: 1rem;
    }

    .projects-page__description {
      max-width: 42rem;
      margin-inline: auto;
      line-height: 1.7;
    }

    .projects-page__grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }

    .project-card {
      background: white;
      border-radius: 1.5rem;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
      transition: 0.3s;
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .project-card:hover {
      transform: translateY(-8px);
    }

    .project-card img {
      width: 100%;
      aspect-ratio: 16/10;
      object-fit: cover;
    }

    .project-card__category {
      display: block;
      color: var(--c-teal);
      font-weight: 700;
      text-transform: uppercase;
      margin: 1.5rem 1.5rem 0.75rem;
    }

    .project-card h2 {
      margin-inline: 1.5rem;
      margin-bottom: 1rem;
    }

    .project-card p {
      margin-inline: 1.5rem;
      margin-bottom: 2rem;
      line-height: 1.7;
    }

    .project-card__button {
      display: block;
      margin: 0 1.5rem 1.5rem;
      text-align: center;
      padding: 1rem;
      border-radius: 0.75rem;
      background: var(--c-teal);
      color: white;
      font-weight: 700;
      margin-top: auto;
    }
  }

  /* Recent Projects Details*/
  .project {
    padding-block: 5rem;

    .project-hero {
      margin-bottom: 4rem;
    }

    .project-hero__back {
      display: inline-block;

      margin-bottom: 2rem;

      color: var(--c-teal);

      font-weight: 700;
    }

    .project-hero__category {
      color: var(--c-teal);

      font-weight: 700;

      text-transform: uppercase;

      margin-bottom: 1rem;
    }

    .project-hero__title {
      font-size: 4rem;

      margin-bottom: 1rem;
    }

    .project-gallery {
      margin-block: 4rem;
    }

    .project-gallery img {
      width: 100%;

      border-radius: 1.5rem;
    }

    .project-overview {
      margin-bottom: 4rem;
    }

    .project-overview p {
      margin-top: 1rem;

      line-height: 1.8;

      max-width: 55rem;
    }

    .project-services {
      margin-bottom: 4rem;
    }

    .project-services__grid {
      display: grid;

      grid-template-columns: repeat(3, 1fr);

      gap: 1rem;

      margin-top: 2rem;
    }

    .project-services__grid div {
      background: #f5f5f5;

      padding: 1rem;

      border-radius: 0.75rem;

      text-align: center;
    }

    .project-info {
      display: grid;

      grid-template-columns: repeat(3, 1fr);

      gap: 2rem;

      padding-block: 3rem;

      border-top: 1px solid #ddd;
    }
  }

  /* Recent Projects Main */
  .projects {
    padding: 3rem;

    .projects__header {
      margin-bottom: 3rem;
    }

    .projects__eyebrow {
      font-size: 3rem;
      margin-bottom: 1rem;
    }

    .projects__description {
      font-size: 1.25rem;
    }

    /* Proyecto destacado */
    .project--featured {
      display: grid;
      grid-template-columns: 1.2fr 1fr;

      gap: 3rem;

      border: 1px solid rgba(0, 0, 0, 0.15);
      border-radius: 2rem;

      padding: 2rem;
      margin-bottom: 2rem;
    }

    .project__image img {
      width: 100%;
      height: 100%;

      object-fit: cover;

      border-radius: 1.5rem;
    }

    .project__content {
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .project__category {
      color: var(--c-teal);

      font-weight: 700;
      text-transform: uppercase;

      margin-bottom: 1rem;
    }

    .project__title {
      font-size: 3rem;
      font-weight: 400;

      margin-bottom: 1.5rem;
    }

    .project__details {
      margin-bottom: 2rem;
      line-height: 1.8;
    }

    .project__button {
      width: fit-content;

      padding: 1rem 4rem;

      background-color: var(--c-teal);
      color: white;

      border-radius: 0.75rem;

      font-weight: 700;
    }

    /* Grid inferior */
    .projects__grid {
      display: grid;

      grid-template-columns: repeat(3, 1fr);

      gap: 2rem;
    }

    /* Tarjetas */
    .project-card {
      border: 1px solid rgba(0, 0, 0, 0.15);

      border-radius: 2rem;

      padding: 1rem;
    }

    .project-card img {
      width: 100%;

      aspect-ratio: 16 / 10;

      object-fit: cover;

      border-radius: 1rem;

      margin-bottom: 1rem;
    }

    .project-card__category {
      display: block;

      color: var(--c-teal);

      text-transform: uppercase;
      font-weight: 700;

      margin-bottom: 0.75rem;
    }

    .project-card__title {
      font-size: 2rem;
      font-weight: 400;

      margin-bottom: 1rem;
    }

    .project-card ul {
      margin-bottom: 1.5rem;
      line-height: 1.8;
    }

    .project-card__button {
      display: block;

      text-align: center;

      background-color: var(--c-teal);
      color: white;

      padding: 1rem;

      border-radius: 0.75rem;

      font-weight: 700;
    }
  }

  .apply-now {
    padding: 6rem;
    text-align: center;
    background-color: var(--c-teal-light);
    color: var(--c-white);

    .apply-now__title {
      margin-bottom: 1rem;
    }

    .apply-now__button {
      display: inline-block;
      margin-top: 2rem;
      padding: 1rem 3rem;
      background-color: var(--c-teal);
      color: var(--c-white);
      border-radius: 0.75rem;
      font-weight: 700;
    }
  }

  .application {
    padding-block: 6rem;

    .application__title {
      margin-bottom: 3rem;
    }

    .application__form {
      background-color: #f8f8f8;
      padding: 3rem;
      border-radius: 0.5rem;
    }

    .application__section-title {
      color: var(--c-teal);
      font-size: 1.125rem;
      font-weight: 700;
      margin-bottom: 1rem;
      margin-top: 2rem;
    }

    .application__grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem 2rem;
      margin-bottom: 2rem;
    }

    .application__field {
      display: flex;
      flex-direction: column;
    }

    .application__field--full {
      grid-column: 1 / -1;
    }

    .application__field label {
      margin-bottom: 0.5rem;
      font-size: 0.95rem;
    }

    .application__field input {
      height: 3rem;
      border: none;
      background-color: #efefef;
      padding-inline: 1rem;
    }

    .application__upload {
      margin-top: 2rem;
      margin-bottom: 2rem;
    }

    .application__upload label {
      display: block;
      margin-bottom: 0.75rem;
      color: var(--c-teal);
    }

    .application__upload input {
      width: 100%;
      padding: 2rem;
      border: 2px dashed #bdbdbd;
      background-color: white;
    }

    .application__button {
      width: 100%;
      border: none;
      padding: 1rem;
      background-color: var(--c-teal);
      color: white;
      font-size: 1.125rem;
      font-weight: 700;
      border-radius: 0.5rem;
      cursor: pointer;
      transition: background-color 0.3s;
    }

    .application__button:hover {
      background-color: var(--c-teal);
    }
  }

  .thankyou {
    background: var(--c-dark);
    color: var(--c-white);
    padding: 6rem;

    .thankyou__wrapper {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
    }

    .thankyou__card {
      width: min(100%, 46rem);
      margin-inline: auto;
      background: var(--c-dark-light);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 1rem;
      padding: 4rem 3rem;
      text-align: center;
      box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.25);
    }

    .thankyou__icon {
      width: 5rem;
      height: 5rem;
      margin-inline: auto;
      margin-bottom: 2rem;
      border-radius: 50%;
      background: var(--c-teal);
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 2.4rem;
      font-weight: bold;
      color: white;
    }

    .thankyou__title {
      font-size: clamp(2rem, 4vw, 3rem);
      margin-bottom: 1rem;
    }

    .thankyou__text {
      color: rgba(255, 255, 255, 0.75);
      line-height: 1.8;
      max-width: 36rem;
      margin-inline: auto;
      margin-bottom: 1rem;
    }

    .thankyou__button {
      display: inline-flex;
      justify-content: center;
      align-items: center;
      padding: 1rem 2rem;
      border-radius: 0.5rem;
      background: var(--c-teal);
      color: var(--c-white);
      font-weight: 600;
      transition: 0.3s;
      margin-top: 2rem;
    }

    .thankyou__button:hover {
      background: hsl(180 100% 28%);
      transform: translateY(-2px);
    }
  }

  .testimonials {
    padding-block: 6rem;

    .testimonials__title {
      text-align: center;
      color: var(--c-teal);
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 4rem;
    }

    .testimonials__grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 3rem;
    }

    .testimonial {
      display: flex;
      flex-direction: column;
    }

    .testimonial__logo {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 2rem;
    }

    .testimonial__logo img {
      max-height: 16rem;
      width: auto;
      object-fit: contain;
    }

    .testimonial__divider {
      height: 1px;
      background-color: hsl(0 0% 85%);
      margin-bottom: 3rem;
    }

    .testimonial__quote {
      font-size: 2rem;
      line-height: 1.15;
      margin-bottom: 3rem;
    }

    .testimonial__author {
      margin-top: auto;
    }

    .testimonial__name {
      font-size: 1.25rem;
      margin-bottom: 1rem;
    }

    .testimonial__position,
    .testimonial__company {
      color: var(--c-teal);
      font-size: 1rem;
    }
  }

  .executive-message {
    padding-block: 6rem;
    background-image: url("/img/executive_message_background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    .executive-message__grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: center;
      padding-left: 12rem;
      padding-right: 12rem;
    }

    .executive-message__content {
      position: relative;
      padding-left: 2rem;
      border-left: 3px solid var(--c-teal);
    }

    .executive-message__quote-icon {
      font-size: 5rem;
      color: var(--c-teal);
      line-height: 1;
      margin-bottom: 1rem;
    }

    .executive-message__text {
      font-size: 1.5rem;
      line-height: 1.7;
      margin-bottom: 2rem;
    }

    .executive-message__line {
      width: 4rem;
      height: 3px;
      background-color: var(--c-teal);
      margin-bottom: 2rem;
    }

    .executive-message__author h3 {
      font-size: 2rem;
      margin-bottom: 0.5rem;
    }

    .executive-message__position {
      color: var(--c-copper);
      font-weight: 700;
    }

    .executive-message__company {
      margin-top: 0.5rem;
      color: hsl(0 0% 40%);
    }

    .executive-message__award {
      display: flex;
      justify-content: center;
      padding: 3rem;
      background: white;
      border-radius: 1rem;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    }

    .executive-message__award img {
      width: min(100%, 500px);
    }
  }

  .contact-us {
    padding-block: 6rem;
    background-image: url("img/contact_background.png");
    background-size: cover;
    background-position: center;
    background-color: var(--c-copper);

    .contact-us__title {
      text-align: center;
      color: white;
      font-size: 3rem;
      margin-bottom: 2rem;
    }

    .contact-us__divider {
      width: 7rem;
      height: 0.3rem;
      background-color: var(--c-teal);
      margin-inline: auto;
      margin-bottom: 2rem;
      border-radius: 999px;
    }

    .contact-us__cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }

    .contact-card {
      display: flex;
      align-items: center;
      gap: 1.25rem;
      padding: 2rem;
      border-radius: 1.5rem;
      background: rgba(255, 255, 255, 0.08);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.45);
      color: white;
      text-decoration: none;

      transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
    }

    .contact-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 1rem 2rem rgb(0 0 0 / 0.18);
      cursor: pointer;
    }

    .contact-card h3 {
      margin-bottom: 1rem;
    }

    .contact-card p {
      line-height: 1.6;
    }

    .contact-card__icon {
      width: 4.5rem;
      height: 4.5rem;
      flex-shrink: 0;
      border-radius: 50%;
      background-color: var(--c-teal);
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .contact-card__icon img {
      width: 1.8rem;
      height: 1.8rem;
      filter: brightness(0) invert(1);
    }
  }

  .footer {
    background: var(--c-dark-light);
    color: var(--c-white);
    padding: 2rem 0;

    .footer__wrapper {
      display: grid;
      align-items: center;
      gap: 2rem;

      grid-template-columns: 320px 1fr 220px;
      align-items: center;
    }

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

    .footer__image {
      width: 70px;
      height: auto;
    }

    .footer__brand-text {
      display: flex;
      flex-direction: column;
      line-height: 1;
    }

    .footer__company {
      font-weight: 400;
      font-size: 2.3rem;
      letter-spacing: 0.22em;
    }

    .footer__contracting {
      font-size: 0.62rem;
      letter-spacing: 0.54em;
      color: rgba(255, 255, 255, 0.8);
      margin-top: 0.3rem;
    }

    .footer__center {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.45rem;
    }

    .footer__nav {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 1.5rem;
    }

    .footer__nav a {
      color: white;
      font-size: 0.95rem;
      transition: color 0.3s;
    }

    .footer__nav a:hover {
      color: var(--c-teal);
    }

    .footer__divider {
      width: 2px;
      height: 18px;
      background: var(--c-teal);
      opacity: 0.8;
    }

    .footer__copyright {
      color: var(--c-gray);
      font-size: 0.82rem;
    }

    .footer__right-container {
      gap: 1rem;
      color: var(--c-gray);
      font-size: 0.95rem;
      display: flex;
      justify-content: flex-end;
    }

    .footer__right {
      display: flex;
      align-items: center;
      gap: 1rem;
      white-space: nowrap;
    }

    .footer__flag {
      width: 3.25rem;
      display: block;
    }
  }
}

/* Tablet */
@media (width <= 64rem) {
  .slider {
    .slider__content {
      width: 40%;
      padding: 2rem;
      padding-top: 3rem;
    }

    .slider__title {
      font-size: 2.25rem;
    }
  }

  .slider__text {
    font-size: 0.95rem;
  }

  /* Recent Projects Page */
  .projects-page {
    padding: 2rem;

    .projects-page__grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  /* Recent Projects Details */
  .project {
    padding: 2rem;
  }

  /* Recent Projects Main */
  .projects {
    .project--featured {
      grid-template-columns: 1fr;
    }

    .projects__grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .project__title {
      font-size: 2.5rem;
    }
  }

  .testimonials {
    padding: 2rem;
    /* .testimonials__grid {
      grid-template-columns: 1fr;
    }

    .testimonial__quote {
      font-size: 1.5rem;
    } */
  }

  .executive-message {
    .executive-message__grid {
      grid-template-columns: 1fr;
      text-align: center;
    }

    .executive-message__content {
      border-left: none;
      padding-left: 0;
    }

    .executive-message__line {
      margin-inline: auto;
    }
  }

  .contact-us {
    padding: 2rem 1rem 2.5rem 1rem;
    .contact-us__cards {
      grid-template-columns: 1fr;
    }
  }

  .footer {
    .footer__wrapper {
      grid-template-columns: 1fr;
      gap: 2.5rem;
      justify-items: center;
      text-align: center;
    }

    .footer__brand {
      justify-content: center;
    }

    .footer__image {
      width: 4.5rem;
    }

    .footer__company {
      font-size: 2rem;
    }

    .footer__center {
      gap: 0.75rem;
    }

    .footer__nav {
      justify-content: center;
      flex-wrap: wrap;
      gap: 1.25rem;
    }

    .footer__right-container {
      justify-content: center;
    }

    .footer__right {
      justify-content: center;
    }
  }
}

/* Mobile */
@media (width < 48rem) {
  .slider {
    .slider__content {
      width: 100%;
      padding: 2rem;
      clip-path: none;
      background-color: rgba(255, 255, 255, 0.92);
    }

    .slider__title {
      font-size: 2rem;
    }

    .slider__text {
      font-size: 0.95rem;
    }

    .slider__button {
      width: fit-content;
    }

    .slider__slide,
    .slider__slide_corte img {
      aspect-ratio: 16 / 13;
    }
  }

  .topnav__links {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .topnav__company {
    font-size: 2rem;
  }

  .services {
    .services__header {
      padding-right: 3rem;
    }

    .services__grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
      background-color: var(--c-teal-light);
      padding: 3rem;
    }
  }

  .service-detail {
    .service-detail__step {
      grid-template-columns: 1fr;
      gap: 0.5rem;
    }

    .service-detail__number {
      font-size: 0.875rem;
    }
  }

  /* Recent Projects Page */
  .projects-page {
    padding: 2rem;
    .projects-page__grid {
      grid-template-columns: 1fr;
    }

    .projects-page__title {
      font-size: 2.5rem;
    }
  }

  /* Recent Projects Details */
  .project {
    .project-hero__title {
      font-size: 2.5rem;
    }

    .project-services__grid {
      grid-template-columns: 1fr;
    }

    .project-info {
      grid-template-columns: 1fr;
    }
  }

  /* Recent Projects Main */
  .projects {
    .projects__grid {
      grid-template-columns: 1fr;
    }

    .project__title {
      font-size: 2rem;
    }

    .project-card__title {
      font-size: 1.75rem;
    }
  }

  .application {
    .application__form {
      padding: 1.5rem;
    }

    .application__grid {
      grid-template-columns: 1fr;
    }

    .application__field--full {
      grid-column: auto;
    }
  }

  .thankyou {
    padding: 1.5rem;

    .thankyou__card {
      padding: 3rem 2rem;
    }

    .thankyou__icon {
      width: 4.2rem;
      height: 4.2rem;

      font-size: 2rem;
    }

    .thankyou__title {
      font-size: 2rem;
    }

    .thankyou__text {
      font-size: 0.95rem;
    }

    .thankyou__button {
      width: 100%;
    }
  }

  .testimonials {
    margin: 0;
    .testimonials__grid {
      grid-template-columns: 1fr;
    }

    .testimonial__quote {
      font-size: 1.5rem;
    }
  }

  .executive-message {
    margin: 0;
    justify-content: center;
    align-items: center;
    padding: 2rem;

    .executive-message__text {
      font-size: 1.125rem;
    }

    .executive-message__author h3 {
      font-size: 1.5rem;
    }

    .executive-message__award {
      padding: 1.5rem;
      background: white;
      border-radius: 1rem;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
      width: 100%;
      max-width: 16rem;
      margin-inline: auto;
    }

    .executive-message__award img {
      width: min(100%, 500px);
    }

    .executive-message__grid {
      padding-left: 1rem;
      padding-right: 1rem;
    }
  }

  .contact-us {
    padding: 2rem 1rem 2.5rem 1rem;
    .contact-us__title {
      font-size: 2rem;
    }
  }

  .footer {
    .footer__wrapper {
      gap: 1.5rem;
    }

    .footer__brand {
      flex-direction: column;
      gap: 0.75rem;
    }

    .footer__brand-text {
      align-items: center;
    }

    .footer__company {
      font-size: 1.5rem;
    }

    .footer__contracting {
      letter-spacing: 0.25em;
      font-size: 0.5rem;
    }

    .footer__nav {
      flex-wrap: wrap;
      justify-content: center;
      gap: 1rem;
    }

    .footer__copyright {
      text-align: center;
      font-size: 0.8rem;
    }
  }
}

@layer utility {
  .visually-hidden {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;

    &.skip:focus {
      left: 0;
      width: auto;
      height: auto;
      background: #fff;
      padding: 10px;
      border: 1px solid;
    }
  }
}
