:root {
  --bg: #000000;
  --panel: #080808;
  --panel-soft: #101010;
  --text: #f0ece6;
  --muted: #c8c0b6;
  --soft: #8f887f;
  --gold: #c8a165;
  --gold-dark: #9f793c;
  --line: rgba(200, 161, 101, 0.36);
  --line-soft: rgba(240, 236, 230, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --sans: "Montserrat", "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

main[id],
section[id] {
  scroll-margin-top: 98px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid rgba(240, 236, 230, 0.08);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 230px;
}

.brand-mark {
  width: 54px;
  height: 70px;
  flex: 0 0 54px;
  border: 1px solid rgba(200, 161, 101, 0.58);
  background: #000000;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 5px 6px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.site-nav a {
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  padding: 9px 0;
  border-bottom: 1px solid transparent;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--text);
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin: 5px auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #111111;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.button:hover,
.button:focus {
  background: #d9b87c;
  border-color: #d9b87c;
}

.button.secondary {
  background: transparent;
  color: var(--text);
  border-color: rgba(240, 236, 230, 0.72);
}

.button.secondary:hover,
.button.secondary:focus {
  color: var(--gold);
  border-color: var(--gold);
}

.hero {
  position: relative;
  min-height: 76vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #050505;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.72) 45%, rgba(0, 0, 0, 0.35)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.95), transparent 34%, rgba(0, 0, 0, 0.22));
}

.hero-content,
.section-inner,
.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-content {
  padding: 68px 0 78px;
}

.eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 18px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1.04;
  font-weight: 300;
  margin-bottom: 24px;
  overflow-wrap: break-word;
}

h2 {
  font-family: var(--serif);
  font-size: 46px;
  line-height: 1.08;
  font-weight: 400;
  margin-bottom: 22px;
}

h3 {
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 12px;
}

.lead {
  max-width: 790px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.section {
  padding: 92px 0;
  border-top: 1px solid rgba(240, 236, 230, 0.07);
}

.section.compact {
  padding: 70px 0;
}

.section.alt {
  background: var(--panel);
}

.section-header {
  max-width: 790px;
  margin-bottom: 42px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.grid {
  display: grid;
  gap: 22px;
}

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

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -18px 0 28px;
}

.filter-chip {
  min-height: 36px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  padding: 8px 14px;
}

.filter-chip:hover,
.filter-chip:focus,
.filter-chip.active {
  border-color: var(--gold);
  color: var(--gold);
}

.article-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.article-page-button {
  width: 40px;
  min-height: 40px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: rgba(8, 8, 8, 0.9);
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
}

.article-page-button:hover,
.article-page-button:focus,
.article-page-button.active {
  border-color: var(--gold);
  background: var(--gold);
  color: #090909;
}

.article-page-status {
  color: var(--soft);
  font-size: 13px;
  margin: 14px 0 0;
  text-align: center;
}

.card,
.text-panel {
  border: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.9);
  border-radius: 8px;
  padding: 28px;
}

.card h3 {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
}

.article-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 12px;
}

.article-image-link {
  display: block;
  margin: -8px -8px 2px;
  overflow: hidden;
  border-radius: 6px;
  background: #050505;
}

.article-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  transition: transform 180ms ease, opacity 180ms ease;
}

.article-image-link:hover .article-image,
.article-image-link:focus .article-image {
  opacity: 0.88;
  transform: scale(1.025);
}

.article-card h3 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.35;
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

.article-card p {
  margin-bottom: 0;
}

.article-meta {
  color: var(--soft);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.article-link {
  color: var(--gold);
  display: inline-flex;
  font-size: 14px;
  font-weight: 750;
  margin-top: auto;
}

.article-link:hover,
.article-link:focus {
  color: #d9b87c;
}

.card p,
.text-panel p,
.page-copy p,
.list-clean li {
  color: var(--muted);
}

.numbered {
  counter-reset: step;
}

.numbered .card {
  position: relative;
  padding-top: 58px;
}

.numbered .card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 22px;
  left: 28px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  border-radius: 50%;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 52px;
  align-items: center;
}

.portrait-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel-soft);
  box-shadow: var(--shadow);
}

.portrait-frame img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: 55% 24%;
}

.quote-panel {
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  color: var(--text);
}

.quote-panel p {
  color: var(--muted);
  font-size: 18px;
}

.page-hero {
  padding: 92px 0 76px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.95), rgba(10, 10, 10, 0.86)),
    url("bruno-hero.jpg");
  background-size: cover;
  background-position: 60% 32%;
  border-bottom: 1px solid var(--line-soft);
}

.page-hero h1 {
  font-size: 56px;
}

.page-copy {
  max-width: 820px;
}

.list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-clean li {
  padding: 15px 0 15px 26px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}

.list-clean li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold);
  background: transparent;
}

.compact-list li {
  font-size: 15px;
  line-height: 1.5;
  padding: 11px 0 11px 24px;
}

.compact-list li::before {
  top: 20px;
}

.document-note {
  margin-top: 24px;
}

.credential-list {
  margin-top: 20px;
}

.credential-list li {
  font-size: 15px;
  line-height: 1.48;
  padding: 10px 0 10px 24px;
}

.credential-list li::before {
  top: 18px;
}

.credential-list a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(200, 161, 101, 0.72);
  text-underline-offset: 3px;
}

.credential-list a:hover,
.credential-list a:focus {
  color: var(--gold);
}

.facts {
  display: grid;
  gap: 14px;
}

.fact {
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 14px;
}

.fact strong {
  display: block;
  color: var(--gold);
  margin-bottom: 4px;
}

.map-panel {
  margin-top: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel-soft);
}

.map-panel iframe {
  display: block;
  width: 100%;
  min-height: 300px;
  aspect-ratio: 4 / 3;
  border: 0;
  filter: grayscale(0.14) contrast(1.02) brightness(0.88);
}

.notice {
  border: 1px solid var(--line);
  background: rgba(200, 161, 101, 0.08);
  border-radius: 8px;
  padding: 20px;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.8fr);
  gap: 36px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

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

label {
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(240, 236, 230, 0.2);
  border-radius: 8px;
  background: #050505;
  color: var(--text);
  padding: 12px 14px;
  outline: none;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 161, 101, 0.16);
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  background: #030303;
  padding: 56px 0 32px;
}

.mobile-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 9px 17px 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: #25d366;
  color: #07170d;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.38);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.mobile-whatsapp:hover,
.mobile-whatsapp:focus-visible {
  background: #39df78;
  color: #07170d;
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.46);
}

.mobile-whatsapp svg {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  fill: currentColor;
}

.mobile-whatsapp span {
  display: grid;
  gap: 1px;
  line-height: 1.1;
}

.mobile-whatsapp strong {
  font-size: 14px;
  font-weight: 900;
}

.mobile-whatsapp small {
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.75fr 1fr;
  gap: 36px;
}

.footer-brand {
  display: grid;
  gap: 14px;
  align-content: start;
}

.footer-logo {
  display: block;
  width: 98px;
  max-width: 100%;
  height: auto;
}

.footer-brand p {
  color: var(--muted);
  margin: 0;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--gold);
}

.ethical {
  border-top: 1px solid var(--line-soft);
  color: var(--soft);
  font-size: 13px;
  margin: 34px 0 0;
  padding-top: 24px;
}

.legal-copy h2 {
  font-size: 34px;
  margin-top: 42px;
}

.legal-copy p,
.legal-copy li {
  color: var(--muted);
}

.legal-copy ul {
  padding-left: 20px;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 0;
}

.error-page-inner {
  width: min(720px, calc(100% - 40px));
}

.error-page h1 {
  font-size: 56px;
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 78px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 78px 0 auto 0;
    display: none;
    width: 100%;
    padding: 24px 20px 28px;
    background: rgba(0, 0, 0, 0.98);
    border-bottom: 1px solid var(--line-soft);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .site-nav a {
    padding: 12px 0;
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .header-actions .button {
    display: none;
  }

  h1 {
    font-size: 46px;
  }

  h2,
  .page-hero h1 {
    font-size: 38px;
  }

  .grid.three,
  .grid.four,
  .article-grid,
  .footer-grid,
  .contact-layout,
  .split {
    grid-template-columns: 1fr;
  }

  .portrait-frame img {
    height: 560px;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 78px;
  }

  .header-inner,
  .hero-content,
  .section-inner,
  .footer-inner {
    width: min(calc(100% - 28px), 1180px);
  }

  .brand {
    flex: 1;
    min-width: 0;
  }

  .brand span:last-child {
    min-width: 0;
  }

  .brand-mark {
    width: 46px;
    height: 58px;
    flex-basis: 46px;
    padding: 5px;
  }

  .brand strong {
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand small {
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .menu-toggle {
    flex: 0 0 44px;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-photo {
    object-position: 58% 28%;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.66)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.96), transparent 40%);
  }

  .hero-content {
    padding: 54px 0 64px;
  }

  h1 {
    font-size: 31px;
    line-height: 1.08;
  }

  h2,
  .page-hero h1 {
    font-size: 32px;
  }

  .lead {
    font-size: 16px;
    line-height: 1.58;
  }

  .section {
    padding: 68px 0;
  }

  .section.compact {
    padding: 58px 0;
  }

  main[id],
  section[id] {
    scroll-margin-top: 78px;
  }

  .grid.two,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .text-panel {
    padding: 22px;
  }

  .portrait-frame img {
    height: 480px;
  }

  .button {
    width: 100%;
  }

  .article-filters {
    gap: 8px;
    margin-bottom: 24px;
  }

  .filter-chip {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
  }

  .article-pagination {
    gap: 6px;
  }

  .article-page-button {
    width: 36px;
    min-height: 36px;
  }

  .mobile-whatsapp {
    right: 14px;
    bottom: 14px;
    min-height: 50px;
    padding: 8px 14px 8px 10px;
  }

  .mobile-whatsapp svg {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }
}

@media (max-width: 420px) {
  .header-inner,
  .hero-content,
  .section-inner,
  .footer-inner {
    width: calc(100% - 28px);
  }

  .header-inner {
    gap: 10px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 42px;
    height: 54px;
    flex-basis: 42px;
    padding: 4px;
  }

  .brand strong {
    max-width: 165px;
  }

  h1 {
    font-size: 29px;
  }

  h2,
  .page-hero h1 {
    font-size: 29px;
  }

  .button {
    padding-left: 16px;
    padding-right: 16px;
  }

  .filter-chip {
    flex-basis: 100%;
  }
}
