/* Project Page Styles */

.project-page {
  background-color: #f8f9fa;
  min-height: 100vh;
}

/* Container */
.container {
  max-width: 1312px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Breadcrumbs */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.breadcrumb-link {
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: #6c757d;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-link:hover {
  color: #007bff;
}

.breadcrumb-separator {
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: #6c757d;
  font-size: 14px;
}

.breadcrumb-current {
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: #6c757d;
  font-size: 14px;
}

/* Project Hero */
.project-hero {
  background: transparent;
  padding: 40px 0 40px;
}

.project-hero-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  align-items: stretch;
  background: #fff;
  border-radius: 16px;
  overflow: visible;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.project-image {
  position: relative;
  padding: 24px;
  display: flex;
  align-items: center;
}

.hero-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

.project-info {
  padding: 20px;
}

.project-title {
  font-size: 48px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 40px;
  font-family: 'Unbounded', sans-serif;
  line-height: 1;
  letter-spacing: -0.02em;
}

.project-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 20px;
  margin-bottom: 40px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  border: none;
}

.spec-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  flex-shrink: 0;
}

.spec-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.spec-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-label {
  font-size: 10px;
  font-weight: 400;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.2;
  font-family: "Inter", sans-serif;
}

.spec-value {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
  font-family: "Inter", sans-serif;
}

.project-price {
  margin-bottom: 28px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  border: none;
}

.price-label {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #9ca3af;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
  font-family: "Inter", sans-serif;
}

.price-value {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-family: "Inter", sans-serif;
}

.price-note {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 400;
  line-height: 1.4;
  font-family: "Inter", sans-serif;
}

.btn-calculate {
  display: block;
  width: fit-content;
  padding: 16px 32px;
  background: #fff;
  border: 2px solid #111827;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  color: #111827;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Unbounded", sans-serif;
  letter-spacing: -0.01em;
  margin: 24px auto 0;
}

.btn-calculate:hover {
  background: #111827;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.15);
}

/* Project Tabs */
.project-tabs {
  background: #fff;
  padding: 40px 0;
  margin-top: 2px;
}

.tabs-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  border-bottom: 1px solid #e5e7eb;
}

.tab-btn {
  padding: 12px 24px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
}

.tab-btn.active {
  color: #fcc419;
  border-bottom-color: #fcc419;
}

.tab-btn:hover {
  color: #111827;
}

.tabs-content {
  position: relative;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Plan Layout (Планировка Tab) */
.plan-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.plan-layout-image {
  position: relative;
}

.plan-layout-image img {
  width: 100%;
  height: auto;
  display: block;
}

.plan-layout-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 24px;
  font-family: "Unbounded";
}

.plan-description {
  margin-bottom: 32px;
}

.plan-description p {
  font-size: 16px;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 16px;
  font-family: "Inter", sans-serif;
}

.plan-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.plan-spec-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-spec-label {
  font-size: 10px;
  font-weight: 500;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: "Inter", sans-serif;
}

.plan-spec-value {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
  font-family: "Inter", sans-serif;
}

.btn-plan-estimate {
  padding: 16px 32px;
  background: #fff;
  border: 2px solid #111827;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  color: #111827;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Unbounded", sans-serif;
  letter-spacing: -0.01em;
  display: block;
  margin: 24px auto 0;
  width: fit-content;
}

.btn-plan-estimate:hover {
  background: #111827;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.15);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.plan-item {
  text-align: center;
}

.plan-image,
.facade-image,
.section-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  margin-bottom: 16px;
}

.plan-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

.facade-grid,
.sections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
}

/* Project Details */
.project-details {
  background: #fff;
  padding: 60px 0;
  margin-top: 2px;
}

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

.details-plan {
  position: relative;
}

.plan-image-large {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.details-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 24px;
  font-family: "Inter", sans-serif;
}

.completion-description {
  margin-bottom: 32px;
}

.completion-description p {
  font-size: 16px;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 16px;
}

.completion-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.completion-spec {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spec-category {
  font-size: 10px;
  font-weight: 500;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: "Inter", sans-serif;
}

.spec-detail {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
  font-family: "Inter", sans-serif;
}

.btn-detailed-estimate {
  padding: 16px 32px;
  background: #fcc419;
  border: none;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 500;
  color: #111827;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
}

.btn-detailed-estimate:hover {
  background: #e6a500;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(230, 165, 0, 0.3);
}

/* Individual Design */
.individual-design {
  padding: 40px 0;
  background: #F8F9FA;
}

.individual-design .cta-content {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 40px;
}

.individual-design .cta-text {
  flex: 1;
  padding-right: 20px;
}

.individual-design .cta-title {
  color: #111827;
  font-family: "Unbounded", sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 130%;
  margin-bottom: 16px;
}

.individual-design .cta-description {
  color: #6b7280;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  margin-bottom: 0;
}

.individual-design .cta-form {
  flex: 1;
  padding-left: 20px;
}

.individual-design .form-description {
  color: #111827;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 130%;
  margin-bottom: 16px;
  text-align: left;
}

.individual-design .contact-form {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}

.individual-design .form-group {
  flex: 0 0 auto;
}

.individual-design .form-group:first-child {
  flex: 0 0 220px;
}

.individual-design .form-group:last-child {
  flex: 0 0 auto;
  margin-left: 8px;
}

.individual-design .input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.individual-design .phone-icon {
  position: absolute;
  left: 16px;
  color: #6c757d;
  z-index: 1;
  pointer-events: none;
}

.individual-design .form-input {
  width: 100%;
  padding: 16px 20px 16px 48px;
  border: none;
  border-radius: 40px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
  background: #f8f9fa;
  color: #111827;
  box-shadow: none;
  transition: box-shadow 0.3s ease;
}

.individual-design .form-input:focus {
  outline: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 0 0 3px rgba(252, 196, 25, 0.1);
}

.individual-design .btn-submit-contact {
  padding: 16px 24px;
  border-radius: 16px;
  background: #fcc419;
  color: #111827;
  font-family: "Unbounded", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 130%;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  box-shadow: none;
}

.individual-design .btn-submit-contact:hover {
  background: #e6a500;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(230, 165, 0, 0.3);
}

/* Advantages */
.advantages {
  background: #F8F9FA;
}

.advantages h2 {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  text-align: left;
  margin-bottom: 32px;
  font-family: "Unbounded", sans-serif;
}

.advantages-grid {
  display: flex;
  gap: 24px;
  margin-bottom: 48px;
  justify-content: center;
}

.advantage-box {
  display: flex;
  max-width: 426px;
  align-items: flex-start;
  gap: 12px;
  padding: 8px;
  background-color: #ffffff;
  border-radius: 24px;
  box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.02);
}

.advantage-img {
  width: 180px;
  height: 180px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
}

.advantage-frame {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 0;
  flex: 1;
  align-self: stretch;
}

.advantage-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  color: #111827;
  font-size: 16px;
  line-height: 19.2px;
  margin: 0;
}

.advantage-text {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  color: #868e96;
  font-size: 14px;
  line-height: 16.8px;
  margin: 0;
}

.advantages-cta {
  text-align: center;
}

.advantages-cta-text {
  font-family: "Unbounded", sans-serif;
  font-size: var(--subtitle-b-24-font-size);
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.btn-advantages-cta {
  padding: 16px 32px;
  background: #fff;
  border: 2px solid #111827;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  color: #111827;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Unbounded", sans-serif;
  letter-spacing: -0.01em;
}

.btn-advantages-cta:hover {
  background: #111827;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.15);
}

/* CTA Section */
.cta-section {
  background: #f9fafb;
  padding: 60px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 32px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
  font-family: "Inter", sans-serif;
}

.btn-calculate-cost {
  padding: 16px 32px;
  background: #fcc419;
  border: none;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 500;
  color: #111827;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
}

.btn-calculate-cost:hover {
  background: #e6a500;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(230, 165, 0, 0.3);
}

/* Reviews */
.reviews {
  background: #F8F9FA;
  padding: 60px 0;
}

.reviews h2 {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  text-align: left;
  margin-bottom: 32px;
  font-family: "Unbounded", sans-serif;
}

.reviews-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.review-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 8px;
  flex: 1;
  background-color: #ffffff;
  border-radius: 24px;
  box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.02);
  max-width: 426px;
}

.review-box-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  z-index: 1;
}

.review-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.icon-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 43px;
  height: 43px;
  z-index: 2;
  transition: 0.3s;
  cursor: pointer;
}

.icon-play:hover {
  opacity: 0.7;
  transform: translate(-50%, -50%) scale(1.1);
}

.review-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 12px;
  flex: 1;
  align-self: stretch;
  width: 100%;
}

.review-name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
}

.review-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  color: #111827;
  font-size: 16px;
  line-height: 19.2px;
  margin: 0;
}

.review-location {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  color: #868e96;
  font-size: 12px;
  line-height: 14.4px;
  margin: 0;
}

.review-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px;
  flex: 1;
  align-self: stretch;
  width: 100%;
  background-color: #f8f9fa;
  border-radius: 12px;
}

.review-text p {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  color: #111827;
  font-size: 14px;
  line-height: 18.2px;
  margin: 0;
  align-self: stretch;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .project-hero-content {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .project-image {
    padding: 24px 24px 0 24px;
  }
  
  .project-specs {
    grid-template-columns: repeat(2, 1fr);
    background: #F8F9FA;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
  }
  
  .design-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .advantages-grid {
    flex-direction: column;
    gap: 24px;
  }
  
  .advantage-box {
    max-width: 100%;
  }
  
  .reviews-grid {
    flex-direction: column;
    gap: 24px;
  }
  
  .review-box {
    max-width: 100%;
  }
  
  .details-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .completion-grid {
    grid-template-columns: 1fr;
  }
  
  .plan-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .plan-specs-grid {
    grid-template-columns: 1fr;
  }
  
  .individual-design .cta-content {
    flex-direction: column;
    gap: 30px;
    padding: 30px;
  }
  
  .individual-design .cta-text {
    padding-right: 0;
  }
  
  .individual-design .cta-form {
    padding-left: 0;
  }
  
  .individual-design .contact-form {
    flex-direction: column;
    gap: 16px;
  }
  
  .individual-design .form-group:first-child {
    flex: 1 1 auto;
    width: 100%;
  }
  
  .individual-design .form-group:last-child {
    margin-left: 0;
    width: 100%;
  }
  
  .individual-design .btn-submit-contact {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .project-hero-content {
    gap: 0;
  }
  
  .project-image {
    padding: 20px 20px 0 20px;
  }
  
  .project-title {
    font-size: 32px;
  }
  
  .project-specs {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 12px;
    background: #F8F9FA;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
  }
  
  .spec-item {
    padding: 0;
  }
  
  .spec-icon {
    width: 32px;
    height: 32px;
  }
  
  .spec-icon img {
    width: 24px;
    height: 24px;
  }
  
  .tabs-nav {
    flex-wrap: wrap;
  }
  
  .tab-btn {
    flex: 1;
    min-width: 120px;
  }
  
  .plans-grid,
  .facade-grid,
  .sections-grid {
    grid-template-columns: 1fr;
  }
  
  .project-hero,
  .project-tabs,
  .project-details,
  .individual-design,
  .advantages,
  .cta-section,
  .reviews {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .project-hero-content {
    gap: 0;
  }
  
  .project-image {
    padding: 16px 16px 0 16px;
  }
  
  .project-title {
    font-size: 28px;
  }
  
  .project-specs {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 8px;
    background: #F8F9FA;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
  }
  
  .spec-item {
    padding: 0;
    gap: 8px;
  }
  
  .spec-icon {
    width: 28px;
    height: 28px;
  }
  
  .spec-icon img {
    width: 20px;
    height: 20px;
  }
  
  .spec-label {
    font-size: 10px;
  }
  
  .spec-value {
    font-size: 14px;
  }
  
  .price-value {
    font-size: 24px;
  }
  
  .project-hero,
  .project-tabs,
  .project-details,
  .individual-design,
  .advantages,
  .cta-section,
  .reviews {
    padding: 30px 0;
  }
  
  .advantages h2,
  .reviews h2,
  .cta-section h2,
  .details-content h2,
  .design-text h2 {
    font-size: 24px;
  }
  
  .advantages-cta-text {
    font-size: 18px;
  }
  
  .btn-advantages-cta {
    font-size: 14px;
    padding: 14px 28px;
  }
}

/* Стили для фотогалереи с прокруткой на мобильных */
@media (max-width: 860px) {
  .photo-gallery-section {
    padding: 40px 0 !important;
  }
  
  .photo-gallery-section h2 {
    font-size: 22px !important;
    margin-bottom: 24px !important;
    padding: 0 16px;
  }
  
  .photo-gallery-section .container {
    padding: 0 !important;
    max-width: 100% !important;
  }
  
  .gallery-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    gap: 16px !important;
    padding: 0 16px !important;
    grid-template-columns: unset !important;
  }
  
  .gallery-grid::-webkit-scrollbar {
    display: none;
  }
  
  .gallery-item {
    flex: 0 0 calc(100% - 32px) !important;
    scroll-snap-align: start !important;
    max-width: calc(100% - 32px) !important;
    aspect-ratio: 4/3 !important;
  }
  
  /* Точки навигации для галереи */
  .gallery-dots {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 20px !important;
    padding: 10px 0 !important;
  }
  
  .gallery-dots span {
    width: 8px !important;
    height: 8px !important;
    background-color: #D1D5DB !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
  }
  
  .gallery-dots span.active {
    background-color: #101113 !important;
    width: 10px !important;
    height: 10px !important;
  }
}

@media (min-width: 861px) {
  .gallery-dots {
    display: none !important;
  }
}



