/* ======================
   VARIABLES
====================== */
:root {
  --bg: #0f0f0f;
  --bg-card: #1a1a1a;
  --line: rgba(255,255,255,0.08);

  --text: #ffffff;
  --muted: rgba(255,255,255,0.65);

  --accent: #7ed321;
  --accent2: #ff7a00;

  --radius: 28px;
  --shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* ======================
   BASE
====================== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

/* ======================
   CONTAINER
====================== */
.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* ======================
   HEADER
====================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,15,15,0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.site-logo__main {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.site-logo__sub {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  gap: 24px;
}

.site-nav a {
  color: var(--muted);
  font-size: 14px;
}

.site-nav a:hover {
  color: #fff;
}

.menu-toggle {
  display: none;
}

/* ======================
   BUTTONS
====================== */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.3s;
}

.btn--primary {
  background: var(--accent2);
  color: #fff;
}

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

.btn--secondary {
  border: 1px solid var(--line);
  color: #fff;
}

.btn--secondary:hover {
  background: rgba(255,255,255,0.05);
}

/* ======================
   HERO
====================== */
/*.hero {*/
/*  padding: 80px 0;*/
  
/*}*/

.hero {
  position: relative;
  padding: 100px 0 140px;
  overflow: hidden;
  background: url('/assets/img/hero-bg.jpg') center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(0,0,0,0.82) 0%,
      rgba(0,0,0,0.58) 45%,
      rgba(0,0,0,0.22) 100%
    );
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.55) 45%,
    rgba(0,0,0,0.95) 100%
  );
  z-index: 1;
}

.hero__grid {
  position: relative;
  z-index: 2;
}








.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.05;
  margin: 0 0 20px;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
}

.hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.feature-chip {
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
}

.hero__visual img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
  box-shadow: var(--shadow);
}



/* ======================
   categories section
====================== */
.categories {
  position: relative;
  z-index: 2;
  margin-top: -80px;
  padding: 140px 0 100px;
  background: url('/assets/img/categories-bg.jpg') center/cover no-repeat;
}

.categories::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.70) 28%,
    rgba(0,0,0,0.78) 100%
  );
  z-index: 1;
}

.categories .container {
  position: relative;
  z-index: 2;
}

/* ======================
   editorial
====================== */

.editorial {
  position: relative;
  padding: 120px 0;

  background:
    radial-gradient(circle at center, rgba(126,211,33,0.12), transparent 60%),
    linear-gradient(
      180deg,
      rgba(0,0,0,0.95) 0%,
      rgba(0,0,0,0.7) 50%,
      rgba(0,0,0,0.95) 100%
    );
}

.editorial__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 28px;

  backdrop-filter: blur(8px);
}

/* ======================
   SECTIONS
====================== */
.section {
  padding: 80px 0;
}

.section--dark {
  background: #141414;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 40px;
}

.section-head h2 {
  margin: 0;
  font-size: 34px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

/* ======================
   GRID
====================== */
.cards-grid {
  display: grid;
  gap: 20px;
}

.cards-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ======================
   CARDS
====================== */
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.info-card__image {
  height: 180px;
  background: #2a2a2a;
  border-radius: 20px;
  margin-bottom: 16px;
}

.info-card h3 {
  margin: 0 0 10px;
}

.info-card p {
  color: var(--muted);
}

/* ======================
   PROJECTS
====================== */


.projects {
  position: relative;
  padding: 100px 0 140px;
  overflow: hidden;
  /* Указываем z-index, чтобы создать контекст наложения */
  z-index: 0; 
  background: url('/assets/img/mr_slide_3.jpg') center/cover no-repeat;
}

/* Общий стиль для обоих слоев */
.projects::before,
.projects::after {
  content: "";
  position: absolute;
  /* Уводим слои ПОД контент */
  z-index: -1; 
}

/* Левый боковой градиент */
.projects::before {
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.82) 0%, /* Исправил 0.5 на 0, так как 0.5 — невалидный цвет */
    rgba(0, 0, 0, 0.58) 45%,
    rgba(0, 0, 0, 0.22) 100%
  );
}

/* Нижний затемняющий градиент */
.projects::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.55) 45%,
    rgba(0, 0, 0, 0.95) 100%
  );
}






.project-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.project-card__body {
  padding: 20px;
}

.project-card p {
  color: var(--muted);
}

/* ======================
   FORM
====================== */
.lead-form {
  display: grid;
  gap: 14px;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: #fff;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--accent);
  outline: none;
}

/* ======================
   FOOTER
====================== */
.site-footer {
  padding: 50px 0;
  border-top: 1px solid var(--line);
  background: #0b0b0b;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 30px;
}

.site-footer h4 {
  margin-bottom: 10px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 8px;
  color: var(--muted);
}

/* ======================
   MOBILE
====================== */
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .cards-grid--3 {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ======================
   PAGE HERO
====================== */
.page-hero {
  padding: 78px 0 88px;
  background:
    radial-gradient(circle at top right, rgba(126, 211, 33, 0.10), transparent 24%),
    radial-gradient(circle at bottom left, rgba(255, 122, 0, 0.08), transparent 22%);
}

.page-hero--kitchens {
  position: relative;
  overflow: hidden;
  background: url('/assets/img/kitchens/hero-bg.jpg') center/cover no-repeat;
}

.page-hero--kitchens::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(0,0,0,0.82) 0%,
      rgba(0,0,0,0.58) 45%,
      rgba(0,0,0,0.22) 100%
    );
  z-index: 1;
}

.page-hero--kitchens::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.55) 45%,
    rgba(0,0,0,0.95) 100%
  );
  z-index: 1;
}

.page-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}

.page-hero__content h1 {
  font-size: 58px;
  line-height: 1.05;
  margin: 0 0 20px;
}

.page-hero__content p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  max-width: 720px;
}

.page-hero__visual {
  position: relative;
  min-height: 620px;
}

.page-hero__visual > img {
  width: 100%;
  min-height: 620px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

.page-hero__badge {
  position: absolute;
  right: 22px;
  bottom: 22px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(0,0,0,0.62);
  border: 1px solid var(--line);
  color: #fff;
  font-size: 14px;
  display: grid;
  gap: 10px;
  width: min(420px, 40vw);
}

.page-hero__badge img {
  width: 100%;
  height: auto;
  max-height: 500px;
  border-radius: 12px;
  object-fit: contain;
  min-height: 0;
  box-shadow: none;
}

.page-hero__badge strong {
  display: block;
  font-size: 15px;
  line-height: 1.25;
}

.page-hero__badge span {
  display: block;
  margin-top: 3px;
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  line-height: 1.3;
}

/* ======================
   HOVER EFFECTS
====================== */
.info-card--hover,
.project-card--hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.info-card--hover:hover,
.project-card--hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  border-color: rgba(126, 211, 33, 0.18);
}

.project-card--hover img {
  transition: transform 0.5s ease;
}

.project-card--hover:hover img {
  transform: scale(1.03);
}

/* ======================
   KITCHEN MATERIALS
====================== */
.kitchen-materials {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}

.kitchen-materials__main,
.kitchen-materials__side {
  display: grid;
  gap: 20px;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.material-box,
.side-note,
.lead-box,
.workflow__steps {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.material-box {
  padding: 24px;
}

.material-box h3 {
  margin: 0 0 14px;
}

.material-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.material-box li {
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}

.material-box li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 9px;
}

.side-note {
  padding: 28px;
}

.side-note h3 {
  margin: 10px 0 14px;
}

.side-note p {
  color: var(--muted);
}

.side-note--accent {
  background: linear-gradient(180deg, #1a1a1a, #161616);
  border-color: rgba(255, 122, 0, 0.18);
}

/* ======================
   FORM STATUS / LAYOUT
====================== */
.workflow__steps,
.lead-box {
  padding: 30px;
}

.form-status {
  margin: 18px 0 10px;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 14px;
}

.form-status--success {
  background: rgba(126, 211, 33, 0.12);
  border: 1px solid rgba(126, 211, 33, 0.24);
  color: #d8f0b8;
}

.form-status--error {
  background: rgba(255, 122, 0, 0.12);
  border: 1px solid rgba(255, 122, 0, 0.24);
  color: #ffd1b0;
}

.lead-form__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

/* ======================
   BETTER PREMIUM FEEL
====================== */
.info-card,
.project-card,
.material-box,
.side-note,
.lead-box,
.workflow__steps,
.site-footer {
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.info-card:hover,
.project-card:hover,
.material-box:hover,
.side-note:hover {
  box-shadow: 0 18px 42px rgba(0,0,0,0.26);
}

/* ======================
   MOBILE
====================== */
@media (max-width: 1100px) {
  .page-hero__grid,
  .kitchen-materials,
  .workflow__grid {
    grid-template-columns: 1fr;
  }

  .materials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .page-hero__content h1 {
    font-size: 42px;
  }

  .page-hero__visual img {
    min-height: 380px;
  }

  .materials-grid,
  .lead-form__row {
    grid-template-columns: 1fr;
  }
}

/* ======================
   TABLET
====================== */
@media (max-width: 1100px) {
  .container {
    width: min(100% - 32px, 1200px);
  }

  .site-header__inner {
    gap: 14px;
  }

  .site-nav {
    gap: 16px;
  }

  .hero__grid,
  .page-hero__grid,
  .focus__grid,
  .workflow__grid,
  .kitchen-materials,
  .site-footer__grid,
  .section-head,
  .editorial__grid,
  .service-band {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: flex-start;
  }

  .section-head p {
    text-align: left;
    max-width: 100%;
  }

  .cards-grid--3,
  .materials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero,
  .page-hero {
    padding-top: 72px;
    padding-bottom: 90px;
  }

  .hero h1,
  .page-hero__content h1 {
    font-size: 44px;
  }

  .hero__visual {
    min-height: 420px;
  }

  .page-hero__visual {
    min-height: 420px;
  }

  .editorial {
    margin-top: -50px;
    padding: 80px 0;
  }

  .categories {
    margin-top: -40px;
    padding: 100px 0 80px;
  }
}

/* ======================
   MOBILE HEADER / MENU
====================== */
@media (max-width: 920px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .site-header__inner {
    min-height: 74px;
    padding: 12px 0;
    position: relative;
  }

  .site-logo__main {
    font-size: 20px;
    letter-spacing: 0.12em;
  }

  .site-logo__sub {
    font-size: 9px;
    letter-spacing: 0.22em;
    margin-top: 4px;
  }

  .site-header__right .site-phone,
  .site-header__right .btn,
  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 40;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.04);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
  }

  .site-nav.is-open {
    display: flex;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    background: rgba(17,17,17,0.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
    z-index: 30;
  }

  .site-nav.is-open a {
    display: block;
    padding: 14px 14px;
    border-radius: 14px;
    color: #fff;
    font-size: 15px;
  }

  .site-nav.is-open a:hover {
    background: rgba(255,255,255,0.05);
  }
}

/* ======================
   MOBILE MAIN
====================== */
@media (max-width: 767px) {
  .container {
    width: calc(100% - 20px);
  }

  .section,
  .hero,
  .page-hero {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero {
    padding-bottom: 90px;
    background-position: center center;
  }

  .hero::after {
    height: 120px;
  }

  .hero__grid,
  .page-hero__grid,
  .focus__grid,
  .workflow__grid,
  .kitchen-materials,
  .editorial__grid,
  .service-band,
  .about-production__grid,
  .site-footer__grid,
  .cards-grid--3,
  .materials-grid,
  .lead-form__row,
  .hero__features {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .page-hero__content h1 {
    font-size: 34px;
    line-height: 1.08;
    margin-bottom: 16px;
  }

  .hero p,
  .page-hero__content p {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn,
  .btn--full,
  .lead-form button {
    width: 100%;
    text-align: center;
  }

  .feature-chip {
    width: 100%;
    text-align: center;
    padding: 12px 14px;
    font-size: 13px;
  }

  .hero__visual,
  .page-hero__visual {
    min-height: 280px;
  }

  .hero__visual img,
  .page-hero__visual img {
    min-height: 260px;
    max-height: 360px;
    object-fit: cover;
    border-radius: 22px;
  }

  .hero__badge,
  .page-hero__badge {
    right: 14px;
    bottom: 14px;
    padding: 10px 12px;
    border-radius: 14px;
    text-align: left;
    width: min(280px, 58vw);
  }

  .page-hero__badge img {
    max-height: 320px;
  }

  .editorial {
    margin-top: -30px;
    padding: 54px 0;
  }

  .editorial h2 {
    font-size: 28px;
    line-height: 1.15;
  }

  .editorial__card {
    padding: 0;
    font-size: 15px;
    line-height: 1.6;
  }

  .categories {
    margin-top: -24px;
    padding: 70px 0 56px;
    background-position: center center;
  }

  .section-head {
    margin-bottom: 24px;
    gap: 12px;
  }

  .section-head h2,
  h2 {
    font-size: 28px;
    line-height: 1.15;
  }

  .info-card,
  .project-card__body,
  .material-box,
  .side-note,
  .workflow__steps,
  .lead-box,
  .service-band__main,
  .service-band__side,
  .about-production__content {
    padding: 20px;
    border-radius: 22px;
  }

  .info-card__image {
    height: 150px;
    border-radius: 16px;
  }

  .project-card img {
    height: 190px;
  }

  .type-list {
    grid-template-columns: 1fr;
  }

  .type-list span {
    padding: 14px 16px;
  }

  .focus__big {
    min-height: 260px;
  }

  .focus__small {
    min-height: 180px;
  }

  .about-production__image {
    min-height: 260px;
    border-radius: 22px;
  }

  .about-production__image img {
    min-height: 260px;
    object-fit: cover;
  }

  .steps-list {
    margin-top: 18px;
  }

  .steps-list div {
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 15px;
  }

  .steps-list span {
    width: 32px;
    height: 32px;
    font-size: 14px;
    flex: 0 0 32px;
  }

  .lead-form {
    margin-top: 18px;
    gap: 12px;
  }

  .lead-form input,
  .lead-form textarea {
    padding: 14px 14px;
    border-radius: 14px;
    font-size: 16px;
  }

  .btn {
    padding: 14px 18px;
    font-size: 15px;
  }

  .site-footer {
    padding: 36px 0;
  }

  .site-footer__grid {
    gap: 24px;
  }

  .site-footer h4 {
    margin-bottom: 10px;
  }
}


/* ======================
   CATEGORY CARD PREMIUM
====================== */
.info-card--image {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 0;
}

.info-card--image .info-card__image {
  height: 260px;
}

.info-card--image .info-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* затемнення */
.info-card--image::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.5) 50%,
    rgba(0,0,0,0.2) 100%
  );

  z-index: 1;
}

/* текст */
.info-card__overlay {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
}

.info-card__overlay h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 22px;
}

.info-card__overlay p {
  margin: 0;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
}

/* hover */
.info-card--image img {
  transition: transform 0.5s ease;
}

.info-card--image:hover img {
  transform: scale(1.05);
}

.info-card--image:hover::before {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.9),
    rgba(0,0,0,0.6),
    rgba(0,0,0,0.25)
  );
}

/* ======================
   PRODUCTION IMAGES
====================== */
.about-production__image {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.prod-main img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 22px;
  display: block;
}

.prod-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}

.prod-side img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  border-radius: 22px;
  display: block;
}

/* hover ефект */
.about-production__image img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-production__image img:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}



.form-status {
  margin: 16px 0;
  padding: 16px 18px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.form-status.success {
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.3);
  color: #8ef5b1;
}

.form-status.error {
  background: rgba(255, 122, 0, 0.12);
  border: 1px solid rgba(255, 122, 0, 0.3);
  color: #ffb380;
}
/* ======================
   VERY SMALL MOBILE
====================== */
@media (max-width: 480px) {
  .hero h1,
  .page-hero__content h1 {
    font-size: 30px;
  }

  .section-head h2,
  h2 {
    font-size: 24px;
  }

  .site-logo__main {
    font-size: 18px;
  }

  .site-logo__sub {
    font-size: 8px;
    letter-spacing: 0.18em;
  }

  .hero__visual img,
  .page-hero__visual img,
  .project-card img,
  .about-production__image img {
    border-radius: 18px;
  }

  .info-card,
  .project-card,
  .material-box,
  .side-note,
  .lead-box,
  .workflow__steps,
  .service-band__main,
  .service-band__side {
    border-radius: 18px;
  }
}

@media (max-width: 767px) {
  .info-card--image .info-card__image {
    height: 200px;
  }

  .info-card__overlay h3 {
    font-size: 18px;
  }

  .info-card__overlay p {
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .about-production__image {
    grid-template-columns: 1fr;
  }

  .prod-main img {
    min-height: 260px;
  }

  .prod-side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .prod-side img {
    min-height: 140px;
  }
}

/* ======================
   PORTFOLIO PAGE
====================== */
.page-hero--portfolio {
  padding: 70px 0;
  background:
    radial-gradient(circle at top right, rgba(126, 211, 33, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 122, 0, 0.06), rgba(0, 0, 0, 0.1));
}

.page-hero--portfolio h1 {
  margin: 0 0 14px;
  font-size: 52px;
  line-height: 1.08;
}

.page-hero--portfolio p {
  max-width: 860px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.portfolio-empty {
  border: 1px dashed var(--line);
  border-radius: 20px;
  padding: 24px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.portfolio-gallery {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.portfolio-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
}

.portfolio-item {
  border: 1px solid var(--line);
  background: #121212;
  border-radius: 18px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

.portfolio-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.portfolio-item:hover img {
  transform: scale(1.03);
}

.portfolio-pagination {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.portfolio-pagination__btn,
.portfolio-pagination__page {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  color: #fff;
  text-decoration: none;
}

.portfolio-pagination__btn {
  padding: 10px 14px;
  font-size: 14px;
}

.portfolio-pagination__btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.portfolio-pagination__pages {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.portfolio-pagination__page {
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.portfolio-pagination__page.is-active {
  background: var(--accent2);
  border-color: transparent;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.86);
}

.lightbox.is-open {
  display: flex;
}

.lightbox__figure {
  margin: 0;
  width: min(1200px, 92vw);
}

.lightbox__figure img {
  display: block;
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 14px;
  background: #101010;
}

.lightbox__figure figcaption {
  margin-top: 10px;
  color: rgba(255,255,255,0.78);
  font-size: 14px;
}

.lightbox__close,
.lightbox__nav {
  border: 1px solid var(--line);
  background: rgba(20, 20, 20, 0.85);
  color: #fff;
  border-radius: 12px;
  cursor: pointer;
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  font-size: 22px;
  line-height: 1;
}

.lightbox__nav {
  width: 48px;
  height: 48px;
  font-size: 34px;
  line-height: 1;
}

@media (max-width: 767px) {
  .page-hero--portfolio h1 {
    font-size: 34px;
  }

  .page-hero--portfolio p {
    font-size: 16px;
  }

  .portfolio-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .portfolio-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .portfolio-item img {
    height: 170px;
  }

  .portfolio-pagination {
    flex-direction: column;
    align-items: stretch;
  }

  .portfolio-pagination__btn {
    text-align: center;
  }

  .lightbox {
    padding: 12px;
  }

  .lightbox__figure {
    width: 100%;
  }

  .lightbox__nav {
    width: 42px;
    height: 42px;
    font-size: 28px;
  }
}

/* ======================
   ABOUT PAGE
====================== */
.page-hero--about {
  padding: 78px 0 88px;
  background:
    radial-gradient(circle at top right, rgba(126, 211, 33, 0.10), transparent 28%),
    radial-gradient(circle at bottom left, rgba(255, 122, 0, 0.08), transparent 24%);
}

.page-hero--about h1 {
  margin: 0 0 16px;
  font-size: 54px;
  line-height: 1.08;
  max-width: 980px;
}

.page-hero--about p {
  max-width: 860px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.about-company__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: start;
}

.about-company__content p {
  color: var(--muted);
  line-height: 1.75;
}

.about-company__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about-company__gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  display: block;
}

.about-company__gallery img:first-child {
  grid-column: 1 / -1;
  height: 320px;
}

.about-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (max-width: 1100px) {
  .about-company__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .page-hero--about h1 {
    font-size: 34px;
  }

  .page-hero--about p {
    font-size: 16px;
  }

  .about-company__gallery {
    grid-template-columns: 1fr;
  }

  .about-company__gallery img,
  .about-company__gallery img:first-child {
    height: 220px;
  }

  .about-steps {
    grid-template-columns: 1fr;
  }
}

/* ======================
   CONTACTS PAGE
====================== */
.page-hero--contacts {
  padding: 76px 0 84px;
  background:
    radial-gradient(circle at top right, rgba(126, 211, 33, 0.09), transparent 30%),
    radial-gradient(circle at bottom left, rgba(255, 122, 0, 0.08), transparent 24%);
}

.page-hero--contacts h1 {
  margin: 0 0 14px;
  font-size: 52px;
  line-height: 1.08;
}

.page-hero--contacts p {
  max-width: 860px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
}

.contacts-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.contacts-card h2 {
  margin: 0 0 18px;
}

.contacts-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.contacts-list li {
  display: grid;
  gap: 6px;
}

.contacts-list span {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contacts-list a {
  font-size: 21px;
  font-weight: 700;
}

.contacts-map {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 420px;
}

.contacts-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

.contacts-map-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
}

@media (max-width: 1100px) {
  .contacts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .page-hero--contacts h1 {
    font-size: 34px;
  }

  .page-hero--contacts p {
    font-size: 16px;
  }

  .contacts-card {
    padding: 20px;
    border-radius: 22px;
  }

  .contacts-list a {
    font-size: 19px;
  }

  .contacts-map,
  .contacts-map iframe {
    min-height: 320px;
  }
}