:root {
  --ink: #111315;
  --ink-soft: #282c30;
  --paper: #f4f1e9;
  --paper-2: #e9e5dc;
  --white: #ffffff;
  --blue: #4d7cff;
  --blue-bright: #7ea0ff;
  --line: rgba(17, 19, 21, .16);
  --muted: #6b6f73;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.02; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2.1rem, 3.6vw, 3.4rem); }
h3 { font-size: 1.45rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -60px; left: 18px; z-index: 200; padding: 10px 16px; background: var(--blue); color: white; text-decoration: none; }
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.2);
  transition: background .3s ease, min-height .3s ease, border-color .3s ease;
}
.site-header.scrolled { min-height: 72px; background: rgba(17,19,21,.96); border-color: rgba(255,255,255,.12); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; background: var(--blue); color: white; font-weight: 900; border-radius: 2px 12px 2px 12px; transform: skew(-5deg); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand-copy strong { font-size: .92rem; letter-spacing: .12em; }
.brand-copy small { margin-top: 4px; color: rgba(255,255,255,.7); font-size: .68rem; letter-spacing: .04em; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { position: relative; color: rgba(255,255,255,.78); font-size: .82rem; font-weight: 700; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--blue); transition: right .25s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.main-nav .nav-cta { padding: 11px 16px; color: white; border: 1px solid rgba(255,255,255,.5); }
.menu-button { display: none; padding: 8px; border: 0; background: none; }
.menu-button > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: white; }

.hero { position: relative; display: grid; align-items: end; min-height: clamp(660px, 90svh, 840px); overflow: hidden; color: white; background: var(--ink); }
.hero-media, .hero-shade, .hero-grid { position: absolute; inset: 0; }
.hero-media { background: url("assets/lynk-z10-rojo.jpg") center 66%/cover no-repeat; transform: scale(1.03); }
.hero-shade { background: linear-gradient(90deg, rgba(9,11,13,.93) 0%, rgba(9,11,13,.68) 48%, rgba(9,11,13,.12) 78%), linear-gradient(0deg, rgba(9,11,13,.75) 0%, transparent 45%); }
.hero-grid { opacity: .13; background-image: linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px); background-size: 84px 84px; mask-image: linear-gradient(90deg, black, transparent 70%); }
.hero-content { position: relative; z-index: 2; width: min(900px, calc(100% - 48px)); margin: 150px max(24px, calc((100vw - var(--max)) / 2)) 100px; }
.hero h1 { max-width: 930px; margin-bottom: 28px; text-wrap: balance; }
.hero-lead { max-width: 720px; color: rgba(255,255,255,.75); font-size: clamp(1.05rem, 1.6vw, 1.38rem); }
.eyebrow, .kicker { margin-bottom: 18px; color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.74); }
.eyebrow span { width: 34px; height: 2px; background: var(--blue); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 34px; min-height: 54px; padding: 0 24px; border: 1px solid transparent; font-size: .82rem; font-weight: 800; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.button-primary { background: var(--blue); color: white; }
.button-primary:hover { background: #3b69ed; }
.button-ghost { border-color: rgba(255,255,255,.48); color: white; background: rgba(0,0,0,.08); }
.hero-status { position: absolute; right: max(24px, calc((100vw - var(--max)) / 2)); bottom: 34px; z-index: 3; display: flex; align-items: center; gap: 12px; max-width: 430px; color: rgba(255,255,255,.66); font-size: .72rem; line-height: 1.4; text-align: right; }
.hero-status strong { color: white; }
.pulse { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 6px rgba(77,124,255,.17); }

.section-pad { position: relative; max-width: var(--max); margin: 0 auto; padding: 72px 24px; }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; border-bottom: 1px solid var(--line); }
.intro h2 { margin-bottom: 24px; max-width: 760px; }
.intro-copy > p:not(.kicker) { color: var(--muted); font-size: 1rem; }
.intro-photo { margin: 0; }
.intro-photo img { height: auto; aspect-ratio: 1/1; object-fit: cover; object-position: center 60%; }
.intro-photo figcaption { padding-top: 12px; color: var(--muted); font-size: .75rem; }
.mini-facts { margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.mini-facts li { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
.mini-facts span { color: var(--muted); text-align: right; }

.services { max-width: none; padding-left: max(24px, calc((100vw - var(--max)) / 2)); padding-right: max(24px, calc((100vw - var(--max)) / 2)); background: #fbfaf6; }
.section-heading { display: grid; grid-template-columns: 1.5fr .8fr; align-items: end; gap: 40px; margin-bottom: 32px; }
.section-heading h2 { margin-bottom: 0; max-width: 820px; }
.section-heading > p { margin-bottom: 7px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.service-card-dark { color: white; background: var(--ink); }
.service-photo { height: auto; aspect-ratio: 3/2; object-fit: cover; object-position: center 55%; }
.service-photo-detail { object-position: center 58%; }
.service-card-copy { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.service-index { display: block; margin-bottom: 14px; color: #375cca; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.service-card-dark .service-index { color: var(--blue-bright); }
.service-card h3 { margin-bottom: 16px; font-size: 1.65rem; }
.service-card-copy > p:not(.price) { margin-bottom: 20px; color: var(--muted); font-size: .94rem; line-height: 1.55; }
.service-card-dark .service-card-copy > p:not(.price) { color: rgba(255,255,255,.7); }
.service-card ul { margin: 0 0 20px; padding: 0; list-style: none; border-top: 1px solid currentColor; }
.service-card li { padding: 10px 0; border-bottom: 1px solid currentColor; font-size: .82rem; opacity: .75; }
.price { margin: auto 0 0; padding-top: 8px; color: inherit; font-size: 1.1rem; font-weight: 800; }
.price span { font-size: .7rem; font-weight: 500; opacity: .6; }
.pricing-note { margin: 24px 0 0; color: var(--muted); font-size: .75rem; }

.method { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.method-visual { position: relative; }
.method-visual img { height: auto; aspect-ratio: 4/5; max-height: 560px; object-fit: cover; object-position: center 40%; }
.method-visual p { position: absolute; right: 0; bottom: 24px; max-width: 95%; margin: 0; padding: 16px 18px; background: var(--blue); color: white; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.method-copy h2 { max-width: 660px; }
.steps { margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.steps li > span { color: var(--blue); font-size: .72rem; font-weight: 800; }
.steps h3 { margin-bottom: 6px; font-size: 1.2rem; }
.steps p { margin: 0; color: var(--muted); font-size: .9rem; }

.experience { max-width: none; padding-left: max(24px, calc((100vw - var(--max)) / 2)); padding-right: max(24px, calc((100vw - var(--max)) / 2)); color: white; background: var(--ink); }
.experience .kicker { color: var(--blue-bright); }
.experience .section-heading > p { color: rgba(255,255,255,.58); }
.portfolio-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; }
.portfolio-grid figure { margin: 0; overflow: hidden; background: #202428; }
.portfolio-grid img { height: clamp(320px, 35vw, 470px); object-fit: cover; object-position: center 55%; }
.portfolio-side img { object-position: center 62%; }
.portfolio-grid figcaption { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; }
.portfolio-grid figcaption strong { font-size: .9rem; letter-spacing: .04em; }
.portfolio-grid figcaption span { color: rgba(255,255,255,.65); font-size: .78rem; }

.about { display: grid; grid-template-columns: .78fr 1.22fr; gap: 48px; align-items: center; }
.portrait { height: auto; max-height: 580px; aspect-ratio: 4/5; object-fit: cover; object-position: center 18%; background: #a9acae; }
.about-copy h2 { margin-bottom: 24px; font-size: clamp(2.8rem, 4.5vw, 4.2rem); }
.about-copy > p { max-width: 720px; color: var(--muted); }
.about-copy .about-lead { color: var(--ink); font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.4; }
.competencies { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.competencies span { padding: 9px 13px; border: 1px solid var(--line); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.scope { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: none; padding-left: max(24px, calc((100vw - var(--max)) / 2)); padding-right: max(24px, calc((100vw - var(--max)) / 2)); background: var(--paper-2); }
.scope-card h2 { font-size: clamp(2.2rem, 3.5vw, 4rem); }
.scope-card > p:last-child { max-width: 650px; color: var(--muted); }
.scope-list { align-self: center; border-top: 1px solid var(--line); }
.scope-list p { display: flex; align-items: center; gap: 16px; margin: 0; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.scope-list span { display: grid; flex: 0 0 28px; place-items: center; width: 28px; height: 28px; color: white; background: var(--blue); border-radius: 50%; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; max-width: none; padding-left: max(24px, calc((100vw - var(--max)) / 2)); padding-right: max(24px, calc((100vw - var(--max)) / 2)); color: white; background: #171a1d; }
.kicker-light { color: var(--blue-bright); }
.contact-intro > p { max-width: 600px; color: rgba(255,255,255,.58); }
.email-link { display: inline-flex; gap: 16px; margin-top: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--blue); color: white; font-size: clamp(1.1rem, 2vw, 1.65rem); text-decoration: none; }
.contact-location { margin-top: 26px; font-size: .78rem; }
.contact-photo { margin-top: 24px; height: auto; aspect-ratio: 16/9; object-fit: cover; object-position: center 53%; }
.contact-form { padding: 32px; border: 1px solid rgba(255,255,255,.16); background: #202428; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 8px; margin-bottom: 18px; color: rgba(255,255,255,.7); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,.25); border-radius: 0; padding: 12px 0; color: white; background: transparent; outline: none; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue-bright); }
.contact-form select option { color: var(--ink); }
.contact-form textarea { resize: vertical; }
.contact-form .consent { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; margin: 24px 0; line-height: 1.5; letter-spacing: 0; text-transform: none; }
.consent input { margin-top: 3px; }
.consent a { color: white; }
.form-note { margin: 16px 0 0; color: rgba(255,255,255,.48); font-size: .7rem; }

.legal { max-width: none; padding-left: max(24px, calc((100vw - var(--max)) / 2)); padding-right: max(24px, calc((100vw - var(--max)) / 2)); background: #fbfaf6; }
.legal-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.legal-card { position: relative; min-height: 126px; padding: 22px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; transition: color .25s ease, background .25s ease, transform .25s ease; }
.legal-card:hover { color: white; background: var(--ink); transform: translateY(-4px); }
.legal-card span { color: var(--blue); font-size: .72rem; letter-spacing: .12em; }
.legal-card strong { display: block; max-width: 90%; margin-top: 14px; font-size: 1.2rem; line-height: 1.15; }
.legal-card em { position: absolute; right: 20px; bottom: 18px; color: var(--blue); font-size: 1.4rem; font-style: normal; }

.legal-body { background: #fbfaf6; }
.legal-page-header { position: sticky; color: white; background: rgba(17,19,21,.98); }
.legal-page { max-width: 960px; margin: 0 auto; padding: 64px 24px 72px; }
.legal-page .back-link { display: inline-flex; gap: 10px; margin-bottom: 24px; color: var(--blue); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.legal-page h1 { margin-bottom: 24px; font-size: clamp(2.5rem, 6vw, 4rem); }
.legal-page .legal-intro { max-width: 760px; margin-bottom: 32px; color: var(--muted); font-size: 1.1rem; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 32px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.legal-section { padding: 34px 0; border-bottom: 1px solid var(--line); }
.legal-section h2 { margin-bottom: 18px; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.legal-section h3 { margin: 28px 0 10px; font-size: 1.05rem; }
.legal-section p, .legal-section li { color: var(--muted); }
.legal-section ul { padding-left: 20px; }
.legal-section a { color: var(--ink); text-decoration-color: var(--blue); text-underline-offset: 4px; }
.legal-callout { margin-top: 34px; padding: 24px; border-left: 4px solid var(--blue); background: var(--paper-2); color: var(--muted); }

.site-footer { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 32px; align-items: center; padding: 42px max(24px, calc((100vw - var(--max)) / 2)); color: white; background: #0b0d0f; }
.site-footer p { margin: 0; color: rgba(255,255,255,.5); font-size: .72rem; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer nav a { color: rgba(255,255,255,.6); font-size: .7rem; text-decoration: none; }
.brand-footer .brand-mark { width: 36px; height: 36px; }

.reveal { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .menu-button { display: block; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 16px 24px 24px; background: rgba(17,19,21,.98); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .main-nav .nav-cta { margin-top: 10px; padding: 12px; text-align: center; }
  .hero-status { left: 24px; right: 24px; bottom: 28px; text-align: left; }
  .intro, .method, .about, .scope, .contact { gap: 32px; }
  .intro h2 { font-size: 2.2rem; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { display: grid; grid-template-columns: .9fr 1.1fr; }
  .service-photo { height: 100%; min-height: 300px; aspect-ratio: auto; }
  .field-row { grid-template-columns: 1fr; }
  .mini-facts li { flex-direction: column; gap: 2px; }
  .mini-facts span { text-align: left; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .site-header { min-height: 72px; padding: 0 18px; }
  .brand-copy small { display: none; }
  .hero { min-height: 0; padding: 112px 0 28px; }
  .hero-content { width: calc(100% - 36px); margin: 0 18px 32px; }
  .hero h1 { font-size: clamp(2.65rem, 10.5vw, 3.8rem); }
  .hero-lead { font-size: 1rem; }
  .eyebrow { font-size: .65rem; letter-spacing: .1em; }
  .hero-shade { background: linear-gradient(90deg, rgba(9,11,13,.93), rgba(9,11,13,.38)), linear-gradient(0deg, rgba(9,11,13,.88), transparent 58%); }
  .hero-actions .button { width: 100%; }
  .hero-status { position: relative; left: auto; right: auto; bottom: auto; margin: 0 18px; }
  .section-pad { padding: 48px 18px; }
  .intro, .method, .about, .scope, .contact { grid-template-columns: 1fr; gap: 28px; }
  .intro h2 { font-size: 2.1rem; }
  .mini-facts li { flex-direction: row; gap: 12px; }
  .mini-facts span { text-align: right; }
  .service-card { display: flex; }
  .service-photo { height: auto; min-height: 0; aspect-ratio: 3/2; }
  .service-card-copy { padding: 22px; }
  .method-visual img { aspect-ratio: 1/1; object-position: center 33%; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-grid img { height: auto; aspect-ratio: 4/3; }
  .portfolio-side img { aspect-ratio: 3/4; object-position: center; }
  .portrait { max-height: 500px; }
  .legal-cards { grid-template-columns: 1fr; }
  .legal-card { min-height: 104px; padding: 18px 22px; }
  .legal-card strong { margin-top: 8px; }
  .legal-page { padding: 36px 18px 48px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .site-footer { grid-template-columns: 1fr; align-items: start; padding: 36px 18px; }
  .site-footer nav { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
