@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 900;
  font-display: fallback;
  src: url("inter.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  src: url("barlow-condensed-400.woff2") format("woff2");
}

@font-face {
  font-family: "Hind";
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  src: url("hind-400.woff2") format("woff2");
}

:root {
  --base: #f9f9f9;
  --base-2: #ffffff;
  --contrast: #111111;
  --contrast-2: #636363;
  --custom-color-1: #00253b;
  --custom-color-2: #d6ba78;
  --custom-color-3: #c4c4c4;
  --custom-color-4: #7a7a7a;
  --content: 620px;
  --wide: 1280px;
  --spacing-10: 1rem;
  --spacing-20: min(1.5rem, 2vw);
  --spacing-30: min(2.5rem, 3vw);
  --spacing-40: min(4rem, 5vw);
  --spacing-50: min(6.5rem, 8vw);
  --spacing-60: min(10.5rem, 13vw);
  --font-size-small: 0.9rem;
  --font-size-medium: 1.05rem;
  --font-size-large: clamp(1.39rem, 1.39rem + ((1vw - 0.2rem) * 0.767), 1.85rem);
  --font-size-x-large: clamp(1.85rem, 1.85rem + ((1vw - 0.2rem) * 1.083), 2.5rem);
  --font-size-xx-large: clamp(2.5rem, 2.5rem + ((1vw - 0.2rem) * 1.283), 3.27rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 138px;
}

body {
  margin: 0;
  background: var(--custom-color-1);
  color: var(--custom-color-3);
  font-family: "Hind", sans-serif;
  font-size: var(--font-size-medium);
  font-weight: 400;
  line-height: 1.55;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--custom-color-3);
  font-family: "Barlow Condensed", sans-serif;
  text-decoration: underline;
}

a:hover {
  color: var(--custom-color-4);
  text-decoration: none;
}

p,
figure,
ul {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  background: var(--custom-color-1);
  color: var(--custom-color-2);
  font-family: "Barlow Condensed", sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-size: var(--font-size-x-large);
  line-height: 1.15;
}

h2,
.news-title {
  font-size: var(--font-size-x-large);
}

.site-section h1,
.site-section h2,
.site-section h3,
.news-title {
  margin-bottom: var(--spacing-20);
}

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

.site {
  min-height: 100vh;
}

.content {
  max-width: var(--content);
  margin-inline: auto;
}

.wide {
  max-width: var(--wide);
  margin-inline: auto;
}

.centered {
  text-align: center;
}

.anchor-target {
  display: block;
  height: 0;
  scroll-margin-top: 138px;
}

.section-media[id],
.contact-box[id] {
  scroll-margin-top: 138px;
}

.vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-10);
}

.vertical > h1,
.vertical > h2,
.vertical > h3 {
  margin-bottom: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--custom-color-1);
  color: var(--custom-color-2);
  padding: 14px var(--spacing-50);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-logo {
  position: relative;
  display: block;
  width: min(340px, 58vw);
  height: 86px;
  overflow: hidden;
}

.site-logo img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 430px;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
}

.site-title {
  font-family: "Inter", sans-serif;
  font-size: clamp(0.875rem, 0.875rem + ((1vw - 0.2rem) * 0.542), 1.2rem);
  font-weight: 600;
  line-height: 1.2;
}

.site-title a {
  color: inherit;
  font-family: inherit;
  text-decoration: none;
}

.menu-icon {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--custom-color-2);
  padding: 10px;
  cursor: pointer;
}

.menu-icon svg {
  fill: currentColor;
}

.site-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 220px;
  padding: 14px;
  background: var(--custom-color-1);
  border: 1px solid rgba(214, 186, 120, 0.35);
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.site-menu:not([hidden]) {
  display: grid;
  gap: 6px;
}

.site-menu a {
  padding: 10px 12px;
  color: var(--custom-color-2);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  text-align: right;
  text-decoration: none;
}

.site-menu a:hover {
  color: var(--custom-color-3);
}

.site-section {
  padding: clamp(72px, 7.5vw, 104px) var(--spacing-50);
  scroll-margin-top: 0;
}

.hero-copy {
  padding-top: clamp(72px, 7.5vw, 104px);
  padding-bottom: clamp(72px, 7.5vw, 104px);
}

.spacer.small {
  height: 1.25rem;
}

.spacer.medium {
  height: var(--spacing-30);
}

.spacer.large {
  height: var(--spacing-40);
}

.spacer.tiny {
  height: var(--spacing-10);
}

.button-row {
  display: flex;
  justify-content: center;
}

.site-button {
  display: inline-block;
  padding: 0.6rem 1rem;
  background: var(--custom-color-1);
  border-radius: 0.33rem;
  color: var(--custom-color-2);
  font-family: "Barlow Condensed", sans-serif;
  font-size: var(--font-size-small);
  font-weight: 500;
  line-height: inherit;
  text-decoration: none;
}

.site-button:hover {
  background: var(--contrast-2);
  color: var(--base);
}

.image-rounded img,
.image-rounded {
  border-radius: var(--spacing-20);
}

.image-rounded img {
  width: 100%;
}

.columns {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--spacing-50) var(--spacing-60);
  align-items: center;
  max-width: 100%;
}

.column {
  min-width: 0;
}

.column-40 {
  flex: 0 1 40%;
}

.column-50 {
  flex: 0 1 50%;
}

.align-center {
  align-self: center;
}

.check-list {
  padding-left: var(--spacing-10);
  line-height: 1.75;
  list-style-type: "\2713";
}

.check-list li {
  padding-inline-start: 1ch;
}

.hover-card {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 12px;
  width: 100%;
}

.hover-card img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.hover-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 20px;
}

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

.hover-card:hover .overlay {
  opacity: 1;
}

.hover-card h3 {
  margin: 0 0 5px;
  color: #d6c6a8;
  background: transparent;
}

.hover-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--spacing-50) var(--spacing-60);
}

.team-member {
  min-width: 0;
}

.team-member:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc((100% - var(--spacing-60)) / 2);
}

.team-grid .hover-card {
  height: 100%;
  min-height: 620px;
}

.team-grid .hover-card img {
  height: 100%;
  object-fit: cover;
}

.work-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--spacing-20);
  max-width: var(--wide);
  margin-inline: auto;
}

.work-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--custom-color-2);
  font-family: "Barlow Condensed", sans-serif;
  font-size: var(--font-size-medium);
}

.work-form .full {
  grid-column: 1 / -1;
}

.work-form input,
.work-form textarea {
  width: 100%;
  border: 1px solid rgba(214, 186, 120, 0.35);
  border-radius: 0.33rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--custom-color-3);
  font: inherit;
  padding: 0.8rem 1rem;
}

.work-form textarea {
  resize: vertical;
}

.work-form button {
  border: 0;
  cursor: pointer;
}

.section-media {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--spacing-50);
  align-items: center;
}

.section-media.reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.section-media .image-rounded img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.section-media .logo-vidrio-img {
  object-position: 28% center;
}

.schedule-block {
  max-width: var(--content);
}

.schedule-block .news-title {
  margin-inline: auto;
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--spacing-50);
  align-items: center;
}

.news-title {
  max-width: var(--wide);
  line-height: 1;
}

.contact-box {
  background: var(--base-2);
  border-radius: 16px;
  padding: var(--spacing-40) var(--spacing-50);
}

.contact-box h2 {
  background: transparent;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--spacing-20);
  max-width: 860px;
  margin-inline: auto;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--custom-color-1);
  font-family: "Barlow Condensed", sans-serif;
  font-size: var(--font-size-medium);
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(10, 42, 61, 0.18);
  border-radius: 0.33rem;
  background: var(--base);
  color: var(--contrast);
  font: inherit;
  padding: 0.8rem 1rem;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  grid-column: 1 / -1;
  width: 100%;
  border: 0;
  cursor: pointer;
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  padding: 0;
  margin-top: var(--spacing-10);
  list-style: none;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--custom-color-1);
  color: var(--base-2);
}

.social-links svg {
  fill: currentColor;
}

.site-footer {
  padding: var(--spacing-50);
}

.footer-columns {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--spacing-50);
  align-items: center;
  justify-content: center;
}

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

.footer-logo-horizontal {
  position: relative;
  display: block;
  width: min(420px, 70vw);
  height: 118px;
  overflow: hidden;
}

.footer-logo-horizontal img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 520px;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
}

.footer-title {
  color: var(--custom-color-3);
}

.site-tagline {
  color: var(--contrast-2);
  font-size: var(--font-size-small);
}

.footer-spacer {
  flex: 1 1 auto;
  height: 100px;
}

.footer-map {
  width: 100%;
}

.footer-map iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 360px;
  border: 0;
  border-radius: var(--spacing-20);
}

@media (max-width: 781px) {
  html {
    scroll-padding-top: 116px;
  }

  .anchor-target {
    scroll-margin-top: 116px;
  }

  .section-media[id],
  .contact-box[id] {
    scroll-margin-top: 116px;
  }

  .site-header,
  .site-section,
  .site-footer {
    padding-right: 24px;
    padding-left: 24px;
  }

  .header-inner {
    min-height: 76px;
  }

  .site-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .site-logo {
    width: min(220px, 56vw);
    height: 76px;
  }

  .site-logo img {
    width: 310px;
  }

  .columns,
  .footer-columns {
    flex-wrap: wrap;
  }

  .column-40,
  .column-50,
  .footer-brand,
  .footer-map {
    flex-basis: 100%;
  }

  .team-row {
    gap: var(--spacing-40);
  }

  .team-grid,
  .work-form,
  .contact-form,
  .section-media,
  .section-media.reverse,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .team-member:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }

  .hover-card .overlay {
    position: static;
    opacity: 1;
    background: rgba(0, 0, 0, 0.65);
  }
}
