:root {
  --black: #050606;
  --graphite: #0a0b0b;
  --panel: #111111;
  --panel-soft: #171716;
  --line: rgba(219, 177, 104, 0.22);
  --line-cold: rgba(255, 255, 255, 0.12);
  --text: #f0eee8;
  --muted: #b7b1a7;
  --dim: #7f7970;
  --gold: #d6ad6a;
  --gold-deep: #9c743a;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1380px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(214, 173, 106, 0.08), transparent 28rem),
    linear-gradient(180deg, #030303, #0b0b0a 35%, #050505);
  font-family: var(--sans);
  font-size: 16px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, #000, transparent 78%);
}

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

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 24px), var(--max));
  min-height: 74px;
  margin: 12px auto 0;
  padding: 0 clamp(18px, 3vw, 36px);
  border: 1px solid var(--line-cold);
  background: rgba(5, 6, 6, 0.78);
  backdrop-filter: blur(18px);
}

.brand,
.main-nav a,
.eyebrow,
.section-kicker,
.button,
.card-index,
.quiet-panel h3,
.pillar-grid h3,
.contact-form label,
.stats-grid span {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand {
  color: var(--text);
  letter-spacing: 0.2em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
}

.main-nav a {
  color: var(--muted);
  transition: color 180ms ease;
}

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

.nav-toggle {
  display: none;
}

.section-frame {
  width: min(calc(100% - 24px), var(--max));
  margin: 0 auto;
  border-right: 1px solid var(--line-cold);
  border-bottom: 1px solid var(--line-cold);
  border-left: 1px solid var(--line-cold);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  min-height: clamp(620px, 82vh, 860px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 6, 6, 0.98), rgba(5, 6, 6, 0.78) 52%, rgba(5, 6, 6, 0.4)),
    #070808;
}

.hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 760px;
  padding: clamp(54px, 8vw, 112px) clamp(28px, 6vw, 78px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
.line-hero h2,
.about h2,
.final-hub-cta h2,
.contact h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.6rem, 7.6vw, 7.2rem);
}

h1 em {
  color: var(--gold);
  font-style: italic;
}

.gold-line {
  width: 74px;
  height: 1px;
  margin: 30px 0;
  background: var(--gold);
}

.hero-copy p:not(.eyebrow),
.line-hero p:not(.eyebrow):not(.subtitle),
.about-copy p,
.contact p,
.final-hub-cta h2 {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy p:not(.eyebrow) {
  max-width: 510px;
}

.portrait-panel,
.about-photo,
.line-image,
.profit-image,
.path-card::before,
.line-cta::after {
  background-position: center;
  background-size: cover;
  filter: saturate(0.75) contrast(1.1) brightness(0.72);
}

.portrait-panel {
  min-height: inherit;
  background-image:
    linear-gradient(90deg, rgba(5, 6, 6, 0.5), rgba(5, 6, 6, 0.04)),
    linear-gradient(0deg, rgba(5, 6, 6, 0.35), transparent 42%),
    url("assets/alberto-hero-new.png");
  background-position: 50% 38%;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 18px;
  padding: 0 22px;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.button::after {
  content: "->";
  margin-left: 12px;
  letter-spacing: 0;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--gold);
  color: #15110b;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #edca87;
  border-color: #edca87;
}

.button-ghost {
  background: transparent;
  color: var(--text);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: var(--gold);
  color: #15110b;
}

.choice-section,
.authority,
.about,
.line-page,
.contact {
  padding: clamp(44px, 6vw, 78px) clamp(28px, 5vw, 72px);
}

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

.path-card {
  position: relative;
  min-height: 470px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line-cold);
  background: var(--panel);
  isolation: isolate;
  transition: border-color 180ms ease, transform 180ms ease;
}

.path-card:hover {
  border-color: var(--line);
  transform: translateY(-4px);
}

.path-card::before,
.path-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.path-card::after {
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.96), rgba(7, 7, 7, 0.72) 48%, rgba(7, 7, 7, 0.38)),
    linear-gradient(0deg, rgba(7, 7, 7, 0.86), transparent 62%);
}

.path-focus::before {
  background-image: url("assets/metodo-focus-card.jpg");
  background-position: 70% 50%;
}

.path-business::before {
  background-image: url("assets/focus-business-card.jpg");
  background-position: 58% 50%;
}

.path-card h3 {
  max-width: 12ch;
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.9rem);
  font-weight: 400;
  line-height: 0.98;
}

.path-card p:not(.eyebrow) {
  max-width: 360px;
  color: var(--muted);
  line-height: 1.75;
}

.card-index {
  display: block;
  margin-top: 24px;
  color: var(--gold);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stats-grid article {
  min-height: 204px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  border: 1px solid var(--line-cold);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

.stats-grid strong {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 1;
}

.stats-grid span {
  margin-top: 8px;
  color: var(--gold);
}

.stats-grid p {
  max-width: 170px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.logo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 58px);
  margin: 58px 0 0;
  padding: 0;
  list-style: none;
}

.logo-row li {
  display: grid;
  min-width: 0;
  place-items: center;
}

.logo-row img {
  display: block;
  width: auto;
  max-width: min(190px, 16vw);
  height: clamp(22px, 2vw, 34px);
  object-fit: contain;
  opacity: 0.72;
  filter: invert(96%) sepia(7%) saturate(620%) hue-rotate(356deg) brightness(92%) contrast(86%);
  transition: opacity 180ms ease, filter 180ms ease, transform 180ms ease;
}

.logo-row img:hover {
  opacity: 1;
  filter: invert(80%) sepia(30%) saturate(620%) hue-rotate(359deg) brightness(92%) contrast(88%);
  transform: translateY(-2px);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: center;
}

.about h2,
.contact h2 {
  font-size: clamp(2.6rem, 5vw, 5rem);
}

.about-copy p {
  max-width: 520px;
  margin: 26px 0 0;
}

.about-photo {
  min-height: clamp(420px, 48vw, 680px);
  border: 1px solid var(--line-cold);
  background-image:
    linear-gradient(0deg, rgba(5, 6, 6, 0.3), transparent 54%),
    linear-gradient(90deg, rgba(5, 6, 6, 0.12), transparent 42%),
    url("assets/yo-rtve.png");
  background-position: 58% center;
}

.final-hub-cta {
  width: min(calc(100% - 24px), var(--max));
  margin: 0 auto;
  padding: clamp(46px, 6vw, 72px) 24px;
  border-right: 1px solid var(--line-cold);
  border-bottom: 1px solid var(--line-cold);
  border-left: 1px solid var(--line-cold);
  text-align: center;
  background:
    linear-gradient(90deg, rgba(5, 6, 6, 0.96), rgba(5, 6, 6, 0.66)),
    url("assets/final-texture.jpg");
  background-position: center;
  background-size: cover;
}

.final-hub-cta h2 {
  max-width: 850px;
  margin: 0 auto;
  color: var(--text);
  font-size: clamp(1.8rem, 3vw, 3.2rem);
}

.line-page {
  scroll-margin-top: 96px;
}

.line-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  min-height: 430px;
  margin: calc(clamp(44px, 6vw, 78px) * -1) calc(clamp(28px, 5vw, 72px) * -1) clamp(38px, 5vw, 64px);
  padding: clamp(52px, 7vw, 86px) clamp(28px, 5vw, 72px);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--line-cold);
  background: linear-gradient(90deg, rgba(9, 9, 9, 0.98), rgba(13, 13, 12, 0.7));
}

.line-hero h2 {
  font-size: clamp(3.2rem, 6vw, 6.4rem);
}

.subtitle {
  margin: 12px 0 0;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.line-image {
  min-height: 360px;
  align-self: stretch;
}

.image-photographer {
  background-image:
    linear-gradient(90deg, rgba(8, 8, 8, 0.24), rgba(8, 8, 8, 0.02)),
    url("assets/focus-photographer.jpg");
  background-position: 55% center;
}

.image-boardroom {
  background-image:
    linear-gradient(90deg, rgba(8, 8, 8, 0.42), rgba(8, 8, 8, 0.06)),
    url("assets/business-boardroom.jpg");
  background-position: center;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 34px);
  margin-bottom: clamp(34px, 5vw, 58px);
}

.quiet-panel {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line-cold);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
}

.quiet-panel h3,
.pillar-grid h3 {
  margin: 0 0 20px;
  color: var(--gold);
}

.check-list,
.cross-list,
.work-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  line-height: 1.45;
  list-style: none;
}

.check-list li,
.cross-list li,
.work-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before,
.work-list li::before {
  content: "";
  position: absolute;
  top: 0.2em;
  left: 0;
  width: 14px;
  height: 14px;
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.check-list li::after,
.work-list li::after {
  content: "";
  position: absolute;
  top: calc(0.2em + 4px);
  left: 4px;
  width: 6px;
  height: 3px;
  border-bottom: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
  transform: rotate(-45deg);
}

.cross-list li::before,
.cross-list li::after {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 1px;
  width: 14px;
  height: 1px;
  background: var(--gold);
}

.cross-list li::before {
  transform: rotate(45deg);
}

.cross-list li::after {
  transform: rotate(-45deg);
}

.pillar-grid {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

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

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

.pillar-grid article {
  min-height: 210px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line-cold);
  background: var(--panel-soft);
  transition: transform 180ms ease, border-color 180ms ease;
}

.pillar-grid article:hover {
  transform: translateY(-3px);
  border-color: var(--line);
}

.pillar-grid span {
  display: block;
  margin-bottom: 22px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
}

.pillar-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.work-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: clamp(38px, 5vw, 62px);
}

.profit-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 34px;
  margin-bottom: 28px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line-cold);
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}

.profit-panel h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3.4rem);
  font-weight: 400;
}

.profit-panel p {
  max-width: 660px;
  color: var(--muted);
  line-height: 1.7;
}

.profit-image {
  min-height: 280px;
  background-image:
    linear-gradient(0deg, rgba(5, 6, 6, 0.26), transparent),
    url("assets/profit-documents.jpg");
}

.work-list.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0;
}

.line-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  overflow: hidden;
  margin: 34px calc(clamp(28px, 5vw, 72px) * -1) calc(clamp(44px, 6vw, 78px) * -1);
  padding: clamp(32px, 4vw, 52px) clamp(28px, 5vw, 72px);
  border-top: 1px solid var(--line-cold);
  isolation: isolate;
}

.line-cta::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -1;
  width: min(46%, 620px);
  opacity: 0.72;
}

.focus-cta::after {
  background-image: linear-gradient(90deg, rgba(5, 6, 6, 1), rgba(5, 6, 6, 0.15)), url("assets/focus-cta.jpg");
}

.business-cta::after {
  background-image: linear-gradient(90deg, rgba(5, 6, 6, 1), rgba(5, 6, 6, 0.12)), url("assets/business-cta.jpg");
}

.line-cta h3 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 3.6rem);
  font-weight: 400;
  line-height: 1.08;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(32px, 5vw, 74px);
}

.contact p {
  max-width: 560px;
}

.contact-details {
  display: grid;
  gap: 10px;
  max-width: 420px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-style: normal;
}

.contact-details .contact-name {
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
}

.contact-details a,
.contact-details span:not(.contact-name) {
  width: fit-content;
  color: var(--muted);
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.contact-details a {
  transition: color 180ms ease;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  color: var(--gold);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line-cold);
  background: rgba(255, 255, 255, 0.035);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--gold);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-cold);
  border-radius: 0;
  padding: 13px 14px;
  color: var(--text);
  background: #070808;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

@media (max-width: 1020px) {
  .site-header {
    flex-wrap: wrap;
    min-height: 66px;
  }

  .nav-toggle {
    display: inline-grid;
    gap: 7px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 1px solid var(--line-cold);
    background: transparent;
    color: var(--text);
  }

  .nav-toggle span {
    display: block;
    width: 20px;
    height: 1px;
    background: currentColor;
  }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0 22px;
  }

  .site-header.is-open .main-nav {
    display: flex;
  }

  .hero,
  .line-hero,
  .about,
  .contact,
  .profit-panel {
    grid-template-columns: 1fr;
  }

  .portrait-panel {
    min-height: 520px;
  }

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

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

  .line-hero {
    margin-top: calc(clamp(44px, 6vw, 78px) * -1);
  }

  .line-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .section-frame,
  .site-header,
  .final-hub-cta {
    width: calc(100% - 14px);
  }

  .hero-copy,
  .choice-section,
  .authority,
  .about,
  .line-page,
  .contact {
    padding-right: 20px;
    padding-left: 20px;
  }

  .choice-grid,
  .split-grid,
  .pillar-grid.three,
  .pillar-grid.four,
  .stats-grid,
  .work-list,
  .work-list.compact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(3.1rem, 15vw, 4.8rem);
  }

  .line-image,
  .about-photo {
    min-height: 380px;
  }

  .portrait-panel {
    aspect-ratio: 1014 / 1604;
    min-height: 0;
    background-color: #050606;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .path-card {
    min-height: 420px;
  }

  .logo-row {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .line-hero,
  .line-cta {
    margin-right: -20px;
    margin-left: -20px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .line-cta::after {
    width: 100%;
    opacity: 0.26;
  }
}

@media (max-width: 460px) {
  .brand {
    max-width: 210px;
    font-size: 0.65rem;
  }

  .button {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
    text-align: center;
  }

  .path-card h3 {
    font-size: 2.4rem;
  }
}
