/*
  AUTOMATIZA CALI — HOJA DE ESTILOS PRINCIPAL

  Usa la búsqueda de VS Code (Cmd/Ctrl + F) con estos títulos:
  1. BASE Y VARIABLES
  2. ESTRUCTURA Y COMPONENTES
  3. RESPONSIVE GENERAL
  4. DIRECCIÓN EDITORIAL
  5. IMPRESIÓN Y DIAGNÓSTICO
  6. IDENTIDAD Y LOGO
  7. LOGO EN MÓVIL
*/

/* ==================== 1. BASE Y VARIABLES ==================== */

:root {
  --ink: #12211d;
  --muted: #5b6964;
  --paper: #f6f4ee;
  --white: #fff;
  --lime: #b9f23d;
  --lime-dark: #8acb14;
  --teal: #0d6b5a;
  --teal-deep: #073d35;
  --line: #d9ded8;
  --orange: #ff8652;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}
.section-pad {
  padding-block: 110px;
}
.kicker,
.eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow i {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(185, 242, 61, 0.15);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  letter-spacing: -0.045em;
  line-height: 0.98;
}
h2 {
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  max-width: 820px;
  margin-block: 18px 0;
}
p {
  line-height: 1.7;
  color: var(--muted);
}

/* ==================== 2. ESTRUCTURA Y COMPONENTES ==================== */

.site-header {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid rgba(18, 33, 29, 0.12);
  background: rgba(246, 244, 238, 0.9);
  backdrop-filter: blur(16px);
}
.header-inner {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.02rem;
  line-height: 1;
}
.brand b {
  font-weight: 800;
}
.brand small {
  display: block;
  margin-top: 6px;
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  color: #74817c;
}
.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--ink);
  display: block;
  overflow: hidden;
}
.brand-mark i {
  position: absolute;
  background: var(--lime);
  border-radius: 8px;
}
.brand-mark i:nth-child(1) {
  width: 8px;
  height: 22px;
  left: 7px;
  top: 6px;
}
.brand-mark i:nth-child(2) {
  width: 8px;
  height: 15px;
  left: 18px;
  top: 13px;
}
.brand-mark i:nth-child(3) {
  width: 16px;
  height: 4px;
  left: 11px;
  top: 6px;
  transform: rotate(35deg);
}
.desktop-nav {
  display: flex;
  gap: 32px;
  font-size: 0.87rem;
  font-weight: 650;
}
.desktop-nav a {
  transition: 0.2s;
}
.desktop-nav a:hover {
  color: var(--teal);
}
.header-cta {
  padding: 12px 17px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-size: 0.82rem;
  font-weight: 750;
}
.header-cta span {
  color: var(--lime);
}
.mobile-menu {
  display: none;
}

.hero {
  min-height: 740px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 60px;
  padding-block: 70px 85px;
}
.hero h1 {
  font-size: clamp(3.4rem, 6.5vw, 6rem);
  margin: 23px 0 27px;
}
.hero h1 em {
  display: block;
  color: var(--teal);
  font-style: normal;
}
.hero-lead {
  font-size: 1.13rem;
  max-width: 650px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.button {
  border: 0;
  cursor: pointer;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 16px 21px;
  font-size: 0.86rem;
  font-weight: 800;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  background: var(--teal);
  color: white;
  box-shadow: 0 10px 30px rgba(13, 107, 90, 0.2);
}
.button-primary span {
  color: var(--lime);
}
.button-ghost {
  border: 1px solid #c9cec9;
  background: transparent;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 30px;
  font-size: 0.72rem;
  color: #66736e;
}
.hero-proof span:before {
  content: "✓";
  margin-right: 6px;
  color: var(--teal);
  font-weight: 900;
}

.flow-board {
  background: #0e211c;
  border: 1px solid #31413c;
  border-radius: 26px;
  color: white;
  box-shadow: 0 35px 90px rgba(18, 33, 29, 0.2);
  transform: rotate(1deg);
  overflow: hidden;
}
.board-head,
.board-foot {
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid #2b3b36;
  font-size: 0.68rem;
  color: #93a39d;
}
.board-head span,
.board-foot span:last-child {
  display: flex;
  align-items: center;
  gap: 7px;
}
.board-head i,
.board-foot i {
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 99px;
}
.board-head b {
  color: #d8e0dd;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.flow-content {
  height: 440px;
  position: relative;
  background-image: radial-gradient(#30443d 1px, transparent 1px);
  background-size: 20px 20px;
}
.flow-node {
  position: absolute;
  z-index: 2;
  width: 145px;
  padding: 14px;
  border: 1px solid #455650;
  border-radius: 12px;
  background: #152a24;
  box-shadow: 0 10px 35px #071511;
}
.flow-node .node-icon {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #243c34;
  color: var(--lime);
  margin-bottom: 9px;
}
.flow-node small {
  display: block;
  font-size: 0.48rem;
  letter-spacing: 0.14em;
  color: #7d938b;
}
.flow-node strong {
  display: block;
  font-size: 0.78rem;
  margin: 5px 0;
}
.flow-node em {
  font-style: normal;
  font-size: 0.6rem;
  color: #91a39c;
}
.node-lead {
  left: 6%;
  top: 9%;
}
.node-ai {
  left: 37%;
  top: 22%;
  border-color: #8acb14;
}
.node-crm {
  right: 5%;
  top: 41%;
}
.node-human {
  left: 7%;
  bottom: 9%;
}
.node-follow {
  right: 34%;
  bottom: 7%;
}
.flow-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.flow-lines path {
  fill: none;
  stroke: #53645e;
  stroke-width: 1.5;
  stroke-dasharray: 5 5;
}
.flow-lines circle {
  fill: var(--lime);
  filter: drop-shadow(0 0 6px var(--lime));
}
.pulse-label {
  position: absolute;
  z-index: 3;
  right: 8%;
  top: 7%;
  font-size: 0.55rem;
  color: #b9c6c1;
  background: #1d332c;
  padding: 8px 10px;
  border-radius: 99px;
}
.pulse-label i {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--lime);
  border-radius: 99px;
  margin-right: 5px;
  animation: pulse 1.6s infinite;
}
.board-foot {
  border-top: 1px solid #2b3b36;
  border-bottom: 0;
}
.signal-strip {
  background: var(--teal);
  color: white;
}
.strip-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.strip-inner strong {
  color: var(--lime);
}
.strip-inner span {
  opacity: 0.7;
}

.split-heading {
  display: grid;
  grid-template-columns: 1.5fr 0.65fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 55px;
}
.split-heading > p {
  margin-bottom: 6px;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pain-card {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px;
  min-height: 240px;
  overflow: hidden;
}
.pain-card:after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border: 1px solid #e2e6e1;
  border-radius: 50%;
  right: -36px;
  bottom: -36px;
}
.card-number {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: 0.12em;
}
.pain-card h3 {
  font-size: 1.25rem;
  margin: 55px 0 10px;
}
.pain-card p {
  font-size: 0.9rem;
}

.services-section {
  background: var(--ink);
  color: white;
}
.light-heading .kicker {
  color: var(--lime);
}
.light-heading p {
  color: #9aaba5;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.service-card {
  min-height: 315px;
  padding: 28px;
  border: 1px solid #3a4a45;
  border-radius: 18px;
  background: #172a24;
  display: flex;
  flex-direction: column;
  transition: 0.25s;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: #668177;
  background: #1b322b;
}
.service-top {
  display: flex;
  justify-content: space-between;
}
.service-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--lime);
  background: #243d35;
  font-size: 1.2rem;
}
.service-index {
  font-size: 0.65rem;
  color: #71827c;
}
.service-card h3 {
  font-size: 1.25rem;
  margin: 45px 0 12px;
}
.service-card p {
  font-size: 0.85rem;
  color: #9aaba5;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--lime);
}
.text-link b {
  font-size: 1rem;
}

.diagnostic-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 85px;
  align-items: center;
}
.diagnostic-copy p {
  max-width: 500px;
  font-size: 1rem;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 26px 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  color: #43534d;
  font-size: 0.86rem;
}
.check-list li:before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  margin-right: 10px;
  width: 20px;
  height: 20px;
  background: #e8f6ca;
  color: var(--teal);
  border-radius: 99px;
  font-weight: 900;
}
.quiz-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 25px 70px rgba(18, 33, 29, 0.08);
}
.quiz-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}
.quiz-head span {
  font-weight: 800;
}
.quiz-head small {
  color: #72807b;
}
.quiz-card fieldset {
  border: 0;
  border-top: 1px solid #edf0ec;
  padding: 17px 0 3px;
}
.quiz-card legend {
  padding-top: 15px;
  font-size: 0.78rem;
  font-weight: 800;
}
.option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
}
.option-row label {
  cursor: pointer;
  padding: 8px 10px;
  border: 1px solid #dde2dd;
  border-radius: 7px;
  font-size: 0.67rem;
  color: #62706b;
}
.option-row input {
  display: none;
}
.option-row label.selected {
  background: #eaf7d0;
  border-color: #b5dc67;
  color: #173329;
}
.quiz-submit {
  width: 100%;
  margin-top: 23px;
}
.result-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.result-label {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.65rem;
  color: var(--teal);
  font-weight: 800;
}
.result-card h3 {
  font-size: 2.6rem;
  margin: 16px 0 10px;
}
.score-meter {
  height: 8px;
  background: #edf0ec;
  border-radius: 99px;
  margin: 24px 0;
  overflow: hidden;
}
.score-meter i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--lime), var(--teal));
  border-radius: 99px;
}
.result-card small {
  color: #78847f;
}
.result-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}
.result-actions button {
  border: 0;
  background: none;
  color: var(--teal);
  font-weight: 700;
  cursor: pointer;
}

.approach {
  background: #dff3b3;
}
.centered-heading {
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.centered-heading p {
  max-width: 610px;
}
.method-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 65px;
}
.method-line article {
  padding: 0 28px;
  border-left: 1px solid rgba(18, 33, 29, 0.22);
}
.method-line span {
  font-size: 0.66rem;
  font-weight: 900;
  color: var(--teal);
}
.method-line h3 {
  margin: 35px 0 10px;
  font-size: 1.15rem;
}
.method-line p {
  font-size: 0.82rem;
}
.geo-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 95px;
  align-items: center;
}
.geo-visual {
  background: #e8ebe6;
  border-radius: 25px;
  padding: 60px 35px;
  position: relative;
  overflow: hidden;
}
.geo-visual:before {
  content: "";
  position: absolute;
  inset: -50%;
  background: repeating-radial-gradient(
    circle,
    #d5dad4 0,
    #d5dad4 1px,
    transparent 2px,
    transparent 28px
  );
}
.search-card {
  position: relative;
  background: white;
  border: 1px solid #d5dad4;
  border-radius: 15px;
  padding: 28px;
  box-shadow: 0 20px 40px rgba(18, 33, 29, 0.1);
}
.search-card small {
  color: #77847f;
}
.search-card strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 12px 0 20px;
}
.answer-lines {
  display: grid;
  gap: 6px;
}
.answer-lines i {
  height: 5px;
  border-radius: 9px;
  background: #e6eae6;
}
.answer-lines i:nth-child(2) {
  width: 80%;
}
.answer-lines i:nth-child(3) {
  width: 60%;
}
.brand-answer {
  display: inline-block;
  margin-top: 20px;
  background: #e9f8c8;
  color: var(--teal);
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 900;
}
.geo-copy p {
  font-size: 1rem;
}
.dark-link {
  color: var(--teal);
  margin-top: 15px;
}
.faq-section {
  background: #fff;
}
.faq-layout {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: 100px;
}
.faq-layout > div:first-child {
  position: sticky;
  top: 40px;
  align-self: start;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 0.95rem;
}
.faq-list summary span {
  font-size: 1.3rem;
  color: var(--teal);
}
.faq-list details[open] summary span {
  transform: rotate(45deg);
}
.faq-list details p {
  max-width: 680px;
  margin: 15px 40px 0 0;
  font-size: 0.88rem;
}
.final-cta {
  margin-block: 80px;
  background: var(--teal-deep);
  color: white;
  border-radius: 24px;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.final-cta .kicker {
  color: var(--lime);
}
.final-cta h2 {
  font-size: clamp(2.3rem, 4vw, 3.8rem);
}
.final-cta p {
  color: #b2c6bf;
}
.button-light {
  background: var(--lime);
  color: var(--ink);
  white-space: nowrap;
}

.site-footer {
  background: #0d1e19;
  color: white;
  padding-top: 75px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 60px;
}
.footer-brand {
  color: white;
}
.footer-grid > div:first-child p {
  color: #91a39d;
  font-size: 0.84rem;
  max-width: 300px;
  margin: 25px 0;
}
.location {
  font-size: 0.7rem;
  color: #7e928b;
}
.footer-grid h3 {
  font-size: 0.7rem;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}
.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-grid a {
  font-size: 0.78rem;
  color: #a5b6b0;
}
.legal {
  margin-top: 20px;
  font-size: 0.68rem;
  color: #70837c;
}
.footer-bottom {
  border-top: 1px solid #2b3b36;
  margin-top: 60px;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  color: #687c74;
  font-size: 0.65rem;
}

.service-hero {
  padding: 95px 0 80px;
  background: linear-gradient(180deg, #eef5e5, var(--paper));
}
.breadcrumbs {
  font-size: 0.68rem;
  color: #718079;
  display: flex;
  gap: 7px;
  margin-bottom: 45px;
}
.service-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}
.service-hero h1 {
  font-size: clamp(3.2rem, 6vw, 5.7rem);
  margin: 20px 0 25px;
}
.service-hero p {
  font-size: 1.1rem;
  max-width: 690px;
}
.service-badge {
  border: 1px solid #cfd9ca;
  border-radius: 24px;
  padding: 35px;
  background: rgba(255, 255, 255, 0.65);
}
.visual-word {
  height: 220px;
  border-radius: 16px;
  background: var(--ink);
  color: white;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}
.visual-word:after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid #496058;
  border-radius: 50%;
  animation: orbit 8s linear infinite;
}
.visual-word span {
  position: relative;
  z-index: 2;
}
.outcome-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.outcome-row span {
  background: white;
  border: 1px solid #dde3da;
  padding: 14px;
  border-radius: 9px;
  font-size: 0.69rem;
}
.service-body {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 100px;
}
.sticky-nav {
  position: sticky;
  top: 25px;
  align-self: start;
  border-left: 2px solid var(--lime);
  padding-left: 20px;
}
.sticky-nav span {
  display: block;
  font-size: 0.68rem;
  color: var(--teal);
  font-weight: 800;
  margin-bottom: 15px;
}
.sticky-nav a {
  display: block;
  font-size: 0.8rem;
  color: #6a7772;
  margin: 10px 0;
}
.content-block {
  margin-bottom: 80px;
}
.content-block h2 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
}
.content-block > p {
  font-size: 1rem;
  max-width: 750px;
}
.include-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 30px;
}
.include-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 22px;
}
.include-card span {
  font-size: 0.66rem;
  color: var(--teal);
  font-weight: 900;
}
.include-card h3 {
  font-size: 0.95rem;
  margin: 20px 0 0;
}
.service-faq details {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.service-faq summary {
  font-weight: 800;
  cursor: pointer;
}
.service-faq p {
  margin: 12px 0 0;
  font-size: 0.88rem;
}
.keyword-note {
  background: #edf5dd;
  border-radius: 14px;
  padding: 22px;
  font-size: 0.75rem;
  color: #4d5e56;
  margin-top: 35px;
}
.diagnostic-page {
  padding-bottom: 100px;
}
.diagnostic-hero {
  text-align: center;
  padding: 90px 0 55px;
}
.diagnostic-hero h1 {
  font-size: clamp(3.2rem, 7vw, 6rem);
  max-width: 950px;
  margin: 20px auto;
}
.diagnostic-hero p {
  max-width: 680px;
  margin-inline: auto;
}
.full-diagnostic {
  max-width: 850px;
  margin-inline: auto;
}
.diagnostic-notice {
  background: #fff7dd;
  border: 1px solid #f1dda6;
  border-radius: 12px;
  padding: 16px;
  font-size: 0.75rem;
  color: #766333;
  margin-top: 18px;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 7px rgba(185, 242, 61, 0);
  }
}
@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}
/* ==================== 3. RESPONSIVE GENERAL ==================== */

@media (max-width: 900px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }
  .mobile-menu {
    display: block;
    position: relative;
  }
  .mobile-menu summary {
    list-style: none;
    font-size: 0.8rem;
    font-weight: 800;
  }
  .mobile-menu nav {
    position: absolute;
    right: 0;
    top: 35px;
    width: 210px;
    padding: 16px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    display: grid;
    gap: 14px;
    box-shadow: 0 15px 50px #aeb8b2;
  }
  .hero,
  .service-hero-grid,
  .diagnostic-section,
  .geo-section,
  .service-body,
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 60px;
  }
  .hero-visual {
    max-width: 620px;
  }
  .split-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .method-line {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }
  .faq-layout > div:first-child,
  .sticky-nav {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-body {
    gap: 55px;
  }
}
@media (max-width: 620px) {
  .section-shell {
    width: min(100% - 28px, 1180px);
  }
  .section-pad {
    padding-block: 75px;
  }
  .header-inner {
    height: 70px;
  }
  .brand {
    font-size: 0.9rem;
  }
  .brand-mark {
    width: 31px;
    height: 31px;
  }
  .hero {
    min-height: auto;
    display: block;
    padding-block: 55px;
  }
  .hero h1 {
    font-size: 3.25rem;
  }
  .hero-lead {
    font-size: 1rem;
  }
  .hero-proof {
    display: grid;
  }
  .hero-visual {
    margin-top: 48px;
  }
  .flow-content {
    height: 370px;
  }
  .flow-node {
    width: 120px;
    padding: 10px;
  }
  .node-ai {
    left: 34%;
  }
  .node-follow {
    right: 29%;
  }
  .signal-strip {
    display: none;
  }
  .pain-grid,
  .service-grid,
  .outcome-row,
  .include-grid {
    grid-template-columns: 1fr;
  }
  .pain-card {
    min-height: 200px;
  }
  .service-card {
    min-height: 270px;
  }
  .method-line {
    grid-template-columns: 1fr;
  }
  .method-line article {
    padding: 0 0 25px 20px;
  }
  .diagnostic-section {
    gap: 45px;
  }
  .quiz-card {
    padding: 20px;
  }
  .option-row {
    display: grid;
  }
  .option-row label {
    font-size: 0.7rem;
  }
  .final-cta {
    margin-block: 45px;
    padding: 35px 25px;
    display: block;
  }
  .final-cta .button {
    margin-top: 25px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid > div:not(:first-child) {
    display: none;
  }
  .footer-bottom {
    display: grid;
    gap: 8px;
  }
  .service-hero {
    padding-top: 60px;
  }
  .service-hero h1 {
    font-size: 3.1rem;
  }
  .service-badge {
    padding: 20px;
  }
  .visual-word {
    height: 180px;
  }
  .service-body {
    gap: 15px;
  }
  .diagnostic-hero {
    padding-top: 60px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

/* ==================== 4. DIRECCIÓN EDITORIAL ====================
   Colores, tipografía y acabados visuales de la versión premium.
*/
:root {
  --ink: #171915;
  --muted: #64665f;
  --paper: #eee8dc;
  --white: #f8f5ee;
  --lime: #c4f43d;
  --lime-dark: #90b71c;
  --teal: #245a4c;
  --teal-deep: #102c25;
  --line: #cfc7b9;
  --orange: #ad5e39;
  --wine: #672f2c;
}
body {
  font-family: var(--font-sans-premium), sans-serif;
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(23, 25, 21, 0.045) 0.7px, transparent 0.7px),
    linear-gradient(115deg, rgba(255, 255, 255, 0.28), transparent 45%);
  background-size:
    5px 5px,
    100% 100%;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.16;
  mix-blend-mode: multiply;
  background-image: repeating-linear-gradient(
    92deg,
    transparent 0,
    transparent 3px,
    rgba(45, 36, 25, 0.028) 4px
  );
}
h1,
h2 {
  font-family: var(--font-editorial), Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.055em;
}
h3 {
  letter-spacing: -0.025em;
}
.kicker,
.eyebrow,
.card-number,
.service-index,
.service-card .text-link,
.breadcrumbs,
.sticky-nav,
.brand small,
.signal-strip {
  font-family: var(--font-mono-premium), monospace;
}
.kicker,
.eyebrow {
  letter-spacing: 0.12em;
}
.section-pad {
  padding-block: 125px;
}

.site-header {
  background: rgba(238, 232, 220, 0.88);
  border-bottom: 1px solid rgba(23, 25, 21, 0.18);
}
.header-inner {
  height: 92px;
}
.brand {
  font-family: var(--font-editorial), Georgia, serif;
  font-size: 1.22rem;
}
.brand b {
  font-style: italic;
  font-weight: 600;
}
.brand small {
  font-size: 0.45rem;
}
.brand-mark {
  border-radius: 50%;
  background: var(--wine);
  transform: rotate(-6deg);
}
.desktop-nav {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.header-cta {
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 11px 0;
}

.hero {
  min-height: 820px;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 85px;
  padding-block: 88px 105px;
  position: relative;
}
.hero:before {
  content: "VOL. 01  /  CALI — COLOMBIA";
  position: absolute;
  right: -25px;
  top: 50%;
  transform: rotate(90deg) translateY(-50%);
  font-family: var(--font-mono-premium);
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  color: #77766f;
}
.hero h1 {
  font-size: clamp(4.7rem, 7.4vw, 7.6rem);
  line-height: 0.84;
  margin: 32px 0;
}
.hero h1 em {
  font-family: var(--font-editorial);
  font-style: italic;
  color: var(--wine);
  margin-left: 11%;
}
.hero-lead {
  max-width: 590px;
  font-size: 1rem;
  border-left: 1px solid var(--ink);
  padding-left: 22px;
}
.button {
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  font-family: var(--font-mono-premium);
  font-size: 0.66rem;
  padding: 17px 22px;
}
.button-primary {
  background: var(--wine);
  box-shadow: 9px 9px 0 rgba(103, 47, 44, 0.14);
}
.button-ghost {
  background: rgba(255, 255, 255, 0.22);
  border-color: #aaa397;
}
.hero-proof {
  font-family: var(--font-mono-premium);
  font-size: 0.58rem;
  letter-spacing: 0.03em;
}

.flow-board {
  border-radius: 2px;
  transform: rotate(2.2deg);
  background: #171a16;
  box-shadow:
    24px 28px 0 #cbbfae,
    0 50px 100px rgba(23, 25, 21, 0.2);
  position: relative;
}
.flow-board:before {
  content: "SISTEMA / 001";
  position: absolute;
  z-index: 8;
  left: -43px;
  top: 34px;
  transform: rotate(-90deg);
  font-family: var(--font-mono-premium);
  font-size: 0.48rem;
  letter-spacing: 0.15em;
  color: var(--wine);
}
.flow-content {
  background-image:
    linear-gradient(rgba(196, 244, 61, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 244, 61, 0.04) 1px, transparent 1px);
  background-size: 26px 26px;
}
.flow-node {
  border-radius: 1px;
  background: #1d251f;
}
.pulse-label {
  border-radius: 1px;
}
.signal-strip {
  background: var(--wine);
  border-block: 1px solid #522522;
}
.strip-inner {
  min-height: 64px;
}
.strip-inner strong {
  color: var(--lime);
}

.split-heading {
  grid-template-columns: 1.4fr 0.6fr;
}
.split-heading h2 {
  font-size: clamp(3.5rem, 5.7vw, 5.8rem);
}
.pain-grid {
  gap: 0;
  border-block: 1px solid var(--ink);
}
.pain-card {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--ink);
  border-radius: 0;
  padding: 40px 32px;
  min-height: 290px;
}
.pain-card:last-child {
  border-right: 0;
}
.pain-card:after {
  font-family: var(--font-editorial);
  font-size: 10rem;
  line-height: 1;
  color: rgba(23, 25, 21, 0.035);
  border: 0;
  width: auto;
  height: auto;
  right: 10px;
  bottom: -25px;
}
.pain-card:nth-child(1):after {
  content: "1";
}
.pain-card:nth-child(2):after {
  content: "2";
}
.pain-card:nth-child(3):after {
  content: "3";
}
.pain-card h3 {
  font-family: var(--font-editorial);
  font-size: 1.9rem;
  font-weight: 500;
  margin-top: 70px;
}

.services-section {
  background-color: #171915;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.05) 0.7px, transparent 0.7px),
    linear-gradient(135deg, transparent 65%, rgba(103, 47, 44, 0.16));
  background-size:
    5px 5px,
    100% 100%;
}
.light-heading h2 {
  font-style: italic;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: #3b4039;
  border: 1px solid #3b4039;
}
.service-card {
  grid-column: span 4;
  min-height: 355px;
  border: 0;
  border-radius: 0;
  background: #1b1e19;
  padding: 34px;
  position: relative;
  overflow: hidden;
}
.service-card:nth-child(1),
.service-card:nth-child(5),
.service-card:nth-child(8) {
  grid-column: span 7;
}
.service-card:nth-child(2),
.service-card:nth-child(6),
.service-card:nth-child(9) {
  grid-column: span 5;
}
.service-card:nth-child(3),
.service-card:nth-child(4),
.service-card:nth-child(7) {
  grid-column: span 4;
}
.service-card:before {
  content: attr(href);
  position: absolute;
  right: -8px;
  bottom: -25px;
  font-family: var(--font-editorial);
  font-size: 5.5rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.025);
  white-space: nowrap;
}
.service-card:hover {
  background: #24271f;
  transform: none;
}
.service-icon {
  border-radius: 50%;
  background: transparent;
  border: 1px solid #526055;
}
.service-card h3 {
  font-family: var(--font-editorial);
  font-weight: 500;
  font-size: 2rem;
  margin-top: 65px;
}
.service-card p {
  max-width: 390px;
}
.service-card:nth-child(1),
.service-card:nth-child(5),
.service-card:nth-child(8) {
  background: #20241d;
}
.service-card:nth-child(2) {
  background: var(--wine);
}

.diagnostic-section {
  grid-template-columns: 0.7fr 1.3fr;
}
.diagnostic-copy h2 {
  font-style: italic;
}
.quiz-card {
  border-radius: 0;
  border: 1px solid var(--ink);
  box-shadow: 18px 18px 0 #d3c8b7;
  background: #f8f3e9;
  position: relative;
}
.quiz-card:before {
  content: "CAL/DIAG—01";
  position: absolute;
  right: 24px;
  top: -9px;
  background: var(--lime);
  padding: 4px 8px;
  font-family: var(--font-mono-premium);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
}
.quiz-card fieldset {
  border-color: #d4cbbb;
}
.option-row label {
  border-radius: 0;
}
.option-row label.selected {
  background: var(--lime);
  border-color: var(--ink);
}
.result-card h3 {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 500;
}

.approach {
  background-color: #c8ed72;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(23, 25, 21, 0.045) 0,
    rgba(23, 25, 21, 0.045) 1px,
    transparent 1px,
    transparent 42px
  );
}
.centered-heading h2 {
  font-size: clamp(4rem, 7vw, 6.7rem);
  font-style: italic;
}
.method-line article {
  border-color: rgba(23, 25, 21, 0.45);
}
.method-line h3 {
  font-family: var(--font-editorial);
  font-size: 1.8rem;
  font-weight: 500;
}

.geo-visual {
  border-radius: 0;
  background: #d8cdbd;
  padding: 70px 45px;
}
.geo-visual:before {
  background: repeating-radial-gradient(
    circle,
    #bfb19f 0,
    #bfb19f 1px,
    transparent 2px,
    transparent 23px
  );
}
.search-card {
  border-radius: 0;
  box-shadow: 17px 17px 0 rgba(103, 47, 44, 0.34);
  transform: rotate(-1deg);
}
.brand-answer {
  border-radius: 0;
  background: var(--lime);
}
.geo-copy h2 {
  font-style: italic;
}
.faq-section {
  background: #f6f0e5;
  border-block: 1px solid var(--ink);
}
.faq-list details {
  border-color: #bbb3a6;
}
.faq-list summary {
  font-family: var(--font-editorial);
  font-size: 1.35rem;
  font-weight: 500;
}
.final-cta {
  border-radius: 0;
  background: var(--wine);
  box-shadow: 18px 18px 0 #cfc3b2;
}
.final-cta h2 {
  font-style: italic;
}
.site-footer {
  background: #151713;
}
.footer-brand {
  font-size: 1.35rem;
}

.service-hero {
  background-color: #e8e1d4;
  background-image: radial-gradient(
    rgba(23, 25, 21, 0.05) 0.7px,
    transparent 0.7px
  );
  background-size: 5px 5px;
  border-bottom: 1px solid var(--ink);
}
.service-hero h1 {
  font-size: clamp(4.2rem, 7vw, 7rem);
  line-height: 0.85;
}
.service-badge {
  border-radius: 0;
  border-color: var(--ink);
  background: #f5efe4;
  box-shadow: 16px 16px 0 #cbbfae;
}
.visual-word {
  border-radius: 0;
  background: #181b17;
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1.5rem;
}
.outcome-row span {
  border-radius: 0;
}
.content-block h2 {
  font-style: italic;
}
.include-card {
  border-radius: 0;
  background: #f7f2e8;
  border-color: #b9b0a3;
}
.include-card h3 {
  font-family: var(--font-editorial);
  font-size: 1.25rem;
  font-weight: 500;
}
.keyword-note {
  border-radius: 0;
  background: #dce9bd;
  border-left: 3px solid var(--wine);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero:before {
    display: none;
  }
  .service-card,
  .service-card:nth-child(n) {
    grid-column: span 6;
  }
  .service-card:nth-child(1),
  .service-card:nth-child(5),
  .service-card:nth-child(8) {
    grid-column: span 12;
  }
}
@media (max-width: 620px) {
  .section-pad {
    padding-block: 85px;
  }
  .hero h1 {
    font-size: 4.1rem;
  }
  .hero h1 em {
    margin-left: 0;
  }
  .flow-board {
    box-shadow: 12px 14px 0 #cbbfae;
  }
  .pain-grid {
    display: block;
  }
  .pain-card {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }
  .pain-card:last-child {
    border-bottom: 0;
  }
  .service-card,
  .service-card:nth-child(n) {
    grid-column: span 12;
  }
  .service-card {
    min-height: 310px;
  }
  .quiz-card {
    box-shadow: 9px 9px 0 #d3c8b7;
  }
  .centered-heading h2 {
    font-size: 3.8rem;
  }
  .service-hero h1 {
    font-size: 4rem;
  }
  .final-cta {
    box-shadow: 9px 9px 0 #cfc3b2;
  }
}
.service-card:before {
  content: "SYSTEM";
}
.quiz-progress {
  height: 5px;
  background: #ded7c9;
  margin: -10px 0 28px;
  overflow: hidden;
}
.quiz-progress i {
  display: block;
  height: 100%;
  background: var(--teal);
  transition: width 0.3s ease;
}
.question-area > span {
  font-family: var(--font-mono-premium);
  font-size: 0.6rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 800;
}
.question-area h3 {
  font-family: var(--font-editorial);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.05;
  margin: 12px 0 24px;
}
.stacked-options {
  display: grid;
  gap: 8px;
}
.stacked-options button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid #cfc6b7;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  transition: 0.18s ease;
}
.stacked-options button:hover,
.stacked-options button.selected {
  background: var(--lime);
  border-color: var(--ink);
  transform: translateX(3px);
}
.wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #d4cbbb;
}
.wizard-nav button {
  border: 0;
  background: none;
  color: var(--teal);
  font-weight: 800;
  cursor: pointer;
}
.wizard-nav button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.wizard-nav .finish-button {
  background: var(--ink);
  color: white;
  padding: 12px 16px;
}
.risk-list {
  display: grid;
  gap: 9px;
  margin: 20px 0;
}
.risk-list > div {
  display: grid;
  grid-template-columns: 95px 1fr 82px;
  gap: 10px;
  align-items: center;
  font-size: 0.7rem;
}
.risk-list i {
  height: 5px;
  background: #ddd6c9;
  overflow: hidden;
}
.risk-list b {
  display: block;
  height: 100%;
  background: var(--teal);
}
.risk-list small {
  text-align: right;
  font-size: 0.6rem;
}
.recommendation {
  border-left: 3px solid var(--lime);
  padding: 10px 0 10px 16px;
  margin: 6px 0 20px;
}
.recommendation strong {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.recommendation ol {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 0.72rem;
  display: grid;
  gap: 4px;
}
.result-actions {
  flex-wrap: wrap;
}
.result-actions .button {
  border: 1px solid var(--ink);
}
/* ==================== 5. IMPRESIÓN Y DIAGNÓSTICO ==================== */

@media print {
  .site-header,
  .site-footer,
  .diagnostic-hero,
  .diagnostic-notice,
  .result-actions {
    display: none !important;
  }
  .diagnostic-page {
    padding: 0;
  }
  .full-diagnostic {
    margin: 0;
    max-width: none;
  }
  .quiz-card {
    box-shadow: none !important;
    border: 1px solid #111 !important;
  }
}

[data-diagnostic] {
  width: 100%;
}
.diagnostic-wizard {
  min-height: 420px;
}
.stacked-options button {
  font-family: inherit;
}
.quiz-card.result-card {
  display: block;
}
.result-card .risk-list {
  margin-block: 22px;
}
@media (max-width: 620px) {
  .risk-list > div {
    grid-template-columns: 75px 1fr 70px;
  }
}

/* ==================== 6. IDENTIDAD Y LOGO ====================
   Edita aquí el tamaño y la presentación de la marca.
   El dibujo del símbolo está en assets/favicon.svg.
*/

.brand {
  gap: 13px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand > span:last-child {
  white-space: nowrap;
}

.brand b {
  margin-left: 0.42em;
  font-size: 0.72em;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.brand small {
  margin-top: 7px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.43rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.brand-mark {
  display: block;
  flex: 0 0 56px;
  width: 56px;
  height: 38px;
  overflow: visible;
  border-radius: 0;
  background: url("./favicon.svg") center / contain no-repeat;
  transform: none;
}

.brand-mark i {
  display: none;
}

.footer-brand .brand-mark {
  background-image: url("./logo-symbol-light.svg");
}

/* ==================== 7. LOGO EN MÓVIL ==================== */

@media (max-width: 620px) {
  .brand {
    gap: 9px;
    font-size: 0.78rem;
  }

  .brand-mark {
    flex-basis: 45px;
    width: 45px;
    height: 31px;
  }

  .brand small {
    display: none;
  }
}
