:root {
  --black: #0e0e0e;
  --white: #ffffff;
  --cream: #f6f4f0;
  --gold: #b9975b;
  --gray: #8a8a8a;
  --line: #e2dfd9;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  animation: bodyFadeIn 1s var(--ease) forwards;
  overflow-x: hidden;
  width: 100%;
}

@keyframes bodyFadeIn {
  to { opacity: 1; }
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.5px;
}

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

a { color: inherit; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }
.reveal-delay-5 { transition-delay: 0.6s; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  position: relative;
  padding: 18px 46px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid currentColor;
  overflow: hidden;
  z-index: 1;
  transition: color 0.5s var(--ease);
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
  z-index: -1;
}
.btn span { position: relative; }

.btn--primary {
  color: var(--black);
  border-color: var(--black);
}
.btn--primary::before { background: var(--black); }
.btn--primary:hover { color: var(--white); }

.btn--outline {
  color: var(--white);
  border-color: var(--white);
}
.btn--outline::before { background: var(--white); }
.btn--outline:hover { color: var(--black); }

/* ===== TYPOGRAPHY HELPERS ===== */
.section-tag {
  display: inline-block;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  font-size: 0.7rem;
  margin-bottom: 18px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 80px;
}
.section-header h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 18px;
}
.section-header p {
  color: var(--gray);
  font-weight: 300;
  letter-spacing: 0.3px;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header.scrolled .logo,
.header.scrolled .nav a { color: var(--black); }
.header.scrolled .burger span { background: var(--black); }

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 92px;
  transition: height 0.4s var(--ease);
}
.header.scrolled .header__inner { height: 76px; }

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  letter-spacing: 4px;
  transition: color 0.5s var(--ease);
}
.logo span {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 6px;
  color: var(--gold);
  font-weight: 400;
  margin-top: 4px;
}

.nav {
  display: flex;
  gap: 48px;
}
.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 6px;
  transition: color 0.5s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
.nav a:hover::after { width: 100%; }

.header__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease), color 0.4s var(--ease);
  margin-left: 24px;
}
.header__social svg { width: 16px; height: 16px; fill: currentColor; }
.header__social:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}
.header.scrolled .header__social {
  border-color: rgba(0, 0, 0, 0.2);
  color: var(--black);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span {
  width: 26px;
  height: 1px;
  background: #fff;
  transition: background 0.5s var(--ease);
}

/* ===== HERO ===== */
.hero {
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: url('https://placehold.co/1920x1080/0a0a0a/0a0a0a?text=+') center/cover no-repeat;
  overflow: hidden;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.75) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  max-width: 800px;
}
.hero__content .section-tag {
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.2s forwards;
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 400;
  margin-bottom: 26px;
  opacity: 0;
  animation: fadeUp 1.1s var(--ease) 0.4s forwards;
}
.hero h1 span { color: var(--gold); font-style: italic; }
.hero p {
  font-size: 1.05rem;
  margin: 0 auto 44px;
  color: #ddd;
  font-weight: 300;
  max-width: 540px;
  opacity: 0;
  animation: fadeUp 1.1s var(--ease) 0.6s forwards;
}
.hero__buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 1.1s var(--ease) 0.8s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  width: fit-content;
  margin: 0 auto;
  z-index: 2;
  color: #fff;
  font-size: 0.65rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: fadeUp 1.1s var(--ease) 1.1s forwards;
}
.hero__scroll::after {
  content: '';
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.4);
  position: relative;
  overflow: hidden;
}
.hero__scroll span::before {
  content: '';
}

/* ===== ABOUT ===== */
.about { padding: 160px 0; }
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 100px;
  align-items: center;
}
.about__image {
  position: relative;
  overflow: hidden;
}
.about__image img {
  filter: grayscale(35%);
  transition: filter 0.8s var(--ease), transform 1.2s var(--ease);
}
.about__image:hover img {
  filter: grayscale(0%);
  transform: scale(1.04);
}
.about__badge {
  position: absolute;
  bottom: -1px;
  right: -1px;
  background: var(--black);
  color: #fff;
  padding: 28px 36px;
  text-align: center;
}
.about__badge strong {
  display: block;
  font-size: 2.4rem;
  font-family: 'Playfair Display', serif;
  color: var(--gold);
}
.about__badge span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ccc;
}

.about__text h2 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 24px; }
.about__text p { color: var(--gray); margin-bottom: 20px; font-weight: 300; }
.about__list { list-style: none; margin-top: 32px; }
.about__list li {
  margin-bottom: 16px;
  font-weight: 400;
  letter-spacing: 0.3px;
  padding-left: 28px;
  position: relative;
}
.about__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 16px;
  height: 1px;
  background: var(--gold);
}

/* ===== OFFER / PRODUCTS ===== */
.offer { padding: 160px 0; background: var(--cream); }
.offer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.offer__card {
  background: var(--white);
  overflow: hidden;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
  position: relative;
}
.offer__card img {
  height: 320px;
  width: 100%;
  object-fit: cover;
  filter: grayscale(45%);
  transition: filter 0.8s var(--ease), transform 1.2s var(--ease);
}
.offer__card:hover img {
  filter: grayscale(0%);
  transform: scale(1.06);
}
.offer__card .offer__card-body {
  padding: 32px 36px 40px;
}
.offer__card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.offer__card p {
  color: var(--gray);
  font-size: 0.92rem;
  font-weight: 300;
  margin-bottom: 22px;
}
.offer__price {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  width: 100%;
}

.offer__more {
  text-align: center;
  margin-top: 70px;
}

/* ===== STATS ===== */
.stats {
  background: var(--black);
  color: #fff;
  padding: 110px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 40px;
}
.stat__number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 10px;
}
.stat__label {
  font-size: 0.7rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* ===== GALLERY ===== */
.gallery { padding: 160px 0; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%);
  transition: filter 0.8s var(--ease), transform 1.4s var(--ease);
}
.gallery__item:hover img {
  filter: grayscale(0%);
  transform: scale(1.08);
}
.gallery__item::after {
  content: attr(data-caption);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.gallery__item:hover::after { opacity: 1; }
.gallery__item { cursor: pointer; }
.gallery__item:focus-visible {
  outline: 2px solid var(--gold, #b9975b);
  outline-offset: 4px;
}

/* ===== REALIZATION MODAL ===== */
.realization-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.realization-modal.active {
  opacity: 1;
  visibility: visible;
}
.realization-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(4px);
}
.realization-modal__dialog {
  position: relative;
  background: #fff;
  max-width: 800px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 10px;
  transform: translateY(40px) scale(0.96);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}
.realization-modal.active .realization-modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.realization-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease);
}
.realization-modal__close:hover { background: var(--gold, #b9975b); color: #1a1a1a; }

.realization-modal__slider {
  position: relative;
  overflow: hidden;
  background: #111;
}
.realization-modal__track {
  display: flex;
  transition: transform 0.5s var(--ease);
}
.realization-modal__track img {
  flex: 0 0 100%;
  width: 100%;
  height: 70vh;
  max-height: 700px;
  object-fit: cover;
  display: block;
}
.realization-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease);
}
.realization-modal__nav:hover { background: var(--gold, #b9975b); color: #1a1a1a; }
.realization-modal__nav--prev { left: 14px; }
.realization-modal__nav--next { right: 14px; }
.realization-modal__nav[hidden] { display: none; }
.realization-modal__dots {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.realization-modal__dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.realization-modal__dots button.active {
  background: var(--gold, #b9975b);
  transform: scale(1.2);
}
.realization-modal__dots[hidden] { display: none; }

.realization-modal__body {
  padding: 28px 32px 36px;
}
.realization-modal__body h3 {
  font-family: 'Playfair Display', serif;
  margin: 8px 0 12px;
  font-size: 1.6rem;
}
.realization-modal__body p {
  color: #555;
  margin: 0;
}
.realization-modal__body p:empty { display: none; }

@media (max-width: 600px) {
  .realization-modal__track img {
    height: 60vh;
  }
  .realization-modal__body { padding: 20px; }
}

/* ===== OPINIONS ===== */
.opinions { padding: 160px 0; background: var(--black); color: #fff; }
.opinions .section-header p { color: #999; }
.opinions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}
.opinion { position: relative; padding-top: 30px; }
.opinion::before {
  content: '“';
  position: absolute;
  top: -30px;
  left: 0;
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--gold);
  line-height: 1;
}
.opinion p {
  font-style: italic;
  margin-bottom: 22px;
  color: #ddd;
  font-weight: 300;
}
.opinion strong {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

/* ===== CTA ===== */
.cta {
  position: relative;
  padding: 140px 0;
  text-align: center;
  color: #fff;
  background: url('https://placehold.co/1920x800/0a0a0a/1a1a1a?text=TITAN+(do+uzupe%C5%82nienia)') center/cover fixed;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}
.cta__inner { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 18px; }
.cta p { color: #ccc; margin-bottom: 36px; font-weight: 300; }

/* ===== CONTACT ===== */
.contact { padding: 160px 0; }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.contact__info h2 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 24px; }
.contact__info p { color: var(--gray); margin-bottom: 30px; font-weight: 300; }
.contact__info ul { list-style: none; }
.contact__info li {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-weight: 300;
  letter-spacing: 0.3px;
}
.contact__info li strong {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  font-weight: 500;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.contact__form h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
  font-weight: 400;
}
.contact__form input,
.contact__form textarea {
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid var(--line);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 300;
  resize: vertical;
  background: transparent;
  transition: border-color 0.4s var(--ease);
}
.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact__form input::placeholder,
.contact__form textarea::placeholder {
  color: var(--gray);
  letter-spacing: 0.5px;
}
.form__info {
  font-size: 0.7rem;
  color: var(--gray);
  letter-spacing: 1px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: #999;
  padding: 100px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 70px;
  border-bottom: 1px solid #2a2a2a;
}
.footer__col .logo { margin-bottom: 18px; color: #fff; }
.footer__col h4 {
  color: #fff;
  margin-bottom: 24px;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}
.footer__col p { font-size: 0.88rem; margin-bottom: 8px; font-weight: 300; }
.footer__col a {
  display: block;
  color: #999;
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 0.88rem;
  font-weight: 300;
  transition: color 0.4s var(--ease), padding-left 0.4s var(--ease);
}
.footer__col a:hover { color: var(--gold); padding-left: 6px; }
.footer__bottom {
  text-align: center;
  padding: 30px 0;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #666;
}

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--black);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
  z-index: 999;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--black); color: #fff; }

/* ===== PAGE HERO (PRODUCTS) ===== */
.page-hero {
  padding: 200px 0 100px;
  background: var(--black);
  color: #fff;
  text-align: center;
}
.page-hero .section-tag { margin-bottom: 22px; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 18px; }
.page-hero h1 span { color: var(--gold); font-style: italic; }
.page-hero p { color: #999; font-weight: 300; max-width: 540px; margin: 0 auto; }

.products { padding: 110px 0 160px; background: var(--cream); }
.offer__grid--products {
  grid-template-columns: repeat(3, 1fr);
}
.category-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
}
.category-filter__item {
  padding: 10px 24px;
  border: 1px solid var(--black);
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--black);
  text-decoration: none;
  transition: all 0.3s ease;
}
.category-filter__item:hover {
  background: var(--black);
  color: #fff;
}
.category-filter__item.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

/* ===== RESPONSIVE ===== */

/* Laptops / small desktops (e.g. 13-14") */
@media (max-width: 1200px) {
  .container { padding: 0 32px; }
  .about__grid { gap: 60px; }
  .contact__grid { gap: 60px; }
  .about, .offer, .gallery, .opinions, .contact { padding: 120px 0; }
  .stats { padding: 90px 0; }
  .stats__grid { gap: 30px; }
  .hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
}

@media (max-width: 992px) {
  .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 60px; }
  .offer__grid, .opinions__grid, .gallery__grid, .offer__grid--products {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 50px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .cta { background-attachment: scroll; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(14,14,14,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { color: #fff; font-size: 0.9rem; }
  .burger { display: flex; }
  .header.scrolled .burger span { background: var(--black); }
  .nav.open ~ .burger span,
  .nav.open + .burger span { background: #fff; }
  .about, .offer, .gallery, .opinions, .contact { padding: 90px 0; }
  .offer__grid, .opinions__grid, .gallery__grid, .offer__grid--products {
    grid-template-columns: 1fr;
  }
  .offer__card img, .gallery__item { height: 340px; aspect-ratio: auto; }
  .footer__inner { grid-template-columns: 1fr; text-align: left; gap: 40px; }

  .section-header { margin-bottom: 50px; }
  .hero__buttons { gap: 14px; }
  .btn { padding: 16px 32px; font-size: 0.7rem; }
  .page-hero { padding: 160px 0 70px; }
  .opinions__grid { gap: 40px; }
  .opinion { padding-top: 24px; }
  .opinion::before { font-size: 3.6rem; top: -22px; }
  .stat__label { letter-spacing: 1.5px; font-size: 0.65rem; }
  .realization-modal { padding: 12px; }
  .realization-modal__body { padding: 20px; }
}

/* Small phones */
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .logo { font-size: 1.2rem; letter-spacing: 2px; }
  .logo span { letter-spacing: 4px; }
  .hero { min-height: 540px; }
  .hero p { font-size: 0.95rem; }
  .hero__buttons { flex-direction: column; align-items: stretch; }
  .hero__buttons .btn { text-align: center; }
  .about, .offer, .gallery, .opinions, .contact, .cta { padding: 70px 0; }
  .stats { padding: 60px 0; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .offer__card .offer__card-body { padding: 24px 22px 28px; }
  .offer__card img, .gallery__item { height: 280px; }
  .about__badge { padding: 18px 22px; }
  .about__badge strong { font-size: 1.9rem; }
  .section-header { margin-bottom: 40px; }
  .contact__form { gap: 22px; }
  .cta { padding: 90px 0; }
  .realization-modal__nav { width: 36px; height: 36px; font-size: 1.4rem; }
  .realization-modal__nav--prev { left: 6px; }
  .realization-modal__nav--next { right: 6px; }
}
