/* Hallmark · Dirección de marca propia. Composición modular, tipografía Bricolage y maqueta isométrica. */
/* La maqueta acompaña al eslogan. Las muestras de producto son composiciones abstractas. */
:root {
  --petrol: #0d6869;
  --amber: #f7941d;
  --deep: #0b3d42;
  --paper: #f8f7f3;
  --ink: #17292e;
  --muted: #465b5e;
  --rule: #c7cfcb;
  --tint: #e9eeea;
  --light-text: #d2e3de;
  --art-teal: #246a69;
  --art-gold: #d77c15;
  --clear: transparent;
  --display: Bricolage, "Segoe UI", sans-serif;
  --body: "Segoe UI", Arial, sans-serif;
  --gutter: clamp(1.3rem, 5.8vw, 6rem);
  --gap: clamp(1.5rem, 4vw, 4rem);
}
@font-face {
  font-family: Bricolage;
  src: url("/assets/fonts/bricolage-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { background: var(--paper); }
body { margin: 0; color: var(--ink); font: 400 1.0625rem/1.6 var(--body); }
h1, h2, h3, p, ol { margin: 0; }
h1, h2, h3 { font-family: var(--display); }
h1, h2, h3 { min-width: 0; overflow-wrap: break-word; line-height: 1.04; }
h1, h2 { font-weight: 650; letter-spacing: -.056em; text-wrap: balance; }
h2 { font-size: clamp(2.5rem, 4.5vw, 4.65rem); }
h3 { font-weight: 600; letter-spacing: -.043em; }
p { text-wrap: pretty; overflow-wrap: anywhere; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible, button:focus-visible, [tabindex="-1"]:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 83rem); margin-inline: auto; }
.hero, .split, .service-list { grid-template-columns: minmax(0, 1fr); }
.skip { position: absolute; top: 8px; left: 8px; z-index: 10; padding: .65rem 1rem; background: var(--deep); color: var(--paper); transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.masthead { border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: center; flex-wrap: wrap; padding-block: 1rem; gap: .65rem var(--gap); }
.brand-home { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.brand-home img { display: block; height: 3rem; width: auto; }
.masthead .brand-home { gap: .55rem; text-decoration: none; }
.studio-name { font: 650 1.3rem/1 var(--display); letter-spacing: -.035em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1.5rem; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem 1.3rem; width: 100%; }
nav a, .menu-toggle, .footer-inner > a:last-child { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .95rem; font-weight: 550; }
nav a:hover, .footer-inner > a:last-child:hover { text-decoration: underline; }
.menu-toggle { margin-left: auto; gap: .65rem; border: 0; background: var(--clear); color: var(--ink); cursor: pointer; font-family: var(--body); }
.menu-glyph { width: 1.2rem; height: .55rem; border-block: 2px solid currentColor; }
.menu-toggle[aria-expanded="true"] .menu-glyph { height: 0; border-bottom: 0; }
.arrow { display: inline-block; font: 400 1.23em/1 var(--body); }
.nav-contact { gap: .7rem; }
.hero { display: grid; align-items: center; padding-block: clamp(3rem, 7vw, 7rem) 2rem; }
.hero h1 { font-size: clamp(3.65rem, 10.4vw, 8.4rem); line-height: .92; letter-spacing: -.079em; }
.stop { color: var(--amber); }
.hero-copy p { max-width: 28rem; margin-block: 1.6rem 1.8rem; color: var(--muted); font-size: clamp(1.08rem, 1.4vw, 1.36rem); line-height: 1.45; }
.button { display: inline-flex; min-height: 3.15rem; align-items: center; justify-content: center; gap: 1.15rem; padding: .65rem 1.25rem; border-radius: .25rem; color: var(--paper); background: var(--petrol); font-weight: 600; font-size: .96rem; text-decoration: none; }
.button { max-width: 100%; }
.button:hover { background: var(--deep); }
.button:active, .menu-toggle:active { opacity: .9; }
.button:focus-visible { outline-color: var(--ink); }
.model { position: relative; margin: 1.5rem 0 0; }
.model img { width: 100%; height: auto; display: block; }
.model::before, .model::after { content: ""; position: absolute; width: .7rem; height: .7rem; border-color: var(--rule); border-style: solid; pointer-events: none; }
.model::before { top: 0; left: 0; border-width: 1px 0 0 1px; }
.model::after { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
.section-band { padding-block: clamp(3.75rem, 7.4vw, 7.4rem); }
.split { display: grid; gap: 1.8rem var(--gap); }
.section-name { display: flex; align-items: center; gap: .65rem; align-self: start; font: 600 1rem/1.5 var(--body); letter-spacing: 0; }
.section-name::before { content: ""; width: 1.7rem; height: 2px; background: currentColor; }
.studio, .contact { background: var(--deep); color: var(--paper); }
.studio .section-name::before, .contact .section-name::before { background: var(--amber); }
.studio h2 { font-size: clamp(2.1rem, 3.9vw, 4rem); }
.studio h2 + p { max-width: 39rem; margin-top: 1.45rem; color: var(--light-text); }
.service-list { display: grid; gap: var(--gap); }
.services .split { grid-template-columns: minmax(0, 1fr); }
.service-list .text-link { margin-top: .45rem; }
.service-symbol.bars { display: flex; align-items: end; gap: 3px; }
.bars i { width: 7px; background: currentColor; height: 40%; }
.bars i:nth-child(2) { height: 70%; }
.bars i:nth-child(3) { height: 95%; }
.contact h2 + p { max-width: 47ch; margin-top: 1rem; color: var(--light-text); }
.service-list article { padding-top: 1.2rem; border-top: 1px solid var(--rule); }
.service-list h3 { margin: 1.5rem 0 .75rem; font-size: clamp(1.85rem, 2.2vw, 2.6rem); }
.service-list p, .method li p, .error-page p { color: var(--muted); }
.service-symbol { display: grid; position: relative; width: 32px; height: 32px; color: var(--petrol); }
.blocks { grid-template: 1fr 1fr / 1fr 1fr; gap: 4px; }
.blocks i { background: currentColor; }
.blocks i:first-child { grid-column: 2; }
.windows i { border: 2px solid currentColor; width: 23px; height: 20px; position: absolute; right: 0; top: 2px; }
.windows i + i { left: 0; top: 11px; background: var(--paper); }
.method ol { padding: 0; list-style: none; counter-reset: phase; }
.method li { counter-increment: phase; position: relative; padding: 1.35rem 0 1.65rem 3rem; border-top: 1px solid var(--rule); }
.method li::before { content: counter(phase, decimal-leading-zero); position: absolute; left: 0; top: 1.42rem; color: var(--petrol); font: 600 .94rem/1.5 var(--display); }
.method h3 { font-size: 1.6rem; }
.method p { margin-top: .65rem; max-width: 36rem; }
.email { display: inline-flex; align-items: center; gap: .6em; min-height: 44px; max-width: 100%; margin-top: 1.4rem; font-size: clamp(1rem, 2.3vw, 1.75rem); text-decoration-thickness: 1px; }
.email:hover { color: var(--light-text); }
.email { overflow-wrap: anywhere; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; }
.footer-inner > a:last-child { gap: .7rem; }
.error-page { padding-block: clamp(4rem, 12vh, 9rem); }
.error-page h1 { max-width: 14ch; font-size: clamp(3.2rem, 7vw, 6.5rem); margin-block: 1.5rem; }
.error-page .button { margin-top: 2rem; }
@media (min-width: 48rem) {
  .service-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 52rem) {
  .header-inner { justify-content: space-between; padding-block: 1.2rem; }
  nav { width: auto; gap: clamp(1.3rem, 3vw, 3rem); }
  .nav-contact { border: 1px solid var(--deep); border-radius: .25rem; padding-inline: 1.1rem; }
  .nav-contact:hover { background: var(--deep); color: var(--paper); text-decoration: none; }
  .hero { grid-template-columns: minmax(0, .98fr) minmax(0, 1fr); gap: 1rem; padding-block: clamp(3rem, 4vw, 5rem); }
  .hero h1 { font-size: clamp(4rem, 7.8vw, 7.7rem); }
  .model { margin: 0; }
  .split { grid-template-columns: minmax(0, .53fr) minmax(0, 1fr); }
  .studio .section-name, .contact .section-name { margin-top: .5rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .arrow { transition: transform .16s ease-out; }
  .button:hover .arrow { transform: translateY(2px); }
  .email:hover .arrow, .nav-contact:hover .arrow { transform: translate(2px, -2px); }
}
