/* 2026-08-19 — CODEX: Estilos autónomos, sin dependencias, para Cloudflare Pages. */
:root {
  --ink: #173c30;
  --ink-deep: #0c2d23;
  --paper: #f4f1e8;
  --paper-soft: #fbfaf6;
  --lime: #c9ef69;
  --mint: #a9d9c3;
  --line: rgba(23, 60, 48, 0.18);
  --muted: #64716b;
  --font-sans: "Segoe UI", Manrope, Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper-soft); color: var(--ink); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

.site-header { width: min(1380px, calc(100% - 56px)); height: 96px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; object-fit: contain; }
.brand-name { max-width: 170px; font-size: 13px; line-height: 1.18; letter-spacing: -.02em; }
.brand-name strong { display: block; font-weight: 700; }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 13px; font-weight: 600; }
.main-nav > a:not(.nav-cta) { transition: opacity 180ms ease; }
.main-nav > a:not(.nav-cta):hover { opacity: .58; }
.nav-cta { padding: 12px 20px; border: 1px solid var(--ink); border-radius: 999px; transition: all 180ms ease; }
.nav-cta:hover { background: var(--ink); color: white; }

.hero { width: min(1380px, calc(100% - 56px)); min-height: 690px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 7vw; padding: 84px 0 76px; }
.eyebrow { margin: 0 0 30px; display: flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .15em; font-size: 11px; font-weight: 800; }
.eyebrow span { width: 29px; height: 2px; background: var(--lime); }
.hero h1, .section h2 { margin: 0; letter-spacing: -.055em; font-weight: 500; }
.hero h1 { max-width: 710px; font-size: clamp(58px, 6.4vw, 100px); line-height: .92; }
.hero h1 em { display: block; color: #6d9b83; font-family: var(--font-serif); font-weight: 400; }
.hero-intro { max-width: 610px; margin: 35px 0 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.hero-actions { margin-top: 40px; display: flex; align-items: center; gap: 28px; }
.button { min-height: 52px; padding: 0 24px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; font-size: 13px; font-weight: 750; transition: transform 180ms ease, background 180ms ease; }
.button-primary { background: var(--ink); color: white; }
.button-primary:hover { background: #215342; transform: translateY(-2px); }
.button-primary span { color: var(--lime); font-size: 17px; }
.text-link { font-size: 13px; font-weight: 700; padding: 10px 0; border-bottom: 1px solid var(--line); }
.text-link span { margin-left: 10px; }

.decision-visual { position: relative; aspect-ratio: 1; min-width: 430px; border-radius: 50%; background: var(--paper); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(23,60,48,.09); }
.visual-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(23,60,48,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(23,60,48,.075) 1px, transparent 1px); background-size: 42px 42px; -webkit-mask-image: radial-gradient(circle, black 38%, transparent 78%); mask-image: radial-gradient(circle, black 38%, transparent 78%); }
.orbit { position: absolute; border: 1px solid rgba(23,60,48,.23); border-radius: 50%; }
.orbit-one { inset: 18%; }
.orbit-two { inset: 31%; border-style: dashed; }
.core-node { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 150px; height: 150px; border-radius: 50%; background: var(--ink); color: white; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 18px 50px rgba(12,45,35,.24); }
.core-node span { color: var(--lime); font-size: 9px; letter-spacing: .16em; font-weight: 800; }
.core-node strong { margin-top: 7px; max-width: 90px; text-align: center; font-size: 16px; line-height: 1.2; }
.data-node { position: absolute; width: 82px; height: 82px; border-radius: 50%; padding: 20px 0 0; background: var(--paper-soft); border: 1px solid rgba(23,60,48,.24); display: flex; flex-direction: column; align-items: center; box-shadow: 0 9px 30px rgba(23,60,48,.08); }
.data-node span { font-size: 9px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.data-node strong { font-family: var(--font-serif); font-size: 23px; font-weight: 400; color: #7aa58d; }
.node-a { left: 12%; top: 29%; }
.node-b { right: 10%; top: 24%; }
.node-c { right: 17%; bottom: 16%; }
.visual-note { position: absolute; left: 12%; bottom: 19%; margin: 0; font-size: 12px; line-height: 1.5; font-weight: 700; }

.principles { min-height: 88px; padding: 20px max(28px, calc((100% - 1380px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 22px; background: var(--ink); color: white; }
.principles p { margin: 0; font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .11em; white-space: nowrap; }
.principles span { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }

.section { padding: 130px max(28px, calc((100% - 1380px)/2)); }
.section-heading { display: grid; grid-template-columns: .65fr 1.35fr; gap: 50px; margin-bottom: 70px; }
.section-heading h2 { font-size: clamp(42px, 4.6vw, 70px); line-height: 1.02; }
.service-list { border-top: 1px solid var(--line); }
.service-card { min-height: 190px; padding: 39px 5px; display: grid; grid-template-columns: .4fr 1.35fr auto; gap: 40px; align-items: start; border-bottom: 1px solid var(--line); transition: background 200ms ease, padding 200ms ease; }
.service-card:hover { background: var(--paper); padding-left: 28px; padding-right: 28px; }
.service-number { font-family: var(--font-serif); font-size: 25px; color: #7aa58d; }
.service-card h3 { margin: 0 0 14px; font-size: 24px; letter-spacing: -.03em; }
.service-card p { max-width: 670px; margin: 0; color: var(--muted); line-height: 1.7; font-size: 15px; }
.service-arrow { font-size: 24px; color: #7aa58d; }

.approach { background: var(--ink-deep); color: white; display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; }
.eyebrow-light { color: var(--mint); }
.approach-intro h2 { max-width: 600px; font-size: clamp(45px, 5vw, 74px); line-height: .98; }
.approach-intro > p:last-child { max-width: 590px; margin: 34px 0 0; color: #adc2b9; font-size: 16px; line-height: 1.75; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); }
.process-list li { min-height: 150px; padding: 30px 0; display: grid; grid-template-columns: 70px 1fr; border-bottom: 1px solid rgba(255,255,255,.18); }
.process-list li > span { color: var(--lime); font-family: var(--font-serif); font-size: 20px; }
.process-list h3 { margin: 0 0 10px; font-size: 24px; }
.process-list p { margin: 0; max-width: 420px; color: #adc2b9; line-height: 1.65; font-size: 14px; }

.contact { background: var(--paper); }
.contact-row { display: grid; grid-template-columns: 1.4fr .6fr; gap: 8vw; align-items: end; }
.contact h2 { font-size: clamp(50px, 6vw, 90px); line-height: .96; }
.contact-action p { max-width: 340px; margin: 0 0 28px; color: var(--muted); line-height: 1.7; }

footer { padding: 38px max(28px, calc((100% - 1380px)/2)); display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; background: var(--ink); color: white; }
.brand-footer .brand-mark { filter: brightness(1.8) saturate(.65); }
footer > p { margin: 0; color: #b9cac2; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
footer > p:last-child { text-align: right; }

@media (max-width: 900px) {
  .site-header { width: calc(100% - 36px); }
  .main-nav > a:not(.nav-cta) { display: none; }
  .hero { width: calc(100% - 36px); grid-template-columns: 1fr; gap: 60px; padding-top: 64px; }
  .decision-visual { min-width: 0; width: min(100%, 580px); justify-self: center; }
  .section-heading, .approach, .contact-row { grid-template-columns: 1fr; }
  .principles p:nth-of-type(even), .principles span:nth-of-type(even) { display: none; }
  footer { grid-template-columns: 1fr 1fr; }
  footer > p:first-of-type { display: none; }
}

@media (max-width: 600px) {
  .site-header { height: 82px; }
  .brand-name { display: none; }
  .nav-cta { padding: 10px 16px; }
  .hero { min-height: 0; padding: 58px 0 65px; }
  .hero h1 { font-size: clamp(52px, 15vw, 72px); }
  .hero-intro { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .decision-visual { aspect-ratio: 1; }
  .data-node { width: 66px; height: 66px; padding-top: 13px; }
  .core-node { width: 120px; height: 120px; }
  .visual-note { display: none; }
  .principles { justify-content: center; min-height: 72px; }
  .principles p:not(:first-of-type), .principles span { display: none; }
  .section { padding-top: 90px; padding-bottom: 90px; }
  .section-heading { margin-bottom: 45px; gap: 10px; }
  .service-card { grid-template-columns: 48px 1fr; gap: 12px; min-height: 0; }
  .service-arrow { display: none; }
  .process-list { margin-top: 30px; }
  .contact h2 { font-size: 48px; }
  footer { grid-template-columns: 1fr; }
  footer > p:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
