/* =========================================================================
   Paul-Plast — refined light minimalism
   Hand-authored, dependency-free. Tokens → base → layout → components.
   ========================================================================= */

/* ------------------------------------------------------------ tokens ----- */
:root {
  /* warm architectural neutrals */
  --bg:        #ffffff;
  --bg-2:      #f7f6f3;
  --bg-3:      #efede8;
  --ink:       #14181f;   /* near-black graphite */
  --ink-2:     #3b424c;
  --muted:     #5f6672;   /* AA (>=4.9:1) on all three surfaces */
  --line:      #e6e3dc;
  --line-2:    #d8d4ca;

  --accent:        #b45309;   /* deep amber — AA as text & as button bg */
  --accent-deep:   #9c4708;   /* button press / active */
  --accent-bright: #d97706;   /* non-text accents only: icons, hairlines */
  --accent-soft:   #fdf4e7;
  --on-accent:     #ffffff;

  --danger:    #b91c1c;
  --ok-bg:     #dcfce7;
  --ok-fg:     #15803d;

  --dark:      #0e1420;   /* dark sections */
  --dark-2:    #161d2b;
  --on-dark:   #e9ecf2;
  --on-dark-muted: #9aa4b4;

  --shell:      1200px;
  --shell-wide: 1440px;
  --gutter:     clamp(1.25rem, 5vw, 2.75rem);
  --section-y:  clamp(4rem, 9vw, 8rem);

  --r:      4px;
  --r-lg:   8px;
  --r-pill: 999px;

  --shadow-1: 0 1px 2px rgba(20,24,31,.06), 0 1px 1px rgba(20,24,31,.04);
  --shadow-2: 0 18px 40px -20px rgba(20,24,31,.28);
  --shadow-3: 0 40px 80px -30px rgba(20,24,31,.35);

  --ease:  cubic-bezier(.22, .61, .36, 1);
  --dur-1: .18s;
  --dur-2: .3s;
  --dur-3: .55s;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;  /* editorial serif — big headings + statements */
  --font-head:    "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;  /* small headings, UI, labels */
  --font-body:    "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --head-h: 76px;
}

/* ------------------------------------------------------------ reset ------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  /* keep the continuous decorative loops running — slow, linear, low vestibular risk */
  .marquee__track { animation-duration: 60s !important; animation-iteration-count: infinite !important; }
  .rail__track { animation-duration: 120s !important; animation-iteration-count: infinite !important; }
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  line-height: 1.62;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
/* <picture> generates no box — lets the inner <img> size against the real parent
   (fixes height:100% / object-fit inside fixed-ratio containers and the hero) */
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.14; font-weight: 700; letter-spacing: -0.02em; }

/* Big editorial headings switch to the serif — lighter weight, optical sizing on,
   a touch more leading (serifs need air). Small/UI headings stay on Outfit. */
.hero__title, .page-hero__title, .section-title, .cta-band__title, .kpi__val, .statement__lead {
  font-family: var(--font-display);
  font-weight: 420;
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
  line-height: 1.08;
}
.section-title { line-height: 1.12; }

/* ------------------------------------------------------------ helpers --- */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--muted { background: var(--bg-2); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--r);
  transform: translateY(-160%); transition: transform var(--dur-2) var(--ease);
}
.skip-link:focus { transform: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------ reveal ---- */
.reveal { transition: opacity var(--dur-3) var(--ease), transform var(--dur-3) var(--ease); transition-delay: var(--d, 0ms); }
/* only hide once JS has taken over (class added by app.js) — so a JS failure never leaves the page blank */
html.reveal-on .reveal { opacity: 0; transform: translateY(20px); }
html.reveal-on .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.reveal-on .reveal { opacity: 1 !important; transform: none !important; } }

/* ------------------------------------------------------------ buttons --- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink);
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: var(--r);
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; letter-spacing: -0.01em;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  transition: transform var(--dur-1) var(--ease), background var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
  white-space: nowrap;
}
.btn .pp-ico { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn:active { transform: translateY(0); }
.btn--solid { --btn-bg: var(--accent); --btn-bd: var(--accent); --btn-fg: var(--on-accent); }
.btn--solid:hover { --btn-bg: var(--accent-deep); --btn-bd: var(--accent-deep); }
.btn--outline { --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: currentColor; }
.btn--outline:hover { --btn-bg: rgba(255,255,255,.12); box-shadow: none; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink-2); --btn-bd: var(--line-2); }
.btn--ghost:hover { --btn-bg: var(--bg-2); box-shadow: none; }
.btn--sm { padding: .6rem 1.05rem; font-size: .875rem; }
.btn--lg { padding: 1rem 1.9rem; font-size: 1rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; color: var(--ink);
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: gap var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.link-arrow .pp-ico { width: 1.1em; height: 1.1em; transition: transform var(--dur-1) var(--ease); }
.link-arrow:hover { gap: .8rem; border-color: var(--accent); color: var(--accent); }
.link-arrow--sm { font-size: .9rem; font-weight: 500; }

/* ------------------------------------------------------------ headings -- */
.kicker {
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .16em; color: var(--accent);
  display: block; margin-bottom: .9rem;
}
.kicker--light { color: var(--accent-bright); }
.section-title { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.9rem); }
.section-title--light { color: #fff; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; max-width: none; flex-wrap: wrap; }
.section-lead { margin-top: 1rem; font-size: 1.075rem; color: var(--muted); }
.section-lead--light { color: var(--on-dark-muted); }
.section-foot { margin-top: clamp(2rem, 4vw, 3rem); }
.lead { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem); color: var(--ink-2); }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg); border-bottom: 1px solid var(--line);
  transition: background var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.site-head__inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: var(--head-h);
}
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; gap: .35rem; list-style: none; }
.site-nav__link {
  display: block; padding: .55rem .9rem; border-radius: var(--r);
  font-family: var(--font-head); font-weight: 600; font-size: .935rem; color: var(--ink-2);
  position: relative; transition: color var(--dur-1) var(--ease), background var(--dur-1) var(--ease);
}
.site-nav__link::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .3rem; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-2) var(--ease);
}
.site-nav__link:hover { color: var(--ink); }
.site-nav__link[aria-current="page"] { color: var(--ink); }
.site-nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* "Oferta" dropdown (desktop: hover/focus; mobile: always-open indented list) */
.has-sub { position: relative; }
.site-subnav {
  position: absolute; top: 100%; left: 0; z-index: 120; min-width: 260px;
  list-style: none; padding: .4rem; margin-top: .2rem;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--dur-1) var(--ease), transform var(--dur-1) var(--ease), visibility var(--dur-1);
}
.has-sub:hover .site-subnav,
.has-sub:focus-within .site-subnav { opacity: 1; visibility: visible; transform: none; }
.site-subnav a {
  display: block; padding: .55rem .7rem; border-radius: var(--r);
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink-2);
  transition: color var(--dur-1) var(--ease), background var(--dur-1) var(--ease);
}
.site-subnav a:hover, .site-subnav a[aria-current="page"] { background: var(--bg-2); color: var(--accent); }
.site-subnav__all { border-top: 1px solid var(--line); margin-top: .25rem; padding-top: .25rem; }
.site-subnav__all a { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); }

.site-head__aside { display: flex; align-items: center; gap: 1rem; }
.site-head__phone {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink-2);
  transition: color var(--dur-1) var(--ease);
}
.site-head__phone:hover { color: var(--accent); }
.ico-sm { width: 1.05em; height: 1.05em; }
.pp-ico { flex: none; }

.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); }
.nav-toggle .pp-ico { width: 26px; height: 26px; }
.nav-toggle__close { display: none; }

/* brand — real logo image */
.brand { display: inline-flex; align-items: center; flex: none; margin-right: 1rem; }
.brand picture { display: inline-block; }
.brand__logo { height: clamp(46px, 5.5vw, 62px); width: auto; display: block; }
.site-head.is-stuck { box-shadow: var(--shadow-1); }
/* footer logo on a light chip so the white-background mark reads on dark */
.foot-logo { display: inline-block; background: #fff; border-radius: var(--r); padding: .6rem .85rem; margin-bottom: 1.1rem; }
.foot-logo img { height: 46px; width: auto; display: block; }

/* ==========================================================================
   HERO (home)
   ========================================================================== */
.hero { position: relative; min-height: calc(100svh - var(--head-h)); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; animation: hero-zoom 22s var(--ease) forwards; }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero__img { animation: none; } }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,20,32,.55) 0%, rgba(14,20,32,.25) 35%, rgba(14,20,32,.78) 100%),
    linear-gradient(90deg, rgba(14,20,32,.55) 0%, rgba(14,20,32,0) 55%);
}
.hero__inner { position: relative; z-index: 1; padding-block: clamp(6rem, 16vh, 10rem) clamp(3.5rem, 9vh, 6rem); max-width: 54rem; }
.hero__kicker { font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.82); margin-bottom: 1.25rem; }
.hero__title { color: #fff; font-size: clamp(2.5rem, 1.4rem + 5vw, 4.8rem); letter-spacing: -0.012em; line-height: 1.05; }
.hero__lead { margin-top: 1.5rem; font-size: clamp(1.05rem, 1rem + 0.7vw, 1.35rem); font-weight: 300; color: rgba(255,255,255,.9); max-width: 40rem; }
.hero__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__cue {
  position: absolute; left: 50%; bottom: 1.4rem; z-index: 1; transform: translateX(-50%);
  width: 42px; height: 42px; display: grid; place-items: center; color: #fff;
  border: 1px solid rgba(255,255,255,.4); border-radius: var(--r-pill);
  animation: cue 2.4s var(--ease) infinite;
}
.hero__cue .pp-ico { width: 20px; height: 20px; }
@keyframes cue { 0%,100% { transform: translate(-50%, 0); opacity: .7; } 50% { transform: translate(-50%, 6px); opacity: 1; } }
.hero__credit {
  position: absolute; right: clamp(.75rem, 3vw, 1.75rem); bottom: clamp(.75rem, 3vw, 1.5rem); z-index: 1;
  font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5);
  background: rgba(14,20,32,.35); padding: .3rem .6rem; border-radius: var(--r); backdrop-filter: blur(2px);
}
body.is-admin .hero__credit { color: rgba(255,255,255,.85); }

/* ==========================================================================
   KPI STRIP
   ========================================================================== */
.kpi { border-bottom: 1px solid var(--line); }
.kpi__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.kpi__item { text-align: center; }
.kpi__val { display: block; font-weight: 460; font-variant-numeric: tabular-nums; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); color: var(--ink); letter-spacing: -0.01em; }
.kpi__desc { display: block; margin-top: .5rem; font-size: .9rem; color: var(--muted); }

/* ==========================================================================
   STATEMENT — asymmetric editorial module (home)
   ========================================================================== */
.statement { background: var(--bg-2); border-block: 1px solid var(--line); position: relative; overflow: hidden; }
.statement__grid {
  display: grid;
  grid-template-columns: [edge] minmax(0, 1fr) [q] minmax(0, 7.5fr) [gap] minmax(0, 1fr) [note] minmax(0, 5fr) [end];
  align-items: start; column-gap: clamp(1.5rem, 4vw, 4rem); position: relative;
}
.statement__label {
  grid-column: edge; align-self: start; margin-top: .4rem;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--font-head); font-size: .72rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.statement__index {
  position: absolute; left: clamp(-0.5rem, 2vw, 2rem); top: -2.2rem; z-index: 0;
  font-family: var(--font-display); font-weight: 380; font-size: clamp(7rem, 22vw, 15rem);
  line-height: 1; color: var(--accent); opacity: .10; pointer-events: none; user-select: none;
}
.statement__lead {
  grid-column: q; z-index: 1; position: relative;
  font-style: italic; font-weight: 380;
  font-size: clamp(1.7rem, 1.1rem + 3.4vw, 3.5rem); line-height: 1.18; letter-spacing: -0.01em;
  color: var(--ink); text-wrap: balance;
}
.statement__note {
  grid-column: note; align-self: end; margin-top: clamp(2.5rem, 8vw, 6rem);
  display: flex; flex-direction: column; gap: 1.1rem; align-items: flex-start;
}
.statement__note p { color: var(--muted); font-size: 1rem; }

@media (max-width: 860px) {
  .statement__grid { grid-template-columns: 1fr; row-gap: 1.75rem; }
  .statement__label { writing-mode: horizontal-tb; transform: none; margin: 0; }
  .statement__index { position: static; font-size: clamp(4.5rem, 20vw, 7rem); opacity: .12; margin-bottom: -1.5rem; }
  .statement__lead, .statement__note { grid-column: 1; margin-top: 0; }
}

/* ==========================================================================
   OFFER CARDS
   ========================================================================== */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.offer-grid--wide { grid-template-columns: repeat(3, 1fr); }
.offer-card {
  display: flex; flex-direction: column; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}
.offer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.offer-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); }
.offer-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.offer-card:hover .offer-card__media img { transform: scale(1.05); }
.offer-card__body { padding: clamp(1.4rem, 3vw, 2rem); display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.offer-card__ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r); background: var(--accent-soft); color: var(--accent); }
.offer-card__ico .pp-ico { width: 24px; height: 24px; }
.offer-card__title { font-size: 1.3rem; }
.offer-card__desc { font-size: .96rem; color: var(--muted); }

/* ==========================================================================
   FEATURE GRID (services / values)
   ========================================================================== */
.feature-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.75rem, 1.6vw, 1.1rem); }
.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
.feature {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2rem); display: flex; flex-direction: column; gap: .7rem;
  transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
}
.feature:hover { border-color: var(--line-2); box-shadow: var(--shadow-1); transform: translateY(-2px); }
.feature__ico { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r); background: var(--accent-soft); color: var(--accent); }
.feature__ico .pp-ico { width: 24px; height: 24px; }
.feature__title { font-size: 1.1rem; }
.feature__desc { font-size: .92rem; color: var(--muted); }

/* ==========================================================================
   ABOUT (teaser + story)
   ========================================================================== */
.about-teaser__grid, .about-story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-teaser__media img, .about-story__media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-2); }
.about-teaser__body { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
.about-story__media { position: relative; }
.about-story__badge {
  position: absolute; right: -1rem; bottom: -1.25rem; background: var(--ink); color: #fff;
  padding: 1rem 1.4rem; border-radius: var(--r-lg); box-shadow: var(--shadow-2); text-align: center;
}
.about-story__badge-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; }
.about-story__badge-lbl { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-top: .2rem; }
.about-story__body { display: flex; flex-direction: column; gap: 1.1rem; }
.about-story__sign { margin-top: .75rem; font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.about-story__sign span { display: block; font-weight: 400; font-family: var(--font-body); font-size: .875rem; color: var(--muted); margin-top: .25rem; }

/* ==========================================================================
   RAIL (horizontal scroll strip)
   ========================================================================== */
/* CSS-driven continuous scroll (same technique as the partner marquee — no JS,
   keeps running when the window is not focused) */
.rail { margin-top: clamp(2rem, 4vw, 3rem); display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.rail__track { list-style: none; display: flex; flex: none; gap: 1.25rem; padding-left: 1.25rem; width: max-content;
  animation: rail-scroll 90s linear infinite; }
.rail:hover .rail__track { animation-play-state: paused; }
@keyframes rail-scroll { to { transform: translateX(-100%); } }
.rail__item { flex: 0 0 min(78vw, 460px); }
.shot { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-3); }
.shot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.1s var(--ease); }
.shot:hover img { transform: scale(1.04); }
.shot__cap {
  position: absolute; inset: auto 0 0 0; padding: 2.5rem 1.25rem 1rem;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(14,20,32,.85));
}

/* ==========================================================================
   PARTNERS MARQUEE
   ========================================================================== */
.partners { padding-block: clamp(3rem, 6vw, 5rem); border-block: 1px solid var(--line); background: var(--bg-2); }
.partners__kicker { text-align: center; font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .05em; color: var(--muted); margin-bottom: 2.5rem; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { list-style: none; display: flex; align-items: center; flex: none; width: max-content; gap: clamp(2.5rem, 6vw, 5rem); padding-right: clamp(2.5rem, 6vw, 5rem); animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.marquee__item { flex: none; }
.partner-logo { height: clamp(38px, 6vw, 54px); width: auto; object-fit: contain; filter: grayscale(1); opacity: .55; transition: filter var(--dur-2) var(--ease), opacity var(--dur-2) var(--ease); }
.marquee__item:hover .partner-logo { filter: grayscale(0); opacity: 1; }
/* The logo marquee is slow, linear and loops — it keeps moving even with reduced-motion
   (only the more intense effects — hero zoom, scroll parallax — are suppressed). */

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band { position: relative; color: #fff; overflow: hidden; text-align: center; }
.cta-band__bg { position: absolute; inset: 0; z-index: 0; }
.cta-band__img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(14,20,32,.82), rgba(14,20,32,.9)); }
.cta-band__inner { position: relative; z-index: 2; max-width: 40rem; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.cta-band__title { color: #fff; font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.7rem); }
.cta-band__text { color: rgba(255,255,255,.85); font-size: 1.075rem; }
.cta-band__inner .btn { margin-top: .5rem; }

/* ==========================================================================
   PAGE HERO (interior pages)
   ========================================================================== */
.crumbs { background: var(--bg); border-bottom: 1px solid var(--line); font-family: var(--font-head); font-size: .8rem; }
.crumbs .shell { display: flex; gap: .5rem; align-items: center; padding-block: .85rem; color: var(--muted); }
.crumbs a { color: var(--muted); transition: color var(--dur-1) var(--ease); }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--ink-2); }

.page-hero { background: var(--bg-2); border-bottom: 1px solid var(--line); padding-block: clamp(3rem, 7vw, 5.5rem); }
.page-hero__inner { max-width: 52rem; }
.page-hero__title { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem); letter-spacing: -0.012em; }
.page-hero__lead { margin-top: 1.25rem; font-size: clamp(1.05rem, 1rem + 0.5vw, 1.25rem); color: var(--muted); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }

/* ==========================================================================
   SERVICE PAGES (strony usług — SEO)
   ========================================================================== */
.svc-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.svc-split__body > p { margin-top: 1rem; color: var(--ink-2); }
.svc-split__body .kicker + .section-title { margin-top: .5rem; }
.svc-split__body .link-arrow { margin-top: 1.6rem; }
.svc-checklist { list-style: none; display: grid; gap: .7rem; margin-top: 1.6rem; }
.svc-checklist li { display: flex; gap: .65rem; align-items: flex-start; font-size: .98rem; }
.svc-checklist .pp-ico { flex: none; margin-top: .15rem; color: var(--accent); width: 1.05em; height: 1.05em; }
.svc-split__media { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); }
.svc-split__media img { width: 100%; height: auto; display: block; }
.svc-split__media figcaption {
  padding: .7rem .9rem; font-family: var(--font-head); font-weight: 600;
  font-size: .8rem; color: var(--muted); background: var(--bg);
  border-top: 1px solid var(--line);
}

.svc-index { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(.75rem, 1.6vw, 1.1rem); }
.svc-index a {
  display: block; height: 100%; padding: 1.35rem 1.4rem;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: border-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
}
.svc-index a:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow-2); }
.svc-index__t { display: flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.svc-index__t .pp-ico { color: var(--accent); }
.svc-index__d { display: block; margin-top: .5rem; font-size: .92rem; color: var(--muted); line-height: 1.55; }

.offer-card__more { margin-top: auto; }

.svc-faq__list { display: grid; gap: .6rem; max-width: 52rem; }
.svc-faq__item { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); overflow: hidden; }
.svc-faq__item summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.3rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1rem;
}
.svc-faq__item summary::-webkit-details-marker { display: none; }
.svc-faq__chev { flex: none; transition: transform var(--dur-2) var(--ease); color: var(--muted); }
.svc-faq__item[open] .svc-faq__chev { transform: rotate(180deg); }
.svc-faq__a { padding: 0 1.3rem 1.2rem; color: var(--ink-2); }
.svc-faq__a p { max-width: 60ch; }

@media (max-width: 860px) {
  .svc-split { grid-template-columns: 1fr; }
  .svc-split__media { order: -1; }
  .svc-index { grid-template-columns: 1fr; }
}

/* ==========================================================================
   GALLERY (Realizacje)
   ========================================================================== */
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.chip {
  padding: .55rem 1.1rem; border-radius: var(--r-pill); border: 1px solid var(--line-2);
  font-family: var(--font-head); font-weight: 600; font-size: .875rem; color: var(--ink-2);
  transition: all var(--dur-1) var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.gallery { columns: 3 320px; column-gap: 1.25rem; }
.tile { break-inside: avoid; margin-bottom: 1.25rem; position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-3); }
.tile[hidden] { display: none; }
.tile__open { display: block; width: 100%; padding: 0; border: 0; background: none; line-height: 0; font-size: 0; }
.tile__img { display: block; width: 100%; height: auto; transition: transform 1s var(--ease), filter var(--dur-2) var(--ease); }
.tile:hover .tile__img { transform: scale(1.04); }
.tile__cap {
  position: absolute; inset: auto 0 0 0; padding: 2.75rem 1.1rem 1rem;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(14,20,32,.85));
  opacity: 0; transform: translateY(8px); transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
}
.tile:hover .tile__cap, .tile:focus-within .tile__cap { opacity: 1; transform: none; }
.gallery__empty { text-align: center; color: var(--muted); padding: 3rem 0; }

/* gallery admin controls */
.tile__admin { position: absolute; inset: .6rem .6rem auto .6rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.tile__cat { flex: 1; min-width: 0; padding: .35rem .5rem; border-radius: var(--r); border: 1px solid var(--line-2); background: rgba(255,255,255,.95); font-size: .78rem; }
.tile__act { width: 34px; height: 34px; display: grid; place-items: center; background: rgba(255,255,255,.95); border-radius: var(--r); box-shadow: var(--shadow-1); }
.tile__act--danger { color: var(--danger); }
.tile__drag { cursor: grab; touch-action: none; color: var(--ink-2); }
.tile__drag:active { cursor: grabbing; }
.tile.is-dragging { opacity: .45; outline: 2px dashed var(--accent); outline-offset: -2px; pointer-events: none; }
body.cms-sorting { cursor: grabbing; user-select: none; -webkit-user-select: none; }
body.cms-sorting .tile { transition: none; }
body.cms-sorting .tile__img { transform: none !important; }
.cms-add { margin-top: 1.5rem; }
.cms-add-row { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.tile-library { margin-top: 1.25rem; padding: 1.25rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); }
.tile-library__hint { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.tile-library__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; }
.tile-library__item { display: flex; flex-direction: column; gap: .4rem; text-align: left; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; background: var(--bg); transition: border-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease); }
.tile-library__item:hover { border-color: var(--accent); transform: translateY(-2px); }
.tile-library__item img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.tile-library__item span { font-size: .78rem; padding: 0 .5rem .5rem; color: var(--ink-2); }

/* ==========================================================================
   CATALOGS
   ========================================================================== */
.catalogs { background: var(--dark); color: var(--on-dark); position: relative; }
.catalogs::before { content: ""; position: absolute; inset: 0; opacity: .06; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }
.catalogs .shell { position: relative; z-index: 1; }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; }
.catalog-card {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: .85rem;
  padding: 1.5rem 1.25rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: #fff; font-family: var(--font-head); font-weight: 600; text-align: center; color: var(--ink);
  transition: border-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
}
.catalog-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-2); }
.catalog-card__logo { display: grid; place-items: center; height: 46px; width: 100%; }
.catalog-card__logo img { max-height: 46px; max-width: 140px; width: auto; object-fit: contain; }
.catalog-card__name { font-size: .95rem; color: var(--ink-2); }
.catalog-card--textonly { padding-block: 1.15rem; }
.catalog-card--textonly .catalog-card__name { font-size: 1.05rem; }
.catalog-card__go { position: absolute; top: .7rem; right: .7rem; color: var(--muted); flex: none; transition: color var(--dur-1) var(--ease); }
.catalog-card:hover .catalog-card__go { color: var(--accent); }
.catalog-card__name[contenteditable="true"] { outline: 1px dashed var(--accent); border-radius: 2px; padding: 2px 4px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact__list { list-style: none; display: flex; flex-direction: column; gap: 2rem; }
.contact__list li { display: flex; gap: 1.1rem; }
.contact__ico { flex: none; color: var(--accent); }
.contact__ico .pp-ico { width: 26px; height: 26px; }
.contact__list h2 { font-size: 1.05rem; margin-bottom: .35rem; }
.contact__list p { color: var(--ink-2); }
.contact__list a:hover { color: var(--accent); }
.contact__muted { color: var(--muted); font-size: .9rem; display: flex; align-items: center; gap: .4rem; margin-top: .35rem; }

.form-wrap, .contact__form-wrap { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.5rem); }
.form { display: flex; flex-direction: column; gap: 1.15rem; }
.form__row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field__label { font-family: var(--font-head); font-weight: 600; font-size: .875rem; color: var(--ink); }
.req { color: var(--accent); }
.field input, .field textarea {
  width: 100%; padding: .8rem .95rem; background: var(--bg); border: 1px solid var(--line-2);
  border-radius: var(--r); transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { resize: vertical; min-height: 120px; }

.checkbox { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; font-size: .85rem; color: var(--muted); cursor: pointer; }
.checkbox input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checkbox__box { width: 22px; height: 22px; border: 1px solid var(--line-2); border-radius: var(--r); display: grid; place-items: center; background: var(--bg); transition: all var(--dur-1) var(--ease); }
.checkbox__box .pp-ico { width: 15px; height: 15px; color: #fff; opacity: 0; transform: scale(.6); transition: all var(--dur-1) var(--ease); }
.checkbox input:checked + .checkbox__box { background: var(--accent); border-color: var(--accent); }
.checkbox input:checked + .checkbox__box .pp-ico { opacity: 1; transform: none; }
.checkbox input:focus-visible + .checkbox__box { outline: 2px solid var(--accent); outline-offset: 2px; }

.form__error { color: var(--danger); font-size: .9rem; font-weight: 500; }
.form__submit { align-self: flex-start; position: relative; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; display: none; animation: spin .7s linear infinite; }
.is-sending .spinner { display: inline-block; }
.is-sending .form__submit { pointer-events: none; opacity: .8; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success { position: absolute; inset: 0; background: var(--bg-2); border-radius: var(--r-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .75rem; padding: 2rem; opacity: 0; transform: scale(.98); transition: opacity var(--dur-3) var(--ease), transform var(--dur-3) var(--ease); pointer-events: none; }
.form-success:not([hidden]) { opacity: 1; transform: none; }
.form-success__ico { width: 60px; height: 60px; border-radius: 50%; background: var(--ok-bg); color: var(--ok-fg); display: grid; place-items: center; }
.form-success__ico .pp-ico { width: 30px; height: 30px; }

.rodo__inner { max-width: 52rem; display: flex; flex-direction: column; gap: 1rem; }
.rodo__inner h2 { font-size: 1.35rem; }
.rodo__inner p { color: var(--muted); font-size: .95rem; }
.rodo__inner a { color: var(--accent); text-decoration: underline; }

/* area (o firmie) */
.area__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.area__chips { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.area__chips li { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .9rem; border: 1px solid var(--line-2); border-radius: var(--r-pill); font-size: .85rem; font-family: var(--font-head); font-weight: 600; color: var(--ink-2); }
.area__chips .pp-ico { width: 14px; height: 14px; color: var(--accent); }
.area__card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.25rem); }
.area__card h3 { font-size: 1.15rem; margin-bottom: 1.25rem; }
.area__card dl { display: flex; flex-direction: column; gap: .9rem; margin-bottom: 1.5rem; }
.area__card dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.area__card dd { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.area__card a[href^="tel"], .area__card a[href^="mailto"] { font-weight: 600; }
.area__card a[href^="tel"]:hover, .area__card a[href^="mailto"]:hover { color: var(--accent); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-foot { background: var(--dark); color: var(--on-dark-muted); padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.site-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; }
.brand--foot { color: #fff; margin-bottom: 1.1rem; }
.brand--foot .brand__mark { color: #fff; }
.site-foot__blurb { font-size: .92rem; max-width: 30ch; }
.site-foot__h { font-family: var(--font-head); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 1rem; margin-top: 1.4rem; }
.site-foot__h:first-child { margin-top: 0; }
.site-foot__col { display: flex; flex-direction: column; gap: .55rem; font-size: .92rem; align-items: flex-start; }
.site-foot__col a { display: inline-flex; align-items: center; gap: .5rem; transition: color var(--dur-1) var(--ease); }
.site-foot__col a:hover { color: #fff; }
.site-foot__col .pp-ico { color: var(--accent-bright); }
.site-foot__muted { color: var(--on-dark-muted); opacity: .7; }
.site-foot__cta { margin-top: .75rem; color: #fff; }
.site-foot__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-block: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
.site-foot__bar-right { display: flex; gap: 1.25rem; }
.site-foot__bar a:hover { color: #fff; }
.site-foot__admin { opacity: .5; }

/* ==========================================================================
   CMS / MODAL
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 1.5rem; background: rgba(14,20,32,.7); backdrop-filter: blur(4px); }
.modal__panel { width: 100%; max-width: 26rem; background: var(--bg); border-radius: var(--r-lg); padding: 2rem; box-shadow: var(--shadow-3); display: flex; flex-direction: column; gap: 1rem; }
.modal__title { font-size: 1.3rem; }
.modal__hint { font-size: .9rem; color: var(--muted); }
.modal__err { color: #b91c1c; font-size: .875rem; font-weight: 500; }
.modal__panel input { width: 100%; padding: .75rem .9rem; border: 1px solid var(--line-2); border-radius: var(--r); }
.modal__actions { display: flex; gap: .75rem; justify-content: flex-end; margin-top: .5rem; }

.cms-bar { position: fixed; inset: auto 0 0 0; z-index: 250; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem clamp(1rem, 4vw, 2rem); box-shadow: 0 -8px 24px rgba(0,0,0,.2); flex-wrap: wrap; }
.cms-bar__status { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 600; font-size: .85rem; }
.cms-bar__status .pp-ico { color: var(--accent-bright); }
.cms-bar__actions { display: flex; gap: .6rem; }
.is-admin { padding-bottom: 64px; }
body.is-admin .cms-text[contenteditable="true"] { outline: 1px dashed var(--accent); outline-offset: 3px; border-radius: 2px; cursor: text; }
body.is-admin [data-cms-image] { outline: 2px dashed var(--accent-bright); outline-offset: 3px; cursor: pointer; }
.cms-imgbtn { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 20; }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 320; display: flex; align-items: center; justify-content: center; padding: clamp(1rem, 5vw, 3rem); background: rgba(10,14,22,.94); opacity: 0; transition: opacity var(--dur-2) var(--ease); }
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox__stage { display: flex; flex-direction: column; align-items: center; gap: 1rem; max-width: 1100px; width: 100%; }
.lightbox__img { max-width: 100%; max-height: 78vh; width: auto; border-radius: var(--r); box-shadow: var(--shadow-3); transform: scale(.97); transition: transform var(--dur-2) var(--ease); }
.lightbox.is-open .lightbox__img { transform: none; }
.lightbox__cap { color: rgba(255,255,255,.9); font-family: var(--font-head); font-weight: 600; font-size: .95rem; text-align: center; }
.lightbox__close, .lightbox__nav { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: var(--r-pill); background: rgba(255,255,255,.06); transition: background var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease); }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); }
.lightbox__close { top: clamp(1rem, 3vw, 1.75rem); right: clamp(1rem, 3vw, 1.75rem); }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: clamp(.5rem, 3vw, 1.75rem); }
.lightbox__nav--next { right: clamp(.5rem, 3vw, 1.75rem); }
.lightbox__close .pp-ico, .lightbox__nav .pp-ico { width: 24px; height: 24px; }
@media (max-width: 560px) { .lightbox__nav { top: auto; bottom: 1rem; transform: none; } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .site-foot__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .feature-grid, .feature-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .offer-grid, .offer-grid--wide { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
  .area__grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --head-h: 64px; }
  .nav-toggle { display: inline-flex; }
  .site-head__phone { display: none; }
  .site-head__aside .btn--sm { display: none; }
  .site-nav {
    position: fixed; inset: var(--head-h) 0 0 0; margin: 0;
    background: var(--bg); border-top: 1px solid var(--line);
    transform: translateX(100%); transition: transform var(--dur-2) var(--ease);
    padding: 1.5rem var(--gutter); overflow-y: auto;
  }
  .page-index .site-head .site-nav { background: var(--bg); }
  .page-index .site-head .site-nav__link { color: var(--ink-2); }
  body.nav-open .site-nav { transform: none; }
  body.nav-open { overflow: hidden; }
  .site-nav__list { flex-direction: column; gap: .25rem; }
  .site-nav__link { padding: 1rem .5rem; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .site-nav__link::after { display: none; }
  .nav-open .nav-toggle__open { display: none; }
  .nav-open .nav-toggle__close { display: block; }

  /* dropdown collapses to an always-visible indented list on mobile */
  .site-subnav {
    position: static; opacity: 1; visibility: visible; transform: none;
    min-width: 0; box-shadow: none; border: 0; border-radius: 0;
    padding: .25rem 0 .75rem .75rem; margin: 0;
    border-bottom: 1px solid var(--line);
  }
  .site-subnav a { padding: .7rem .5rem; font-size: 1rem; }
  .site-subnav__all { border-top: 0; }

  .about-teaser__grid, .about-story__grid { grid-template-columns: 1fr; }
  .about-teaser__media { order: -1; }
  .about-story__badge { right: 1rem; bottom: -1rem; }
  .kpi__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .section-head--row { align-items: flex-start; }
}

@media (max-width: 560px) {
  .offer-grid, .offer-grid--wide, .feature-grid, .feature-grid--4 { grid-template-columns: 1fr; }
  .form__row--split { grid-template-columns: 1fr; }
  .site-foot__grid { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .btn--lg { padding: .9rem 1.5rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
}
