:root {
  --brand-blue: #242a70;
  --brand-blue-dark: #171c52;
  --brand-blue-soft: #eceef8;
  --ink: #182033;
  --muted: #5d6678;
  --paper: #f6f7fb;
  --white: #ffffff;
  --gold: #c7a45a;
  --line: rgba(24, 32, 51, 0.12);
  --shadow: 0 22px 60px rgba(12, 18, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Open Sans", Arial, sans-serif;
  overflow-x: hidden;
}

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

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

.wrap {
  width: calc(100% - 36px);
  max-width: 1140px;
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  object-position: center;
  background: var(--brand-blue);
}

.brand span {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.brand strong {
  color: var(--brand-blue);
  font-family: Merriweather, Georgia, serif;
  font-size: 20px;
  font-weight: 900;
}

.brand small {
  color: rgba(24, 32, 51, 0.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(24, 32, 51, 0.72);
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--brand-blue-dark);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 28, 82, 0.95) 0%, rgba(23, 28, 82, 0.82) 42%, rgba(23, 28, 82, 0.18) 100%),
    url("assets/enrique-estudio-podcast.jpg") right center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, rgba(23, 28, 82, 1), rgba(23, 28, 82, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: calc(100% - 36px);
  max-width: 760px;
  margin: 0 auto;
  padding: 92px 0 86px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Merriweather, Georgia, serif;
  letter-spacing: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.06;
}

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

.lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
}

.btn-primary {
  color: var(--white);
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
}

.btn-light {
  color: var(--brand-blue);
  background: var(--white);
}

.metrics {
  color: var(--white);
  background: var(--brand-blue);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.metrics article {
  min-height: 154px;
  padding: 26px 22px;
  background: var(--brand-blue);
}

.metrics strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-family: Merriweather, Georgia, serif;
  font-size: 38px;
  line-height: 1;
}

.metrics span {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.section {
  padding: 86px 0;
}

.split,
.method-grid,
.proof-grid,
.closing-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 52px;
  align-items: center;
}

.copy,
.copy p,
.section-heading p,
.service-card p,
.authority-grid p,
.project-list span,
.contact-section p,
.closing-section p,
.steps li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
}

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

.services-section,
.proof-section {
  background: var(--white);
}

.diagnosis-section {
  background: var(--brand-blue-soft);
}

.diagnosis-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 38px;
  align-items: center;
}

.diagnosis-section p {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
}

.price-line {
  color: var(--brand-blue) !important;
  font-size: 22px !important;
  font-weight: 900;
}

.diagnosis-box {
  padding: 28px;
  border-radius: 8px;
  color: var(--white);
  background: var(--brand-blue);
  box-shadow: var(--shadow);
}

.diagnosis-box h3 {
  margin-bottom: 18px;
}

.diagnosis-box ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.diagnosis-box li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.diagnosis-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.small-note {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.section-heading {
  max-width: 830px;
  margin-bottom: 32px;
}

.section-heading.narrow {
  max-width: 780px;
}

.service-grid,
.plan-grid,
.authority-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.compact-services .service-card {
  min-height: 210px;
}

.plan-grid .service-card {
  min-height: 540px;
}

.service-card,
.authority-grid article {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(12, 18, 42, 0.06);
}

.service-card span {
  display: block;
  margin-bottom: 22px;
  color: var(--brand-blue);
  font-family: Merriweather, Georgia, serif;
  font-size: 28px;
  font-weight: 900;
}

.mini-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--brand-blue);
  font-size: 14px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.plan-price {
  margin-bottom: 12px;
  color: var(--brand-blue) !important;
  font-family: Merriweather, Georgia, serif;
  font-size: 30px !important;
  font-weight: 900;
  line-height: 1.1 !important;
}

.plan-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.plan-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-blue);
}

.conditions {
  margin: 0 0 26px;
  padding: 18px 20px;
  border-left: 5px solid var(--brand-blue);
  border-radius: 8px;
  color: var(--muted);
  background: var(--brand-blue-soft);
  line-height: 1.58;
}

.conditions p {
  margin: 0 0 10px;
}

.conditions p:last-child,
.conditions li:last-child {
  margin-bottom: 0;
}

.conditions ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
}

.conditions li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.image-panel img,
.closing-photo img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.method-section {
  background: linear-gradient(180deg, var(--brand-blue-soft), #f9fafc);
}

.steps {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
  padding-left: 22px;
}

.steps strong {
  color: var(--ink);
}

.authority-section {
  color: var(--white);
  background: var(--brand-blue-dark);
}

.authority-section .section-heading p,
.authority-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.authority-grid article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.proof-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.proof-assets {
  display: grid;
  gap: 14px;
}

.proof-assets img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(12, 18, 42, 0.08);
}

.projects-section {
  background: var(--brand-blue-soft);
}

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

.project-list article {
  min-height: 148px;
  padding: 22px;
  border-left: 5px solid var(--brand-blue);
  border-radius: 8px;
  background: var(--white);
}

.project-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-blue);
  font-size: 19px;
}

.closing-section {
  padding: 86px 0;
  background: var(--paper);
}

.closing-grid {
  grid-template-columns: minmax(240px, 0.54fr) minmax(0, 1fr);
}

.closing-section .btn {
  margin-top: 10px;
}

.contact-section {
  padding: 78px 0;
  color: var(--white);
  background: var(--brand-blue);
}

.contact-section p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.text-link {
  color: var(--white);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.site-footer {
  padding: 26px 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--brand-blue-dark);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

@media (max-width: 940px) {
  .service-grid,
  .plan-grid,
  .authority-grid,
  .project-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .nav {
    min-height: 68px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand strong {
    font-size: 18px;
  }

  .brand small {
    font-size: 10px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: calc(100vh - 68px);
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(23, 28, 82, 0.78) 0%, rgba(23, 28, 82, 0.94) 58%, rgba(23, 28, 82, 1) 100%),
      url("assets/enrique-estudio-podcast.jpg") center top / cover no-repeat;
  }

  .hero-content {
    width: calc(100% - 36px);
    max-width: 340px;
    margin-left: 18px;
    margin-right: auto;
    padding: 290px 0 46px;
  }

  h1 {
    font-size: clamp(32px, 9vw, 38px);
    line-height: 1.03;
  }

  .lead {
    font-size: 18px;
  }

  .eyebrow {
    font-size: 12px;
    line-height: 1.35;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section,
  .closing-section {
    padding: 60px 0;
  }

  .split,
  .diagnosis-grid,
  .method-grid,
  .proof-grid,
  .closing-grid,
  .contact-grid,
  .service-grid,
  .plan-grid,
  .authority-grid,
  .project-list,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .authority-grid article {
    min-height: auto;
  }

  .metrics article {
    min-height: 128px;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .footer-grid {
    flex-direction: column;
  }
}

/* v6 editorial redesign based on Enrique's reference screenshots */
:root {
  --brand-blue: #242a70;
  --brand-blue-dark: #17184a;
  --ink: #15192a;
  --muted: #5f6270;
  --paper: #f4f2ed;
  --cream: #f7f6f1;
  --white: #ffffff;
  --gold: #c6a14e;
  --line: rgba(21, 25, 42, 0.16);
  --nav-height: 68px;
  --shadow: none;
}

body {
  background: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
}

.wrap {
  width: min(100% - 44px, 1180px);
  max-width: 1180px;
  min-width: 0;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(21, 25, 42, 0.12);
}

.nav {
  min-height: var(--nav-height);
}

.brand img,
.footer-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand strong,
.footer-brand strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1;
}

.brand small,
.footer-brand small {
  color: var(--ink);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.nav-links {
  gap: 30px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.nav .book-button {
  min-height: 32px;
  padding: 9px 16px;
  border-radius: 0;
}

.header-cta {
  min-width: 112px;
}

.btn,
.mini-link {
  border-radius: 0;
}

.btn-primary,
.btn-secondary {
  color: var(--white);
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}

.btn-primary::after,
.mini-link::after,
.text-link::after {
  content: "/";
  margin-left: 18px;
  color: currentColor;
  font-weight: 400;
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: stretch;
  color: var(--white);
  background: var(--brand-blue-dark);
}

.hero-media {
  position: relative;
  inset: auto;
  min-height: 535px;
  grid-column: 2;
  grid-row: 1;
  background: url("assets/enrique-estudio-podcast.jpg") center center / cover no-repeat;
}

.hero-media::after {
  content: "30+";
  position: absolute;
  left: -58px;
  bottom: 64px;
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--brand-blue);
  background: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 900;
}

.hero-overlay {
  display: none;
}

.hero-content {
  width: min(100% - 44px, 480px);
  max-width: 480px;
  min-width: 0;
  margin-left: max(22px, calc((100vw - 1180px) / 2));
  margin-right: 0;
  padding: 100px 0 88px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.16em;
}

h1,
h2 {
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(58px, 5.4vw, 76px);
  line-height: 0.92;
}

h2 {
  font-size: clamp(42px, 4.4vw, 62px);
  line-height: 0.98;
}

h1 em,
h2 em {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
}

h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 500;
}

.lead,
.hero-content .lead {
  max-width: 475px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 30px;
}

.hero-actions .btn-primary {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.hero-actions .btn-secondary {
  min-height: auto;
  color: var(--white);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.58);
  padding: 0 0 6px;
}

.metrics {
  color: var(--ink);
  background: var(--white);
  border-top: 0;
}

.metrics .wrap {
  width: 100%;
  max-width: none;
}

.metrics-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.metrics article {
  min-height: 96px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 25px 56px;
  background: var(--white);
  border-right: 1px solid var(--line);
}

.metrics strong {
  margin: 0;
  color: var(--brand-blue);
  font-size: 36px;
}

.metrics span {
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.section,
.closing-section {
  padding: 112px 0;
}

.diagnosis-section,
.services-section,
.method-section,
.proof-section,
.closing-section {
  background: var(--cream);
}

.diagnosis-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.92fr);
  gap: 118px;
}

.diagnosis-section p,
.copy,
.copy p,
.section-heading p,
.service-card p,
.authority-grid p,
.project-list span,
.contact-section p,
.closing-section p,
.steps li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.price-line {
  color: var(--brand-blue) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px !important;
}

.diagnosis-box {
  position: relative;
  padding: 42px 44px;
  border-radius: 0;
  background: var(--brand-blue);
  box-shadow: 14px 14px 0 var(--gold);
}

.diagnosis-box h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.diagnosis-box ul {
  gap: 0;
  counter-reset: deliverable;
}

.diagnosis-box li {
  counter-increment: deliverable;
  padding: 18px 0 18px 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
}

.diagnosis-box li::before {
  content: "0" counter(deliverable);
  top: 18px;
  width: auto;
  height: auto;
  border-radius: 0;
  color: var(--gold);
  background: transparent;
  font-size: 10px;
}

.intro-section,
.authority-section,
.projects-section {
  color: var(--white);
  background: var(--brand-blue-dark);
}

.intro-section {
  min-height: 520px;
  display: grid;
  align-items: center;
}

.split {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: end;
  gap: 110px;
}

.intro-section h2,
.authority-section h2,
.projects-section h2,
.contact-section h2 {
  color: var(--white);
}

.intro-section .copy {
  columns: 2;
  column-gap: 48px;
}

.intro-section .copy p,
.authority-section .section-heading p,
.authority-grid p,
.projects-section .project-list span,
.contact-section p {
  color: rgba(255, 255, 255, 0.76);
}

.section-heading {
  max-width: none;
  margin-bottom: 68px;
}

.services-section .section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(260px, 0.45fr);
  gap: 110px;
  align-items: end;
}

.services-section .section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -48px;
}

.services-section .section-heading p {
  margin-bottom: 8px;
}

.plan-grid {
  align-items: center;
  gap: 0;
}

.plan-grid .service-card {
  min-height: 500px;
  padding: 44px 36px;
  border: 0;
  border-radius: 0;
  background: var(--white);
  box-shadow: none;
}

.plan-grid .service-card:nth-child(2) {
  min-height: 580px;
  color: var(--white);
  background: var(--brand-blue);
}

.service-card span {
  color: var(--gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.plan-price {
  color: var(--ink) !important;
  font-size: 42px !important;
}

.plan-grid .service-card:nth-child(2) p,
.plan-grid .service-card:nth-child(2) li,
.plan-grid .service-card:nth-child(2) .mini-link,
.plan-grid .service-card:nth-child(2) .plan-price {
  color: rgba(255, 255, 255, 0.92) !important;
}

.plan-list {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.plan-grid .service-card:nth-child(2) .plan-list {
  border-top-color: rgba(255, 255, 255, 0.24);
}

.plan-list li::before {
  width: auto;
  height: auto;
  top: 0;
  color: var(--gold);
  background: transparent;
  content: "/";
}

.conditions {
  max-width: 760px;
  margin: 30px auto 72px;
  padding: 24px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  text-align: center;
}

.conditions ul {
  text-align: left;
}

.compact-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 58px;
  padding: 60px 0 0;
  border-top: 1px solid var(--line);
}

.compact-services .service-card {
  min-height: 165px;
  padding: 32px 0 0;
  border: 0;
  border-top: 3px solid var(--brand-blue);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.method-grid,
.closing-grid {
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: 112px;
}

.method-section {
  padding-top: 150px;
}

.image-panel img,
.closing-photo img {
  border-radius: 0;
  box-shadow: 14px 14px 0 rgba(198, 161, 78, 0.66);
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
}

.steps {
  margin-top: 38px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding: 20px 0 20px 62px;
  border-top: 1px solid var(--line);
}

.steps li::before {
  content: "0" counter(step);
  float: left;
  margin-left: -62px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
}

.authority-section {
  padding-bottom: 170px;
}

.authority-section .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.18fr);
  gap: 96px;
}

.authority-grid {
  grid-template-columns: 1fr;
  gap: 0;
}

.authority-grid article {
  min-height: auto;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 36px;
  padding: 26px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  background: transparent;
}

.authority-grid h3 {
  color: var(--white);
}

.proof-grid {
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.36fr);
  align-items: start;
}

.proof-assets {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.proof-assets img {
  border: 0;
  border-radius: 0;
  background: var(--paper);
  box-shadow: none;
}

.projects-section {
  padding: 104px 0;
}

.projects-section .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.18fr);
  gap: 96px;
  align-items: center;
}

.projects-section .section-heading {
  margin-bottom: 0;
}

.project-list {
  grid-template-columns: 1fr;
  gap: 0;
}

.project-list article {
  min-height: auto;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 42px;
  padding: 26px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0;
  background: transparent;
}

.project-list strong {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.closing-section {
  padding-bottom: 118px;
}

.closing-photo img {
  aspect-ratio: 1 / 1.28;
  object-position: center top;
}

.contact-section {
  padding: 76px 0 34px;
  color: var(--white);
  background: var(--brand-blue-dark);
}

.contact-grid {
  grid-template-columns: minmax(190px, 0.5fr) minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: 74px;
  align-items: start;
}

.footer-brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.footer-brand strong,
.footer-brand small {
  color: var(--white);
}

.contact-section h2 {
  margin-bottom: 12px;
  font-size: clamp(36px, 4vw, 54px);
}

.contact-actions {
  display: grid;
  gap: 0;
  justify-content: stretch;
}

.contact-actions .btn {
  justify-self: start;
  margin-bottom: 24px;
}

.text-link {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  text-decoration: none;
}

.site-footer {
  padding: 0 0 28px;
  background: var(--brand-blue-dark);
}

.footer-grid {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 980px) {
  .hero,
  .metrics-grid,
  .services-section .section-heading,
  .diagnosis-grid,
  .split,
  .method-grid,
  .closing-grid,
  .authority-section .wrap,
  .projects-section .wrap,
  .proof-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    width: min(100% - 44px, 720px);
    max-width: 720px;
    margin: 0 auto;
    padding: 70px 0;
  }

  .hero-media {
    grid-column: 1;
    min-height: 460px;
  }

  .hero-media::after {
    left: 28px;
    bottom: -44px;
  }

  .services-section .section-heading .eyebrow {
    grid-column: auto;
    margin-bottom: 18px;
  }

  .plan-grid,
  .compact-services,
  .proof-assets {
    grid-template-columns: 1fr;
  }

  .plan-grid .service-card,
  .plan-grid .service-card:nth-child(2) {
    min-height: auto;
  }

  .intro-section .copy {
    columns: 1;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-height: 64px;
  }

  .wrap {
    width: calc(100% - 70px);
  }

  .site-header,
  .hero,
  .section,
  .metrics,
  .contact-section,
  .site-footer {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand strong {
    font-size: 14px;
  }

  .nav .book-button {
    min-height: 34px;
    padding: 8px 12px;
    font-size: 11px;
  }

  .header-cta {
    display: none;
  }

  .hero-content {
    width: calc(100vw - 70px);
    max-width: calc(100vw - 70px);
    margin-left: 35px;
    margin-right: 35px;
    padding: 54px 0 58px;
  }

  .hero-media {
    min-height: 330px;
    background-position: center top;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(38px, 10.6vw, 41px);
    line-height: 0.98;
  }

  h2 {
    max-width: 100%;
    font-size: clamp(29px, 8vw, 31px);
    line-height: 1.04;
    overflow-wrap: break-word;
  }

  .lead,
  .hero-content .lead {
    width: 100%;
    max-width: 100%;
    font-size: 15px;
    line-height: 1.7;
    overflow-wrap: break-word;
  }

  .section,
  .closing-section,
  .method-section,
  .projects-section {
    padding: 72px 0;
  }

  .metrics article {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 35px;
  }

  .metrics span {
    font-size: 10px;
    overflow-wrap: normal;
  }

  .diagnosis-box {
    padding: 30px 22px;
    box-shadow: 8px 8px 0 var(--gold);
  }

  .plan-grid .service-card {
    padding: 34px 24px;
  }

  .authority-grid article,
  .project-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .image-panel img,
  .closing-photo img {
    box-shadow: 8px 8px 0 rgba(198, 161, 78, 0.66);
  }
}

.brand img,
.footer-brand img {
  width: 74px;
  height: 42px;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.brand,
.footer-brand {
  gap: 12px;
}

@media (max-width: 760px) {
  .brand img,
  .footer-brand img {
    width: 58px;
    height: 34px;
  }
}

.diagnosis-features {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 10px;
}

.diagnosis-features article {
  padding: 24px 22px;
  border: 1px solid rgba(36, 42, 112, 0.12);
  background: rgba(255, 255, 255, 0.68);
}

.diagnosis-features span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--brand-blue);
  background: var(--gold);
  font-weight: 900;
}

.diagnosis-features h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.diagnosis-features p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.plan-grid .service-card {
  display: flex;
  flex-direction: column;
}

.plan-grid .service-card .plan-list {
  margin-bottom: 28px;
}

.plan-cta {
  align-self: flex-start;
  margin-top: auto;
  min-height: 42px;
  padding: 12px 20px;
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
  font-size: 12px;
}

.plan-grid .service-card:nth-child(2) .plan-cta {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.plan-cta.waitlist {
  background: #d82929;
  border-color: #d82929;
}

.single-pricing {
  display: grid;
  grid-template-columns: minmax(230px, 0.65fr) minmax(0, 1.35fr);
  gap: 34px;
  align-items: start;
  margin: -34px 0 56px;
  padding: 30px 0 0;
  border-top: 1px solid var(--line);
}

.single-pricing h3 {
  margin-bottom: 12px;
  font-size: 30px;
}

.single-pricing p {
  color: var(--muted);
  line-height: 1.65;
}

.single-pricing-table {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.single-pricing-table article {
  display: grid;
  grid-template-columns: 1.3fr 0.75fr 0.65fr 1.35fr;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.single-pricing-table article:last-child {
  border-bottom: 0;
}

.single-pricing-table strong {
  color: var(--ink);
}

.single-pricing-table span,
.single-pricing-table small {
  color: var(--muted);
  line-height: 1.4;
}

.single-pricing-table b {
  color: var(--brand-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.site-footer .footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}

/* V12 refinements requested after full review */
.single-pricing-table article {
  grid-template-columns: 1.15fr 0.6fr 0.95fr 1.1fr;
}

.single-pricing-table b {
  white-space: nowrap;
}

.authority-section {
  padding-bottom: 0;
  overflow: hidden;
}

.authority-section .wrap {
  display: block;
}

.authority-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 92px;
  align-items: start;
}

.authority-copy {
  max-width: 560px;
}

.authority-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.authority-rows {
  display: grid;
  gap: 0;
}

.authority-rows article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 28px;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.authority-rows article:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.authority-rows span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.authority-rows h3 {
  color: var(--white);
  font-size: 24px;
}

.authority-rows p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
}

.authority-photo {
  position: relative;
  margin: 78px 0 0;
  border-bottom: 16px solid var(--gold);
}

.authority-photo::before {
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(10, 12, 42, 0.74));
  content: "";
  z-index: 1;
}

.authority-photo img {
  display: block;
  width: 100%;
  height: clamp(320px, 36vw, 520px);
  object-fit: cover;
  object-position: center 45%;
}

.authority-photo figcaption {
  position: absolute;
  right: 34px;
  bottom: 28px;
  z-index: 2;
  max-width: 430px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.55;
  text-align: right;
}

.proof-section {
  background: #f4f1ea;
}

.proof-grid {
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
  gap: 70px;
  align-items: center;
}

.proof-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px 0;
}

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

.proof-card {
  margin: 0;
  padding: 22px;
  border: 1px solid rgba(36, 42, 112, 0.14);
  background: var(--white);
  box-shadow: 0 24px 70px rgba(23, 24, 74, 0.09);
}

.proof-card span {
  display: block;
  margin-bottom: 16px;
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-card img {
  width: 100%;
  border: 0;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 980px) {
  .diagnosis-features,
  .single-pricing {
    grid-template-columns: 1fr;
  }

  .single-pricing {
    margin-top: -20px;
  }

  .single-pricing-table article {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .authority-layout,
  .proof-grid,
  .proof-assets {
    grid-template-columns: 1fr;
  }

  .authority-layout,
  .proof-grid {
    gap: 42px;
  }

  .authority-photo figcaption {
    left: 24px;
    right: 24px;
    text-align: left;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: calc(100vw - 48px) !important;
    max-width: calc(100vw - 48px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-content {
    width: calc(100vw - 48px) !important;
    max-width: calc(100vw - 48px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-content {
    width: 100vw !important;
    max-width: 100vw !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box;
  }

  #diagnostico .wrap {
    width: 100vw !important;
    max-width: 100vw !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box;
  }

  #diagnostico .diagnosis-grid {
    display: block !important;
  }

  #diagnostico h2,
  #diagnostico p,
  #diagnostico .price-line {
    width: calc(100vw - 96px) !important;
    max-width: calc(100vw - 96px) !important;
  }

  .diagnosis-grid,
  .split,
  .method-grid,
  .closing-grid,
  .proof-grid,
  .contact-grid {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  h1 {
    font-size: clamp(34px, 9.4vw, 37px);
  }

  h2 {
    max-width: 100% !important;
    font-size: clamp(24px, 6.6vw, 27px);
    overflow-wrap: anywhere;
  }

  .lead,
  .hero-content .lead,
  .diagnosis-section p {
    width: calc(100vw - 96px) !important;
    max-width: calc(100vw - 96px) !important;
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .diagnosis-features article {
    padding: 22px 18px;
  }

  .single-pricing h3 {
    font-size: 25px;
  }

  .plan-cta {
    width: 100%;
    justify-content: center;
  }

  .single-pricing-table b {
    white-space: normal;
  }

  .authority-section {
    padding-bottom: 0 !important;
  }

  .authority-rows article {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0;
  }

  .authority-photo {
    margin-top: 44px;
    border-bottom-width: 10px;
  }

  .authority-photo img {
    height: 300px;
  }

  .authority-photo figcaption {
    position: static;
    max-width: none;
    padding: 14px 0 18px;
    color: rgba(255, 255, 255, 0.82);
  }

  .proof-copy {
    padding: 0;
  }

  .proof-card {
    padding: 16px;
  }
}

@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .wrap {
    width: calc(100vw - 64px) !important;
    max-width: calc(100vw - 64px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .method-grid,
  .authority-layout,
  .proof-grid,
  .projects-section .wrap,
  .closing-grid,
  .contact-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 38px !important;
  }

  .section-heading,
  .method-grid > *,
  .authority-layout > *,
  .proof-grid > *,
  .projects-section .wrap > *,
  .closing-grid > *,
  .contact-grid > *,
  .steps li,
  .project-list article,
  .authority-rows article {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  h1,
  h2,
  h3,
  p,
  li,
  span,
  strong,
  small,
  b {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  h2 {
    width: calc(100vw - 128px) !important;
    max-width: calc(100vw - 128px) !important;
    font-size: clamp(20px, 5.8vw, 23px) !important;
    line-height: 1.08 !important;
  }

  p,
  li {
    width: calc(100vw - 128px) !important;
    max-width: calc(100vw - 128px) !important;
    font-size: 13px;
    line-height: 1.65;
  }

  .steps li {
    padding-left: 0 !important;
  }

  .steps li::before {
    float: none !important;
    display: block;
    margin: 0 0 10px !important;
  }

  .authority-photo,
  .proof-card,
  .image-panel,
  .image-panel img {
    max-width: 100% !important;
  }

  .image-panel {
    margin: 0 !important;
  }

  .authority-photo img {
    object-position: 62% center !important;
  }

  .authority-photo figcaption {
    width: calc(100vw - 128px) !important;
    max-width: calc(100vw - 128px) !important;
  }

  .proof-card {
    width: 100% !important;
    box-sizing: border-box;
    overflow: hidden;
  }

  .proof-card img {
    display: block;
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
  }
}

@media (max-width: 760px) {
  .hero-content .lead,
  .diagnosis-section p,
  .intro-section .copy p,
  .authority-copy p,
  .authority-rows p,
  .proof-copy p,
  .projects-section span,
  .closing-section p,
  .contact-section p {
    width: calc(100vw - 128px) !important;
    max-width: calc(100vw - 128px) !important;
    overflow-wrap: anywhere;
  }

  .hero-content .lead {
    display: block !important;
    width: min(250px, calc(100vw - 128px)) !important;
    max-width: min(250px, calc(100vw - 128px)) !important;
    inline-size: min(250px, calc(100vw - 128px)) !important;
    max-inline-size: min(250px, calc(100vw - 128px)) !important;
  }
}
