/* Identidad y diseño compartido por las dos versiones. */
:root {
  color-scheme: light;
  --graphite: #242B35;
  --steel: #64829C;
  --silver: #E6EAF0;
  --night: #161c25;
  --ink: #202833;
  --muted: #505d6a;
  --pale: #fafbfd;
  --line: #ced7e0;
  --accent-light: #aac6dd;
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--night); color: var(--silver); }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #4e8dba; outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; z-index: 4; top: 10px; left: 10px; padding: .8rem; transform: translateY(-150%); background: white; color: var(--ink); }
.skip:focus { transform: translateY(0); }
.header { background: var(--night); border-bottom: 1px solid #ffffff20; position: relative; z-index: 2; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 19px; letter-spacing: .12em; line-height: 1; font-weight: 800; }
.brand small { display: block; margin-top: 5px; font-size: 9px; letter-spacing: .27em; color: var(--accent-light); }
.desktop { display: flex; gap: clamp(15px, 2.4vw, 34px); }
.desktop a, .mobile a, .footer-inner > a:last-child { text-decoration: none; }
.desktop a:hover, .mobile a:hover, .footer-inner > a:last-child:hover { text-decoration: underline; text-underline-offset: 5px; }
.desktop, .lang, .footer-inner { font-size: .89rem; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang, .mobile summary { display: block; padding: .65rem .85rem; border: 1px solid #ffffff40; text-decoration: none; border-radius: 5px; }
.mobile { display: none; }
.mobile summary { cursor: pointer; list-style: none; }
.mobile summary::-webkit-details-marker { display: none; }
.mobile nav { position: absolute; inset: 100% 0 auto; padding: .7rem 20px; background: var(--graphite); border-bottom: 1px solid var(--steel); }
.mobile nav a { display: block; padding: .7rem; }
.hero { background: radial-gradient(ellipse at 80% 48%, #344458, transparent 56%), linear-gradient(120deg, var(--night), var(--graphite)); overflow: hidden; }
.hero-grid { min-height: 580px; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 24px; padding-block: 66px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 17px; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .17em; color: var(--accent-light); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 650; letter-spacing: -.061em; text-wrap: balance; }
h1 { font-size: clamp(3rem, 7vw, 6.4rem); line-height: .99; margin-bottom: 28px; }
h1 em { font-style: normal; color: var(--accent-light); }
h2 { font-size: clamp(2.25rem, 5vw, 4.25rem); line-height: 1.03; margin-bottom: 18px; }
h3 { font-size: 1.22rem; line-height: 1.22; margin-bottom: 10px; }
p { line-height: 1.62; }
.intro, .lede { font-size: clamp(1rem, 1.6vw, 1.18rem); max-width: 58ch; color: #c9d3df; }
.intro { max-width: 48ch; margin-bottom: 29px; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; border-radius: 5px; padding: .82rem 1rem; border: 1px solid #ffffff45; }
.btn.light { color: var(--night); background: var(--silver); }
.btn:hover, .lang:hover, .mobile summary:hover { box-shadow: inset 0 0 0 1px currentColor; }
.hero-art { position: relative; width: min(100%, 490px); aspect-ratio: 1; justify-self: center; overflow: hidden; border-radius: 50%; isolation: isolate; background: radial-gradient(circle at 64% 30%, #8ba8c381, #364e624d 45%, transparent 70%); }
.orb { position: absolute; inset: 9%; border: 1px solid #b8d1e74d; border-radius: 50%; box-shadow: inset 0 0 52px #80a7ca37, 0 0 36px #64829c40; }
.beam { position: absolute; height: 19%; width: 105%; left: -4%; transform: rotate(-36deg) skewX(-18deg); background: linear-gradient(100deg, #263344 8%, var(--steel) 54%, #cbd9e6 100%); border-top: 1px solid #dae5f0a0; box-shadow: 0 12px 30px #10182480; }
.b1 { top: 15%; left: 6%; opacity: .43; }
.b2 { top: 34%; left: 13%; opacity: .75; }
.b3 { top: 53%; left: 1%; }
.b4 { top: 72%; left: -12%; opacity: .7; }
.section { padding-block: clamp(64px, 8vw, 110px); }
.paper { background: var(--silver); color: var(--ink); }
.paper .eyebrow, .tag { color: #385770; }
.paper .lede, .paper article p { color: var(--muted); }
.offer-grid, .case-grid, .steps { display: grid; gap: 16px; margin-top: 34px; }
.offer-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.offer { grid-column: span 2; background: var(--pale); padding: 25px; border: 1px solid var(--line); border-radius: 7px; }
.offer:nth-last-child(-n + 2) { grid-column: span 3; }
.offer p, .case p, .steps p { margin-bottom: 0; }
.service-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 5px; font-size: 1.22rem; margin-bottom: 18px; background: var(--silver); color: #385770; }
.about { background: var(--graphite); }
.split { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: clamp(24px, 7vw, 96px); }
.split .lede { margin-bottom: 0; }
.case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case { border-radius: 7px; overflow: hidden; background: var(--pale); border: 1px solid var(--line); }
.case-art { min-height: 180px; display: grid; place-items: center; padding: 20px; }
.case-0 { background: repeating-linear-gradient(140deg, #c1c9ce 0 26px, #a0acb4 27px 32px, #d8dee3 33px 54px); }
.case-1 { background: radial-gradient(circle at 76% 35%, #c5a587 0 17%, #8f674d 18% 23%, transparent 24%), linear-gradient(120deg, #614334, #a97958); }
.case-2 { background: repeating-linear-gradient(90deg, #29394a 0 28px, #344b61 29px 31px); }
.mock { width: min(100%, 225px); border-radius: 5px; background: #f6f8fa; padding: 16px; box-shadow: 0 9px 25px #1119254d; }
.mock span { font-weight: 750; color: var(--ink); }
.mock i { display: block; width: 100%; height: 5px; margin-top: 9px; background: var(--line); border-radius: 4px; }
.mock i:last-child { width: 50%; background: var(--steel); }
.case-1 .mock { background: #f4e4d5; transform: rotate(-5deg); }
.case-2 .mock { background: var(--graphite); }
.case-2 .mock span { color: var(--silver); }
.case-2 .mock i { height: 8px; width: 70%; background: var(--steel); }
.case-2 .mock i:nth-child(3) { margin-left: 18%; }
.case-body { padding: 23px; }
.case-body .tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 800; color: #385770; margin-bottom: 12px; }
.case-body .discipline { font-weight: 700; margin-bottom: 8px; }
.process { background: var(--graphite); }
.steps { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--steel); padding: 19px 14px 0 0; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 15px; color: var(--accent-light); font-weight: 700; }
.steps p { color: #c9d3df; }
.contact { background: #182333; }
.channels { display: grid; gap: 12px; }
.channel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; border: 1px solid #728da5; border-radius: 6px; padding: 18px; }
.channel > span { color: #c9d3df; font-size: .88rem; }
.channel a { color: var(--accent-light); text-underline-offset: 4px; }
footer { background: var(--night); color: #c9d3df; }
.footer-inner { min-height: 95px; flex-wrap: wrap; padding-block: 18px; }
@media (max-width: 880px) {
  .wrap { width: calc(100% - 48px); }
  .desktop { display: none; }
  .mobile { display: block; }
  .hero-grid { min-height: 510px; grid-template-columns: 1.15fr .85fr; }
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer, .offer:nth-last-child(-n + 2) { grid-column: auto; }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  .hero-grid, .split, .offer-grid, .case-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { padding-block: 55px 25px; gap: 16px; }
  .hero-art { width: min(77%, 300px); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { gap: 14px; }
  .footer-inner > span { order: 1; flex-basis: 100%; }
}
