:root {
  --ink: #0b0b0c;
  --ink-2: #171719;
  --paper: #f4efe6;
  --white: #fffdf8;
  --muted: #67645d;
  --line: rgba(11, 11, 12, 0.14);
  --teal: #c6a15b;
  --teal-dark: #8b6b35;
  --gold: #c6a15b;
  --coral: #a66c52;
  --shadow: 0 24px 70px rgba(11, 11, 12, 0.18);
  --radius: 8px;
  --max: 1180px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

.site-footer a,
.legal-page a { color: var(--gold); text-underline-offset: 3px; }

.legal-note { max-width: 980px; color: #9fb2b8; font-size: .82rem; line-height: 1.65; }

.legal-page { min-height: 100vh; max-width: 860px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) 24px; }
.legal-page h1 { max-width: 760px; margin: 16px 0 34px; font-size: clamp(2.5rem, 7vw, 5rem); line-height: 1; }
.legal-page h2 { margin-top: 38px; font-size: 1.25rem; }
.legal-page p { color: #60727a; line-height: 1.8; }
.legal-back { display: inline-block; margin-bottom: 44px; font-weight: 700; }
.consent a { text-decoration: underline; text-underline-offset: 2px; }

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

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 0;
  padding: 12px 14px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(11, 11, 12, 0.72);
  backdrop-filter: blur(18px);
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.is-scrolled {
  color: var(--white);
  background: rgba(11, 11, 12, 0.94);
  box-shadow: 0 14px 44px rgba(11, 11, 12, 0.18);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

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

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.1;
}

.brand small {
  margin-top: 2px;
  color: currentColor;
  opacity: 0.74;
  font-size: 0.76rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  padding: 10px 9px;
  border-radius: var(--radius);
  font-size: 0.86rem;
  color: currentColor;
  opacity: 0.86;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(198, 161, 91, 0.16);
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: currentColor;
  cursor: pointer;
}

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

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/carlos-noir-gold-hero.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(11, 11, 12, 0.97) 0%, rgba(11, 11, 12, 0.82) 40%, rgba(11, 11, 12, 0.22) 72%, rgba(11, 11, 12, 0.38) 100%),
    linear-gradient(0deg, rgba(11, 11, 12, 0.88) 0%, rgba(11, 11, 12, 0.12) 48%, rgba(11, 11, 12, 0.12) 100%);
}

.hero-grid {
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 150px 0 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(2.75rem, 8vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.4rem);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.2;
}

.hero-lead {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.04rem, 2.2vw, 1.3rem);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 6px;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--teal), #e2c98f);
  color: var(--ink);
  box-shadow: 0 18px 34px rgba(198, 161, 91, 0.24);
}

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

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

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 820px;
  margin: 44px 0 0;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
}

.trust-strip div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.trust-strip dt {
  color: var(--gold);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}

.trust-strip dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

.section-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

section:not(.hero) {
  scroll-margin-top: 92px;
}

.intro-band,
.advisor,
.pillars,
.solutions,
.method,
.contact {
  padding: 96px 0;
}

.intro-band {
  background: var(--white);
}

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

.intro-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.advisor {
  background:
    radial-gradient(circle at 18% 20%, rgba(198, 161, 91, 0.13), transparent 34%),
    linear-gradient(135deg, #0b0b0c, #171719 62%, #211b14);
  color: var(--white);
}

.advisor-layout {
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.advisor-portrait {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--ink-2);
}

.advisor-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.advisor-copy {
  max-width: 670px;
}

.advisor-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.advisor blockquote {
  margin: 28px 0 0;
  padding: 24px;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.28;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-heading.compact {
  max-width: 930px;
}

.section-heading p {
  max-width: 850px;
  color: var(--muted);
  font-size: 1.08rem;
}

.pillar-grid,
.solution-layout,
.timeline {
  display: grid;
  gap: 18px;
}

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

.pillar-grid article,
.solution-panel,
.timeline article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.pillar-grid article {
  min-height: 270px;
  padding: 26px;
  box-shadow: 0 14px 42px rgba(6, 25, 35, 0.06);
}

.icon,
.timeline span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 30px;
  border-radius: 50%;
  background: rgba(198, 161, 91, 0.12);
  color: var(--teal-dark);
  font-weight: 900;
}

.pillar-grid p,
.solution-panel p,
.timeline p {
  color: var(--muted);
}

.solutions {
  background: #eef6f4;
}

.product-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -10px 0 34px;
}

.product-jump a {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink-2);
  font-weight: 900;
}

.product-jump a:hover,
.product-jump a:focus-visible {
  border-color: rgba(198, 161, 91, 0.5);
  background: var(--white);
}

.product-block {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 0;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(6, 25, 35, 0.08);
}

.product-block.reverse {
  grid-template-columns: minmax(0, 1.22fr) minmax(280px, 0.78fr);
}

.product-block.reverse .product-image {
  order: 2;
}

.product-image {
  min-height: 100%;
  background: var(--ink);
}

.product-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.product-content {
  padding: clamp(26px, 4vw, 48px);
}

.product-content h3 {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3vw, 3.15rem);
  line-height: 1.04;
}

.product-content p {
  color: var(--muted);
  font-size: 1.04rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.product-grid div {
  min-height: 118px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fcfb;
}

.product-grid strong,
.product-grid span {
  display: block;
}

.product-grid strong {
  margin-bottom: 8px;
  color: var(--ink);
  line-height: 1.18;
}

.product-grid span {
  color: var(--muted);
  font-size: 0.92rem;
}

.dual-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.segment-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 20px 56px rgba(6, 25, 35, 0.08);
}

.segment-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.segment-card > div {
  padding: clamp(24px, 3vw, 34px);
}

.segment-card h3 {
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  line-height: 1.06;
}

.segment-card p {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-2);
  font-weight: 750;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--gold));
}

.solution-layout {
  grid-template-columns: 1.2fr 0.8fr;
  grid-auto-rows: minmax(180px, auto);
}

.solution-panel {
  padding: 28px;
}

.solution-panel.featured {
  grid-row: span 2;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(6, 25, 35, 0.96), rgba(8, 124, 120, 0.88)),
    linear-gradient(45deg, var(--ink), var(--teal-dark));
}

.solution-panel.featured p,
.solution-panel.featured li {
  color: rgba(255, 255, 255, 0.78);
}

.solution-panel ul {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.solution-panel li {
  position: relative;
  padding-left: 24px;
}

.solution-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.future {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: 620px;
  background: var(--ink);
  color: var(--white);
}

.future-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.future-content {
  align-self: center;
  padding: 72px clamp(24px, 7vw, 84px);
}

.future-content p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.future-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.future-metrics span {
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.method {
  background: var(--white);
}

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

.timeline article {
  padding: 26px;
}

.social-cta {
  padding: 84px 0;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(6, 25, 35, 0.96), rgba(12, 63, 70, 0.94)),
    var(--ink);
}

.social-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
}

.social-inner p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
}

.contact {
  background: var(--paper);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
  gap: 56px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 118px;
}

.contact-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-direct {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.contact-direct a {
  width: fit-content;
  color: var(--teal-dark);
  font-weight: 900;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form .full,
.form-status {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fbfefd;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(198, 161, 91, 0.14);
}

.consent {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px !important;
  color: var(--muted) !important;
  font-weight: 600 !important;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px !important;
  height: 1px !important;
}

.btn-submit {
  width: 100%;
  border: 0;
  background: var(--ink);
  color: var(--white);
}

.btn[disabled] {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-status {
  display: none;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-weight: 800;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  color: #075144;
  background: rgba(198, 161, 91, 0.16);
}

.form-status.is-error {
  color: #7a241b;
  background: rgba(239, 111, 97, 0.16);
}

.site-footer {
  padding: 28px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
}

.contact-result {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 32px;
  text-align: center;
  background: var(--paper);
}

.contact-result h1 {
  max-width: 780px;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.04;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    padding: 14px;
  }

  .split,
  .advisor-layout,
  .future,
  .social-inner,
  .contact-layout,
  .product-block,
  .product-block.reverse,
  .dual-products {
    grid-template-columns: 1fr;
  }

  .product-block.reverse .product-image {
    order: 0;
  }

  .advisor {
    background:
      radial-gradient(circle at 18% 20%, rgba(198, 161, 91, 0.13), transparent 34%),
      var(--ink);
  }

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

  .contact-copy {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    width: min(calc(100% - 20px), var(--max));
    margin-top: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-content {
    width: min(calc(100% - 28px), var(--max));
    padding-bottom: 34px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(6, 25, 35, 0.94), rgba(6, 25, 35, 0.7)),
      linear-gradient(0deg, rgba(6, 25, 35, 0.86), rgba(6, 25, 35, 0.18));
  }

  .hero-actions,
  .social-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .trust-strip,
  .solution-layout,
  .pillar-grid,
  .timeline,
  .contact-form,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-image img {
    min-height: 260px;
  }

  .product-grid div {
    min-height: auto;
  }

  .intro-band,
  .advisor,
  .pillars,
  .solutions,
  .method,
  .contact {
    padding: 68px 0;
  }

  .section-inner {
    width: min(calc(100% - 28px), var(--max));
  }

  .advisor blockquote {
    font-size: 1.12rem;
  }
}
