/* =========================================================
   GRYC.SK — redesign
   ========================================================= */
:root {
  /* ---- Dark theme (secondary) — deep forest green ---- */
  --bg: #0d1712;
  --bg-soft: #12201a;
  --surface: #16271d;
  --line: rgba(255, 255, 255, 0.10);
  --text: #eef2ee;
  --muted: #9aa79d;
  --accent: #1f9442;          /* rich green fill (white text readable) */
  --accent-ink: #43d04a;      /* bright green for text on the dark bg */
  --accent-strong: #1a8a3d;
  --accent-grad: linear-gradient(140deg, #37c93c 0%, #1f9442 50%, #0f4a26 100%);
  --nav-bg: rgba(13, 23, 18, 0.72);
  --grain: rgba(255, 255, 255, 0.04);
  --btn-ink: #ffffff;         /* text colour on green fills */
  --btn-grad: linear-gradient(150deg, #58c651 0%, #2ba043 100%); /* lighter, like the Rast card */

  --font-display: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-serif: "Instrument Serif", serif;

  --radius: 18px;
  --radius-lg: 26px;
  --btn-radius: 14px;         /* button rounding — matches the original site */
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Bold accent — same in light & dark */
  --ink-on-orange: #ffffff;
}

/* ---- Light theme (primary — matches the reference) ---- */
:root[data-theme="light"] {
  --bg: #f1f0ed;              /* light warm grey — between the old grey and white */
  --bg-soft: #e9e8e4;
  --surface: #faf9f7;         /* soft card surface, a touch lighter than bg */
  --line: rgba(20, 16, 12, 0.12);
  --text: #191510;           /* near-black text */
  --muted: #6d685f;
  --accent: #1c8a3c;          /* rich green (white text readable) */
  --accent-ink: #157a35;      /* deeper green so text reads on the light grey */
  --accent-strong: #17753a;
  --accent-grad: linear-gradient(140deg, #34c53a 0%, #1c8a3a 50%, #0f4423 100%);
  --nav-bg: rgba(241, 240, 237, 0.82);
  --grain: rgba(20, 16, 12, 0.04);
  --btn-ink: #ffffff;         /* white text on green fills */
  --btn-grad: linear-gradient(150deg, #54c24c 0%, #269a3c 100%); /* lighter, like the Rast card */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: clamp(62px, 9vw, 116px) 0; }

/* ---------- Typography helpers ---------- */
.section__label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section__label::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent-ink);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.accent-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-ink);
  letter-spacing: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 28px;
  border-radius: var(--btn-radius);
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  will-change: transform;
}
.btn--primary {
  background: var(--btn-grad);
  color: var(--btn-ink);
}
.btn--primary:hover { transform: translateY(-3px); filter: brightness(1.05); }
.btn--ghost {
  border: 1px solid var(--line);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent-ink); color: var(--accent-ink); transform: translateY(-3px); }
.btn--full { width: 100%; }
/* keep the hover lift on buttons that also use the reveal fade-in
   (otherwise .reveal.is-visible { transform: none } cancels it) */
.btn.reveal:hover { transform: translateY(-3px); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent);
  z-index: 200;
  transition: width 0.1s linear;
}

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: padding 0.4s var(--ease), background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 12px 0;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__logo { color: var(--text); display: flex; }
.nav__logo svg { height: 30px; width: auto; }

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.25s;
}
.nav__link:hover, .nav__link.is-active { color: var(--accent-ink); }
.nav__cta.is-active { color: var(--btn-ink); } /* CTA keeps white text even when its section is active */
.nav__cta {
  color: var(--btn-ink);
  background: var(--btn-grad);
  padding: 10px 22px;
  border-radius: var(--btn-radius);
  transition: filter 0.25s, transform 0.3s var(--ease);
}
.nav__cta:hover { color: var(--btn-ink); filter: brightness(1.05); transform: translateY(-2px); }

/* ---------- Theme toggle (sliding pill) ---------- */
.nav__controls { display: flex; align-items: center; gap: 14px; }
.theme-toggle {
  position: relative;
  width: 72px;
  height: 36px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 9px;
  flex-shrink: 0;
  transition: border-color 0.25s, background 0.3s var(--ease);
}
.theme-toggle:hover { border-color: var(--accent-ink); }
/* sliding knob */
.theme-toggle__knob {
  position: absolute;
  top: 50%;
  left: 4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
  transition: transform 0.4s var(--ease), background 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  z-index: 1;
}
/* dark theme -> knob on the right (moon side) */
:root:not([data-theme="light"]) .theme-toggle__knob { transform: translateY(-50%) translateX(34px); }
/* light theme -> knob on the left (sun side) */
:root[data-theme="light"] .theme-toggle__knob { transform: translateY(-50%) translateX(0); }

.theme-toggle svg {
  position: relative;
  z-index: 2;
  width: 17px; height: 17px;
  transition: color 0.3s var(--ease), opacity 0.3s;
}
.theme-toggle .icon-sun { color: var(--muted); }
.theme-toggle .icon-moon { color: var(--muted); }
/* highlight the icon the knob is currently sitting on */
:root[data-theme="light"] .theme-toggle .icon-sun { color: var(--btn-ink); }
:root:not([data-theme="light"]) .theme-toggle .icon-moon { color: var(--btn-ink); }

.nav__burger { display: none; flex-direction: column; gap: 6px; width: 30px; padding: 4px; z-index: 110; }
.nav__burger span { display: block; height: 2px; width: 100%; background: var(--text); transition: transform 0.35s var(--ease), opacity 0.25s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 55% at 82% 12%, rgba(52, 197, 58, 0.30), transparent 62%);
  transform-origin: 82% 12%;
  animation: heroGlow 12s ease-in-out infinite;
}
@keyframes heroGlow {
  0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.85; }
  50% { transform: scale(1.14) translate(-1.2%, 1.4%); opacity: 1; }
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--grain) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 75%);
}
.hero__inner { position: relative; z-index: 1; padding-top: 90px; max-width: 900px; }
.hero__eyebrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 26px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin-bottom: 30px;
}
.hero__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 40px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--accent-grad);
  padding: 18px 0;
}
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--ink-on-orange);
  white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.about__media { position: relative; }
.about__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 5 / 6;
  object-fit: cover;
  border: 1px solid var(--line);
}
.about__badge {
  position: absolute;
  bottom: -24px; right: -18px;
  background: var(--accent);
  color: var(--btn-ink);
  border-radius: 20px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.4);
}
.about__badge strong { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; line-height: 1; }
.about__badge span { font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; line-height: 1.15; }

.about__text { color: var(--muted); margin-top: 22px; max-width: 560px; }
.about__text strong { color: var(--text); font-weight: 600; }
.about__services {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin: 32px 0 34px;
}
.about__services li {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  padding-left: 26px;
  position: relative;
}
.about__services li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent-ink);
}

/* about — experience */
.about__exp { margin: 32px 0; }
.about__exp-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 16px;
}
.about__exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about__exp-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.25s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.about__exp-item:hover { border-color: rgba(28, 138, 60, 0.4); transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08); }
.about__exp-year { font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; color: var(--accent-ink); }
.about__exp-item strong { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; }
.about__exp-role { color: var(--muted); font-size: 0.88rem; }
@media (max-width: 520px) { .about__exp-grid { grid-template-columns: 1fr; } }

/* ---------- Clients logos (inside contact, on the green bg) ---------- */
.contact__clients { margin-top: 36px; max-width: 440px; }
.contact__clients .contact__label { display: block; margin-bottom: 16px; }
.logos-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.logos-marquee__track {
  display: flex;
  align-items: center;
  gap: 42px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.logos-marquee img {
  height: 25px;
  width: auto;
  filter: brightness(0) invert(1); /* white logos to fit the green background */
  opacity: 0.72;
}

/* ---------- Work ---------- */
.work__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.work__filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 100px;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.filter:hover { color: var(--text); border-color: var(--muted); }
.filter.is-active { color: var(--btn-ink); background: var(--accent); border-color: var(--accent-ink); }

.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease), border-color 0.3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(28, 138, 60, 0.45); }
.card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s;
}
.card:hover img { transform: scale(1.06); }
.card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(to top, rgba(10,10,12,0.9) 8%, rgba(10,10,12,0.15) 55%, transparent);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.card:hover .card__overlay { opacity: 1; transform: translateY(0); }
.card__cat {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4ad155;
  margin-bottom: 6px;
}
.card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: #f4f3f1;
}
.card__hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: #4ad155;
}
.card__hint span { transition: transform 0.3s var(--ease); }
.card:hover .card__hint span { transform: translateX(4px); }
.card.is-hidden { display: none; }
.work__more { text-align: center; margin-top: 46px; }

/* ---------- Services / Journey ---------- */
.services__head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 70px); }
.services__lead { color: var(--muted); margin-top: 20px; }
.journey {
  list-style: none;
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.journey__step {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.journey__step:hover { transform: translateY(-6px); border-color: rgba(28, 138, 60, 0.45); }
.journey__num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-ink);
}
.journey__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--accent-ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 16px 0 20px;
}
.journey__icon svg { width: 26px; height: 26px; }
.journey__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.journey__text { color: var(--muted); font-size: 0.98rem; }

/* Colour-coded category cards: web = purple, design = green, marketing = blue */
.journey__step--web,
.journey__step--design,
.journey__step--marketing { display: flex; flex-direction: column; align-items: flex-start; }
.journey__step--web {
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.08), transparent 46%), var(--surface);
}
.journey__step--design {
  background: linear-gradient(180deg, rgba(28, 138, 60, 0.08), transparent 46%), var(--surface);
}
.journey__step--marketing {
  background: linear-gradient(180deg, rgba(47, 111, 228, 0.08), transparent 46%), var(--surface);
}
.journey__step--web .journey__icon,
.journey__step--design .journey__icon,
.journey__step--marketing .journey__icon { color: #ffffff; border-color: transparent; }
.journey__step--web .journey__icon { background: linear-gradient(150deg, #9061ff, #6a30d9); }
.journey__step--design .journey__icon { background: var(--btn-grad); }
.journey__step--marketing .journey__icon { background: linear-gradient(150deg, #4f9dff, #2354cc); }
.journey__step--web .journey__num { color: #7c3aed; }
.journey__step--design .journey__num { color: var(--accent-ink); }
.journey__step--marketing .journey__num { color: #2f6fe4; }
.journey__step--web:hover { border-color: rgba(124, 58, 237, 0.45); }
.journey__step--design:hover { border-color: rgba(28, 138, 60, 0.45); }
.journey__step--marketing:hover { border-color: rgba(47, 111, 228, 0.45); }

/* expandable list of concrete services inside each card */
.journey__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
  transition: color 0.25s;
}
.journey__step--web .journey__toggle:hover { color: #7c3aed; }
.journey__step--design .journey__toggle:hover { color: var(--accent-ink); }
.journey__step--marketing .journey__toggle:hover { color: #2f6fe4; }
.journey__toggle { margin-top: auto; }
.journey__toggle svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.journey__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
/* active category card gets a coloured ring */
.journey__step--web.is-selected { border-color: rgba(124, 58, 237, 0.5); }
.journey__step--design.is-selected { border-color: rgba(28, 138, 60, 0.5); }
.journey__step--marketing.is-selected { border-color: rgba(47, 111, 228, 0.5); }

/* the whole card is clickable to reveal its services beside it */
.journey__step { cursor: pointer; }

/* expanded state: selected card slides to the first slot, services fill the rest */
.journey.is-expanded .journey__arrow,
.journey.is-expanded .journey__step:not(.is-selected) { display: none; }
.journey__step.is-selected { will-change: transform; }
.journey__step.is-selected:hover { transform: none; }
.journey__step.is-returning { animation: cardReturn 0.5s var(--ease) both; }
@keyframes cardReturn { from { opacity: 0; transform: translateY(10px) scale(0.97); } to { opacity: 1; transform: none; } }

/* services panel that appears next to the selected card */
.journey__panel {
  flex: 1;
  min-width: 0;
  align-self: stretch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.2vw, 30px);
  overflow: hidden;
  will-change: opacity, transform;
}
.journey__panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.journey__panel--web { border-color: rgba(124, 58, 237, 0.35); }
.journey__panel--design { border-color: rgba(28, 138, 60, 0.35); }
.journey__panel--marketing { border-color: rgba(47, 111, 228, 0.35); }
@keyframes svcIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.journey__panel-grid .svc { animation: svcIn 0.4s var(--ease) both; }
.svc {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 16px 18px;
}
.svc strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}
.svc span { color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
.journey__panel--web .svc strong { color: #7c3aed; }
.journey__panel--design .svc strong { color: var(--accent-ink); }
.journey__panel--marketing .svc strong { color: #2f6fe4; }

.services__note { text-align: center; color: var(--muted); font-size: 0.95rem; margin-top: 36px; }
.services__note a { color: var(--accent-ink); }

.journey__arrow {
  display: flex;
  align-items: center;
  color: var(--accent-ink);
  flex-shrink: 0;
  opacity: 0.6;
}
.journey__arrow svg { width: 40px; height: 24px; }
@media (max-width: 860px) {
  .journey { flex-direction: column; align-items: stretch; }
  .journey__arrow { transform: rotate(90deg); align-self: center; margin: -2px 0; }
}

/* ---------- Služby: two parts (dlhodobá / jednorazová) ---------- */
.svc-part + .svc-part { margin-top: clamp(52px, 8vw, 96px); }
.svc-part__head { max-width: 660px; margin-bottom: clamp(28px, 4vw, 44px); }
.svc-part__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.svc-part__title::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent-ink);
  border-radius: 2px;
}
.svc-part__lead { color: var(--muted); margin-top: 16px; }

.svc-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}
.svc-cat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vw, 30px);
}
.svc-cat__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.svc-cat__title::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}
.svc-cat--web .svc-cat__title::before { background: #7c3aed; }
.svc-cat--design .svc-cat__title::before { background: var(--accent); }
.svc-cat--marketing .svc-cat__title::before { background: #2f6fe4; }
.svc-cat ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.svc-cat li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.4;
}
.svc-cat li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
  margin-top: 8px;
  flex-shrink: 0;
}
.svc-cat--web li::before { background: #7c3aed; }
.svc-cat--design li::before { background: var(--accent); }
.svc-cat--marketing li::before { background: #2f6fe4; }
@media (max-width: 860px) {
  .svc-cats { grid-template-columns: 1fr; }
}

/* ---------- Pricing ---------- */
.pricing__head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 66px); }
.pricing__lead { color: var(--muted); margin-top: 20px; }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}
.plan {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 36px);
  height: 100%;
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.pricing__grid .plan:hover { border-color: rgba(28, 138, 60, 0.45); }
/* only the featured (Rast) card grows on hover */
.pricing__grid .plan.plan--featured:hover { transform: translateY(-4px) scale(1.04); z-index: 1; }
.plan--featured {
  border: none;
  background: var(--accent-grad);
  box-shadow: 0 24px 60px rgba(15, 68, 35, 0.34);
  position: relative;
}
/* white content inside the gradient featured card */
.plan--featured .plan__name,
.plan--featured .plan__amount { color: #ffffff; }
.plan--featured .plan__desc,
.plan--featured .plan__period,
.plan--featured .plan__features li { color: rgba(255, 255, 255, 0.92); }
.plan--featured .plan__features li strong { color: #ffffff; }
.plan--featured .plan__price { border-bottom-color: rgba(255, 255, 255, 0.28); }
.plan--featured .plan__features li::before { color: #ffffff; }
.plan--featured .btn--primary {
  background: #ffffff;
  color: var(--accent-ink);
}
.plan--featured .btn--primary:hover { background: #ffffff; transform: translateY(-3px); }
.plan__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.plan__name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.01em; }
.plan__desc { color: var(--muted); font-size: 0.95rem; margin: 8px 0 20px; }
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.plan__amount { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; letter-spacing: -0.02em; }
.plan__period { color: var(--muted); font-size: 0.95rem; }
.plan__features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.plan__features li {
  position: relative;
  padding-left: 28px;
  font-size: 0.97rem;
  color: var(--text);
}
.plan__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-ink);
  font-weight: 700;
}
.plan__features em { font-style: normal; color: var(--muted); }
.pricing__note { text-align: center; color: var(--muted); font-size: 0.92rem; margin-top: 36px; }
.pricing__note a { color: var(--accent-ink); }
@media (max-width: 860px) {
  .pricing__grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
}

/* ---------- FAQ ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.faq__intro { position: static; }
.faq__lead { color: var(--muted); margin: 22px 0 30px; max-width: 380px; }
.faq__list { display: flex; flex-direction: column; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  text-align: left;
  padding: 26px 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: var(--text);
  transition: color 0.25s;
}
.faq__q:hover { color: var(--accent-ink); }
.faq__icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
  transition: background 0.3s, border-color 0.3s;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  transition: transform 0.3s var(--ease), background 0.3s;
}
.faq__icon::before { width: 12px; height: 2px; }
.faq__icon::after { width: 2px; height: 12px; }
.faq__item.is-open .faq__icon { background: var(--accent); border-color: var(--accent-ink); }
.faq__item.is-open .faq__icon::before,
.faq__item.is-open .faq__icon::after { background: var(--btn-ink); }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq__a p { color: var(--muted); padding: 0 4px 28px; max-width: 620px; }

/* ---------- Contact ---------- */
.contact { background: #1a7d38; } /* bold brand-green section */
.contact .section__title { color: #ffffff; }
.contact .section__label { color: #cdeed6; }
.contact .section__label::before { background: #cdeed6; }
.contact .accent-serif { color: #d9f2e0; }
.contact .contact__text { color: rgba(255, 255, 255, 0.88); }
.contact .contact__label { color: rgba(255, 255, 255, 0.72); }
.contact .contact__list a, .contact .contact__place { color: #ffffff; }
.contact .contact__list a:hover { color: #cdeed6; }
.contact .socials a { color: #ffffff; border-color: rgba(255, 255, 255, 0.32); }
.contact .socials a:hover { color: #1a7d38; background: #ffffff; border-color: #ffffff; }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact__text { color: var(--muted); margin: 22px 0 34px; max-width: 440px; }
.contact__list { list-style: none; display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.contact__list li { display: flex; flex-direction: column; gap: 4px; }
.contact__label {
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact__list a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  transition: color 0.25s;
}
.contact__list a:hover { color: var(--accent-ink); }
.contact__place {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

/* profile person card */
.contact__person {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 4px 0 34px;
}
.contact__person img {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.contact__person strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.contact__person span { color: var(--muted); font-size: 0.95rem; }

.contact__social { display: flex; flex-direction: column; gap: 14px; }
.socials { display: flex; flex-wrap: wrap; gap: 12px; }
.socials a {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.3s var(--ease);
}
.socials a svg { width: 20px; height: 20px; }
.socials a:hover {
  color: var(--btn-ink);
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.contact__right { display: flex; flex-direction: column; gap: 24px; }
.contact__card {
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10);
}
.contact__card-photo {
  width: 104px;
  height: 104px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 1px solid var(--line);
}
.contact__card-body strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.contact__card-role {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-ink);
}
.contact__card-note { color: var(--muted); font-size: 0.92rem; margin-top: 10px; }

.contact__form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: vertical;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236d685f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent-ink);
  box-shadow: 0 0 0 3px rgba(28, 138, 60, 0.20);
}
.field input::placeholder, .field textarea::placeholder { color: #6c6a64; }
.form__note { font-size: 0.9rem; color: var(--accent-ink); min-height: 1em; text-align: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__logo { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.01em; }
.footer__logo span { color: var(--accent-ink); }
.footer__copy { color: var(--muted); font-size: 0.9rem; }
.footer__top {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.25s;
}
.footer__top:hover { color: var(--accent-ink); }
.footer__legal {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: 0.88rem;
}
.footer__legal a, .footer__link-btn {
  color: var(--muted);
  font: inherit;
  transition: color 0.25s;
}
.footer__legal a:hover, .footer__link-btn:hover { color: var(--accent-ink); }
.footer__bottom { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- Cookie consent ---------- */
.cookie {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: min(920px, calc(100% - 32px));
  z-index: 250;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  padding: 18px 20px;
}
.cookie[hidden] { display: none; }
.cookie__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie__text { color: var(--muted); font-size: 0.9rem; flex: 1 1 320px; line-height: 1.55; }
.cookie__text a { color: var(--accent-ink); text-decoration: underline; }
.cookie__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie__btn { padding: 10px 18px; font-size: 0.85rem; }
@media (max-width: 560px) {
  .cookie__actions { width: 100%; }
  .cookie__btn { flex: 1 1 auto; }
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: grid;
  place-items: center;
  padding: 20px;
}
.cookie-modal[hidden] { display: none; }
.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 8, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.cookie-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: 88vh;
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
}
.cookie-modal__dialog h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.01em; }
.cookie-modal__dialog > p { color: var(--muted); margin: 10px 0 20px; font-size: 0.95rem; }
.cookie-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
}
.cookie-opt span { display: flex; flex-direction: column; }
.cookie-opt strong { font-family: var(--font-display); font-weight: 600; }
.cookie-opt small { color: var(--muted); font-size: 0.82rem; margin-top: 3px; }
.cookie-opt input { width: 20px; height: 20px; accent-color: var(--accent); flex-shrink: 0; }
.cookie-modal__actions { display: flex; gap: 12px; margin-top: 24px; }
.cookie-modal__actions .btn { flex: 1; }

/* ---------- Legal pages ---------- */
.legal { padding-top: 130px; padding-bottom: clamp(60px, 10vw, 110px); }
.legal__inner { max-width: 820px; }
.legal__back {
  display: inline-block;
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 28px;
}
.legal h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.legal__updated { color: var(--muted); font-size: 0.9rem; margin: 14px 0 40px; }
.legal h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; margin: 40px 0 12px; letter-spacing: -0.01em; }
.legal h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--muted); line-height: 1.75; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 16px 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent-ink); text-decoration: underline; }
.legal strong { color: var(--text); }
.legal__box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 8px 0 24px;
}
.legal__box p:last-child { margin-bottom: 0; }

/* ---------- Project modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 8, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: 90vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.35s var(--ease);
}
.modal.is-open .modal__dialog { transform: none; }
.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.25s, color 0.25s;
}
.modal__close:hover { background: var(--accent); color: var(--btn-ink); }
.modal__close svg { width: 18px; height: 18px; }
.modal__media { position: relative; min-height: 100%; }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__content {
  padding: clamp(28px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.modal__content::-webkit-scrollbar { width: 8px; }
.modal__content::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 100px;
}
.modal__cat {
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 12px;
}
.modal__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.modal__subtitle { color: var(--muted); margin-top: 10px; }
.modal__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.tag {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--muted);
}
.modal__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 2px 0 22px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; }
.stat strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  color: var(--accent-ink);
}
.stat span { color: var(--muted); font-size: 0.82rem; max-width: 140px; }
.modal__body { margin-bottom: 26px; }
.modal__body p { color: var(--muted); }
.modal__body p + p { margin-top: 14px; }
.modal__body strong { color: var(--text); font-weight: 700; }
.modal__content .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 720px) {
  .modal__dialog { grid-template-columns: 1fr; overflow-y: auto; }
  .modal__media { height: 220px; min-height: 0; }
  .modal__content { max-height: none; overflow-y: visible; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; }
  .faq__intro { position: static; }
  .work__grid { grid-template-columns: repeat(2, 1fr); }

  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 340px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 26px;
    padding: 40px;
    background: var(--bg-soft);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__link { font-size: 1.3rem; }
  .nav__burger { display: flex; }
}

@media (max-width: 560px) {
  .work__grid { grid-template-columns: 1fr; }
  .about__services { grid-template-columns: 1fr; }
  .hero__actions .btn, .contact__form .btn { width: 100%; }
  .about__badge { right: 0; }
  .card__overlay { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
