/* =====================================================================
   PUNT I CÒPIA — Web demo
   Aesthetic: warm editorial, type-driven, ink + paper
   ===================================================================== */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Geist:wght@300..700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
    font-size: var(--fs-body);
    font-feature-settings: "ss01", "cv01";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}
img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ---------- Tokens ---------- */
:root {
    /* type */
    --font-display: 'Fraunces', 'Times New Roman', Georgia, serif;
    --font-body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, 'Courier New', monospace;

    --fs-caption: clamp(0.68rem, 0.6vw + 0.5rem, 0.75rem);
    --fs-mono: 0.74rem;
    --fs-body: clamp(0.95rem, 0.4vw + 0.85rem, 1.05rem);
    --fs-lead: clamp(1.1rem, 0.6vw + 1rem, 1.35rem);
    --fs-h6: 1.1rem;
    --fs-h5: 1.35rem;
    --fs-h4: clamp(1.5rem, 1.2vw + 1.2rem, 1.85rem);
    --fs-h3: clamp(1.85rem, 2vw + 1.2rem, 2.5rem);
    --fs-h2: clamp(2.4rem, 4vw + 1rem, 4rem);
    --fs-h1: clamp(3.2rem, 8vw + 1rem, 7.5rem);
    --fs-mega: clamp(5rem, 18vw + 1rem, 16rem);

    /* color — CMYK print-shop palette */
    --paper: #FFFFFF;
    --paper-soft: #FAF8F2;
    --paper-deep: #F0EDE5;
    --ink: #131210;
    --ink-soft: #4A4641;
    --ink-faint: #8A8378;

    /* CMYK accents */
    --c-red:    #E63946;   /* M+Y red */
    --c-pink:   #FF6B9D;   /* magenta soft */
    --c-yellow: #FFD23F;   /* sunshine */
    --c-blue:   #2A9DF4;   /* cyan blue */
    --c-cyan:   #06CDC8;   /* mint cyan */

    --accent:      var(--c-red);
    --accent-deep: #B81E2A;
    --accent-soft: #FFD3D6;

    --rule: rgba(19, 18, 16, 0.10);
    --rule-strong: rgba(19, 18, 16, 0.32);

    /* layout */
    --container: 1440px;
    --gutter: clamp(1.5rem, 4vw, 5rem);
    --section: clamp(4rem, 9vw, 8rem);

    /* motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Lang toggle ---------- */
html[data-lang="ca"] .lang-es { display: none; }
html[data-lang="es"] .lang-ca { display: none; }
/* For inline lang switches inside flex/inline */
html[data-lang="ca"] span.lang-es,
html[data-lang="es"] span.lang-ca { display: none; }

/* ---------- Typography ---------- */
.display { font-family: var(--font-display); font-weight: 400; line-height: 0.95; letter-spacing: -0.025em; font-variation-settings: "opsz" 144, "SOFT" 30; }
.display em { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100; color: var(--accent); }
.serif { font-family: var(--font-display); }
.mono { font-family: var(--font-mono); font-size: var(--fs-mono); text-transform: uppercase; letter-spacing: 0.08em; }
.caption { font-family: var(--font-mono); font-size: var(--fs-caption); text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-soft); }
.lead { font-size: var(--fs-lead); line-height: 1.45; color: var(--ink-soft); max-width: 52ch; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5); }
h6 { font-size: var(--fs-h6); }

p + p { margin-top: 0.85em; }
a.link { position: relative; padding-bottom: 2px; background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .4s var(--ease); }
a.link:hover { background-size: 0% 1px; background-position: 100% 100%; }

/* ---------- Layout primitives ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 1.5vw, 1.75rem); }
.rule { height: 1px; background: var(--rule); border: 0; }
.rule-strong { height: 1px; background: var(--ink); border: 0; }

/* ---------- Header / Nav ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--rule);
}
.site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    padding-block: 1.1rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-size: 1.4rem; letter-spacing: -0.02em; }
.brand__logo { display: block; height: clamp(36px, 4vw, 48px); width: auto; transition: transform 0.4s var(--ease); }
.brand:hover .brand__logo { transform: scale(1.04); }
.brand__mark { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); transform: translateY(-2px); }
.brand strong { font-weight: 500; }
.brand em { font-style: italic; font-weight: 400; color: var(--ink-soft); }
.footer-brand .brand__logo { height: clamp(34px, 4vw, 46px); width: auto; object-fit: contain; }
.brand__dots { display: grid; grid-template-columns: repeat(2, 9px); gap: 3px; transition: transform 0.4s var(--ease); }
.brand__dots i { width: 9px; height: 9px; border-radius: 50%; }
.brand__dots i:nth-child(1) { background: var(--c-cyan); }
.brand__dots i:nth-child(2) { background: var(--c-pink); }
.brand__dots i:nth-child(3) { background: var(--c-yellow); }
.brand__dots i:nth-child(4) { background: var(--ink); }
.brand:hover .brand__dots { transform: rotate(90deg); }
.brand__word { white-space: nowrap; line-height: 1; }

/* ---------- CMYK strip ---------- */
.cmyk-strip {
    position: relative;
    z-index: 60;
    display: flex;
    height: 4px;
    width: 100%;
}
.cmyk-strip > span {
    flex: 1;
    background: var(--c);
    transition: flex 0.5s var(--ease);
}
.cmyk-strip > span:hover { flex: 2; }

.nav { display: flex; justify-content: center; gap: clamp(1.25rem, 2.5vw, 2.5rem); }
.nav a {
    font-family: var(--font-mono); font-size: var(--fs-mono);
    text-transform: uppercase; letter-spacing: 0.12em;
    padding: 0.4rem 0; position: relative;
    transition: color .3s var(--ease);
}
.nav a::after {
    content: ""; position: absolute; left: 50%; bottom: 0;
    width: 0; height: 1px; background: var(--ink);
    transition: width .35s var(--ease), left .35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; left: 0; }
.nav a[aria-current="page"] { color: var(--accent); }
.nav a[aria-current="page"]::after { background: var(--accent); }

.header-utils { display: flex; align-items: center; gap: 1.25rem; }
.lang-toggle {
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-family: var(--font-mono); font-size: var(--fs-mono);
    text-transform: uppercase; letter-spacing: 0.12em;
    padding: 0.4rem 0.7rem;
    border: 1px solid var(--rule);
    border-radius: 999px;
    background: transparent;
}
.lang-toggle button {
    padding: 0.15rem 0.4rem;
    border-radius: 999px;
    color: var(--ink-faint);
    transition: color .3s var(--ease), background .3s var(--ease);
}
.lang-toggle button[aria-pressed="true"] { color: var(--paper); background: var(--ink); }
.header-phone { font-family: var(--font-mono); font-size: var(--fs-mono); text-transform: uppercase; letter-spacing: 0.1em; }
.header-phone span.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 0.5rem; vertical-align: middle; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.nav-toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 0.75rem;
    padding: 1rem 1.6rem;
    font-family: var(--font-mono); font-size: var(--fs-mono);
    text-transform: uppercase; letter-spacing: 0.12em;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--ink); color: var(--paper);
    position: relative; overflow: hidden;
    transition: color .4s var(--ease);
    isolation: isolate;
}
.btn::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: var(--accent);
    transform: translateY(101%);
    transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { border-color: var(--accent); }
.btn .arrow { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-ghost {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 1rem 0;
    font-family: var(--font-mono); font-size: var(--fs-mono);
    text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--ink);
    position: relative;
}
.btn-ghost::after {
    content: ""; position: absolute; left: 0; bottom: 0.7rem;
    width: 100%; height: 1px; background: var(--ink);
    transform-origin: right;
    transition: transform .5s var(--ease);
}
.btn-ghost:hover::after { transform: scaleX(0); transform-origin: left; }
.btn-ghost .arrow { transition: transform .4s var(--ease); }
.btn-ghost:hover .arrow { transform: translate(4px, -2px); }

/* ---------- Hero ---------- */
.hero {
    padding-top: clamp(2rem, 5vw, 4rem);
    padding-bottom: clamp(3rem, 6vw, 6rem);
    position: relative;
}
.hero__meta {
    display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--rule);
    margin-bottom: clamp(2rem, 5vw, 4rem);
}
.hero__meta .meta-left { display: flex; gap: 1.5rem; align-items: center; }
.hero__meta .meta-right { display: flex; gap: 1.5rem; align-items: center; }

.hero__grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: end; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.4fr 1fr; } }

.hero__title { font-family: var(--font-display); font-weight: 350; line-height: 0.92; letter-spacing: -0.03em; font-size: var(--fs-h1); font-variation-settings: "opsz" 144, "SOFT" 40; }
.hero__title em { font-style: italic; color: var(--accent); font-variation-settings: "opsz" 144, "SOFT" 100; }
.hero__title .line { display: block; }

.hero__right { display: flex; flex-direction: column; gap: 2rem; padding-bottom: 0.5rem; }
.hero__lead { font-size: var(--fs-lead); line-height: 1.45; max-width: 38ch; color: var(--ink-soft); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }

.hero__decor {
    position: absolute; right: var(--gutter); top: 50%;
    transform: translateY(-50%);
    width: clamp(120px, 14vw, 220px);
    aspect-ratio: 1;
    pointer-events: none;
    opacity: 0.18;
    color: var(--accent);
    display: none;
}
@media (min-width: 1280px) { .hero__decor { display: block; } }
.hero__decor svg { width: 100%; height: 100%; animation: slow-spin 90s linear infinite; }
@keyframes slow-spin { to { transform: rotate(360deg); } }

/* ---------- Catàleg strip (static editorial service index) ---------- */
.catalog-strip {
    border-block: 1px solid var(--ink);
    background: var(--paper);
    padding-block: clamp(1.5rem, 3vw, 2.5rem);
}
.catalog-strip__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: start;
}
@media (min-width: 900px) {
    .catalog-strip__inner { grid-template-columns: auto 1fr; gap: clamp(2rem, 4vw, 4rem); }
}
.catalog-strip__label {
    display: flex; flex-direction: column; gap: 0.4rem;
    padding-top: 0.3rem;
}
.catalog-strip__label .mono { color: var(--ink); }
.catalog-strip__count { color: var(--ink-faint); }

.catalog-strip__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}
@media (min-width: 600px) { .catalog-strip__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .catalog-strip__grid { grid-template-columns: repeat(4, 1fr); } }

.catalog-strip__grid li {
    display: flex; align-items: baseline; gap: 0.6rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--rule);
    transition: padding-left .35s var(--ease), color .3s var(--ease);
    position: relative;
}
.catalog-strip__grid li:hover { padding-left: 0.4rem; }
.catalog-strip__grid li::after {
    content: "";
    position: absolute; left: 0; bottom: -1px;
    width: 0; height: 1px;
    background: var(--ink);
    transition: width .45s var(--ease);
}
.catalog-strip__grid li:hover::after { width: 100%; }

.catalog-strip__num {
    font-family: var(--font-mono);
    font-size: var(--fs-mono);
    color: var(--ink-faint);
    letter-spacing: 0.08em;
    flex-shrink: 0;
    min-width: 1.8em;
}
.catalog-strip__name {
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

/* CMYK accent dots — every 4th item gets a colored dot before the name */
.catalog-strip__grid li:nth-child(4n+1) .catalog-strip__num { color: var(--c-red); }
.catalog-strip__grid li:nth-child(4n+2) .catalog-strip__num { color: var(--c-blue); }
.catalog-strip__grid li:nth-child(4n+3) .catalog-strip__num { color: var(--c-yellow); filter: saturate(1.4) brightness(0.92); }
.catalog-strip__grid li:nth-child(4n+4) .catalog-strip__num { color: var(--c-pink); }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Pillars (Why us) ---------- */
.pillars { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 3vw, 3rem); }
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { padding-top: 1.5rem; border-top: 3px solid var(--ink); position: relative; transition: border-top-color 0.4s var(--ease); }
.pillar:nth-child(1) { border-top-color: var(--c-red); }
.pillar:nth-child(2) { border-top-color: var(--c-yellow); }
.pillar:nth-child(3) { border-top-color: var(--c-blue); }
.pillar__num { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--ink-faint); letter-spacing: 0.12em; font-weight: 600; }
.pillar:nth-child(1) .pillar__num { color: var(--c-red); }
.pillar:nth-child(2) .pillar__num { color: #B8902F; }
.pillar:nth-child(3) .pillar__num { color: var(--c-blue); }
.pillar__title { margin-top: 1rem; font-size: var(--fs-h5); font-family: var(--font-display); line-height: 1.15; }
.pillar__body { margin-top: 0.75rem; color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Section heads ---------- */
.section-head { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 900px) { .section-head { grid-template-columns: 1.2fr 1fr; } }
.section-head__title { font-size: var(--fs-h2); font-family: var(--font-display); font-weight: 350; line-height: 1; letter-spacing: -0.025em; }
.section-head__title em { font-style: italic; color: var(--accent); }
.section-head__meta { display: flex; flex-direction: column; gap: 0.5rem; }
.section-num { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--ink-soft); letter-spacing: 0.12em; }

/* ---------- Service cards (preview) ---------- */
.services { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
@media (min-width: 900px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service {
    padding: clamp(2rem, 3vw, 2.5rem) clamp(1.5rem, 2.5vw, 2rem);
    border-bottom: 1px solid var(--ink);
    position: relative;
    transition: background .5s var(--ease);
    display: flex; flex-direction: column; gap: 1.25rem;
    min-height: clamp(360px, 35vw, 460px);
}
@media (min-width: 900px) {
    .service { border-bottom: 0; border-right: 1px solid var(--ink); }
    .service:last-child { border-right: 0; }
}
.service:hover { background: var(--paper-soft); }
.service__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.service__num { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--ink-faint); letter-spacing: 0.12em; font-weight: 600; }
.service__icon { width: 56px; height: 56px; color: var(--accent); transition: transform .6s var(--ease); }
.service:hover .service__icon { transform: rotate(-8deg) scale(1.08); }

/* CMYK color rotation per service */
.service:nth-child(1) .service__num,
.service:nth-child(1) .service__title em { color: var(--c-red); }
.service:nth-child(1) .service__icon { color: var(--c-red); }
.service:nth-child(1):hover { background: #FFF5F5; }

.service:nth-child(2) .service__num,
.service:nth-child(2) .service__title em { color: #B8902F; }
.service:nth-child(2) .service__icon { color: #B8902F; }
.service:nth-child(2):hover { background: #FFFBEC; }

.service:nth-child(3) .service__num,
.service:nth-child(3) .service__title em { color: var(--c-blue); }
.service:nth-child(3) .service__icon { color: var(--c-blue); }
.service:nth-child(3):hover { background: #EFF7FF; }

/* Service hero photo */
.service__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin: -0.5rem -0.25rem 0.5rem;
    background: var(--paper-deep);
}
.service__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease), filter .6s var(--ease);
    filter: saturate(0.85) contrast(1.02);
}
.service:hover .service__media img { transform: scale(1.04); filter: saturate(1) contrast(1.05); }
.service__media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(19,18,16,0.18) 100%);
    pointer-events: none;
}
.service__media .service__num {
    position: absolute; top: 0.85rem; left: 0.85rem;
    background: var(--paper); color: var(--ink);
    padding: 0.3rem 0.6rem; border-radius: 999px;
    z-index: 1;
}
.service__media .service__tag {
    position: absolute; bottom: 0.85rem; left: 0.85rem;
    font-family: var(--font-mono); font-size: var(--fs-mono);
    text-transform: uppercase; letter-spacing: 0.1em;
    background: var(--accent); color: var(--paper);
    padding: 0.35rem 0.7rem; border-radius: 999px;
    z-index: 1;
}
/* CMYK tag variants */
.service--copies .service__media .service__tag { background: var(--c-yellow); color: var(--ink); }
.service--photo  .service__media .service__tag { background: var(--c-blue); }
.service--press  .service__media .service__tag { background: var(--c-red); }

.service__title { font-size: var(--fs-h3); font-family: var(--font-display); font-weight: 400; line-height: 1; letter-spacing: -0.02em; margin-top: 0.5rem; }
.service__title em { font-style: italic; color: var(--accent); }
.service__body { color: var(--ink-soft); flex: 1; max-width: 38ch; }
.service__list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.service__list li {
    font-family: var(--font-mono); font-size: var(--fs-mono);
    text-transform: uppercase; letter-spacing: 0.08em;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--rule);
    border-radius: 999px;
    color: var(--ink-soft);
}
.service__link { margin-top: auto; }

/* ---------- Pull quote ---------- */
.pullquote {
    padding-block: clamp(4rem, 7vw, 7rem);
    text-align: center;
    position: relative;
}
.pullquote__mark { font-family: var(--font-display); font-style: italic; font-size: clamp(4rem, 10vw, 8rem); line-height: 0.8; color: var(--accent); margin-bottom: 1rem; }
.pullquote__text {
    font-family: var(--font-display); font-style: italic;
    font-size: clamp(1.8rem, 3.5vw, 3rem); line-height: 1.15;
    max-width: 22ch; margin: 0 auto;
    font-variation-settings: "opsz" 144, "SOFT" 100;
}
.pullquote__attr { margin-top: 2rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--rule); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
    padding: clamp(2rem, 3vw, 2.5rem) 0;
    padding-right: clamp(1.5rem, 3vw, 2.5rem);
    border-bottom: 1px solid var(--rule);
    position: relative;
}
@media (min-width: 760px) {
    .step { border-bottom: 0; border-right: 1px solid var(--rule); padding-left: clamp(1.5rem, 3vw, 2.5rem); }
    .step:first-child { padding-left: 0; }
    .step:last-child { border-right: 0; }
}
.step__num { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5rem); line-height: 0.8; color: var(--accent); letter-spacing: -0.02em; }
.step__title { margin-top: 1.5rem; font-size: var(--fs-h5); font-family: var(--font-display); }
.step__body { margin-top: 0.5rem; color: var(--ink-soft); max-width: 32ch; }

/* ---------- CTA banner ---------- */
.cta-banner {
    background: var(--ink); color: var(--paper);
    padding-block: clamp(4rem, 8vw, 7rem);
    position: relative; overflow: hidden;
}
.cta-banner::before {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(241, 233, 218, 0.06) 1px, transparent 0);
    background-size: 18px 18px;
    pointer-events: none;
}
.cta-banner__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: end; position: relative; }
@media (min-width: 900px) { .cta-banner__grid { grid-template-columns: 1.4fr 1fr; } }
.cta-banner__title { font-size: var(--fs-h1); font-family: var(--font-display); font-weight: 350; line-height: 0.95; letter-spacing: -0.03em; }
.cta-banner__title em { font-style: italic; color: var(--accent-soft); }
.cta-banner__right { display: flex; flex-direction: column; gap: 1.5rem; padding-bottom: 0.5rem; }
.cta-banner__right p { color: rgba(241, 233, 218, 0.65); max-width: 40ch; }
.cta-banner .btn { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.cta-banner .btn::before { background: var(--paper); }
.cta-banner .btn:hover { color: var(--ink); border-color: var(--paper); }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--paper);
    padding-top: clamp(3rem, 6vw, 5rem);
    padding-bottom: 2rem;
    border-top: 1px solid var(--ink);
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 3vw, 3rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-col h6 {
    font-family: var(--font-mono); font-size: var(--fs-mono);
    text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--ink-faint); margin-bottom: 1rem; font-weight: 400;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { color: var(--ink-soft); transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--accent); }
.footer-brand p { margin-top: 0.75rem; color: var(--ink-soft); max-width: 28ch; }
.footer-address { font-style: normal; color: var(--ink-soft); }
.footer-address strong { color: var(--ink); font-weight: 500; }

.footer-mega {
    font-family: var(--font-display); font-style: italic;
    font-size: var(--fs-mega); line-height: 0.85; letter-spacing: -0.04em;
    color: var(--ink);
    border-top: 1px solid var(--rule);
    padding-top: clamp(1rem, 2vw, 2rem);
    white-space: nowrap;
    overflow: hidden;
    font-variation-settings: "opsz" 144, "SOFT" 100;
}
.footer-meta {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
    padding-top: 1.5rem; border-top: 1px solid var(--rule);
    font-family: var(--font-mono); font-size: var(--fs-mono);
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--ink-faint);
}
.footer-meta ul { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-meta a:hover { color: var(--ink); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
    padding-top: clamp(3rem, 6vw, 5rem);
    padding-bottom: clamp(3rem, 5vw, 4rem);
    border-bottom: 1px solid var(--rule);
}
.page-hero__crumbs {
    font-family: var(--font-mono); font-size: var(--fs-mono);
    text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--ink-soft); margin-bottom: 2rem;
    display: flex; gap: 0.5rem;
}
.page-hero__crumbs a:hover { color: var(--accent); }
.page-hero__title { font-family: var(--font-display); font-weight: 350; font-size: var(--fs-h1); line-height: 0.92; letter-spacing: -0.03em; }
.page-hero__title em { font-style: italic; color: var(--accent); }
.page-hero__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 900px) { .page-hero__grid { grid-template-columns: 1.5fr 1fr; align-items: end; } }
.page-hero__intro { color: var(--ink-soft); font-size: var(--fs-lead); max-width: 42ch; padding-bottom: 0.5rem; }

/* Stacked page-hero variant (title + intro stacked vertically, no side-by-side) */
.page-hero--stacked .page-hero__kicker {
    display: inline-block;
    color: var(--ink-faint);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--ink);
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.page-hero--stacked .page-hero__title {
    font-size: clamp(2.6rem, 6vw, 5rem);
    max-width: 18ch;
    margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}
.page-hero--stacked .page-hero__intro {
    max-width: 56ch;
}

/* ---------- Service detail block ---------- */
.service-block { padding-block: clamp(3rem, 6vw, 6rem); border-bottom: 1px solid var(--rule); }
.service-block__head {
    display: grid; grid-template-columns: 1fr; gap: 1rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 900px) { .service-block__head { grid-template-columns: auto 1fr auto; align-items: end; gap: 3rem; } }
.service-block__num { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5rem); font-style: italic; line-height: 0.8; color: var(--accent); }
.service-block__title { font-size: var(--fs-h2); font-family: var(--font-display); font-weight: 350; letter-spacing: -0.025em; line-height: 1; }
.service-block__title em { font-style: italic; color: var(--accent); }
.service-block__tag { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--ink-faint); letter-spacing: 0.12em; padding-bottom: 0.5rem; }

.service-block__media {
    position: relative;
    aspect-ratio: 21 / 9;
    overflow: hidden;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    background: var(--paper-deep);
    border: 1px solid var(--rule);
}
.service-block__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.5s var(--ease);
}
.service-block__media:hover img { transform: scale(1.03); }
.service-block__media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(19,18,16,0.06) 0%, transparent 50%);
    pointer-events: none;
}
.service-block__media__caption {
    position: absolute; left: 1.25rem; bottom: 1.25rem;
    font-family: var(--font-mono); font-size: var(--fs-mono);
    text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--paper);
    background: rgba(19,18,16,0.78);
    backdrop-filter: blur(8px);
    padding: 0.5rem 0.85rem; border-radius: 999px;
    display: inline-flex; align-items: center; gap: 0.6rem;
}
.service-block__media__caption .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.service-block--copies .service-block__media__caption .dot { background: var(--c-yellow); }
.service-block--photo  .service-block__media__caption .dot { background: var(--c-blue); }
.service-block--press  .service-block__media__caption .dot { background: var(--c-red); }

.service-block__grid {
    display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 4rem);
}
@media (min-width: 900px) { .service-block__grid { grid-template-columns: 1fr 1.2fr; } }

.service-block__body p { color: var(--ink-soft); max-width: 44ch; }
.service-block__body p.lead { color: var(--ink); font-family: var(--font-display); font-size: var(--fs-h5); line-height: 1.3; margin-bottom: 1.5rem; max-width: 28ch; }

.subservices { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--rule); }
.subservice { padding: 1.25rem 0; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.subservice__name { font-family: var(--font-display); font-size: 1.15rem; }
.subservice__meta { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--ink-faint); letter-spacing: 0.08em; }

/* odd-indexed subservices get right padding */
.subservice:nth-child(odd) { padding-right: 1.25rem; border-right: 1px solid var(--rule); }
.subservice:nth-child(even) { padding-left: 1.25rem; }
@media (max-width: 600px) {
    .subservices { grid-template-columns: 1fr; }
    .subservice { padding-inline: 0 !important; border-right: 0 !important; }
}

/* ---------- About hero (nosaltres page) ---------- */
.page-hero--about { padding-bottom: clamp(2rem, 4vw, 3rem); }
.about-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: stretch;
}
@media (min-width: 900px) {
    .about-hero { grid-template-columns: 1.05fr 1fr; align-items: end; }
}
.about-hero__copy {
    display: flex; flex-direction: column;
    gap: clamp(1.25rem, 2vw, 1.75rem);
    padding-block: clamp(0.5rem, 1.5vw, 1.5rem);
}
.about-hero__kicker {
    color: var(--ink-faint);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--ink);
    align-self: flex-start;
    padding-right: 2rem;
}
.about-hero__title {
    font-family: var(--font-display); font-weight: 350;
    font-size: clamp(2.4rem, 5.5vw, 4.6rem);
    line-height: 0.98;
    letter-spacing: -0.025em;
    font-variation-settings: "opsz" 144, "SOFT" 40;
}
.about-hero__title em {
    font-style: italic; color: var(--accent);
    font-variation-settings: "opsz" 144, "SOFT" 100;
}
.about-hero__lead {
    font-size: var(--fs-lead);
    line-height: 1.45;
    color: var(--ink-soft);
    max-width: 42ch;
}
.about-hero__facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--ink);
    margin-top: 0.5rem;
}
.about-hero__facts li {
    padding: 1rem 1rem 0 0;
    border-right: 1px solid var(--rule);
    display: flex; flex-direction: column; gap: 0.25rem;
}
.about-hero__facts li:last-child { border-right: 0; }
.about-hero__facts li:nth-child(2) { padding-left: 1rem; }
.about-hero__facts li:nth-child(3) { padding-left: 1rem; }
.about-hero__facts .num {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    line-height: 1; letter-spacing: -0.02em;
    color: var(--ink);
}
.about-hero__facts li:nth-child(1) .num { color: var(--c-red); }
.about-hero__facts li:nth-child(2) .num { color: var(--c-blue); font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100; }
.about-hero__facts li:nth-child(3) .num { color: #B07F00; }
.about-hero__facts .lbl {
    font-family: var(--font-mono);
    font-size: var(--fs-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-soft);
    line-height: 1.35;
}
@media (max-width: 540px) {
    .about-hero__facts { grid-template-columns: 1fr; gap: 0; }
    .about-hero__facts li {
        flex-direction: row; align-items: baseline;
        gap: 1rem; padding: 0.85rem 0;
        border-right: 0 !important; border-bottom: 1px solid var(--rule);
        padding-left: 0 !important;
    }
    .about-hero__facts li:last-child { border-bottom: 0; }
    .about-hero__facts .num { font-size: 2rem; }
}

.about-hero__media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 1px solid var(--ink);
    background: var(--paper-deep);
    align-self: end;
}
@media (min-width: 900px) {
    .about-hero__media { aspect-ratio: 4 / 5; max-height: 640px; }
}
.about-hero__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: saturate(0.9) contrast(1.02);
    transition: transform 1.4s var(--ease);
}
.about-hero__media:hover img { transform: scale(1.04); }
.about-hero__caption {
    position: absolute; left: 1rem; bottom: 1rem;
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-family: var(--font-mono); font-size: var(--fs-mono);
    text-transform: uppercase; letter-spacing: 0.1em;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(6px);
    color: var(--ink);
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
}
.about-hero__caption .dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* ---------- About story / nosaltres ---------- */
.story-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (min-width: 900px) { .story-grid { grid-template-columns: 1fr 1.4fr; } }
.story__label { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--ink-faint); letter-spacing: 0.12em; padding-top: 0.5rem; border-top: 1px solid var(--ink); }
.story__body { font-size: var(--fs-body); line-height: 1.65; color: var(--ink-soft); }
.story__body p { margin-bottom: 1rem; max-width: 56ch; }
.story__body p:first-child::first-letter {
    font-family: var(--font-display); float: left;
    font-size: 4.5em; line-height: 0.85; padding-right: 0.1em; padding-top: 0.05em;
    color: var(--accent); font-style: italic;
}

.values { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
@media (min-width: 720px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { padding: clamp(2rem, 3vw, 2.5rem) clamp(1.5rem, 2vw, 2rem); border-bottom: 1px solid var(--rule); position: relative; }
@media (min-width: 720px) { .value { border-bottom: 0; border-right: 1px solid var(--rule); } .value:last-child { border-right: 0; } }
.value__num { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--accent); letter-spacing: 0.12em; }
.value__title { margin-top: 0.75rem; font-size: var(--fs-h4); font-family: var(--font-display); }
.value__body { margin-top: 1rem; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 4rem); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.2fr 1fr; } }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-family: var(--font-mono); font-size: var(--fs-mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-soft); }
.field input, .field textarea, .field select {
    width: 100%; padding: 0.8rem 0;
    background: transparent; border: 0;
    border-bottom: 1px solid var(--ink);
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--ink);
    transition: border-color .3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: 0; border-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 120px; padding-top: 0.5rem; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }

.contact-info { display: flex; flex-direction: column; gap: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--ink); }
.info-block h6 { font-family: var(--font-mono); font-size: var(--fs-mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-faint); margin-bottom: 0.5rem; font-weight: 400; }
.info-block p, .info-block a { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; color: var(--ink); }
.info-block a:hover { color: var(--accent); }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid var(--rule); }
.hours-table tr:last-child { border-bottom: 0; }
.hours-table td { padding: 0.85rem 0; }
.hours-table td:first-child { font-family: var(--font-mono); font-size: var(--fs-mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); }
.hours-table td:last-child { font-family: var(--font-display); text-align: right; }
.hours-table tr.closed td:last-child { color: var(--ink-faint); font-style: italic; }
.hours-table tr.today { background: var(--paper-soft); }
.hours-table tr.today td:first-child { color: var(--accent); }

.map-wrap { position: relative; border: 1px solid var(--ink); aspect-ratio: 16/9; background: var(--paper-soft); overflow: hidden; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.4) sepia(0.15) contrast(0.95); }

/* ---------- Print-shop visual aside (used on services & about) ---------- */
.aside-card {
    padding: clamp(2rem, 3vw, 3rem);
    border: 1px solid var(--ink);
    border-radius: 0;
    background: var(--paper-soft);
    display: flex; flex-direction: column; gap: 1.5rem;
    position: relative; overflow: hidden;
}
.aside-card::before {
    content: ""; position: absolute; top: -50%; right: -20%;
    width: 60%; height: 200%;
    background: var(--accent-soft); opacity: 0.4;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}
.aside-card > * { position: relative; }
.aside-card__label { font-family: var(--font-mono); font-size: var(--fs-mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent-deep); }
.aside-card__title { font-family: var(--font-display); font-size: var(--fs-h4); }
.aside-card__title em { font-style: italic; color: var(--accent); }
.aside-card__body { color: var(--ink-soft); }
.aside-card__list { display: flex; flex-direction: column; gap: 0.5rem; }
.aside-card__list li { padding: 0.5rem 0; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: center; }
.aside-card__list li:last-child { border-bottom: 0; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
[data-reveal][data-delay="5"] { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    .marquee__track, .hero__decor svg, .header-phone span.dot { animation: none !important; }
    html { scroll-behavior: auto; }
}

/* ---------- WhatsApp floating button ---------- */
.wa-fab {
    position: fixed;
    right: clamp(1rem, 2.5vw, 2rem);
    bottom: clamp(1rem, 2.5vw, 2rem);
    z-index: 80;
    display: inline-flex; align-items: center; gap: 0.65rem;
    padding: 0.75rem 1.1rem 0.75rem 0.85rem;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--ink);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    box-shadow: 0 8px 24px -8px rgba(19, 18, 16, 0.22), 0 2px 6px -2px rgba(19, 18, 16, 0.12);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
    isolation: isolate;
}
.wa-fab:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px -10px rgba(19, 18, 16, 0.28), 0 4px 10px -2px rgba(19, 18, 16, 0.16);
    background: #25D366;
    color: var(--paper);
    border-color: #25D366;
}
.wa-fab__icon {
    width: 32px; height: 32px;
    flex-shrink: 0;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    position: relative;
    transition: background .35s var(--ease), transform .5s var(--ease);
}
.wa-fab__icon svg { width: 18px; height: 18px; fill: currentColor; }
.wa-fab__icon::before {
    content: ""; position: absolute; inset: -4px;
    border-radius: 50%; border: 1.5px solid #25D366;
    opacity: 0; animation: wa-pulse 2.4s var(--ease) infinite;
}
.wa-fab:hover .wa-fab__icon { background: var(--paper); color: #25D366; transform: rotate(-8deg) scale(1.08); }
.wa-fab:hover .wa-fab__icon::before { animation: none; }
@keyframes wa-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}
.wa-fab__label { line-height: 1; padding-right: 0.15rem; }
@media (max-width: 520px) {
    .wa-fab__label { display: none; }
    .wa-fab { padding: 0.5rem; }
    .wa-fab__icon { width: 40px; height: 40px; }
    .wa-fab__icon svg { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .wa-fab__icon::before { animation: none; }
    .wa-fab, .wa-fab__icon { transition: none; }
}

/* ---------- Decorative paper / noise ---------- */
.paper-texture { display: none; }

/* ---------- Section tints (full-width color bands) ---------- */
.section--tint {
    position: relative;
    isolation: isolate;
}
.section--tint::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    background: var(--tint, #FFFBE6);
    z-index: -1;
}
.section--tint-yellow { --tint: #FFF8E0; }   /* sunshine */
.section--tint-mint   { --tint: #E8F8F6; }   /* cyan soft */
.section--tint-pink   { --tint: #FFF1F2; }   /* rose */
.section--tint-blue   { --tint: #EEF5FE; }   /* cyan blue */
.section--tint-cream  { --tint: #FAF6EC; }   /* warm cream */

/* Decorative colored bar before section numbers (when section has tint or modifier) */
.section--tint .section-num,
.has-accent-bar .section-num {
    display: inline-flex; align-items: center; gap: 0.6rem;
}
.section--tint .section-num::before,
.has-accent-bar .section-num::before {
    content: "";
    display: inline-block;
    width: 28px; height: 2px;
    background: var(--accent-bar, var(--accent));
}
.section--tint-yellow .section-num::before { --accent-bar: #D9A300; }
.section--tint-mint   .section-num::before { --accent-bar: var(--c-cyan); }
.section--tint-pink   .section-num::before { --accent-bar: var(--c-red); }
.section--tint-blue   .section-num::before { --accent-bar: var(--c-blue); }

/* Color-coded section-num text */
.section-num.is-red    { color: var(--c-red); }
.section-num.is-blue   { color: var(--c-blue); }
.section-num.is-yellow { color: #B07F00; }
.section-num.is-mint   { color: #058580; }

/* ---------- Mobile nav ---------- */
@media (max-width: 880px) {
    .nav-toggle { display: block; }
    .nav {
        position: fixed; inset: 73px 0 0 0;
        background: var(--paper);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem var(--gutter);
        gap: 1rem;
        transform: translateX(100%);
        transition: transform .5s var(--ease);
        border-top: 1px solid var(--rule);
        overflow-y: auto;
    }
    .nav[data-open="true"] { transform: translateX(0); }
    .nav a { font-size: 1.4rem; font-family: var(--font-display); text-transform: none; letter-spacing: 0; }
    .header-phone { display: none; }
    .site-header__inner { grid-template-columns: auto 1fr auto; }
    .nav { order: 99; }
}

@media (max-width: 720px) {
    .hero__meta { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
    .hero__meta .meta-left, .hero__meta .meta-right { width: 100%; flex-wrap: wrap; gap: 0.5rem 0.75rem; }
    .hero__meta .meta-left .mono:nth-child(n+3),
    .hero__meta .meta-right .mono:nth-child(n+2) { display: none; }
}
@media (max-width: 520px) {
    .header-utils .lang-toggle { padding: 0.4rem 0.65rem; }
    .header-utils .lang-toggle button { padding: 0.35rem 0.6rem; min-width: 28px; }
    .header-utils { gap: 0.5rem; }
    .header-phone { display: none; }
    /* Larger tap targets for footer links on mobile */
    .footer-col ul { gap: 0.85rem; }
    .footer-col a { display: inline-block; padding: 0.25rem 0; min-height: 32px; }
    /* Larger crumb tap targets */
    .page-hero__crumbs { gap: 0.65rem; }
    .page-hero__crumbs a { padding: 0.3rem 0; }
}
