@font-face {
  font-family: "PP Pangram Sans";
  src: url("../fonts/PPPangramSans-Light.otf?v=2") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Pangram Sans";
  src: url("../fonts/PPPangramSans-Medium.otf?v=2") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Pangram Sans";
  src: url("../fonts/PPPangramSans-Bold.otf?v=2") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #fcfcfc;
  --primary-100: #154d82;
  --primary-200: rgba(21, 77, 130, 0.25);
  --primary-300: rgba(21, 77, 130, 0.8);
  --secondary-100: #ea3237;
  --secondary-200: #bf3538;
  --gray-100: #ececec;
  --gray-200: rgba(236, 236, 236, 0.25);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

[id] {
  scroll-margin-top: 5.5rem;
}

body {
  font-family: "PP Pangram Sans", system-ui, sans-serif;
  color: var(--white);
  background: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.underline-text {
  display: inline-block;
  position: relative;
  transition: all 0.5s;
  cursor: pointer;
}

.underline-text::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  opacity: 0;
  transition: all 0.5s;
  background: currentColor;
}

.underline-text:hover::before {
  width: 100%;
  opacity: 1;
}

.underline-text.thick::before {
  height: 4px;
  background: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border: 1px solid transparent;
  font-weight: 400;
  padding: 0.5rem;
  border-radius: 0.25rem;
  transition: all 0.5s;
  height: fit-content;
  width: fit-content;
  background: var(--secondary-100);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.btn:hover {
  background: var(--secondary-200);
}

.btn--ghost {
  background: transparent;
  box-shadow: none;
}

.btn--ghost:hover {
  background: var(--gray-200);
  border-color: #fff;
}

.btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

.btn span + span {
  margin-left: 0.5rem;
  display: flex;
}

.btn--icon {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
}

.hero-bg {
  position: fixed;
  z-index: -10;
  width: 100vw;
  height: 100vh;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 40;
}

.site-header.is-open {
  background: rgba(3, 19, 51, 0.94);
}

.site-header nav {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem;
}

.logo img {
  width: 100px;
  height: 50px;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0.5rem;
}

.menu-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.menu-toggle [data-icon-close],
.menu-toggle.is-open [data-icon-open] {
  display: none;
}

.menu-toggle.is-open [data-icon-close] {
  display: block;
}

.nav-panel {
  display: none;
  width: 100%;
  color: #fff;
}

.nav-panel.is-open {
  display: block;
  margin-top: 0.75rem;
  padding: 0.25rem 0 0.5rem;
}

.nav-panel ul {
  display: flex;
  flex-direction: column;
  margin-top: 1.25rem;
  padding: 1rem;
  gap: 0.5rem;
}

.nav-panel.is-open ul {
  background: var(--gray-200);
  border-radius: 0.25rem;
  border: 1px solid #fff;
}

.nav-cta {
  display: none;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100vh;
  background: linear-gradient(to bottom, rgba(3, 19, 51, 0.7), transparent);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0.875rem;
}

.hero h1 {
  font-weight: 700;
  color: #fff;
  font-size: 2.25rem;
  line-height: 1.15;
  width: fit-content;
}

.hero p {
  color: #fff;
  margin-top: 1.25rem;
}

.hero-actions {
  display: flex;
  flex-direction: row;
  margin-top: 2.5rem;
  width: 100%;
  gap: 1.25rem;
}

.content {
  background: var(--white);
}

.section {
  padding: 2rem 0.875rem;
}

.visible {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 1.25rem;
  transition: opacity 0.5s ease-in;
}

.visible.is-visible {
  opacity: 1;
}

.title {
  color: var(--primary-100);
  font-size: 1.5rem;
  font-weight: 700;
}

.title.center {
  text-align: center;
}

.subtitle {
  width: fit-content;
  font-size: 0.875rem;
  color: var(--secondary-100);
}

.tabs-nav {
  text-align: center;
  width: 100%;
}

.tabs-nav ul {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.tabs-nav li {
  color: var(--primary-100);
  font-size: 1.125rem;
  text-align: center;
  margin: 0 0.25rem;
  opacity: 0.4;
  transition: all 0.5s ease-in-out;
  cursor: pointer;
}

.tabs-nav li.is-active {
  opacity: 1;
}

.tabs-nav .underline-text::before {
  background: var(--primary-100);
  height: 2px;
}

.tab-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 2.5rem;
}

.tab-image {
  position: relative;
  width: 100%;
  height: 400px;
  aspect-ratio: 4 / 3;
}

.tab-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0.75rem;
}

.tab-copy {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 1.25rem;
}

.tab-copy h2 {
  color: var(--primary-100);
  font-weight: 700;
  font-size: 1.5rem;
}

.tab-copy p {
  color: var(--primary-300);
  margin-top: 0.5rem;
}

.tab-copy .btn {
  margin-top: 1.5rem;
}

.towers {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-top: 2.5rem;
}

.tower-card {
  height: 600px;
  aspect-ratio: 9 / 16;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  border-radius: 0.75rem;
  position: relative;
  overflow: visible;
  z-index: 1;
  transition: opacity 0.2s ease-in-out;
}

.tower-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
}

.tower-card.is-left img {
  object-position: left;
}

.tower-card.is-right img {
  object-position: center;
}

.tower-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0.75rem;
}

.tower-layer-inner {
  width: 100%;
  height: 100%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.tower-gradient {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent);
  z-index: 10;
}

.tower-card h2 {
  font-size: 2.25rem;
  color: #fff;
  font-weight: 700;
}

.tower-title {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tower-card.is-open .tower-title {
  display: none;
}

.tower-plus {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 10;
}

.tower-info {
  background: var(--primary-200);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.tower-card.is-open {
  z-index: 2;
}

.tower-card.is-open .tower-info {
  opacity: 1;
  pointer-events: auto;
}

.tower-info ul {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  justify-content: center;
  gap: 1.25rem;
}

.item-list {
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: center;
  gap: 1rem;
  color: #fff;
  z-index: 20;
}

.item-list svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.proyecto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  justify-content: center;
  width: 100%;
}

.proyecto-copy {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.aspect-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}

.aspect-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0.75rem;
}

.proyecto-text {
  display: flex;
  flex-col: column;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  color: var(--primary-100);
  margin-top: 2.5rem;
  text-align: justify;
}

.arrow-line {
  display: none;
}

.brand-row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: fit-content;
  align-items: center;
  padding-top: 0.5rem;
}

.brand-row h2 {
  font-size: 1.5rem;
  color: var(--primary-100);
  line-height: 1.75rem;
}

.brand-row h2 span {
  font-weight: 800;
}

.model-wrap {
  width: 100%;
  padding-top: 2.5rem;
}

@media (min-width: 1024px) {
  .model-wrap {
    width: 80%;
  }
}

.cta-box {
  background: var(--primary-100);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  border-radius: 0.75rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

.cta-inner {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  min-height: 300px;
}

.cta-inner h2 {
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
}

.cta-inner p {
  color: #fff;
  text-align: center;
}

.cta-slogan {
  font-size: 1.25rem;
}

.cta-slogan span,
.cta-inner h2 span {
  font-weight: 800;
}

.contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  background: linear-gradient(to top, rgba(3, 19, 51, 0.7), transparent);
}

.hubspot-wrap {
  width: 100%;
  padding: 3rem;
}

.contact-brand {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.thanks {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100vh;
  background: linear-gradient(to bottom, rgba(3, 19, 51, 0.7), transparent);
}

.thanks-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 2rem;
}

.thanks-inner h1 {
  font-weight: 800;
  color: #fff;
  font-size: 2.25rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .thanks-inner h1 {
    font-size: 4.5rem;
  }
}

.thanks-inner p {
  color: #fff;
}

.socials {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}

.socials a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #fff;
}

.socials svg {
  width: 1.25rem;
  height: 1.25rem;
}

@media (min-width: 640px) {
  .section {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 768px) {
  html {
    scroll-padding-top: 0;
  }

  [id] {
    scroll-margin-top: 0;
  }

  .site-header {
    position: absolute;
  }

  .site-header nav {
    padding: 2rem 2rem 1rem;
    margin-top: 0;
  }

  .menu-toggle {
    display: none;
  }

  .nav-panel,
  .nav-panel.is-open {
    display: block;
    width: auto;
    margin-top: 0;
    padding: 0;
  }

  .nav-panel ul,
  .nav-panel.is-open ul {
    flex-direction: row;
    margin-top: 0;
    padding: 0;
    gap: 2.5rem;
    background: transparent;
    border: none;
  }

  .nav-cta {
    display: block;
  }

  .hero-inner {
    padding: 2rem;
    width: 65%;
  }

  .section {
    padding: 1.5rem;
  }

  .title {
    font-size: 2.25rem;
  }

  .tabs-nav ul {
    width: 24rem;
    margin-left: auto;
    margin-right: auto;
  }

  .tab-image {
    height: 350px;
  }

  .towers {
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
  }

  .tower-card {
    height: 400px;
    aspect-ratio: 4 / 5;
  }

  .tower-card.is-open .tower-title {
    display: flex;
  }

  .tower-info {
    background: var(--primary-100);
  }

  .tower-card.is-open.is-left .tower-info {
    transform: translateX(100%);
  }

  .tower-card.is-open.is-right .tower-info {
    transform: translateX(-100%);
  }

  .tower-card.is-dimmed {
    opacity: 0;
  }

  .tower-info ul {
    gap: 0;
  }

  .brand-row {
    flex-direction: row;
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .site-header nav {
    padding: 2rem 3rem 1rem;
  }

  .hero h1 {
    font-size: 4.5rem;
  }

  .hero p {
    width: 75%;
  }

  .section {
    padding: 3rem;
  }

  .tab-card {
    flex-direction: row;
    justify-content: space-between;
  }

  .tab-image {
    height: 400px;
  }

  .tab-copy {
    margin-top: 0;
    margin-left: 2rem;
    padding: 0.75rem 0;
    justify-content: space-between;
  }

  .towers {
    justify-content: center;
    gap: 2.5rem;
  }

  .tower-card {
    height: 500px;
  }

  .tower-info ul {
    gap: 1.25rem;
  }

  .proyecto-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .title.proyecto {
    font-size: 3.75rem;
    margin-bottom: 0;
    text-align: left;
  }

  .arrow-line {
    display: flex;
    color: var(--primary-100);
    width: 100%;
    justify-content: space-between;
  }

  .proyecto-title {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
  }

  .proyecto-text {
    text-align: left;
    align-items: flex-start;
  }

  .cta-inner {
    max-width: 48rem;
    min-height: 350px;
  }

  .cta-inner h2 {
    font-size: 1.875rem;
  }

  .cta-slogan {
    font-size: 1.5rem;
  }

  .contact {
    flex-direction: row;
  }

  .contact-brand {
    width: 50%;
  }
}

@media (min-width: 1025px) {
  .tower-card {
    height: 600px;
  }
}

@media (min-width: 1280px) {
  .site-header nav {
    padding: 2rem 6rem 1rem;
  }

  .hero-inner {
    padding: 6rem;
    width: 60%;
  }

  .section {
    padding: 2rem;
  }

  .tab-copy {
    margin-left: 4rem;
    width: 60%;
    justify-content: center;
  }

  .cta-inner {
    min-height: 450px;
    gap: 2.5rem;
  }
}

@media (min-width: 1536px) {
  .hero-inner {
    width: 60%;
  }

  .tab-image {
    height: 500px;
  }

  .title.proyecto {
    font-size: 6rem;
  }
}

@media (min-width: 1700px) {
  .hero-inner {
    width: 40%;
  }

  .visible {
    justify-content: space-evenly;
  }
}
