/* MONKEY PUNTO WEB · Paleta aprobada y tipografía web local. */
@font-face {
  font-family: 'Libre Baskerville';
  src: url('../fonts/LibreBaskerville-Variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --brown: #B68D6D;
  --olive: #626B45;
  --ink: #242320;
  --stone: #918E88;
  --pink: #E8C3BE;
  --ivory: #F6F1E8;
  --muted: #5E5C56;
  --line: #D5CEC3;
  --serif: 'Libre Baskerville', Baskerville, 'Baskerville Old Face', 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; color: var(--ink); background: var(--ivory); font-family: var(--sans); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body, button { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
button, a { touch-action: manipulation; }
button { color: inherit; }
button:not(:disabled), a { cursor: pointer; }
:focus-visible { outline: 3px solid var(--olive); outline-offset: 6px; border-radius: 3px; }
::selection { background: var(--pink); color: var(--ink); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.6rem); line-height: 1.13; letter-spacing: -.055em; }
h2 { font-size: clamp(1.85rem, 3vw, 2.9rem); line-height: 1.3; letter-spacing: -.04em; }
h3 { font-size: 1.45rem; line-height: 1.35; letter-spacing: -.025em; }
p { margin-bottom: 1rem; }
.container { width: min(1380px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 1rem; padding: .7rem 1rem; background: var(--ink); color: var(--ivory); z-index: 20; }
.skip-link:focus { top: 1rem; }
.site-header { position: relative; z-index: 10; }
.header-inner { min-height: 118px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; flex-shrink: 0; }
/* Ventana de visualización: muestra el mono original sin redibujarlo. */
.brand-symbol { position: relative; display: block; flex-shrink: 0; width: 79px; aspect-ratio: 790 / 563; overflow: hidden; mix-blend-mode: multiply; }
.brand-symbol img { position: absolute; width: 158.73418%; max-width: none; height: auto; left: -29.36709%; top: -41.74067%; }
.brand-wordmark { display: grid; justify-items: center; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 2.25rem; letter-spacing: -.06em; font-weight: 400; }
.brand-descriptor { font-family: var(--serif); font-size: .73rem; letter-spacing: .43em; padding-left: .43em; margin-top: .65rem; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; }
.site-nav a { position: relative; text-decoration: none; font-size: .96rem; white-space: nowrap; padding: .65rem 0; }
.site-nav a::after { content: ''; height: 2px; position: absolute; bottom: .15rem; left: 0; right: 0; background: var(--olive); transform: scaleX(0); transform-origin: left; transition: transform 160ms ease; }
.site-nav a:hover::after, .site-nav a[aria-current='page']::after { transform: scaleX(1); }
.site-nav a[aria-current='page'] { font-weight: 600; }
.menu-toggle { display: none; align-items: center; justify-content: center; gap: .6rem; background: transparent; border: 1px solid var(--line); border-radius: 6px; padding: .6rem .8rem; min-height: 44px; }
.menu-toggle svg { width: 20px; height: 20px; }
.hero { display: grid; grid-template-columns: 1.07fr 1fr; gap: clamp(2rem, 4vw, 4.5rem); align-items: center; padding-block: 48px 56px; }
.hero h1 { margin-bottom: 1.3rem; max-width: 720px; }
.hero-lead { max-width: 620px; color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.3rem); line-height: 1.55; margin-bottom: 1.75rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 52px; padding: .9rem 1.8rem; background: var(--olive); color: var(--ivory); text-decoration: none; border: 1px solid var(--olive); border-radius: 100px; font-family: var(--serif); font-size: 1.03rem; text-align: center; line-height: 1.5; transition: background 150ms ease, transform 150ms ease; }
.button:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.text-link { font-size: 1rem; text-decoration: underline; }
/* Ilustración aprobada, presentada con el encuadre de la portada. */
.hero-art { position: relative; width: 100%; aspect-ratio: 665 / 411; overflow: hidden; border-radius: 24px; background: var(--brown); margin: 0; }
.hero-art img { position: absolute; width: 230.977444%; max-width: none; height: auto; left: -121.654135%; top: -35.279805%; }
.home-services { padding-block: 35px 42px; border-top: 1px solid var(--line); }
.home-services h2 { text-align: center; margin-bottom: 2.3rem; }
.service-overview { display: grid; grid-template-columns: repeat(4, 1fr); }
.overview-link { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; text-align: center; text-decoration: none; padding: .5rem 1.2rem 1rem; border-right: 1px solid var(--line); }
.overview-link:last-child { border-right: none; }
.overview-link h3 { font-size: clamp(1.12rem, 1.6vw, 1.45rem); margin-bottom: 0; }
.overview-link:hover h3 { text-decoration: underline; text-underline-offset: 6px; }
.icon-badge { position: relative; width: 76px; height: 72px; display: inline-grid; place-items: center; flex-shrink: 0; }
.icon-badge::before { content: ''; position: absolute; width: 43px; height: 43px; border-radius: 50%; background: var(--pink); top: 0; right: 0; }
.icon-badge svg { width: 52px; height: 52px; position: relative; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.contact-band { background: var(--olive); color: var(--ivory); }
.contact-band-link { display: flex; justify-content: center; align-items: center; gap: 1.8rem; min-height: 100px; padding: 1.3rem; font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.5rem); text-decoration: none; text-align: center; }
.contact-band-link::before { content: ''; width: 19px; height: 19px; background: var(--pink); border-radius: 50%; flex-shrink: 0; }
.contact-band-link .arrow { font-family: var(--sans); font-size: 1.9rem; transition: transform 160ms ease; }
.contact-band-link:hover .arrow { transform: translateX(5px); }
.contact-band-link:focus-visible { outline-color: var(--ivory); outline-offset: -6px; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; font-size: .8rem; color: var(--muted); }
.footer-inner p { margin: 0; }
.footer-motto { font-family: var(--serif); font-size: .9rem; }
.page-intro { padding-top: 64px; padding-bottom: 36px; max-width: 830px; }
.eyebrow { display: flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--olive); margin-bottom: 1.25rem; }
.eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--olive); }
.page-intro h1 { margin-bottom: 1.4rem; font-size: clamp(2.4rem, 4.4vw, 4rem); }
.page-intro p { font-size: 1.12rem; line-height: 1.7; color: var(--muted); max-width: 680px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 34px; padding-bottom: 60px; }
.service-detail { padding-block: 30px 38px; border-top: 1px solid var(--line); scroll-margin-top: 28px; }
.service-detail .icon-badge { margin-bottom: 1.3rem; }
.service-detail h2 { font-size: 1.55rem; line-height: 1.4; margin-bottom: 1rem; }
.service-detail p { color: var(--muted); font-size: 1rem; line-height: 1.75; margin: 0; }
.process-layout { display: grid; grid-template-columns: .85fr 1.3fr; gap: 80px; padding-block: 62px 70px; }
.process-layout .page-intro { padding: 0; }
.process-note { border-left: 3px solid var(--brown); padding-left: 1.2rem; font-family: var(--serif); font-size: 1.1rem; margin-top: 2rem; }
.process-steps { list-style: none; margin: 0; padding: 0; }
.process-step { display: grid; grid-template-columns: 53px 1fr; gap: 1.4rem; padding: 24px 0 28px; border-top: 1px solid var(--line); }
.step-number { color: var(--olive); font-family: var(--serif); font-size: 1.65rem; line-height: 1.5; }
.process-step h2 { font-size: 1.45rem; margin-bottom: .65rem; }
.process-step p { color: var(--muted); margin: 0; line-height: 1.7; }
.empty-page { min-height: calc(100svh - 198px); padding-top: 70px; }
.empty-page h1 { font-size: clamp(2.6rem, 4vw, 4rem); margin: 0; }
.not-found { min-height: calc(100svh - 198px); padding-block: 64px; display: grid; align-content: center; justify-items: start; }
.not-found p { color: var(--muted); }
@media (min-width: 1650px) { .hero h1 { font-size: 4.65rem; } }
@media (max-width: 1120px) {
  .container { width: calc(100% - 64px); }
  .header-inner { gap: 1.5rem; min-height: 108px; }
  .brand-symbol { width: 65px; }
  .brand-name { font-size: 1.9rem; }
  .brand-descriptor { font-size: .61rem; }
  .site-nav { gap: 1rem; }
  .site-nav a { font-size: .875rem; }
  .hero { gap: 2rem; padding-block: 40px; }
  .hero h1 { font-size: 3.2rem; }
  .hero-actions { gap: 1rem; }
  .button { padding-inline: 1.4rem; }
  .process-layout { gap: 44px; }
}
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; gap: 0; padding-block: 20px; min-height: 96px; }
  .js .menu-toggle { display: inline-flex; }
  .site-nav { width: 100%; justify-content: flex-start; padding-top: 20px; gap: 1rem 1.6rem; }
  .site-nav a { font-size: 1rem; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: clamp(2.9rem, 6.8vw, 4.2rem); max-width: 700px; }
  .hero-lead { max-width: 660px; font-size: 1.15rem; }
  .hero-art { max-width: 750px; }
  .home-services { padding-top: 35px; }
  .service-overview { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .overview-link:nth-child(2) { border-right: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
  .process-layout { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; }
  .process-layout .page-intro { max-width: 690px; }
  .process-note { margin-top: 1.5rem; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 96px; }
  .brand { gap: .45rem; }
  .brand-symbol { width: 54px; }
  .brand-name { font-size: 1.58rem; }
  .brand-descriptor { font-size: .52rem; margin-top: .45rem; letter-spacing: .38em; }
  .menu-toggle { padding-inline: .65rem; font-size: .88rem; }
  .site-nav { gap: 0; display: grid; grid-template-columns: 1fr 1fr; }
  .js .site-nav.is-open { display: grid; }
  .site-nav a { min-height: 48px; padding: .7rem 0; }
  .site-nav a::after { right: 50%; }
  .hero { padding-block: 36px; }
  .hero h1 { font-size: clamp(2.55rem, 9.1vw, 3.5rem); letter-spacing: -.06em; line-height: 1.15; }
  .hero-lead { font-size: 1rem; margin-bottom: 1.5rem; }
  .hero-actions { gap: 1.2rem; }
  .button { font-size: 1rem; padding: .85rem 1.4rem; }
  .hero-art { border-radius: 16px; }
  .home-services h2 { font-size: 1.85rem; margin-bottom: 2rem; }
  .overview-link { padding-inline: .5rem; gap: .8rem; }
  .overview-link h3 { font-size: 1.1rem; }
  .icon-badge { transform: scale(.88); }
  .contact-band-link { min-height: 94px; gap: .8rem; padding-inline: 1rem; font-size: 1.02rem; }
  .contact-band-link::before { width: 14px; height: 14px; }
  .contact-band-link .arrow { font-size: 1.6rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: .4rem; padding-block: 20px; }
  .page-intro { padding-top: 42px; padding-bottom: 20px; }
  .page-intro h1 { font-size: 2.4rem; }
  .page-intro p { font-size: 1rem; }
  .service-grid { grid-template-columns: 1fr; padding-bottom: 35px; }
  .service-detail { padding-block: 22px 28px; }
  .service-detail .icon-badge { margin-bottom: .5rem; transform-origin: left; }
  .service-detail h2 { font-size: 1.6rem; }
  .process-step { grid-template-columns: 35px 1fr; gap: .9rem; }
  .process-step h2 { font-size: 1.3rem; }
  .step-number { font-size: 1.4rem; }
  .empty-page { padding-top: 46px; min-height: calc(100svh - 200px); }
}
@media (max-width: 350px) {
  .container { width: calc(100% - 28px); }
  .brand-symbol { width: 45px; }
  .brand-name { font-size: 1.4rem; }
  .menu-toggle { font-size: .8rem; gap: .35rem; padding-inline: .5rem; }
  .menu-toggle svg { width: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
