:root {
  --bg: #080808;
  --bg-soft: #0d0d0e;
  --surface: #121214;
  --surface-2: #19191c;
  --surface-3: #222226;
  --text: #f2f2f2;
  --muted: #a0a0a7;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --red: #e1192d;
  --red-bright: #ff263d;
  --burgundy: #5f0713;
  --burgundy-dark: #260308;
  --black: #050505;
  --header-height: 74px;
  --container: 1180px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 12px);
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 12%, rgba(160, 10, 28, 0.14), transparent 32rem),
    linear-gradient(180deg, #090909 0%, #0b0b0c 55%, #070707 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

::selection {
  color: white;
  background: var(--red);
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.section-pad {
  padding: 82px 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red-bright);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Archivo Black", sans-serif;
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

h1 {
  max-width: 770px;
  margin-bottom: 22px;
  font-size: clamp(3.35rem, 7.2vw, 7rem);
}

h1 span {
  color: var(--red-bright);
  text-shadow: 0 0 34px rgba(225, 25, 45, 0.32);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.25rem, 4.7vw, 4.5rem);
}

h3 {
  margin-bottom: 10px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.55rem;
  line-height: 1.05;
  text-transform: uppercase;
}

p {
  margin-bottom: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(6, 6, 7, 0.88);
  backdrop-filter: blur(16px);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 150px;
  height: 2px;
  background: linear-gradient(90deg, var(--red-bright), transparent);
}

.nav-wrap {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 45%),
    linear-gradient(145deg, var(--red-bright), var(--burgundy));
  box-shadow: 0 0 24px rgba(225, 25, 45, 0.23);
  font-family: "Archivo Black", sans-serif;
  transform: skewX(-6deg);
}

.brand-logo {
  width: 40px;
  height: 40px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(225, 25, 45, 0.25));
}

.brand-text {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  color: #d8d8dc;
  transition: color 0.2s ease;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  background: var(--red-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

.main-nav a:hover {
  color: white;
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 10px 17px;
  color: white !important;
  border: 1px solid var(--red-bright);
  background: linear-gradient(135deg, var(--red), var(--burgundy));
  box-shadow: 0 0 22px rgba(225, 25, 45, 0.18);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: white;
  transition: 0.22s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #080809;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(7, 7, 8, 1) 0%, rgba(7, 7, 8, 0.96) 39%, rgba(7, 7, 8, 0.32) 70%, rgba(7, 7, 8, 0.18) 100%),
    linear-gradient(180deg, transparent 65%, #080809 100%);
}

.hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -5;
  width: min(60vw, 920px);
  height: 100%;
  background-image: url("../assets/hero-workshop.jpg");
  background-position: center;
  background-size: cover;
  filter: saturate(0.72) contrast(1.18) brightness(0.75);
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #080809 0%, transparent 44%),
    linear-gradient(180deg, rgba(50, 0, 7, 0.12), rgba(0, 0, 0, 0.48));
  mix-blend-mode: multiply;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(circle at 79% 42%, rgba(225, 25, 45, 0.15), transparent 33%),
    repeating-linear-gradient(115deg, transparent 0 58px, rgba(255, 255, 255, 0.014) 59px 60px);
}

.hero-content {
  position: relative;
  padding-top: 66px;
  padding-bottom: 66px;
}

.hero-copy {
  max-width: 760px;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 28px;
  color: #c0c0c5;
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  line-height: 1.65;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  border-color: var(--red-bright);
  background: linear-gradient(135deg, var(--red-bright), var(--burgundy));
  box-shadow: 7px 7px 0 rgba(65, 4, 12, 0.75), 0 0 30px rgba(225, 25, 45, 0.17);
}

.btn-primary:hover {
  box-shadow: 4px 4px 0 rgba(65, 4, 12, 0.75), 0 0 34px rgba(225, 25, 45, 0.28);
}

.btn-secondary {
  color: white;
  background: rgba(16, 16, 18, 0.78);
}

.btn-secondary:hover {
  border-color: var(--red-bright);
  background: rgba(45, 5, 11, 0.92);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding: 9px 13px 9px 27px;
  color: #dedee2;
  border: 1px solid var(--line);
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(8px);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.93rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 50%;
  width: 7px;
  height: 7px;
  background: var(--red-bright);
  transform: translateY(-50%) rotate(45deg);
  box-shadow: 0 0 10px rgba(255, 38, 61, 0.58);
}

/* Shared headings */
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 34px;
}

.section-head h2 {
  max-width: 880px;
  margin-bottom: 0;
}

/* Services */
.services {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 18%),
    var(--bg-soft);
}

.services::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 36%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.service-card {
  position: relative;
  min-height: 210px;
  padding: 23px 22px 21px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 42%),
    var(--surface);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--red-bright), var(--burgundy), transparent 82%);
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -44px;
  top: -44px;
  width: 100px;
  height: 100px;
  border: 1px solid rgba(225, 25, 45, 0.18);
  transform: rotate(45deg);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 38, 61, 0.5);
  background:
    linear-gradient(145deg, rgba(225, 25, 45, 0.09), transparent 42%),
    #151518;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card > span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--red-bright);
  font-family: "Archivo Black", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin-bottom: 9px;
  color: white;
}

.service-card p {
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.55;
}

/* Pricing */
.pricing {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 14% 42%, rgba(126, 5, 21, 0.18), transparent 27rem),
    #09090a;
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 58px;
}

.pricing-copy {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.pricing-copy h2 {
  max-width: 510px;
}

.pricing-copy > p:not(.eyebrow) {
  max-width: 500px;
  margin-bottom: 22px;
  color: var(--muted);
  line-height: 1.68;
}

.text-link {
  display: inline-block;
  color: white;
  border-bottom: 1px solid var(--red-bright);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.text-link:hover {
  padding-left: 5px;
  color: var(--red-bright);
}

.price-list {
  border-top: 1px solid var(--line-strong);
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  min-height: 68px;
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
  transition: background 0.18s ease, padding-left 0.18s ease;
}

.price-row:hover {
  padding-left: 22px;
  background: linear-gradient(90deg, rgba(225, 25, 45, 0.11), transparent 72%);
}

.price-row span {
  color: #d2d2d6;
  font-size: 0.93rem;
  line-height: 1.45;
}

.price-row strong {
  max-width: 290px;
  color: white;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.04rem;
  line-height: 1.25;
  text-align: right;
}

/* Limits ("Czego nie zrobię?") — deliberately smaller than Pricing */
.limits {
  position: relative;
  padding: 58px 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.limits::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 90px;
  height: 2px;
  background: var(--red-bright);
  transform: translateX(-50%);
}

.limits-inner {
  max-width: var(--container);
}

.limits-list {
  border-top: 1px solid var(--line-strong);
}

.limits-row {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding: 19px 14px;
  border-bottom: 1px solid var(--line);
  transition: background 0.18s ease, padding-left 0.18s ease;
}

.limits-row:hover {
  padding-left: 20px;
  background: linear-gradient(90deg, rgba(225, 25, 45, 0.1), transparent 75%);
}

.limits-term {
  position: relative;
  padding-left: 18px;
  color: white;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.limits-term::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--red-bright);
  transform: translateY(-50%) rotate(45deg);
  box-shadow: 0 0 10px rgba(255, 38, 61, 0.5);
}

.limits-desc {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Gallery */
.gallery {
  position: relative;
  background: var(--bg-soft);
}

.gallery::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 42%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red));
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 250px;
  gap: 12px;
}

.gallery-item {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent),
    #141416;
  box-shadow: none;
  cursor: pointer;
  text-align: left;
  appearance: none;
  isolation: isolate;
}

.gallery-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.78) 100%);
  opacity: 0.25;
  transition: opacity 0.3s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border: 0 solid var(--red-bright);
  transition: border-width 0.2s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.84) contrast(1.06);
  transition: transform 0.48s cubic-bezier(0.2, 0.75, 0.2, 1), filter 0.35s ease;
}

.gallery-overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 57%;
  padding: 68px 22px 20px;
  color: white;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.72) 34%, rgba(15, 0, 3, 0.98) 100%);
  transform: translateY(calc(100% - 18px));
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.22, 0.8, 0.22, 1), opacity 0.25s ease;
}

.gallery-label {
  display: inline-block;
  margin-bottom: 7px;
  padding: 4px 8px;
  color: white;
  background: var(--red);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.71rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.gallery-overlay strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.35rem, 2.25vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
}

.gallery-description {
  max-width: 610px;
  margin-top: auto;
  color: #d1d1d6;
  font-size: 0.88rem;
  line-height: 1.45;
}

.gallery-tap-hint {
  display: none;
  margin-top: 11px;
  color: #8e8e95;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover::before,
  .gallery-item:focus-visible::before {
    opacity: 1;
  }

  .gallery-item:hover::after,
  .gallery-item:focus-visible::after {
    border-width: 2px;
  }

  .gallery-item:hover img,
  .gallery-item:focus-visible img {
    transform: scale(1.055);
    filter: saturate(0.65) contrast(1.14) brightness(0.72);
  }

  .gallery-item:hover .gallery-overlay,
  .gallery-item:focus-visible .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
  }
}

.gallery-item:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
}

/* Contact */
.contact {
  position: relative;
  background:
    radial-gradient(circle at 80% 40%, rgba(122, 5, 21, 0.21), transparent 29rem),
    #080809;
}

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.25fr);
  gap: 42px;
  padding: 38px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent 36%),
    linear-gradient(135deg, #151517, #0c0c0d);
  box-shadow: var(--shadow);
}

.contact-copy h2 {
  width: 100%;
  max-width: 430px;
  font-size: clamp(2rem, 3.25vw, 3.15rem);
  line-height: 1;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.contact-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--red-bright), var(--burgundy), transparent 75%);
}

.contact-card::after {
  content: "T";
  position: absolute;
  right: -20px;
  bottom: -95px;
  color: rgba(255, 255, 255, 0.025);
  font-family: "Archivo Black", sans-serif;
  font-size: 18rem;
  line-height: 1;
  pointer-events: none;
}

.contact-copy,
.contact-details {
  position: relative;
  z-index: 1;
}

.contact-copy h2 {
  max-width: 560px;
  margin-bottom: 14px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 470px;
  color: var(--muted);
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-details > a,
.contact-details > div {
  min-width: 0;
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(5, 5, 6, 0.55);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.contact-details > a:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 38, 61, 0.58);
  background: rgba(62, 4, 13, 0.42);
}

.contact-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 38, 61, 0.35);
  background: rgba(225, 25, 45, 0.1);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--red-bright);
}

.contact-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-text > span {
  color: var(--muted);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-text strong {
  overflow-wrap: anywhere;
  color: white;
  font-size: 0.91rem;
  line-height: 1.35;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #050505;
}

.footer-grid {
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.footer-brand .brand-mark {
  width: 31px;
  height: 31px;
  font-size: 0.8rem;
}

.footer-brand .brand-logo {
  width: 31px;
  height: 31px;
}

.footer-brand .brand-text {
  font-size: 1.02rem;
}

.footer-links {
  display: flex;
  gap: 22px;
  color: #aaaab0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: var(--red-bright);
}

.copyright {
  justify-self: end;
  margin: 0;
  color: #77777d;
  font-size: 0.76rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.62s ease, transform 0.62s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tablet */
@media (max-width: 980px) {
  .section-pad {
    padding: 68px 0;
  }

  .hero-photo {
    width: 72vw;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(7, 7, 8, 1) 0%, rgba(7, 7, 8, 0.94) 48%, rgba(7, 7, 8, 0.46) 82%, rgba(7, 7, 8, 0.25) 100%),
      linear-gradient(180deg, transparent 62%, #080809 100%);
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pricing-copy {
    position: static;
  }

  .limits {
    padding: 46px 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 225px;
  }

  .gallery-large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }
}

/* Touch gallery */
@media (hover: none), (pointer: coarse) {
  .gallery-item.is-active::before {
    opacity: 1;
  }

  .gallery-item.is-active::after {
    border-width: 2px;
  }

  .gallery-item.is-active img {
    transform: scale(1.035);
    filter: saturate(0.66) contrast(1.12) brightness(0.68);
  }

  .gallery-item.is-active .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
  }

  .gallery-item.is-active .gallery-tap-hint {
    display: inline-block;
    position: absolute;
    top: 14px;
    right: 14px;
    margin: 0;
    text-align: right;
  }
}

/* Mobile */
@media (max-width: 760px) {
  :root {
    --header-height: 66px;
  }

  .container {
    width: min(100% - 26px, var(--container));
  }

  .section-pad {
    padding: 55px 0;
  }

  h1 {
    font-size: clamp(3rem, 16.5vw, 5rem);
  }

  h2 {
    font-size: clamp(2.15rem, 11vw, 3.5rem);
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: grid;
    align-content: start;
    gap: 0;
    padding: 15px 13px 24px;
    border-bottom: 1px solid var(--line-strong);
    background: rgba(5, 5, 6, 0.98);
    transform: translateY(-125%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav a {
    padding: 14px 10px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav .nav-cta {
    margin-top: 12px;
    border-bottom: 1px solid var(--red-bright);
    text-align: center;
  }

  .hero {
    min-height: calc(100svh - var(--header-height));
    align-items: end;
  }

  .hero-photo {
    width: 100%;
    height: 100%;
    opacity: 0.64;
    background-position: 62% center;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(7, 7, 8, 0.42) 0%, rgba(7, 7, 8, 0.74) 43%, #080809 88%),
      linear-gradient(90deg, rgba(7, 7, 8, 0.82), rgba(7, 7, 8, 0.26));
  }

  .hero-content {
    padding-top: 72px;
    padding-bottom: 42px;
  }

  .hero-lead {
    font-size: 0.99rem;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-bottom: 22px;
  }

  .btn {
    min-height: 48px;
    padding-inline: 12px;
    font-size: 0.91rem;
  }

  .btn-primary {
    box-shadow: 5px 5px 0 rgba(65, 4, 12, 0.78);
  }

  .hero-points {
    gap: 7px;
  }

  .hero-points li {
    padding: 7px 9px 7px 22px;
    font-size: 0.76rem;
  }

  .hero-points li::before {
    left: 8px;
    width: 6px;
    height: 6px;
  }

  .section-head {
    margin-bottom: 25px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .service-card {
    min-height: 0;
    padding: 18px 17px;
  }

  .service-card > span {
    margin-bottom: 12px;
  }

  .price-row {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 14px 3px;
  }

  .price-row:hover {
    padding-left: 8px;
  }

  .price-row strong {
    max-width: none;
    text-align: left;
  }

  .limits {
    padding: 38px 0;
  }

  .limits-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 15px 4px;
  }

  .limits-row:hover {
    padding-left: 4px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 184px;
    gap: 8px;
  }

  .gallery-large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-overlay {
    min-height: 74%;
    padding: 55px 14px 16px;
  }

  .gallery-overlay strong {
    font-size: 1.22rem;
  }

  .gallery-description {
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .contact-card {
    gap: 25px;
    padding: 25px 17px 19px;
  }

  .contact-details {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-details > a,
  .contact-details > div {
    min-height: 70px;
    padding: 11px;
  }

  .footer-grid {
    min-height: auto;
    grid-template-columns: 1fr auto;
    padding: 18px 0;
  }

  .footer-links {
    display: none;
  }

  .copyright {
    font-size: 0.7rem;
  }
}

@media (max-width: 430px) {
  .hero-actions {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 158px;
  }

  .gallery-large {
    min-height: 320px;
  }

  .gallery-label {
    font-size: 0.63rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
