@font-face {
  font-family: "Gilda Display";
  src: url("../fonts/gilda-display-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Gilda Display";
  src: url("../fonts/gilda-display-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Albert Sans";
  src: url("../fonts/albert-sans-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Albert Sans";
  src: url("../fonts/albert-sans-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --noche: #0b2a31;
  --ink: #0c1923;
  --gold: #c9985a;
  --gold-light: #dcb98a;
  --font-display: "Gilda Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  background: var(--noche);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgb(255 255 255 / 0.88);
  background: var(--noche);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

picture {
  display: block;
}

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

h1,
p,
ul,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 4px;
}

main:focus {
  outline: none;
}

::selection {
  background: var(--gold-light);
  color: var(--ink);
}

[hidden] {
  display: none !important;
}

html:not([lang="en"]) [lang="en"],
html[lang="en"] [lang="es"] {
  display: none;
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: #fff;
  color: var(--noche);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.wrap {
  width: min(100% - 2 * var(--gutter), 80rem);
  margin-inline: auto;
}

.page {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  overflow: hidden;
}

.page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: #08242b;
  background-image:
    radial-gradient(52rem 38rem at 6% 6%, rgb(22 135 158 / 0.52), transparent 66%),
    radial-gradient(46rem 34rem at 100% 0%, rgb(103 201 224 / 0.22), transparent 64%),
    radial-gradient(54rem 42rem at 96% 100%, rgb(15 94 111 / 0.7), transparent 66%),
    radial-gradient(40rem 30rem at 0% 100%, rgb(98 100 96 / 0.36), transparent 68%);
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem 0.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

.brand img {
  width: 9.5rem;
  height: auto;
}

.lang {
  display: flex;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid rgb(201 152 90 / 0.45);
  border-radius: 999px;
}

.lang button {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.75rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: 600 0.875rem/1 var(--font-sans);
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.lang button:hover {
  background: rgb(255 255 255 / 0.12);
}

.lang button[aria-pressed="true"] {
  background: var(--gold-light);
  color: var(--ink);
}

.hero {
  display: grid;
  gap: 1.75rem;
  align-content: center;
  padding-block: 1rem 1.5rem;
}

.title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 7.6vw, 4.25rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: #fff;
  text-wrap: balance;
  animation: rise 1.1s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.lead {
  max-width: 34rem;
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: rgb(255 255 255 / 0.86);
  text-wrap: pretty;
}

.contact {
  display: grid;
  gap: 0;
  max-width: 34rem;
  margin-top: 1.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgb(201 152 90 / 0.4);
}

.contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding-block: 0.3rem;
}

.ico {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold-light);
}

.ct {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.25rem;
  align-items: center;
  min-height: 2.5rem;
  line-height: 1.45;
}

.ct a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
}

.ct a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

.hours dl {
  display: grid;
  gap: 0.35rem;
  width: 100%;
}

.hours dl div {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.75rem;
}

.hours dt {
  flex: 0 1 auto;
  color: rgb(255 255 255 / 0.82);
}

.hours dd {
  margin: 0;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn-light {
  background: #fff;
  color: var(--noche);
}

.btn-light:hover {
  background: var(--gold-light);
}

.btn-outline-light {
  border-color: rgb(255 255 255 / 0.6);
  color: #fff;
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--noche);
}

.social {
  display: flex;
  gap: 0.75rem;
  margin-left: 0.5rem;
}

.social-link {
  display: grid;
  place-items: center;
  width: 2.875rem;
  height: 2.875rem;
  border: 1px solid rgb(255 255 255 / 0.55);
  border-radius: 999px;
  color: #fff;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.social-link:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.portrait {
  position: relative;
  width: 100%;
  max-width: 24rem;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--ink);
}

.portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: 50% 14%;
}

.doc {
  position: absolute;
  inset: auto 0.75rem 0.75rem 0.75rem;
  display: grid;
  gap: 0.1rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgb(220 185 138 / 0.45);
  border-radius: 1rem;
  background: rgb(11 42 49 / 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgb(255 255 255 / 0.9);
  font-size: 0.9375rem;
  line-height: 1.35;
}

.doc strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: #fff;
}

.doc span {
  color: var(--gold-light);
}

.foot {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  padding-block: 1rem;
  border-top: 1px solid rgb(201 152 90 / 0.4);
  text-align: center;
}

.motto {
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 3.2vw, 1.375rem);
  line-height: 1.3;
  color: var(--gold-light);
  text-wrap: balance;
}

.creds {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.creds li {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 3.25rem;
  padding: 0.35rem 0.5rem;
  border-radius: 0.85rem;
  background: #fff;
}

.creds img {
  width: auto;
  height: auto;
  max-width: 3.6rem;
  max-height: 2.6rem;
  object-fit: contain;
}

.rights {
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.75);
}

.contour {
  position: absolute;
  inset: auto 0 4rem 0;
  z-index: -1;
  width: 100%;
  height: 5.5rem;
  pointer-events: none;
  clip-path: inset(0 100% 0 0);
  animation: reveal 2.6s cubic-bezier(0.22, 0.61, 0.36, 1) 0.3s forwards;
}

.contour-line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 0.0004 0.0105;
  vector-effect: non-scaling-stroke;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes reveal {
  to {
    clip-path: inset(0 0 0 0);
  }
}

@media (min-width: 40rem) {
  .brand img {
    width: 10.5rem;
  }
}

@media (min-width: 48rem) {
  .hours dl {
    grid-template-columns: max-content 1fr;
    column-gap: 1.25rem;
  }

  .hours dl div {
    display: contents;
  }

  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 2rem;
    align-items: center;
  }

  .portrait {
    max-width: none;
    margin-inline: 0;
  }

  .portrait img {
    aspect-ratio: 4 / 5;
  }
}

@media (min-width: 64rem) {
  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
    padding-block: 0.5rem 1rem;
  }

  .title {
    font-size: clamp(3rem, 4.4vw, 4.25rem);
  }

  .portrait {
    max-width: none;
    height: clamp(24rem, calc(100svh - 11rem), 46rem);
    margin-inline: 0;
  }

  .portrait picture,
  .portrait img {
    height: 100%;
    aspect-ratio: auto;
  }

  .foot {
    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem;
    justify-items: stretch;
    padding-block: 0.75rem;
    text-align: left;
  }

  .rights {
    text-align: right;
  }

  .contour-line {
    stroke: #fff;
    stroke-opacity: 0.85;
  }
}

@media (min-width: 64rem) and (max-height: 920px) {
  .top {
    padding-block: 0.75rem 0;
  }

  .title {
    font-size: clamp(2.5rem, 3.7vw, 3.25rem);
  }

  .lead {
    margin-top: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
  }

  .contact {
    margin-top: 1rem;
    padding-top: 0.5rem;
  }

  .contact li {
    padding-block: 0.15rem;
  }

  .ico {
    width: 2.25rem;
    height: 2.25rem;
  }

  .ct {
    min-height: 2.25rem;
    font-size: 0.9375rem;
  }

  .actions {
    margin-top: 0.875rem;
  }

  .foot {
    padding-block: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .title,
  .contour {
    animation: none;
  }

  .contour {
    clip-path: none;
  }

  .btn,
  .social-link,
  .lang button {
    transition: none;
  }
}
