/* ==========================================================================
   Antonio Čađavčan — offer page
   Palette and type derived from the Gymnastic X reference: near-black rack,
   chalk text, one blood-red accent that matches Antonio's own portrait light.
   ========================================================================== */

:root {
  /* Surfaces — the ground stays true black, the cards sit clearly above it. */
  --void: #070708;
  --pit: #0e0e10;
  --steel: #1e1e23;
  --rack: #2b2b32;
  --rack-line: #3a3a42;

  /* Ink */
  --white: #ffffff;
  --chalk: #d6d6d9;
  --mist: #b6b6bd;
  --fog: #9a9aa3;

  /* Accent */
  --blood: #ff2d2d;
  --ember: #ff5a65;
  --blood-soft: rgba(255, 45, 45, 0.14);

  /* Type */
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Space */
  --gutter: 20px;
  --shell: 600px;
  --radius: 4px;

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--void);
  color: var(--chalk);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* Ambient light: the same red glow that is already in Antonio's portrait. */
body::before {
  content: "";
  position: fixed;
  inset: -25% 0 auto 0;
  height: 620px;
  background: radial-gradient(60% 55% at 50% 40%, rgba(255, 45, 45, 0.16), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.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: absolute;
  left: 50%;
  transform: translate(-50%, -200%);
  top: 8px;
  z-index: 50;
  background: var(--blood);
  color: var(--white);
  padding: 10px 16px;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

:focus-visible {
  outline: 2px solid var(--blood);
  outline-offset: 3px;
}

/* --------------------------------------------------------------- eyebrow */
.eyebrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fog);
}

/* ------------------------------------------------------------------ hero */
.hero {
  padding: 44px 0 8px;
  text-align: center;
}

.hero__portrait {
  position: relative;
  width: 132px;
  height: 132px;
  margin: 0 auto 22px;
}

.hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--rack-line);
}

.hero__portrait::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 45, 45, 0.35);
  box-shadow: 0 0 44px rgba(255, 45, 45, 0.28);
  pointer-events: none;
}

.hero__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 10vw, 46px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 10px;
  text-wrap: balance;
}

.hero__role {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid var(--rack-line);
  background: var(--steel);
  padding: 5px 12px;
  margin-bottom: 20px;
}

.hero__bio {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 7px;
  justify-items: center;
}

.hero__bio li {
  position: relative;
  padding-left: 18px;
  max-width: 30ch;
  text-align: left;
  font-size: 15.5px;
  color: var(--chalk);
}

.hero__bio li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 9px;
  height: 2px;
  background: var(--blood);
}

/* ------------------------------------------------------- quick contact */
.quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 40px;
}

.quick__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 12px;
  background: var(--steel);
  border: 1px solid var(--rack-line);
  border-radius: var(--radius);
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--white);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.quick__btn img,
.quick__btn svg { width: 20px; height: 20px; flex: none; }

.quick__btn:hover,
.quick__btn:focus-visible {
  background: var(--rack);
  border-color: var(--fog);
  transform: translateY(-2px);
}

.quick__btn--wa:hover { border-color: #25d366; }

.quick__btn[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}

/* ---------------------------------------------------------- group header */
.group { margin-bottom: 42px; }

.group__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--rack-line);
}

.group__index {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--blood);
}

.group__label {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
}

.group__kicker {
  font-size: 14px;
  color: var(--mist);
  margin: -8px 0 16px;
}

/* ------------------------------------------------------------ offer card */
.card {
  position: relative;
  display: grid;
  grid-template-columns: 14px 68px 1fr 20px;
  align-items: center;
  gap: 0 14px;
  padding: 12px 14px 12px 0;
  margin-bottom: 10px;
  background: var(--steel);
  border: 1px solid var(--rack-line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 6px 18px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.card:hover,
.card:focus-visible {
  background: var(--rack);
  border-color: rgba(255, 45, 45, 0.55);
  transform: translateY(-2px);
}

/* Signature: the load rail. One plate per intensity step, so scanning the
   list reads like plates going onto the bar. */
.card__load {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  height: 100%;
  padding-left: 6px;
}

.card__load i {
  display: block;
  width: 4px;
  height: 8px;
  background: var(--blood);
  opacity: 0.9;
  transition: height 0.2s var(--ease);
}

.card:hover .card__load i { height: 11px; }

.card__thumb {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 3px;
  filter: grayscale(0.35) contrast(1.05);
  transition: filter 0.25s var(--ease);
}

.card:hover .card__thumb { filter: grayscale(0) contrast(1.05); }

.card__body { min-width: 0; }

.card__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 2px;
}

.card__variant {
  display: block;
  color: var(--blood);
  font-weight: 600;
}

.card__summary {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--mist);
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__price {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--white);
}

.card__price span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fog);
  margin-left: 3px;
}

.card__chev {
  width: 20px;
  height: 20px;
  color: var(--fog);
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}

.card:hover .card__chev { transform: translateX(3px); color: var(--blood); }

/* ------------------------------------------------------------ detail page */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 10px;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fog);
  transition: color 0.2s var(--ease);
}
.back:hover { color: var(--white); }
.back svg { width: 18px; height: 18px; }

.topbar__brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog);
}

.detail__figure {
  position: relative;
  margin: 6px 0 22px;
  border: 1px solid var(--rack-line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--steel);
}

.detail__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 7, 8, 0.85), transparent 45%);
}

.detail__tag {
  position: absolute;
  z-index: 2;
  left: 12px;
  top: 12px;
  background: var(--blood);
  color: var(--white);
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
}

.detail__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 8.5vw, 40px);
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 6px;
  text-wrap: balance;
}

.detail__variant {
  display: block;
  color: var(--blood);
  font-size: 0.62em;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

.priceline {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 0 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--rack-line);
}

.priceline__amount {
  font-family: var(--display);
  font-weight: 800;
  font-size: 38px;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--white);
}

.priceline__meta {
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fog);
}

.detail__lead {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--chalk);
  margin: 0 0 26px;
}

.includes { margin: 0 0 30px; }

.includes h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 12px;
}

.includes ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--rack-line);
  border: 1px solid var(--rack-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.includes li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 14px;
  background: var(--steel);
  font-size: 15px;
  color: var(--chalk);
}

.includes li svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 3px;
  color: var(--blood);
}

/* ------------------------------------------------------------------- cta */
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 14px 20px;
  background: var(--blood);
  color: var(--white);
  border: 0;
  border-radius: var(--radius);
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.cta:hover,
.cta:focus-visible {
  background: var(--ember);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(255, 45, 45, 0.3);
}

.cta svg { width: 19px; height: 19px; }

.cta-note {
  display: block;
  text-align: center;
  font-size: 12.5px;
  color: var(--fog);
  margin-top: 10px;
}

.cta-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 48px;
  margin-top: 12px;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid var(--rack-line);
  border-radius: var(--radius);
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--chalk);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.cta-secondary:hover,
.cta-secondary:focus-visible {
  border-color: #25d366;
  color: var(--white);
}

.cta-secondary img { width: 18px; height: 18px; }

.cta-block { margin-bottom: 34px; }

/* ---------------------------------------------------------------- footer */
.footer {
  border-top: 1px solid var(--rack-line);
  margin-top: 10px;
  padding: 26px 0 40px;
  text-align: center;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  margin-bottom: 18px;
}

.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--rack-line);
  border-radius: var(--radius);
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--chalk);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.footer__links a:hover,
.footer__links a:focus-visible {
  border-color: var(--fog);
  color: var(--white);
}

.footer__links svg,
.footer__links img { width: 16px; height: 16px; }

.footer__legal {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--fog);
}

.footer__legal strong {
  display: block;
  color: var(--chalk);
  font-weight: 500;
}

/* ------------------------------------------------------------- disclaimer */
/* Sits below the footer, deliberately quiet: it is required text, not a
   message anyone came here to read. */
.disclaimer {
  border-top: 1px solid var(--rack-line);
  padding: 22px 0 40px;
  max-width: 58ch;
  margin-inline: auto;
  text-align: center;
  text-wrap: pretty;
}

.disclaimer p {
  margin: 0 auto 10px;
  max-width: 58ch;
  font-size: 10.5px;
  line-height: 1.65;
  color: var(--fog);
  text-align: center;
}

.disclaimer p:last-child {
  margin-bottom: 0;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------- legal page */
.legal { padding: 8px 0 40px; }

.legal h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 8vw, 38px);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin: 10px 0 6px;
}

.legal h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin: 30px 0 8px;
}

.legal p,
.legal li { font-size: 15px; line-height: 1.65; }

.legal ul { padding-left: 18px; }
.legal li { margin-bottom: 6px; }

.legal a { color: var(--ember); text-decoration: underline; text-underline-offset: 2px; }

.legal__updated { font-size: 13px; color: var(--fog); }

/* ---------------------------------------------------------------- motion */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: rise 0.5s var(--ease) forwards;
}

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ wider view */
@media (min-width: 480px) {
  .card { grid-template-columns: 14px 84px 1fr 20px; }
  .card__thumb { width: 84px; height: 84px; }
  .card__name { font-size: 21px; }
}

@media (min-width: 700px) {
  :root { --gutter: 28px; --shell: 660px; }
  .hero { padding: 60px 0 8px; }
  .detail__figure { aspect-ratio: 16 / 10; }
}

/* ---------------------------------------------------------------- desktop
   Below 960px the page is one column, the way a phone wants it. Above it the
   layout actually uses the width: the hero splits, the offers run two-up, and
   the service page pins the photo beside the text. */
@media (min-width: 960px) {
  :root {
    --gutter: 40px;
    --shell: 1120px;
  }

  body::before { height: 760px; }

  .hero {
    display: grid;
    grid-template-columns: 260px 1fr;
    align-items: center;
    gap: 0 48px;
    padding: 72px 0 20px;
    text-align: left;
  }

  .hero__portrait {
    width: 260px;
    height: 260px;
    margin: 0;
  }

  .hero__portrait::after { inset: -14px; box-shadow: 0 0 70px rgba(255, 45, 45, 0.3); }

  .hero__name { font-size: 68px; margin-bottom: 14px; }

  .hero__role { margin-bottom: 24px; }

  .hero__bio {
    justify-items: start;
    gap: 9px;
    margin-bottom: 30px;
  }

  .hero__bio li { max-width: none; font-size: 16.5px; }

  .quick {
    grid-template-columns: repeat(2, minmax(0, 210px));
    margin-bottom: 0;
  }

  .group { margin-bottom: 64px; }

  .group__head { padding-bottom: 14px; }

  .group__label { font-size: 26px; }

  .group__kicker { font-size: 15px; margin-bottom: 20px; }

  .group__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
  }

  .card {
    margin-bottom: 0;
    height: 100%;
    padding: 16px 18px 16px 0;
  }

  .card__summary { -webkit-line-clamp: 2; }

  /* The help block keeps its buttons compact instead of stretching them. */
  .group__list + .quick,
  .group .quick { max-width: 440px; }

  /* ---- service page ---- */
  .detail {
    display: grid;
    grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
    gap: 0 48px;
    align-items: start;
    padding-top: 8px;
  }

  .detail__figure {
    position: sticky;
    top: 32px;
    margin: 0;
    aspect-ratio: 1 / 1;
  }

  .detail__main { min-width: 0; }

  .detail__title { font-size: 46px; }

  .priceline { padding-top: 0; }

  .detail__lead { font-size: 17px; }

  .cta-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
  }

  .cta-block .cta {
    order: 1;
    flex: 1 1 auto;
    width: auto;
    white-space: nowrap;
    letter-spacing: 0.07em;
  }

  .cta-block .cta-secondary {
    order: 2;
    flex: 0 0 auto;
    width: auto;
    margin-top: 0;
    min-height: 56px;
    padding: 12px 22px;
    white-space: nowrap;
  }

  .cta-block .cta-note {
    order: 3;
    flex: 1 0 100%;
    margin-top: -2px;
    text-align: left;
  }

  .topbar { padding: 26px 0 18px; }

  .legal { max-width: 760px; }

  .footer { padding: 34px 0 30px; }

  .disclaimer { padding: 24px 0 56px; }
}

/* ---------------------------------------------------------------- cursor */
/* Red pointer across the whole page, so the chrome outside the column and
   the content inside it read as one surface. Mouse users only. */
@media (pointer: fine) {
  html,
  body {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M5 2.5 18.5 11l-6.1 1.4L14.6 19.6l-2.7 1-2.2-7.3L5 17.6z' fill='%23ff2d2d' stroke='%23070708' stroke-width='1.1' stroke-linejoin='round'/%3E%3C/svg%3E") 5 3, auto;
  }

  a,
  button,
  [role="button"],
  .card,
  .cta,
  .quick__btn,
  .cta-secondary {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='9.5' fill='rgba(255,45,45,0.15)' stroke='%23ff2d2d' stroke-width='2'/%3E%3Ccircle cx='14' cy='14' r='2.6' fill='%23ff2d2d'/%3E%3C/svg%3E") 14 14, pointer;
  }

  [aria-disabled="true"] { cursor: not-allowed; }

  p, li, h1, h2, .detail__lead, .legal { cursor: inherit; }
}
