@charset "UTF-8";

/* Identidad editorial: papel cálido, tinta y naranja. Sin librerías externas. */
:root {
	--paper: #f8f6f0;
	--ink: #20201d;
	--muted: #66655d;
	--line: #cfcec5;
	--accent: #f35d32;
	--lime: #f35d32;
	--green: #b73517;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #ab3315; outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.05; }
h1 { font-size: clamp(48px, 6.4vw, 98px); font-weight: 700; letter-spacing: -.065em; }
h2 { font-size: clamp(35px, 4.2vw, 60px); letter-spacing: -.05em; font-weight: 600; }
h3 { font-size: 26px; letter-spacing: -.035em; }
p { color: var(--muted); }
.wrap { max-width: 1410px; padding-inline: 58px; margin-inline: auto; }
.eyebrow { color: var(--ink); font: 11px/1.6 Consolas, monospace; letter-spacing: 1.3px; text-transform: uppercase; }
.green { color: var(--accent); }

/* Cabecera y botones */
.header { height: 113px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--ink); }
.brand { display: flex; gap: 18px; align-items: center; font-size: 14px; line-height: 1.05; letter-spacing: -.5px; }
.brand-symbol { font-size: 59px; line-height: 1; font-weight: 800; letter-spacing: -6px; padding-right: 7px; }
.brand-symbol span { color: var(--accent); }
.brand strong { font-weight: 500; }
.header nav { display: flex; align-items: center; gap: 38px; font-size: 13px; }
.header nav > a:not(.button):hover, .header nav > a[aria-current] { text-decoration: underline; text-underline-offset: 7px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; border: 1px solid var(--ink); padding: 19px 24px; font-size: 13px; font-weight: 600; line-height: 1.4; border-radius: 0; transition: background .15s, color .15s; }
.button span { font-size: 23px; line-height: 1; }
.button.dark { color: var(--paper); background: var(--ink); }
.button.dark:hover { color: var(--ink); background: var(--accent); }
.button.lime { background: var(--accent); color: var(--ink); }
.button.lime:hover { background: #ff835f; }
.button.small { padding: 14px 22px; }
.simple-link { font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 7px; }
.menu-toggle { display: none; }

/* Portada: composición horizontal de proyectos reales. */
.hero { padding-top: 31px; padding-bottom: 0; }
.hero-topline { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.hero-topline .eyebrow { margin: 0; }
.hero-topline .eyebrow::before { content: ''; display: inline-block; height: 7px; width: 7px; background: var(--accent); margin-right: 9px; }
.edition { font: 9px/1.4 Consolas, monospace; color: var(--muted); letter-spacing: .7px; }
.hero-heading { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 36px; }
.hero-heading h1 { max-width: 1040px; margin: 0; }
.hero-asterisk { color: var(--accent); font-size: 137px; line-height: 1; flex-shrink: 0; transform: rotate(12deg); }
.hero-bottomline { display: flex; align-items: center; justify-content: space-between; gap: 45px; padding-block: 29px 39px; }
.lead { font-size: 18px; line-height: 1.6; max-width: 690px; }
.hero-bottomline .lead { margin: 0; max-width: 690px; font-size: 16px; }
.hero-bottomline .button { flex-shrink: 0; }
.showcase { height: 362px; background: var(--accent); display: grid; grid-template-columns: 205px 1fr; overflow: hidden; }
.showcase-caption { padding: 32px 27px; display: flex; flex-direction: column; justify-content: space-between; position: relative; z-index: 2; }
.showcase-caption > span { font-size: 24px; line-height: .98; letter-spacing: -1px; font-weight: 700; }
.showcase-caption > a { font-size: 11px; border-bottom: 1px solid #20201d70; padding-bottom: 8px; display: flex; justify-content: space-between; gap: 10px; }
.showcase-projects { display: flex; align-items: center; position: relative; gap: 25px; padding: 45px 25px 0; transform: rotate(-5deg); }
.showcase-screen { width: 390px; min-width: 390px; height: 295px; background: white; box-shadow: 8px 15px 0 #20201d2b; overflow: hidden; transition: transform .2s; }
.showcase-screen:hover { transform: translateY(-7px); }
.screen-1 { margin-top: 65px; }
.screen-2 { margin-top: -45px; }
.screen-label { display: flex; justify-content: space-between; gap: 10px; padding: 10px 13px; border-bottom: 1px solid var(--line); font: 8px/1.5 Consolas, monospace; text-transform: uppercase; white-space: nowrap; }
.showcase-screen img { width: 100%; height: auto; min-height: 270px; object-fit: cover; object-position: top; }
.hero-footnote { display: flex; justify-content: space-between; gap: 15px; padding-block: 20px; font: 9px/1.5 Consolas, monospace; letter-spacing: 1px; border-bottom: 1px solid var(--ink); }

/* Servicios en una lista editorial, sin tarjetas. */
.section { padding-block: 97px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 35px; margin-bottom: 48px; }
.section-head h2 { max-width: 680px; margin-bottom: 0; }
.section-head > a { flex-shrink: 0; margin-bottom: 7px; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 50px; }
.service-card { position: relative; border-top: 1px solid var(--ink); padding: 27px 45px 27px 52px; min-height: 181px; }
.service-card:hover h3 { color: var(--green); }
.number { position: absolute; top: 30px; left: 0; color: var(--muted); font: 10px/1.4 Consolas, monospace; }
.card-arrow { position: absolute; right: 0; top: 23px; font-size: 29px; }
.service-card h3 { font-size: 23px; margin-bottom: 13px; text-transform: none; }
.service-card p { font-size: 13px; line-height: 1.6; margin-bottom: 10px; max-width: 390px; }
.text-link { font-size: 10px; color: var(--green); }
.text-link > span { margin-left: 10px; }

/* Portfolio: páginas amplias sobre fondo de tinta. */
.projects-section { background: var(--ink); color: var(--paper); }
.projects-section .eyebrow { color: #babbb2; }
.projects-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 34px; }
.project-image { height: 330px; padding: 26px 24px 0; background: #d5d4ca; overflow: hidden; }
.project-card:nth-child(4n+2) .project-image { background: #c8cbc3; }
.project-card:nth-child(4n+3) .project-image { background: #d8c3b0; }
.project-card:nth-child(4n+4) .project-image { background: #c5cad5; }
.browser-bar { height: 25px; padding: 7px 11px; display: flex; align-items: center; gap: 4px; background: #f8f8f4; color: var(--ink); }
.browser-bar i { height: 4px; width: 4px; background: #b4b4ac; border-radius: 50%; }
.browser-bar span { margin: auto; font: 7px/1.4 Consolas, monospace; }
.project-image img { width: 100%; min-height: 290px; object-fit: cover; object-position: top; transition: transform .25s; }
.project-card:hover img { transform: scale(1.025); }
.project-caption { display: flex; justify-content: space-between; align-items: center; padding-block: 19px 0; gap: 20px; }
.project-caption .eyebrow { font-size: 8px; letter-spacing: 1px; }
.project-caption h3 { font-size: 24px; font-weight: 500; margin: 8px 0 0; }
.round-arrow { font-size: 31px; line-height: 1; }

/* Equipo, proceso y llamada al contacto. */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 105px; }
.about-mark { font-size: 110px; font-weight: 800; line-height: 1; letter-spacing: -10px; margin-top: 70px; color: var(--accent); }
.about-mark > span { font-size: 76px; margin-left: 12px; }
.prose p { margin-bottom: 24px; }
.prose h2 { font-size: 32px; margin-top: 40px; }
.prose h3 { font-size: 25px; margin-top: 30px; }
.prose a { text-decoration: underline; text-underline-offset: 4px; }
.large-text { font-size: 24px; color: var(--ink); letter-spacing: -.4px; }
.process { border-top: 1px solid var(--ink); }
.process-intro { max-width: 800px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 46px; }
.process-grid > div { border-top: 1px solid var(--line); padding-top: 22px; }
.process-grid span { font: italic 40px/1 Georgia, serif; color: var(--green); }
.process-grid h3 { font-size: 23px; margin: 22px 0 13px; }
.process-grid p { font-size: 13px; }
.cta-section { background: var(--accent); padding-block: 67px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 90px; }
.cta-section h2 { max-width: 970px; font-size: clamp(39px, 5vw, 73px); margin-bottom: 0; }
.cta-arrow { font-size: 100px; line-height: 1; margin-left: 40px; }
.footer { background: var(--ink); color: var(--paper); padding-top: 60px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.footer-top p { color: #bfbfb7; font-size: 13px; margin: 0; }
.footer-top > div { display: flex; flex-direction: column; font-size: 13px; }
.footer-top > div > a { min-height: 32px; display: flex; align-items: center; }
.footer-services { display: flex; flex-wrap: wrap; gap: 18px 27px; margin-top: 43px; font: 9px/1.6 Consolas, monospace; color: #c8c8bf; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding-block: 27px; border-top: 1px solid #55554d; margin-top: 38px; font-size: 10px; color: #c7c7c0; }
.footer-bottom > div { display: flex; flex-wrap: wrap; gap: 20px; }
.footer button { background: none; border: none; color: inherit; padding: 0; font-size: inherit; }

/* Páginas interiores y formulario. */
.page-hero { padding-block: 50px; }
.page-hero > .eyebrow { margin-top: 45px; }
.page-hero h1 { max-width: 1100px; font-size: clamp(46px, 5.3vw, 78px); margin: 28px 0; }
.page-hero .lead { max-width: 830px; font-size: 22px; }
.breadcrumb { font: 10px/1.6 Consolas, monospace; color: var(--muted); }
.compact { padding-top: 15px; }
.content-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 100px; }
.sticky-card { position: sticky; top: 30px; align-self: start; background: #ece9df; padding: 35px; display: flex; flex-direction: column; gap: 18px; border-top: 5px solid var(--accent); }
.sticky-card h2 { font-size: 36px; margin: 0; }
.sticky-card p { font-size: 14px; }
.sticky-card .button { align-self: start; }
.project-detail { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: start; }
.project-detail > img { width: 100%; }
.gallery { display: flex; flex-wrap: wrap; gap: 25px; margin-top: 40px; }
.gallery img { max-width: 46%; height: auto; object-fit: contain; }
.application { padding: 30px 0; border-bottom: 1px solid var(--line); }
.application img { max-width: 220px; max-height: 120px; object-fit: contain; }
.contact-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 85px; }
.contact-form { border-top: 4px solid var(--accent); padding: 30px; background: #eeece3; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; }
label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 19px; }
label > span { color: var(--muted); font-weight: 400; }
input, textarea, select { display: block; width: 100%; background: var(--paper); border: 1px solid #b4b2a6; border-radius: 0; padding: 13px 14px; margin-top: 8px; color: var(--ink); font-size: 15px; }
textarea { resize: vertical; }
.checkbox { display: flex; align-items: flex-start; gap: 11px; font-size: 11px; }
.checkbox input { width: 17px; height: 17px; margin-top: 2px; flex-shrink: 0; }
.checkbox a { text-decoration: underline; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-aside { padding-block: 25px; }
.contact-aside > a { display: block; }
.contact-phone { font-size: 38px; letter-spacing: -1.5px; font-weight: 600; }
.contact-aside hr { border: 0; border-top: 1px solid var(--line); margin: 35px 0; }
.contact-aside h2 { font-size: 40px; }
.notice { background: #fff0cf; padding: 16px; border: 1px solid #c9b88e; }
.notice.success { background: #e6efd8; border-color: #a3b587; }
.cookie-banner { position: fixed; z-index: 50; bottom: 20px; left: 20px; right: 20px; max-width: 970px; margin: auto; padding: 24px; display: flex; gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--ink); box-shadow: 6px 6px 0 #20201d36; }
.cookie-banner[hidden] { display: none; }
.cookie-banner strong { font-size: 15px; }
.cookie-banner p { font-size: 12px; margin: 6px 0 0; }
.cookie-banner .button { white-space: nowrap; font-size: 12px; padding: 13px 18px; }
.skip { position: fixed; top: -100px; left: 20px; z-index: 100; background: var(--accent); padding: 15px; }
.skip:focus { top: 10px; }

@media (max-width: 1100px) {
	.wrap { padding-inline: 32px; }
	.hero-asterisk { font-size: 110px; }
	.hero-heading h1 { font-size: 76px; }
	.hero-bottomline .lead { font-size: 15px; }
	.showcase { grid-template-columns: 160px 1fr; height: 325px; }
	.showcase-caption { padding: 26px 20px; }
	.showcase-caption > span { font-size: 20px; }
	.showcase-screen { width: 330px; min-width: 330px; height: 275px; }
	.project-image { height: 280px; }
	.about { gap: 60px; }
	.content-layout, .contact-layout { gap: 45px; }
	.cta-section { margin-inline: 25px; }
}

@media (max-width: 760px) {
	.wrap { padding-inline: 22px; }
	.header { position: relative; height: 87px; }
	.brand { font-size: 12px; gap: 13px; }
	.brand-symbol { font-size: 48px; }
	.menu-toggle { display: block; border: 1px solid var(--ink); padding: 10px 12px; font-size: 12px; background: none; }
	.menu-toggle span { margin-left: 14px; }
	.header nav { display: none; position: absolute; top: 86px; left: 0; right: 0; z-index: 20; padding: 25px; background: var(--paper); border-bottom: 1px solid var(--ink); gap: 23px; align-items: stretch; }
	.header nav.open { display: flex; flex-direction: column; }
	.hero { padding-top: 23px; }
	.hero-topline .eyebrow { font-size: 9px; letter-spacing: .7px; }
	.edition { display: none; }
	.hero-heading { padding-top: 24px; gap: 0; position: relative; }
	.hero-heading h1 { font-size: clamp(48px, 9vw, 68px); padding-right: 25px; }
	.hero-asterisk { position: absolute; bottom: 0; right: 0; font-size: 45px; }
	.hero-bottomline { display: block; padding-block: 25px 31px; }
	.hero-bottomline .lead { font-size: 15px; }
	.hero-bottomline .button { margin-top: 23px; }
	.showcase { height: 293px; display: block; position: relative; }
	.showcase-caption { padding: 16px 18px; flex-direction: row; align-items: center; gap: 20px; }
	.showcase-caption > span { font-size: 14px; }
	.showcase-caption > a { font-size: 9px; padding-bottom: 4px; }
	.showcase-projects { position: absolute; top: 65px; left: 20px; padding: 0; gap: 20px; }
	.showcase-screen { width: 255px; min-width: 255px; height: 225px; }
	.showcase-screen img { min-height: 200px; }
	.screen-1 { margin-top: 40px; }
	.hero-footnote { font-size: 7px; letter-spacing: .4px; flex-wrap: wrap; gap: 9px 17px; padding-block: 17px; }
	.hero-footnote span:last-child { display: none; }
	.section { padding-block: 59px; }
	.section-head { display: block; margin-bottom: 33px; }
	.section-head h2 { margin-bottom: 22px; }
	.services-grid { grid-template-columns: 1fr; }
	.service-card { min-height: 0; padding: 25px 40px 25px 39px; }
	.service-card h3 { font-size: 23px; }
	.service-card p { font-size: 13px; }
	.projects-grid { grid-template-columns: 1fr; gap: 35px; }
	.project-image { height: 300px; padding: 22px 20px 0; }
	.project-caption h3 { font-size: 23px; }
	.about, .content-layout, .contact-layout, .project-detail { grid-template-columns: 1fr; gap: 28px; }
	.about-mark { display: none; }
	.large-text { font-size: 22px; }
	.process-grid { grid-template-columns: 1fr 1fr; gap: 23px; margin-top: 30px; }
	.process-grid h3 { font-size: 21px; }
	.cta-section { margin: 0 18px 50px; padding: 35px 25px; display: block; }
	.cta-section h2 { font-size: 41px; }
	.cta-arrow { display: block; font-size: 76px; margin: 25px 0 0; text-align: right; }
	.footer-top { flex-wrap: wrap; gap: 30px; }
	.footer-top > p { width: 100%; order: 3; }
	.footer-top > div { font-size: 11px; }
	.footer-services { font-size: 8px; gap: 13px 20px; margin-top: 30px; }
	.footer-bottom { flex-direction: column; gap: 20px; }
	.page-hero { padding-top: 26px; padding-bottom: 30px; }
	.page-hero h1 { font-size: 47px; }
	.page-hero .lead { font-size: 18px; }
	.compact { padding-top: 5px; }
	.sticky-card { position: static; padding: 28px; }
	.contact-form { padding: 25px 20px; }
	.form-grid { grid-template-columns: 1fr; gap: 0; }
	.contact-aside { padding-top: 5px; }
	.cookie-banner { flex-wrap: wrap; padding: 18px; bottom: 12px; left: 12px; right: 12px; }
	.cookie-banner > div { width: 100%; }
	.cookie-banner .button { flex: 1; }
	.gallery img { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}

/* Capturas de proyectos: proporción original, sin recortar el diseño. */
.project-image { height: auto; padding-bottom: 24px; }
.project-image img { min-height: 0; height: auto; aspect-ratio: auto; object-fit: contain; display: block; }
.project-detail > img { height: auto; object-fit: contain; }

.showcase-screen img { min-height: 0; object-fit: contain; }

/* Presentación personal integrada en el párrafo introductorio. */
.page-hero .about-intro { margin-block: 28px 22px; }
.page-hero .about-intro h1 { display: inline; font-size: inherit; line-height: inherit; font-weight: 700; letter-spacing: inherit; margin: 0; }

/* Carrusel de proyectos: desplazamiento nativo y controles sin librerías. */
.showcase-projects { min-width: 0; overflow-x: auto; overflow-y: hidden; transform: none; padding: 35px 25px; align-items: center; scrollbar-width: none; cursor: grab; touch-action: pan-x pan-y; }
.showcase-projects::-webkit-scrollbar { display: none; }
.showcase-screen { flex: 0 0 390px; min-width: 0; transform: rotate(-5deg); margin-top: 0; user-select: none; }
.showcase-screen:nth-child(3n+2) { transform: rotate(-5deg) translateY(15px); }
.showcase-screen img { pointer-events: none; -webkit-user-drag: none; }
.showcase-screen:hover { transform: rotate(-5deg) translateY(-5px); }
.showcase-projects.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.showcase-controls { display: flex; gap: 6px; align-items: center; }
.showcase-controls[hidden] { display: none; }
.showcase-controls button { background: transparent; border: 1px solid currentColor; color: var(--ink); padding: 7px 9px; cursor: pointer; font: inherit; font-size: 12px; }
.showcase-controls button:hover { background: var(--ink); color: white; }
.showcase-controls button:focus-visible, .showcase-screen:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (max-width: 1100px) { .showcase-screen { flex-basis: 330px; } }
@media (max-width: 760px) {
 .showcase { height: 370px; }
 .showcase-caption { flex-wrap: wrap; }
 .showcase-controls { width: 100%; }
 .showcase-projects { position: absolute; top: 108px; left: 0; right: 0; bottom: 0; padding: 20px; }
 .showcase-screen { flex-basis: min(255px, 75vw); height: 215px; }
}
@media (prefers-reduced-motion: reduce) { .showcase-screen { transition: none; } }
.contact-form select { width:100%;padding:14px;border:1px solid currentColor;background:transparent;color:inherit;font:inherit; }
.related-pages { display:block;font-size:inherit;margin-top:40px;border-top:1px solid currentColor; }
.related-pages a { display:flex;justify-content:space-between;gap:16px;padding:15px 0;border-bottom:1px solid #ccc;text-decoration:none; }
.related-pages a:hover { text-decoration:underline; }
.related-work { margin-top:48px; }
.related-work .projects-grid { gap:24px; }
.related-work .project-caption h3 { font-size:20px; }
#consulta { scroll-margin-top:30px; }

.related-work .project-card { text-decoration:none; }
