
/* =========================================================
   FONT: INTER TIGHT (LOCAL)
========================================================= */
@font-face {
  font-family: "Inter Tight";
  src: url("/assets/fonts/InterTight-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter Tight";
  src: url("/assets/fonts/InterTight-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   BASE
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

body {
  font-family: "Inter Tight", sans-serif;
  line-height: 1.6;
  background: #ffffff;
  color: #111111;
  transition: background-color 0.8s ease, color 0.5s ease;
}

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

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================================
   TYPOGRAPHY
========================================================= */
h1, h2, h3, h4, h5, h6, p {
  color: #111;
  line-height: 1.5;
}

h1 {
  font-size: 46px;
  font-weight: 600;
  margin-bottom: 12px;
}

h2 {
  font-size: 28px;
  font-weight: 600;
  margin: 50px 0 25px;
  text-align: center;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

p {
  font-size: 15px;
  color: var(--muted-text);
  line-height: 1.8;
}


/* =========================================================
   COLORS
========================================================= */
:root {
  --border-color: #eeeeee;
  --card-bg: #ffffff;
  --muted-text: #555555;
  --accent: #111111;
}

/* =========================================================
   HEADER
========================================================= */
header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  transition: box-shadow 0.3s ease;
}

header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  max-width: 1600px;
  margin: 0 auto;
}

header.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-left img {
  width: 46px;
  height: 46px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand strong {
  font-size: 18px;
  font-weight: 600;
}

.brand span {
  font-size: 13px;
  color: #777;
}

/* NAVIGATION */
nav ul {
  display: flex;
  list-style: none;
  gap: 35px;
}

nav a {
  color: var(--muted-text);;
  transition: color 0.3s;
  font-size: 15px;
}

nav a:hover {
  opacity: 0.6;
}

.phone a {
  font-size: 15px;
  color: #111;
  font-weight: 600;
  transition: color 0.3s;
}

/* ГАМБУРГЕР */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  user-select: none;
  color: #111;
}

@media (max-width: 900px) {
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    padding-top: 100px;
    z-index: 90;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    padding: 0 30px;
  }

  nav.active {
    right: 0;
  }

  .menu-toggle {
    display: block;
    z-index: 200;
    position: relative;
  }

  .phone {
    display: none;
  }
}

/* =========================================================
   HEADER — SUBMENU (Услуги)
========================================================= */
nav ul li {
  position: relative;
}

.has-submenu > a::after {
  content: "▾";
  font-size: 10px;
  margin-left: 5px;
  color: #777;
  transition: transform 0.3s ease;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  list-style: none;
  padding: 12px 0;
  min-width: 260px;
  z-index: 99;
}

.submenu li a {
  display: block;
  padding: 10px 18px;
  color: #111;
  font-size: 14px;
  transition: background 0.2s ease;
}

.submenu li a:hover {
  background: #f8f8f8;
}

.has-submenu:hover > .submenu {
  display: block;
}

/* Мобильный фикс */
@media (max-width: 900px) {
  .submenu {
    position: relative;
    box-shadow: none;
    border: none;
    background: none;
    padding: 0;
    min-width: auto;
  }

  .submenu li a {
    padding: 8px 25px;
    font-size: 15px;
  }

  /* ===== Мобильная версия ===== */
@media (max-width: 900px) {
  .has-submenu > a::after {
    content: "▾";
    font-size: 12px;
    margin-left: 8px;
    color: #111;
    display: inline-block;
  }
	}
}

/* Подменю — плавное раскрытие на мобильных */
.submenu.open {
  display: block !important;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}



/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative;
  text-align: center;
  padding: 180px 0 180px;
  color: #111;
  overflow: hidden;
  z-index: 1;
}

.hero h1, .hero p {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards;
}

.hero p {
  animation-delay: 0.3s;
}

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

/* =========================================================
   HERO — MOBILE ADAPTIVE
========================================================= */

@media (max-width: 900px) {
  .hero {
    padding: 120px 0 120px;
  }

  .hero h1 {
    font-size: 46px;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .hero p {
    font-size: 15px;
    max-width: 90%;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 50px 0 50px;
  }

  .hero h1 {
    font-size: 30px;
  }
}


/* =========================================================
   SECTION TITLES
========================================================= */
h2.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  margin: 75px 0 25px;
}

/* =========================================================
   SECTION TITLES — MOBILE ADAPTIVE
========================================================= */

@media (max-width: 900px) {
  h2.section-title {
    font-size: 24px;
    margin: 55px 0 20px;
  }
}

@media (max-width: 600px) {
  h2.section-title {
    font-size: 24px;
    margin: 40px 0 18px;
  }
}

/* =========================================================
   TARIFFS
========================================================= */
.tariffs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.tariff {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 35px 30px;
  background: #ffffff;
  transition: all 0.25s ease;
  opacity: 0;
  transform: translateY(30px);
}

.tariff .price { font-weight: 600; margin-bottom: 15px; }

.tariff:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.tariff.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s, transform 0.6s;
}

/* =========================================================
   TARIFFS — MOBILE ADAPTIVE
========================================================= */

@media (max-width: 900px) {
  .tariffs {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .tariff {
    padding: 28px 24px;
  }

  .tariff h3 {
    font-size: 17px;
    margin-bottom: 8px;
  }

  .tariff .price {
    font-size: 15px;
    margin-bottom: 12px;
  }
}

@media (max-width: 600px) {
  .tariffs {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tariff {
    padding: 26px 22px;
    border-radius: 12px;
  }

  .tariff h3 {
    font-size: 16px;
  }

  .tariff .price {
    font-size: 14px;
  }
}


/* =========================================================
   WORKS
========================================================= */
.works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-bottom: 0;
}

.work {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}


.work.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s, transform 0.6s;
}

.work:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.work img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.work:hover img { transform: scale(1.05); }

.work-content {
  padding: 18px 20px 25px;
  text-align: left;
}


.works-btn {
  text-align: center;
  margin-top: 30px;
}

.works-btn a {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 16px;
  background: #141615;
  color: #fff;
  font-size: 14px;
  transition: background 0.3s;
}

.works-btn a:hover {
  background: #333;
}

@media (max-width: 1100px) {
  .works { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .works { grid-template-columns: 1fr; }
  .work img { height: 220px; }
}

/* =========================================================
   WORKS — MOBILE ADAPTIVE
========================================================= */

@media (max-width: 900px) {
  .works {
    gap: 20px;
  }

  .work-content {
    padding: 16px 18px 22px;
  }

  .work-content h3 {
    font-size: 17px;
    margin-bottom: 6px;
  }

  .works-btn {
    margin-top: 25px;
  }
}

@media (max-width: 600px) {
  .works {
    gap: 10px;
  }

  .work img {
    height: 200px;
  }

  .work-content {
    padding: 14px 16px 20px;
  }

  .works-btn {
    margin-top: 20px;
  }
}


/* =========================================================
   ABOUT SECTION
========================================================= */
.about-section {
	 padding: 75px 0 25px 0;
}

.section-title-left {
  text-align: left;
  font-size: 28px;
  font-weight: 600;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.about-text p {
  font-size: 16px;
  color: var(--muted-text);
  line-height: 1.8;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}

.about-text p.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-photo img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-text {
    order: 2;
  }
}

/* Кнопка в блоке "О нас" */
.about-btn {
  margin-top: 35px;
}

.about-btn .btn-dark {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 25px;
  background: #111;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.about-btn .btn-dark:hover {
  background: #333;
}

/* =========================================================
   ABOUT SECTION — MOBILE ADAPTIVE
========================================================= */

@media (max-width: 900px) {
  .about-section {
    padding: 80px 0 40px 0;
  }

  .about {
    gap: 35px;
  }

  .about-photo img {
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.07);
  }

  .about-btn {
    margin-top: 25px;
  }
}

@media (max-width: 600px) {
  .about-section {
    padding: 75px 0 30px 0;
  }

  .about {
    gap: 25px;
  }

  .about-photo img {
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  }

  .about-btn {
    margin-top: 20px;
  }
}

/* =========================================================
   ABOUT SECTION — FIX H2 MARGIN ON MOBILE
========================================================= */

@media (max-width: 600px) {
  .about-section h2.section-title-left {
    margin: 0 0 20px 0;
  }
}



/* =========================================================
   STATS
========================================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.stat {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 40px 25px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  opacity: 0;
  transform: translateY(30px);
}

.stat.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s, transform 0.6s;
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* =========================================================
   STATS — MOBILE ADAPTIVE
========================================================= */

@media (max-width: 900px) {
  .stats {
    gap: 18px;
  }

  .stat {
    padding: 30px 20px;
    border-radius: 10px;
  }
}

@media (max-width: 600px) {
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .stat {
    padding: 26px 18px;
    border-radius: 10px;
  }
}

@media (max-width: 420px) {
  .stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .stat {
    padding: 24px 16px;
    border-radius: 8px;
  }
}


/* =========================================================
   STEPS PINNED HORIZONTAL (FULL-SCROLL)
========================================================= */
.steps-pin {
  position: relative;
  height: 400vh; /* длина секции = 6 экранов для плавного движения */
}

.steps-inner {
  position: sticky;
  top: 0;
  height: 500px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.steps-pin .section-title {
  text-align: center;
  position: relative;
  z-index: 2;
}

.steps-track {
  display: flex;
  gap: 25px;
  will-change: transform;
  transform: translateX(100vw);
  padding: 0 60px;
  transition: transform 0.1s linear;
}

.step-card {
  flex: 0 0 380px;
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s, transform 0.6s;
}

.step-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile fallback */
@media (max-width: 900px) {
  .steps-pin { height: auto; }
  .steps-inner { position: relative; height: auto; }
  .steps-track { transform: none !important; overflow-x: auto; padding-bottom: 30px; }
  .step-card { flex: 0 0 80%; }
}

/* =========================================================
   STEPS PINNED HORIZONTAL — MOBILE FIX
========================================================= */

@media (max-width: 900px) {
  .steps-pin {
    height: auto;
    padding: 80px 0 60px;
  }

  .steps-inner {
    position: relative;
    height: auto;
    align-items: flex-start;
  }

  .steps-pin .section-title {
    text-align: left;
	margin-top: 0px;
    margin-bottom: 30px;
	padding: 0 20px;
  }

  .steps-track {
    flex-direction: column;
    transform: none !important;
    gap: 18px;
    padding: 0;
    overflow: visible;
  }

  .step-card {
    flex: none;
    width: 100%;
    padding: 28px 22px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 600px) {
  .steps-pin {
    padding: 0px 0 40px;
  }

  .steps-pin .section-title {
    text-align: center;
    margin-bottom: 25px;
	margin-top: 0px;
	padding: 0 20px;
  }

  .step-card {
    padding: 24px 20px;
    border-radius: 12px;
  }
}

/* =========================================================
   STEPS — MOBILE PADDING FIX
========================================================= */

@media (max-width: 900px) {
  .steps-track {
    padding: 0 20px;
  }

  .step-card {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 600px) {
  .steps-track {
    padding: 0 15px;
  }
}



/* =========================================================
   REVIEWS CLEAN (цитаты)
========================================================= */
.reviews-clean {
	padding-bottom: 75px;
	padding-top: 75px;
}

.reviews-section {
	padding: 75 0px;
}

.reviews-quotes {
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 900px;
  margin: 0 auto;
}

.quote {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s, transform 0.6s;
}

.quote.visible {
  opacity: 1;
  transform: translateY(0);
}

.quote p {
  font-size: 17px;
  line-height: 1.7;
  color: #111;
  font-weight: 400;
  margin-bottom: 10px;
  position: relative;
}

.quote p::before {
  content: "“";
  font-size: 50px;
  position: absolute;
  left: -25px;
  top: -10px;
  color: #ccc;
  opacity: 0.4;
}

.author {
  font-size: 14px;
  color: var(--muted-text);
}

.author strong {
  color: #111;
  font-weight: 600;
}

@media (max-width: 700px) {
  .reviews-quotes {
    gap: 35px;
    padding: 0 10px;
  }
}

/* Отзывы: кнопка + плавное появление */
.quote.hidden {
  display: none;
}

.quote.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

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

#showMoreBtn {
  transition: opacity 0.4s ease;
}





/* =========================================================
   CTA SECTION
========================================================= */
.cta-section {
  text-align: center;
  color: #fff;
  padding: 75px 0 120px 20px;
}

.cta h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #fff;
}

.cta p {
  margin-bottom: 35px;
  color: #fff;
}

.btn-light {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 25px;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s, color 0.3s;
}

.btn-light:hover {
  background: #f1f1f1;
}

/* =========================================================
   FOOTER
========================================================= */
.footer {
  border-top: 1px solid var(--border-color);
  padding-top: 60px;
  font-size: 15px;
  color: var(--muted-text);
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo {
  width: 46px;
  margin-bottom: 10px;
}

.footer-col a {
  color: inherit;
  transition: opacity 0.3s;
}

.footer-col a:hover {
  opacity: 0.7;
}

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

.footer-col li {
  margin-bottom: 8px;
}

.footer .company p {
  margin-bottom: 6px;
}

.footer .company a {
  color: var(--accent);
  text-decoration: underline;
}

.socials {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}

.socials a {
  font-size: 20px;
  color: #111;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 25px 0;
  text-align: center;
  font-size: 13px;
}

.footer-bottom a {
  color: var(--accent);
  text-decoration: underline;
}

.footer-bottom a:hover {
  opacity: 0.7;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

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

  .footer-bottom {
    text-align: left;
    font-size: 12px;
  }
}


/* =========================================================
   SEO TEXT
========================================================= */
.seo-text {
  padding: 75px 0 75px 0;
  font-size: 15px;
  color: var(--muted-text);
  line-height: 1.8;
}

.seo-text h2 {
  font-size: 24px;
  font-weight: 600;
  margin-top: 0px;
  margin-bottom: 20px;
}

.seo-text h3 {
  margin-top: 20px;
}

.seo-text a {
  color: var(--accent);
  text-decoration: underline;
}

.seo-text a:hover {
  opacity: 0.7;
}

/* =========================================================
   PRICES PAGE
========================================================= */
.hero-prices {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}
.hero-prices h1 {
  font-size: 40px;
  margin-bottom: 15px;
  font-weight: 600;
  color: #fff;
}
.hero-prices p {
  color: rgba(255,255,255,0.9);
  max-width: 650px;
  margin: 0 auto;
  font-size: 16px;
}

/* Табы */
.price-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 50px 0 40px;
}
.price-tabs .tab {
  padding: 10px 24px;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  color: var(--accent);
  transition: 0.3s;
}
.price-tabs .tab:hover { background: #f7f7f7; }
.price-tabs .tab.active {
  background: var(--accent);
  color: #fff;
}

/* Секции */
.price-section { display: none; }
.price-section.active { display: block; }

/* Карточки */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  justify-content: center;
}
.price-card {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 35px 25px;
  background: var(--card-bg);
  text-align: left;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  transition: transform 0.3s ease;
}
.price-card:hover {
  transform: translateY(-5px);
}
.price-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--accent);
}
.price-card .subtitle {
  font-size: 14px;
  color: var(--muted-text);
  margin-bottom: 20px;
}
.price-card .price {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 15px;
}
.price-card ul {
  margin-top: 20px;
  padding-left: 22px;
  font-size: 15px;
  color: var(--muted-text);
}
.price-card li {
  margin-bottom: 8px;
}

/* Кнопка */
.btn-outline {
  display: block;
  width: 100%;
  text-align: center;
  border: 1px solid var(--border-color);
  color: var(--accent);
  padding: 12px;
  border-radius: 25px;
  font-size: 15px;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

/* MOBILE */
@media (max-width: 700px) {
  .hero-prices h1 { font-size: 30px; }
  .hero-prices p { font-size: 14px; }
}

#pricesPage {
  padding-bottom: 50px;
}

/* =========================================================
   EXTRA SERVICES
========================================================= */
.extra-services {
}

.extra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 40px;
  max-width: 1000px;
  margin: 0 auto;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.extra-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-color);
  gap: 20px;
}

.extra-item span {
  font-size: 15px;
  color: var(--accent);
  line-height: 1.6;
  flex: 1;
}

.extra-item strong {
  font-weight: 600;
  color: var(--accent);
  font-size: 15px;
  white-space: nowrap;
}

/* ===== Мобильная адаптация ===== */
@media (max-width: 700px) {
  .extra-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
    gap: 4px;
  }

  .extra-item span {
    font-size: 15px;
    line-height: 1.7;
  }

  .extra-item strong {
    display: inline-block;
    background: #f8f8f8;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 14px;
    color: #111;
  }
}

/* =========================================================
   HERO PORTFOLIO
========================================================= */
.hero-portfolio {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.hero-portfolio h1 {
  font-size: 40px;
  margin-bottom: 15px;
  font-weight: 600;
  color: #fff;
}

.hero-portfolio p {
  color: rgba(255,255,255,0.9);
  max-width: 650px;
  margin: 0 auto;
  font-size: 16px;
}

@media (max-width: 800px) {
  .hero-portfolio {
    padding: 120px 20px 100px;
  }
  .hero-portfolio h1 {
    font-size: 30px;
  }
  .hero-portfolio p {
    font-size: 15px;
  }
}

/* =========================================================
   WORKS FILTER (portfolio)
========================================================= */
.works-filter {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 10px 0 28px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}

.wf-btn {
  appearance: none;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--accent);
  font-size: 14px;
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.wf-btn:hover { border-color: #ddd; }

.wf-btn.is-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* плавное скрытие карточек при фильтрации */
.work.is-hidden {
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
}

/* =========================================================
   CONTACTS PAGE
========================================================= */
.contacts {
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contacts-info .contacts-desc {
  font-size: 16px;
  color: var(--muted-text);
  line-height: 1.8;
  margin-bottom: 25px;
}

.contacts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contacts-list li {
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--accent);
}

.contacts-list a {
  color: var(--accent);
  text-decoration: underline;
}

.contacts-socials {
  display: flex;
  gap: 18px;
  margin-top: 25px;
}

.contacts-socials a {
  font-size: 15px;
  color: var(--accent);
  text-decoration: underline;
}

.contacts-form form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contacts-form input,
.contacts-form textarea {
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 15px;
  font-family: "Inter Tight", sans-serif;
  transition: border-color 0.3s ease;
}

.contacts-form input:focus,
.contacts-form textarea:focus {
  border-color: #ccc;
  outline: none;
}

.contacts-form button {
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contacts-form button:hover {
  background: #333;
}

/* MAP */
.map {

}

.map iframe {
  border: 0;
  border-radius: 12px;
}

/* ADAPTIVE */
@media (max-width: 900px) {
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

/* =========================================================
   CONTACTS FORM — SELECT STYLE
========================================================= */
.contacts-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: var(--card-bg) url("data:image/svg+xml,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23111' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center/10px auto;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 38px 12px 15px;
  font-size: 15px;
  color: var(--accent);
  font-family: "Inter Tight", sans-serif;
  cursor: pointer;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.contacts-form select:hover {
  border-color: #ddd;
}

.contacts-form select:focus {
  outline: none;
  border-color: #ccc;
  background-color: #fafafa;
}

.contacts-form option {
  font-size: 15px;
  color: #111;
  background: #fff;
}



.faq-section {
  background: #fff;
  padding: 80px 0;
  border-top: 1px solid #eee;
}

.faq-section .section-title-left {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 40px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fafafa;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #252A59;
  background: #fdfdfd;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  background: none;
  border: none;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 22px 18px;
  color: #555;
  line-height: 1.6;
  font-size: 16px;
}

.faq-item.active .faq-answer {
  display: block;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 50px 0;
  }
  .faq-question {
    font-size: 16px;
  }
}

/* === PROJECT PAGE LAYOUT === */
.project-layout {
  display: grid;
  grid-template-columns: 1fr 420px; /* фото + сайдбар */
  align-items: start;
  gap: 60px;
  padding: 80px 0;
}

.project-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  display: block;
}

.project-sidebar {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  padding: 40px 35px;
  position: sticky;
  top: 100px;
}

.project-sidebar h1 {
  font-size: 1.9rem;
  margin-bottom: 10px;
}

.project-subtitle {
  color: #666;
  margin-bottom: 25px;
  line-height: 1.5;
}

.project-info-block h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.project-info-block p {
  line-height: 1.7;
  margin-bottom: 25px;
}

.project-meta {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
}

@media (max-width: 992px) {
  .project-layout {
    grid-template-columns: 1fr;
	padding: 20px;
  }
  .project-sidebar {
    position: static;
    box-shadow: none;
    padding: 20px;
  }
}
