/* Fuentes alojadas en la propia web (subconjunto latino: incluye tildes, ñ, ¿ y ¡) */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/bricolage-grotesque.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('../fonts/jetbrains-mono.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Pixelify Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/pixelify-sans.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --cream: #F4EAD8;
  --paper: #FBF5E9;
  --ink: #2B1B12;
  --ink-soft: #4A3426;
  --orange: #F26A21;
  --orange-soft: #FF9A57;
  --rust: #B93A0B;
  --sand: #E6D5B8;
  --mute: #6B5444;
  --wrap: 1240px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background-color: var(--cream);
  background-image: radial-gradient(rgba(43,27,18,.13) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--ink);
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 2px; }
::selection { background: var(--orange); color: var(--ink); }
input, textarea { caret-color: var(--rust); }
html { scrollbar-color: var(--ink) var(--sand); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }
.plain { list-style: none; margin: 0; padding: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 112px; padding-bottom: 40px; }
.section-title { font-size: clamp(32px, 5vw, 68px); line-height: 1; font-weight: 800; letter-spacing: -.03em; max-width: 880px; text-wrap: balance; }
.section-lead { max-width: 640px; margin-top: 20px; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }

/* ---------- Tipografía utilitaria ---------- */
.lbl { font-size: 15px; font-weight: 600; letter-spacing: 0; }
.px { font-family: 'Pixelify Sans', monospace; }
.mono { font-family: 'JetBrains Mono', monospace; }
.kicker { display: block; margin-bottom: 14px; color: var(--rust); font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.mark { background: linear-gradient(transparent 62%, var(--orange) 62%, var(--orange) 92%, transparent 92%); padding: 0 4px; }

/* ---------- Ventanas retro ---------- */
.win { background: var(--paper); border: 2px solid var(--ink); border-radius: 10px; box-shadow: 6px 6px 0 var(--ink); overflow: hidden; }
.bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 2px solid var(--ink); background: var(--sand); font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 600; }
.bar.orange { background: var(--orange); }
.bar.dark { background: var(--ink); color: var(--cream); }
.bar.rust { background: var(--rust); color: var(--cream); }
.sqs { display: flex; gap: 6px; }
.sq { width: 12px; height: 12px; border: 2px solid var(--ink); background: var(--cream); display: block; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 2px solid var(--ink); border-radius: 8px; background: var(--orange); color: var(--ink); font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 18px; text-decoration: none; box-shadow: 4px 4px 0 var(--ink); transition: transform .12s, box-shadow .12s; cursor: pointer; }
.btn:hover { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }
.btn:active { transform: translate(4px,4px); box-shadow: 0 0 0 var(--ink); }
.btn.alt { background: var(--paper); }
.btn.dark { background: var(--ink); color: var(--cream); box-shadow: 4px 4px 0 var(--orange); }
.btn[target='_blank']::after { content: ''; width: 14px; height: 14px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cpath d='M2 0h5v5H6V2H5v1H4v1H3v1H2v1H1v1H0V6h1V5h1V4h1V3h1V2h1V1H2z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cpath d='M2 0h5v5H6V2H5v1H4v1H3v1H2v1H1v1H0V6h1V5h1V4h1V3h1V2h1V1H2z'/%3E%3C/svg%3E") center / contain no-repeat; }
.btn.small { min-height: 46px; font-size: 16px; padding: 0 18px; }
.btn.tall { min-height: 60px; }

.pick { min-height: 46px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 8px; background: var(--paper); color: var(--ink); font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; font-size: 16px; cursor: pointer; transition: transform .1s, background .1s; }
.pick:hover { transform: translateY(-2px); }
.pick[aria-pressed="true"] { background: var(--ink); color: var(--cream); box-shadow: 3px 3px 0 var(--orange); }

.lift { transition: transform .15s, box-shadow .15s; }
.lift:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--ink); }

/* Viñeta cuadrada */
.dot { flex: none; width: 12px; height: 12px; background: var(--orange); border: 2px solid var(--ink); display: block; }
.dot.sm { width: 10px; height: 10px; }
.dot.ink { background: var(--ink); }
.dot.rust { background: var(--rust); }
.dot.orange-soft { background: var(--orange-soft); }

/* ---------- Nav ---------- */
.site-header { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-name { font-size: 30px; font-weight: 700; line-height: 1; }
.brand-name span { color: var(--rust); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.navlink { text-decoration: none; font-weight: 600; font-size: 16px; padding: 12px 4px; border-bottom: 3px solid transparent; }
.navlink:hover { border-bottom-color: var(--orange); }
.menu-toggle { display: none; width: 48px; height: 48px; padding: 0 11px; border: 2px solid var(--ink); border-radius: 8px; background: var(--paper); box-shadow: 3px 3px 0 var(--ink); cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.menu-toggle span { display: block; height: 3px; background: var(--ink); transition: transform .15s, opacity .15s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-top: 40px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 56px 48px; align-items: center; }
.hero-copy { flex: 1 1 480px; min-width: 0; }
.hero-copy .lbl { color: var(--rust); margin-bottom: 22px; }
.hero-title { font-size: clamp(40px, 6vw, 86px); text-wrap: balance; line-height: .95; font-weight: 800; letter-spacing: -.035em; animation-delay: .08s; }
.hero-text { font-size: clamp(18px, 2vw, 22px); max-width: 540px; margin-top: 28px; color: var(--ink-soft); animation-delay: .18s; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 36px; animation-delay: .28s; }
.hero-points { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 12px 28px; animation-delay: .38s; }
.hero-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; }

/* Wizard de presupuesto */
.wizard { flex: 1 1 420px; min-width: 0; max-width: 560px; position: relative; margin-top: 60px; animation-delay: .2s; }
.wizard-mascot { position: absolute; top: -92px; right: 28px; }
.wizard-body { padding: 24px; display: flex; flex-direction: column; gap: 22px; }
.wizard-step .lbl { margin-bottom: 10px; color: var(--mute); }
.pick-group { display: flex; flex-wrap: wrap; gap: 10px; }
.console { background: var(--ink); color: var(--cream); border-radius: 8px; padding: 16px 18px; font-family: 'JetBrains Mono', monospace; font-size: 14px; line-height: 1.6; min-height: 96px; }
.console-file { color: var(--orange-soft); }
.cursor { display: inline-block; width: 9px; height: 16px; background: var(--orange); vertical-align: -3px; margin-left: 4px; }
.wizard-send { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.textlink { font-weight: 600; font-size: 16px; padding: 12px 0; }

/* ---------- Trust ---------- */
.trust { background: var(--ink); color: var(--cream); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.trust-grid { padding-top: 56px; padding-bottom: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px,100%), 1fr)); gap: 36px 40px; }
.trust-grid > div { border-top: 4px solid var(--orange); padding-top: 18px; }
.trust h2 { font-size: 22px; margin: 0 0 6px; }
.trust p:last-child { color: var(--sand); }

/* ---------- Proyectos ---------- */
.projects { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 48px; align-items: flex-start; }
.project-tabs { flex: 1 1 260px; max-width: 340px; display: flex; flex-direction: column; gap: 16px; }
.project-tab { display: flex; align-items: center; gap: 16px; text-align: left; padding: 16px 18px; min-height: 76px; width: 100%; box-shadow: 5px 5px 0 var(--ink); }
.project-tab[aria-selected="true"] { background: var(--ink); color: var(--cream); box-shadow: 5px 5px 0 var(--orange); }
.project-tab { justify-content: space-between; }
.project-tab-text { display: flex; flex-direction: column; gap: 2px; }
.project-tab-kind { flex: none; align-self: flex-start; font-size: 13px; font-weight: 700; padding: 2px 8px; border: 2px solid currentColor; border-radius: 4px; }
.project-tab-name { font-size: 19px; font-weight: 700; }
.project-tab-tag { font-size: 14px; font-weight: 500; opacity: .85; }
.project-slot { border: 2px dashed var(--mute); border-radius: 8px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.project-slot strong { font-size: 19px; }
.project-slot span:last-child { font-size: 14px; color: var(--mute); }

.project-panel { flex: 3 1 560px; min-width: 0; }
.urlbar { flex: 1; min-width: 0; background: var(--paper); border: 2px solid var(--ink); border-radius: 6px; padding: 3px 10px; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.project-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.project-preview { min-width: 0; padding: 24px; background: var(--sand); border-right: 2px solid var(--ink); }
.project-preview img { display: block; width: 100%; height: auto; border: 2px solid var(--ink); border-radius: 8px; }
.preview-note { font-size: 12px; color: var(--mute); margin-top: 14px; font-family: 'JetBrains Mono', monospace; }
.project-info { min-width: 0; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.project-badge { font-size: 14px; align-self: flex-start; background: var(--ink); color: var(--cream); padding: 5px 10px; border-radius: 4px; }
.project-badge.real { background: var(--orange); color: var(--ink); border: 2px solid var(--ink); }
.project-name { font-size: clamp(28px, 4vw, 34px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; }
.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px,100%), 1fr)); gap: 8px 16px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 500; }
.feature-list .dot { margin-top: 7px; }
.tech-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tech { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 600; border: 2px solid var(--ink); border-radius: 5px; padding: 3px 9px; background: var(--paper); }
.project-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }

/* Mockups ilustrativos */
.mock { border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; }
.mock-casa { background: #EEF2E4; }
.mock-casa-head { background: #3F5B3A; color: var(--cream); padding: 22px 18px; }
.mock-title { font-family: 'Pixelify Sans', monospace; font-size: 26px; line-height: 1; }
.mock-casa-head small { display: block; font-size: 13px; opacity: .9; margin-top: 6px; }
.mock-casa-grid { padding: 14px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.mock-card { background: #fff; border: 2px solid var(--ink); border-radius: 6px; padding: 10px; }
.mock-card-title { font-size: 11px; font-weight: 700; font-family: 'JetBrains Mono', monospace; margin-bottom: 8px; }
.mock-cal { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 3px; }
.mock-cal div { height: 16px; font-size: 9px; line-height: 16px; text-align: center; border-radius: 2px; font-family: 'JetBrains Mono', monospace; }
.mock-cal .free { background: #EEF2E4; }
.mock-cal .booked { background: #3F5B3A; color: #fff; }
.mock-col { display: flex; flex-direction: column; gap: 10px; }
.mock-form { display: flex; flex-direction: column; gap: 6px; }
.mock-form .mock-card-title { margin-bottom: 0; }
.mock-input { height: 20px; border: 1.5px solid #8AA17F; border-radius: 4px; }
.mock-submit { height: 22px; background: #3F5B3A; border-radius: 4px; }
.mock-map { flex: 1; min-height: 70px; background: #CFDCC2; border: 2px solid var(--ink); border-radius: 6px; position: relative; }
.mock-pin { position: absolute; left: 46%; top: 30%; width: 14px; height: 14px; background: var(--rust); border: 2px solid var(--ink); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }

.mock-barber { background: #211C18; color: var(--cream); padding: 18px; }
.mock-barber .mock-title { color: #D8B26A; }
.mock-steps { display: flex; gap: 6px; margin: 14px 0; font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.mock-steps span { border: 1px solid #6B5C4A; padding: 3px 8px; border-radius: 3px; }
.mock-steps .on { background: #D8B26A; color: #211C18; border-color: #D8B26A; font-weight: 700; }
.mock-services { display: flex; flex-direction: column; gap: 8px; }
.mock-services div { border: 1.5px solid #4A3F34; border-radius: 6px; padding: 10px 12px; font-size: 14px; display: flex; justify-content: space-between; }
.mock-services .on { border-color: #D8B26A; }
.mock-services .on::after { content: ''; width: 10px; height: 10px; align-self: center; background: #D8B26A; }
.mock-slots { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 6px; margin-top: 14px; font-family: 'JetBrains Mono', monospace; font-size: 11px; text-align: center; }
.mock-slots span { border: 1px solid #4A3F34; border-radius: 4px; padding: 5px 0; }
.mock-slots .on { background: #D8B26A; color: #211C18; border-color: #D8B26A; font-weight: 700; }


/* ---------- Reseñas ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px,100%), 1fr)); gap: 24px; margin-top: 48px; }
.review { margin: 0; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.review-stars { display: flex; gap: 3px; color: var(--orange); }
.review blockquote { margin: 0; font-size: 18px; line-height: 1.55; }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 15px; }
.review-avatar { flex: none; width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 50%; object-fit: cover; background: var(--orange); display: grid; place-items: center; font-family: 'Pixelify Sans', monospace; font-size: 20px; font-weight: 700; }
.review-who { display: flex; flex-direction: column; line-height: 1.3; }
.review-who time { color: var(--mute); }
.reviews-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 36px; }

.reviews-empty { margin-top: 48px; padding: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.reviews-empty > div:nth-child(2) { flex: 1 1 360px; min-width: 0; }
.reviews-empty h3 { font-size: 24px; line-height: 1.2; margin-bottom: 6px; }
.reviews-empty p { color: var(--ink-soft); max-width: 60ch; }
.reviews-empty .review-stars { color: var(--sand); }
.reviews-empty .review-stars svg { width: 28px; height: 28px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 16px; margin-top: 48px; max-width: 880px; }
.faq-item { box-shadow: 4px 4px 0 var(--ink); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-size: 19px; font-weight: 700; line-height: 1.3; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; flex: none; width: 14px; height: 14px; background: var(--ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cpath d='M3 0h1v3h3v1H4v3H3V4H0V3h3z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cpath d='M3 0h1v3h3v1H4v3H3V4H0V3h3z'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .15s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { border-bottom: 2px solid var(--ink); background: var(--sand); }
.faq-item summary:hover { background: var(--sand); }
.faq-item summary:focus-visible { outline: 3px solid var(--rust); outline-offset: -3px; }
.faq-item p { padding: 18px 24px 22px; color: var(--ink-soft); max-width: 68ch; }

/* ---------- Servicios ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px,100%), 1fr)); gap: 32px; margin-top: 48px; }
.services > .win { display: flex; flex-direction: column; }
.service-body { padding: 28px; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.service-body h3 { font-size: 32px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.service-body > p { margin-top: 8px; color: var(--ink-soft); }
.service-list { margin-top: 24px; display: flex; flex-direction: column; gap: 18px; }
.service-list li { display: flex; gap: 14px; }
.service-list .dot { margin-top: 7px; }
.service-list span:not(.dot) { color: var(--ink-soft); }
.service-body > .btn, .service-ctas { margin-top: auto; }
.service-list { margin-bottom: 30px; }
.service-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }


/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px,100%), 1fr)); gap: 24px; margin-top: 48px; }
.step { padding: 24px; }
.step-num { font-size: 54px; line-height: 1; color: var(--orange); -webkit-text-stroke: 2px var(--ink); }
.step h3 { font-size: 22px; margin: 14px 0 6px; }
.step p:last-child { color: var(--ink-soft); font-size: 16px; }

/* ---------- Stack ---------- */
.stack { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.stack-copy { flex: 1 1 340px; min-width: 0; }
.stack-copy h2 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.stack-copy p { margin-top: 20px; color: var(--ink-soft); max-width: 480px; }
.stack-copy .btn { margin-top: 28px; }
.terminal { flex: 1.4 1 480px; min-width: 0; background: var(--ink); color: var(--cream); box-shadow: 6px 6px 0 var(--orange); }
.terminal .bar { background: var(--ink-soft); color: var(--cream); border-bottom-color: var(--orange); }
.terminal-body { padding: 24px; font-family: 'JetBrains Mono', monospace; font-size: 15px; line-height: 1.9; }
.terminal-body .prompt { color: var(--orange-soft); }
.stack-list { display: flex; flex-direction: column; gap: 14px; margin: 10px 0 14px; }
.stack-cat { color: var(--orange-soft); margin-bottom: 6px; }
.stack-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.stack-chips li { line-height: 1.4; padding: 3px 9px; border: 1.5px solid #6B5444; border-radius: 5px; color: var(--sand); font-size: 14px; }
.terminal-body .cursor { height: 17px; margin-left: 0; }

/* ---------- Contacto ---------- */
.contact { padding-top: 112px; padding-bottom: 96px; }
.contact-win { background: var(--orange); box-shadow: 8px 8px 0 var(--ink); }
.contact-body { padding: clamp(28px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 36px 56px; align-items: center; justify-content: space-between; }
.contact-copy { flex: 1 1 420px; min-width: 0; }
.contact-copy h2 { font-size: clamp(40px, 6vw, 88px); line-height: .95; font-weight: 800; letter-spacing: -.035em; }
.contact-copy p { margin-top: 20px; font-size: 20px; max-width: 520px; }
.contact-actions { flex: 0 1 340px; display: flex; flex-direction: column; gap: 18px; }
.contact-labels { display: flex; flex-direction: column; gap: 2px; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { border-top: 2px solid var(--ink); background: var(--ink); color: var(--sand); }
.footer-inner { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: center; font-size: 15px; }
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-brand .px { font-size: 28px; line-height: 1; color: var(--cream); }
.footer-brand .px span { color: var(--orange); }
.footer-copy { font-size: 13px; opacity: .75; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; color: var(--cream); text-decoration: none; overflow-wrap: anywhere; }
.footer-contact svg { flex: none; color: var(--orange); }
.footer-contact a:hover span { text-decoration: underline; }

/* ---------- Animaciones ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.rise { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.blink { animation: blink 1s steps(1) infinite; }
.bob { animation: bob 3.2s steps(8) infinite; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .project-body { grid-template-columns: minmax(0, 1fr); }
  .project-preview { border-right: 0; border-bottom: 2px solid var(--ink); }
}

@media (max-width: 960px) {
  .hero { padding-bottom: 72px; }
  .wizard { max-width: none; }
  .projects { flex-direction: column; align-items: stretch; }
  .project-tabs { max-width: none; flex: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px,100%), 1fr)); }
  .project-panel { flex: none; width: 100%; }
  .services { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header { position: relative; flex-wrap: nowrap; }
  .menu-toggle { display: flex; }
  .site-nav { display: none; position: absolute; z-index: 20; top: calc(100% - 8px); left: 20px; right: 20px; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; background: var(--paper); border: 2px solid var(--ink); border-radius: 10px; box-shadow: 6px 6px 0 var(--ink); }
  .site-nav.open { display: flex; }
  .site-nav .navlink { padding: 12px 8px; border-bottom: 2px solid var(--sand); }
  .site-nav .btn { margin-top: 8px; }

  .wrap { padding-left: 20px; padding-right: 20px; }
  .section { padding-top: 96px; }
  .contact { padding-top: 96px; }
  .hero { padding-top: 24px; gap: 64px; }
  .projects, .services, .steps { margin-top: 40px; }
  .service-body, .project-info { padding: 24px; }
  .project-preview { padding: 20px; }
  .contact-actions { flex: 1 1 100%; }
}

@media (max-width: 520px) {
  .wizard { margin-top: 48px; }
  .wizard-mascot { top: -70px; right: 20px; }
  .wizard-mascot svg { width: 80px; height: 80px; }
  .wizard-body { padding: 20px; }
  .terminal-body { padding: 20px; font-size: 14px; }
}

@media (max-width: 400px) {
  .mock-casa-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .blink, .bob { animation: none; }
  .btn, .pick, .lift { transition: none; }
}
