:root {
  --ink: #111416;
  --paper: #e9ece5;
  --muted: #68716b;
  --line: #b9c0b8;
  --signal: #d9f45a;
  --red: #e52d2d;
  --display: Arial, Helvetica, sans-serif;
  --headline: "Arial Black", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--display); font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.site-header, .section-grid, .site-footer { width: min(1280px, calc(100% - 80px)); margin: auto; }

.site-header { width: 100%; height: 88px; padding: 0 max(40px, calc((100% - 1280px) / 2)); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(17,20,22,.2); position: sticky; top: 0; z-index: 20; background: rgba(233,236,229,.82); box-shadow: 0 8px 24px rgba(17,20,22,.08); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: 16px; font-family: var(--headline); font-size: 22px; line-height: .88; letter-spacing: .025em; font-weight: 700; }
.brand-mark { display: grid; place-items: center; width: 52px; height: 52px; background: var(--ink); color: var(--signal); font-family: var(--headline); font-size: 22px; font-weight: 700; }
.brand-name { display: flex; align-items: baseline; gap: 7px; position: relative; }
.brand-name b { color: var(--red); font-weight: 700; }
.brand-name small { position: absolute; top: 25px; left: 0; font-family: var(--display); font-size: 9px; line-height: 1; letter-spacing: .18em; font-weight: 600; color: var(--ink); }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 16px; font-weight: 600; }
.main-nav a { padding: 8px 0; transition: color .2s; }
.main-nav a:hover, .text-link:hover { color: var(--red); }
.nav-contact { padding: 15px 21px !important; background: var(--ink); color: var(--paper); }
.nav-contact:hover { background: var(--red); color: var(--paper) !important; }
.menu-checkbox { position: absolute; opacity: 0; pointer-events: none; }
.menu-toggle { display: none; }

.hero { min-height: calc(100vh - 88px); display: grid; grid-template-columns: 45% 55%; grid-template-rows: 1fr 50px; align-items: center; position: relative; }
.hero-copy { padding: 80px 0 40px; }
.eyebrow { margin: 0 0 28px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 9px; background: var(--red); border-radius: 50%; }
.hero h1, .section-intro h2, .method h2, .contact h2 { font-family: var(--headline); font-weight: 600; letter-spacing: .01em; line-height: .84; text-transform: uppercase; }
.hero h1 { margin: 0 0 37px; font-size: clamp(70px, 8vw, 120px); }
.hero h1 em, h2 em { color: var(--red); font-style: normal; }
.hero-intro { max-width: 480px; margin: 0 0 40px; color: #4e5751; font-size: 20px; line-height: 1.5; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.button { display: inline-flex; align-items: center; padding: 17px 21px; font-size: 14px; font-weight: 600; }
.button-primary { background: var(--ink); color: var(--paper); transition: background .2s, transform .2s; }
.button-primary:hover { background: var(--red); transform: translateY(-2px); }
.button span, .text-link span, .contact-email span { margin-left: 9px; font-size: 18px; }
.text-link { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.hero-visual { align-self: stretch; position: relative; overflow: hidden; margin: 0 -80px 0 45px; }
.hero-visual::after { display: none; }
.hero-visual img { display: block; width: 100%; height: auto; object-fit: contain; object-position: center; filter: none; mix-blend-mode: normal; }
.visual-caption { position: absolute; z-index: 1; right: 31px; bottom: 24px; left: 31px; display: flex; align-items: center; gap: 15px; color: var(--paper); font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.caption-line { flex: 1; height: 1px; background: var(--paper); opacity: .6; }
.hero-scroll { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; }
.scroll-line { width: 42px; height: 1px; background: var(--ink); }

.services { display: grid; grid-template-columns: 36% minmax(0, 1fr); gap: 8%; padding: 160px 0; }
.section-intro h2, .method h2, .contact h2 { margin: 0 0 34px; font-size: clamp(48px, 5vw, 72px); }
.section-intro > p:last-child, .method-copy > p, .contact-details > p { max-width: 400px; color: #58625b; font-size: 18px; line-height: 1.6; }
.service-list { min-width: 0; border-top: 1px solid var(--ink); }
.service-item { display: grid; grid-template-columns: 50px 1fr 25px; gap: 20px; align-items: start; padding: 25px 0; border-bottom: 1px solid var(--line); transition: padding .25s, background .25s; }
.service-item:hover { padding-left: 14px; background: rgba(217,244,90,.22); }
.service-number { padding-top: 4px; color: var(--red); font-size: 13px; font-weight: 600; }
.service-item h3 { margin: 0 0 8px; font-family: var(--headline); font-size: 30px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.service-item p { margin: 0; color: #4e5751; font-size: 17px; line-height: 1.5; }
.service-arrow { color: var(--red); font-size: 21px; text-align: right; }

.method { width: 100%; max-width: none; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8%; padding: 125px max(40px, calc((100% - 1280px) / 2)); background: var(--ink); color: var(--paper); }
.method .eyebrow { color: #818982; }
.signal { margin-top: 50px; color: var(--red); font-family: monospace; font-size: 10px; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }
.signal b { color: var(--paper); font-weight: 400; }
.method-copy > p { color: #aeb5af; }
.method .text-link { display: inline-block; margin-top: 23px; color: var(--signal); }
.method-steps { align-self: end; display: flex; justify-content: space-between; padding-top: 17px; border-top: 1px solid #4d5550; }
.method-steps div { display: flex; flex-direction: column; gap: 11px; }
.method-steps span { color: var(--red); font-size: 13px; font-weight: 600; }
.method-steps p { margin: 0; font-size: 18px; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; padding: 160px 0 150px; }
.contact-details { align-self: end; padding-bottom: 6px; }
.contact-email { display: inline-block; margin: 35px 0 50px; padding-bottom: 13px; border-bottom: 1px solid var(--ink); font-family: var(--headline); font-size: clamp(30px, 3.4vw, 50px); font-weight: 600; letter-spacing: .02em; }
.contact-email span { color: var(--red); }
.contact-meta { display: flex; gap: 30px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.site-footer { min-height: 100px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.site-footer .brand { color: var(--ink); font-family: var(--display); font-size: 14px; }
.site-footer .brand-mark { width: 34px; height: 34px; font-size: 15px; }
.site-footer .brand-name small { top: 17px; font-size: 6px; }
.site-footer > a:last-child { color: var(--ink); }

@media (max-width: 800px) {
  .site-header, .section-grid, .site-footer { width: calc(100% - 40px); }
  .site-header { width: 100%; height: 76px; padding: 0 20px; }
  .brand { gap: 11px; font-size: 20px; }
  .brand-mark { width: 43px; height: 43px; font-size: 19px; }
  .brand-name small { top: 22px; font-size: 7px; letter-spacing: .13em; }
  .menu-toggle { display: block; padding: 10px 0; cursor: pointer; font-size: 15px; font-weight: 600; }
  .main-nav { display: none; position: absolute; top: 76px; right: 0; left: 0; flex-direction: column; align-items: flex-start; gap: 22px; padding: 25px 20px; background: rgba(233,236,229,.96); border-bottom: 1px solid var(--ink); font-size: 17px; }
  .menu-checkbox:checked ~ .main-nav { display: flex; }
  .hero { min-height: auto; display: flex; flex-direction: column; align-items: stretch; }
  .hero-copy { padding: 85px 0 60px; }
  .hero h1 { font-size: clamp(64px, 17vw, 94px); }
  .hero { grid-template-columns: 55% 45%; }
  .hero h1 { max-width: 560px; font-size: clamp(54px, 5.8vw, 78px); line-height: .88; letter-spacing: -.035em; }
  .visual-caption { right: 20px; left: 20px; }
  .hero-scroll { padding: 23px 0 0; }
  .services { display: block; padding: 110px 0; }
  .section-intro { margin-bottom: 65px; }
  .section-intro h2, .method h2, .contact h2 { font-size: 50px; }
  .section-intro > p:last-child, .method-copy > p, .contact-details > p { font-size: 17px; }
  .service-item h3 { font-size: 27px; }
  .service-item p { font-size: 16px; }
  .method { display: block; padding: 100px 20px; }
  .signal { margin: 0 0 65px; writing-mode: initial; transform: none; }
  .method-steps { margin-top: 65px; }
  .contact { display: block; padding: 110px 0; }
  .contact-details { margin-top: 55px; }
  .contact-email { font-size: 29px; }
  .contact-meta { flex-direction: column; gap: 10px; }
  .site-footer { display: grid; gap: 20px; padding: 28px 0; }
  .site-footer span:nth-child(2) { order: 3; }
  .site-footer > a:last-child { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button-primary, .service-item { transition: none; }
}

/* Escala editorial: la identidad debe leerse antes que la navegación. */
.site-header { height: 150px; }
.brand { gap: 20px; font-family: var(--display); font-size: 28px; letter-spacing: -.03em; line-height: .9; }
.brand-mark { width: 64px; height: 64px; font-family: var(--display); font-size: 25px; }
.brand-name { gap: 8px; }
.brand-name small { top: 31px; font-size: 10px; letter-spacing: .16em; }
.main-nav { gap: 42px; font-size: 19px; }
.nav-contact { padding: 19px 25px !important; }
.hero { min-height: calc(100vh - 150px); }
.hero h1 { font-size: clamp(88px, 10vw, 150px); }
.hero-intro { max-width: 530px; font-size: 22px; }
.eyebrow { font-size: 15px; }
.button { padding: 20px 24px; font-size: 16px; }
.text-link { font-size: 15px; }
.section-intro h2, .method h2, .contact h2 { font-size: clamp(60px, 6vw, 88px); }
.section-intro > p:last-child, .method-copy > p, .contact-details > p { max-width: 470px; font-size: 21px; }
.service-item { padding: 32px 0; }
.service-item h3 { font-size: 38px; }
.service-item p { font-size: 20px; }
.method-steps p { font-size: 21px; }
.contact-email { font-size: clamp(36px, 4vw, 60px); }
.hero { grid-template-columns: 49% 51%; }
.hero h1 { font-size: clamp(66px, 7.2vw, 104px); }
.hero-visual { margin-left: 20px; }
.hero h1 { max-width: 520px; font-size: clamp(58px, 6.4vw, 88px); line-height: .88; }
.section-intro h2, .method h2, .contact h2 { max-width: 520px; font-size: clamp(44px, 4.6vw, 68px); line-height: .94; }

@media (max-width: 800px) {
  .site-header { height: 105px; }
  .brand { gap: 12px; font-size: 25px; }
  .brand-mark { width: 52px; height: 52px; font-size: 21px; }
  .brand-name small { top: 27px; font-size: 8px; }
  .menu-toggle { font-size: 18px; }
  .main-nav { top: 105px; font-size: 20px; }
  .hero { min-height: auto; }
  .hero h1 { max-width: 100%; font-size: clamp(58px, 15vw, 82px); }
  .hero-intro { font-size: 20px; }
  .eyebrow { font-size: 14px; }
  .button { padding: 18px 20px; font-size: 15px; }
  .section-intro h2, .method h2, .contact h2 { font-size: 46px; }
  .section-intro > p:last-child, .method-copy > p, .contact-details > p { font-size: 19px; }
  .service-item { padding: 28px 0; }
  .service-item h3 { font-size: 34px; }
  .service-item p { font-size: 18px; }
}

/* Tipografia de lectura: el texto informativo no usa una fuente tecnica ni pixelada. */
body { font-family: Arial, Helvetica, sans-serif; }
.brand, .main-nav, .hero-intro, .section-intro > p:last-child, .method-copy > p, .contact-details > p, .service-item p, .contact-meta, .site-footer { font-family: Arial, Helvetica, sans-serif; }
.brand { font-size: 31px; font-weight: 800; letter-spacing: -.045em; }
.brand-mark { font-size: 27px; font-weight: 800; }
.brand-name small { top: 34px; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.main-nav { font-size: 20px; font-weight: 700; }
.eyebrow { font-size: 15px; font-weight: 700; }
.hero-intro { font-size: 22px; font-weight: 500; }
.service-item p, .section-intro > p:last-child, .method-copy > p, .contact-details > p { font-weight: 500; }
.visual-caption, .hero-scroll { font-size: 14px; font-weight: 700; }
.contact-meta { font-size: 17px; font-weight: 600; }
.site-footer { font-size: 15px; font-weight: 600; }
.site-footer .brand { font-size: 22px; }
.site-footer .brand-mark { width: 44px; height: 44px; font-size: 19px; }
.site-footer .brand-name small { top: 25px; font-size: 7px; }

@media (max-width: 800px) {
  .brand { font-size: 27px; }
  .brand-mark { width: 54px; height: 54px; font-size: 23px; }
  .brand-name small { top: 30px; font-size: 8px; }
  .main-nav { font-size: 20px; }
  .hero-intro { font-size: 20px; }
  .contact-meta { font-size: 16px; }
  .site-footer { font-size: 14px; }
  .site-footer .brand { font-size: 21px; }
}

/* Escala final: mejorar lectura sin agrandar titulares ni nombres de servicios. */
.hero { grid-template-columns: 52% 48%; }
.hero-visual { margin-left: 30px; }
.hero h1 { max-width: 520px; font-size: clamp(48px, 5vw, 68px); line-height: .9; letter-spacing: -.03em; }
.section-intro h2, .method h2, .contact h2 { max-width: 440px; font-size: clamp(40px, 4vw, 58px); line-height: .96; }
.section-intro h2 { font-size: clamp(38px, 3.8vw, 54px); }
.service-item { padding: 25px 0; }
.service-item h3 { font-size: 24px; }
.service-item p { font-size: 17px; }
.section-intro > p:last-child, .method-copy > p, .contact-details > p { font-size: 18px; }

.services { grid-template-columns: 42% minmax(0, 1fr); gap: 8%; }
.section-intro h2 { max-width: 100%; font-size: 42px; line-height: .98; }
.service-item { grid-template-columns: 50px minmax(0, 1fr); }
.service-arrow { display: none; }
.service-item h3 { font-size: 24px; }
.service-item p { font-size: 18px; }

@media (max-width: 800px) {
  .hero { display: flex; }
  .hero h1 { max-width: 100%; font-size: clamp(54px, 14vw, 78px); }
  .section-intro h2, .method h2, .contact h2 { font-size: 43px; }
  .section-intro h2 { font-size: 40px; }
  .service-item h3 { font-size: 24px; }
  .service-item p { font-size: 16px; }
}

/* Composicion apilada: texto e imagen nunca compiten por el mismo espacio. */
.hero { display: block; min-height: auto; }
.hero-copy { max-width: 760px; padding: 120px 0 75px; }
.hero-visual { width: 100%; height: auto; margin: 0; }
.hero-scroll { padding: 24px 0 0; }
.services { display: block; padding: 150px 0; }
.section-intro { max-width: 720px; margin-bottom: 80px; }
.section-intro h2 { max-width: 650px; }
.service-list { width: 100%; }
.method { display: block; padding: 130px max(40px, calc((100% - 1280px) / 2)); }
.method-label { margin-bottom: 48px; }
.method-copy { max-width: 680px; }
.method-steps { max-width: 680px; margin-top: 50px; }
.contact { display: block; padding: 150px 0; }
.contact-details { max-width: 680px; margin-top: 65px; }

#servicios, #metodo, #contacto { scroll-margin-top: 96px; }
.method h2 { max-width: 620px; font-size: clamp(42px, 4vw, 58px); line-height: .96; }
.method-copy > p { max-width: 600px; font-size: 18px; }

@media (max-width: 800px) {
  .hero-copy { padding: 85px 0 60px; }
  .hero-visual { height: auto; min-height: 0; margin: 0 -20px; width: calc(100% + 40px); }
  .services { padding: 110px 0; }
  .section-intro { margin-bottom: 65px; }
  .method { padding: 100px 20px; }
  .contact { padding: 110px 0; }
  #servicios, #metodo, #contacto { scroll-margin-top: 84px; }
  .method { padding-top: 90px; padding-bottom: 90px; }
  .method h2 { font-size: 43px; }
}

/* Override final para que la navegacion no vuelva a crecer por reglas anteriores. */
.site-header { width: 100%; height: 88px; padding: 0 max(40px, calc((100% - 1280px) / 2)); background: rgba(233,236,229,.82); border-bottom: 1px solid rgba(17,20,22,.2); box-shadow: 0 8px 24px rgba(17,20,22,.08); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.hero { min-height: auto; }
@media (max-width: 800px) {
  .site-header { width: 100%; height: 76px; padding: 0 20px; }
  .main-nav { top: 76px; }
}
