/* Reset ligero, tipografía global y utilidades compartidas. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  color: var(--ink);
}

button {
  font-family: var(--font);
}

input,
textarea,
select {
  font-family: var(--font);
  font-weight: 600;
}

p,
span,
div,
li,
label,
a,
button {
  font-weight: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
}

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

/* ---- Layout helpers ---- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section {
  padding-top: 118px;
  padding-bottom: 118px;
}
.section--tight {
  padding-top: 70px;
  padding-bottom: 70px;
}
.section--wide {
  padding-top: 126px;
  padding-bottom: 126px;
}
.section--110 {
  padding-top: 110px;
  padding-bottom: 110px;
}
.section--about-hero {
  padding-top: 120px;
  padding-bottom: 110px;
}
.section--contact {
  padding-top: 100px;
  padding-bottom: 120px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}
.split--center {
  align-items: center;
}

/* ---- Text helpers ---- */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
}
.eyebrow--block {
  display: block;
  margin-bottom: 18px;
}
.eyebrow--gold {
  color: var(--gold-light);
}

.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.rule {
  width: 28px;
  height: 1px;
  background: var(--gold-light);
}
.rule--wide {
  width: 44px;
}

.sec-head {
  max-width: 620px;
  margin-bottom: 52px;
}
.sec-head__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 54px;
  flex-wrap: wrap;
}
.sec-head__lead,
.sec-head__note {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
.sec-head__lead {
  max-width: 380px;
}

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

/* ---- Headings ---- */
.hd-48,
.hd-46,
.hd-42,
.hd-40,
.hd-38,
.hd-37,
.hd-36,
.hd-28,
.hd-26 {
  text-wrap: pretty;
}
.hd-48 {
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.hd-46 {
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.hd-42 {
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.022em;
}
.hd-40 {
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.022em;
}
.hd-38 {
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.hd-37 {
  font-size: 37px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.hd-36 {
  font-size: 36px;
  line-height: 1.14;
  letter-spacing: -0.02em;
}
.hd-28 {
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: -0.018em;
}
.hd-26 {
  font-size: 26px;
  line-height: 1.18;
  letter-spacing: -0.016em;
}

@keyframes aurumRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .services__layout,
  .services__panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .services__panel,
  .services__media {
    min-height: 300px;
  }
}

@media (max-width: 900px) {
  .container {
    padding-left: 22px;
    padding-right: 22px;
  }
  .section,
  .section--tight,
  .section--wide,
  .section--110,
  .section--about-hero,
  .section--contact {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  h1 {
    font-size: 34px !important;
    line-height: 1.1 !important;
  }
  h2 {
    font-size: 27px !important;
    line-height: 1.15 !important;
  }
  h3 {
    font-size: 20px !important;
  }
}

@media (max-width: 560px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }
  h1 {
    font-size: 29px !important;
  }
}
