@charset "UTF-8";

/* Self-hosted Roboto (variable) — latin + latin-ext */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/roboto-latin-ext.woff2") format("woff2");
  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: "Roboto";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/roboto-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-gold: #e8c373;
  --color-gold-dark: #c9a45a;
  --color-text: #222222;
  --color-heading: #1f1f1f;
  --color-muted: #2d2d2d;
  --color-surface-dark: #232323;
  --color-black: #0a0a0a;
  --color-white: #ffffff;
  --font-sans: "Roboto", system-ui, -apple-system, sans-serif;
  --space: 1rem;
  --container: 1120px;
  --header-h: 4.5rem;
  --radius: 0;
  --ease: 200ms ease;
  --shadow-header: 0 1px 0 rgba(255, 255, 255, 0.06);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

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

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 2rem, 42rem);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--color-gold);
  color: var(--color-black);
  font-weight: 500;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 1rem 0;
  color: var(--color-white);
  transition: background-color var(--ease), box-shadow var(--ease), padding var(--ease);
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(10, 10, 10, 0.94);
  box-shadow: var(--shadow-header);
  padding: 0.65rem 0;
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo img {
  width: min(230px, 58vw);
  height: auto;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-white);
  transition: transform var(--ease), opacity var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  display: none;
  background: rgba(10, 10, 10, 0.96);
  padding: 0.5rem 1rem 1rem;
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.25rem;
  color: var(--color-white);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-bottom: 3px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-bottom-color: var(--color-gold);
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: block;
    background: transparent;
    padding: 0;
  }

  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
  }

  .site-nav a {
    min-height: auto;
    padding: 0.35rem 0;
  }

  .logo img {
    width: 280px;
  }
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(100svh, 42rem);
  padding: calc(var(--header-h) + 2.5rem) 0 3.5rem;
  color: var(--color-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--color-black) url("../images/slideshow/slide1.jpg") right center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.78) 40%,
    rgba(0, 0, 0, 0.4) 68%,
    rgba(0, 0, 0, 0.22) 100%
  );
}

/* Full container width (not shrunken/centered as a 36rem box) */
.hero-content.container {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--container));
  max-width: var(--container);
  margin-inline: auto;
  text-align: left;
  animation: hero-in 700ms ease both;
}

.hero-content > * {
  max-width: 36rem;
  margin-inline: 0;
}

.hero-brand {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 4.8vw, 2.75rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--color-gold);
}

.hero-lead {
  margin: 0 0 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem 1.25rem;
}

@media (max-width: 767px) {
  .hero {
    min-height: min(100svh, 36rem);
    align-items: center;
    padding: calc(var(--header-h) + 2rem) 0 2.5rem;
  }

  .hero-bg {
    background-position: 70% center;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.92) 0%,
      rgba(0, 0, 0, 0.82) 55%,
      rgba(0, 0, 0, 0.55) 100%
    );
  }
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.35rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  font-style: italic;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color var(--ease), color var(--ease), border-color var(--ease);
}

.btn-outline {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: transparent;
}

.btn-outline:hover {
  background: var(--color-gold);
  color: var(--color-black);
}

.btn-solid {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
  font-weight: 700;
}

.btn-solid:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.btn-text {
  border: 0;
  padding-inline: 0.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-style: normal;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-text:hover {
  color: var(--color-gold);
}

/* Sections */
.section {
  padding: 4rem 0;
  scroll-margin-top: calc(var(--header-h) + 0.5rem);
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 500;
  font-style: italic;
  text-transform: uppercase;
  color: var(--color-heading);
  letter-spacing: 0.02em;
}

.section-header-light h2 {
  color: var(--color-white);
}

.line {
  border: 0;
  border-bottom: 3px solid var(--color-gold);
  width: 40px;
  margin: 0.5rem auto 0;
}

.prose p {
  margin: 0 0 1.1rem;
  font-size: 1rem;
  color: var(--color-text);
}

.prose p:last-child {
  margin-bottom: 0;
}

/* Areas */
.section-areas {
  color: var(--color-white);
  background: var(--color-black) url("../images/bg_areas.jpg") center / cover no-repeat;
  position: relative;
}

.section-areas::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.section-areas > .container {
  position: relative;
  z-index: 1;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.area-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 7.5rem;
  padding: 1rem 0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.85);
  text-align: center;
  transition: background-color 300ms ease;
}

.area-card img,
.area-card .area-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.area-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.3;
  color: var(--color-white);
}

.area-card:hover,
.area-card:focus-within {
  background: rgba(0, 0, 0, 0.8);
}

.area-card-cta {
  background: var(--color-gold);
  border-color: var(--color-gold);
  gap: 0.75rem;
}

.area-card-cta:hover,
.area-card-cta:focus-within {
  background: var(--color-gold);
}

.area-card-cta p {
  font-size: 0.8125rem;
  color: var(--color-black);
}

.areas-note {
  margin: 1.5rem 0 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
}

@media (min-width: 640px) {
  .areas-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 960px) {
  .areas-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .area-card {
    min-height: 8rem;
  }
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 18rem);
  gap: 2rem;
  justify-content: center;
  justify-items: center;
}

.team-card {
  width: 100%;
  max-width: 18rem;
  text-align: center;
}

.team-card h3 {
  margin: 0.85rem 0 0;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-muted);
}

.team-role {
  margin: 0.15rem 0 0.5rem;
  font-size: 1rem;
  font-style: italic;
  color: var(--color-gold);
}

.team-areas {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.team-card a {
  font-size: 0.875rem;
  color: var(--color-muted);
  text-underline-offset: 2px;
}

.team-card a:hover {
  color: var(--color-gold-dark);
}

.team-photo {
  position: relative;
  overflow: hidden;
  background: #111;
  margin-inline: auto;
}

.team-photo img {
  width: 100%;
  aspect-ratio: 258 / 217;
  object-fit: cover;
  transition: transform 400ms ease;
}

.team-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}

.team-card:hover .team-photo::after,
.team-card:focus-within .team-photo::after {
  opacity: 1;
}

.team-card:hover .team-photo img,
.team-card:focus-within .team-photo img {
  transform: scale(1.03);
}

@media (min-width: 700px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 18rem));
    gap: 2.5rem;
  }
}

/* Footer / contactos */
.site-footer {
  background: var(--color-surface-dark);
  color: var(--color-white);
  padding: 4rem 0 2.5rem;
  scroll-margin-top: calc(var(--header-h) + 0.5rem);
}

.contact-block {
  font-style: normal;
  text-align: center;
  font-size: 1rem;
  line-height: 1.7;
}

.contact-block p {
  margin: 0 0 0.35rem;
}

.contact-block span {
  color: var(--color-gold);
}

.contact-block a {
  color: var(--color-white);
  text-decoration: none;
}

.contact-block a:hover {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-copy {
  margin: 2rem 0 0;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}
