/* Header */
.site-header {
  background-color: var(--color-background-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-top {
  padding: 20px 0;
}

.header-top-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.logo-link {
  width: 150px;
  display: block;
  flex-shrink: 0;
}

.logo-link img {
  width: 100%;
  height: auto;
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.header-contacts a {
  display: inline-flex;
  align-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.phone-number {
  font-weight: 500;
  font-size: 19px;
  color: var(--color-text-base);
  flex-shrink: 0;
}

.phone-container {
  width: 100%;
}

.phone-number {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px;
  box-sizing: border-box;
}

.main-nav {
  padding: 13px 0;
  border-top: 1px solid #eee;
}

.main-nav .container {
  display: flex;
  justify-content: center;
}

.main-nav ul {
  display: flex;
  gap: 55px;
}

.main-nav a {
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-text-base);
  transition: color 0.3s;
}

.main-nav a:hover {
  color: var(--color-primary);
}

.burger {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* Hero */
.hero-section {
  background-image: url('../images/main-thema-picture.png');
  background-size: cover;
  background-position: center;
  min-height: 862px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  color: var(--color-text-light);
  padding: 0 20px;
  padding-bottom: 90px;
}

.hero-content {
  max-width: 1000px;
  margin-top: auto;
}

.hero-section h1 {
  font-weight: 600;
  font-size: 48px;
  margin: 0 0 30px 0;
}

.hero-section p {
  font-weight: 300;
  font-size: 36px;
  margin: 0;
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 60vh;
  }
  .hero-section h1 {
    font-size: 36px;
  }
  .hero-section p {
    font-size: 24px;
  }
}

/* Features */
.features-section {
  padding: 80px 0;
  background-color: var(--color-background-light);
}

.features-container {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 165px;
}

.feature-icon {
  width: 122px;
  height: 122px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 20px;
}

.feature-icon-attention { background-image: url('../images/feature-icon-attention.png'); }
.feature-icon-love { background-image: url('../images/feature-icon-love.png'); }
.feature-icon-supervision { background-image: url('../images/feature-icon-supervision.png'); }
.feature-icon-drawings { background-image: url('../images/feature-icon-drawings.png'); }
.feature-icon-equipment { background-image: url('../images/feature-icon-equipment.png'); }
.feature-icon-team { background-image: url('../images/feature-icon-team.png'); }

.feature-item p {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  color: var(--color-text-base);
  margin: 0;
}

/* Projects */
.projects-section {
  padding: 100px 0;
  background-color: var(--color-background-light);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-text-block {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  padding-right: 15px;
}

.project-text-block h2 {
  font-weight: 500;
  font-size: 40px;
  color: var(--color-text-base);
  margin-bottom: 20px;
}

.project-text-block p {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  color: var(--color-text-base);
}

.project-card {
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  cursor: pointer; /* Для кликабельности */
  transition: transform 0.3s;
}

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

.large-card {
  grid-column: span 2;
  height: 566px;
  background-size: cover;
  background-position: center;
  color: var(--color-text-light);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.project-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.project-title-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  margin-bottom: 15px;
  color: var(--color-text-light);
}

.project-info-top {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 16.5px;
  width: 100%;
  justify-content: flex-start;
  flex-wrap: nowrap;
  color: var(--color-text-light);
}

.large-card h3 {
  font-weight: 700;
  font-size: 32px;
  margin: 0;
}

.project-price {
  font-weight: 700;
  font-size: 32px;
  margin: 0;
  flex-shrink: 0;
  white-space: nowrap;
}

.project-info-bottom {
  display: flex;
  gap: 30px;
  font-size: 17.5px;
  color: var(--color-text-light);
  flex-wrap: wrap;
}

.project-info-bottom span {
  display: flex;
  align-items: center;
  gap: 15px;
}

.small-card {
  background-color: rgba(230, 217, 209, 0.6);
}

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

.project-card-content {
  padding: 22px 30px;
}

.project-card-content h4 {
  font-weight: 500;
  font-size: 24px;
  color: var(--color-text-base);
  margin: 0 0 20px 0;
}

.project-card-content ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-card-content li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 16.5px;
  color: #202020;
}

.project-card-content li img {
  width: 19px;
  height: 19px;
  object-fit: contain;
}

.projects-grid .large-card:nth-of-type(4) {
  grid-column: 1 / 3;
}

.projects-grid .small-card:last-of-type {
  grid-column: 3 / 4;
}

@media (max-width: 1200px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
  .project-text-block { 
    grid-column: 1 / 3; 
  }
  .large-card { 
    grid-column: span 2; 
  }
  .projects-grid .large-card:nth-of-type(4) { 
    grid-column: 1 / 3; 
  }
  .projects-grid .small-card:last-of-type { 
    grid-column: auto; 
  }
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-text-block, .large-card, .small-card {
    grid-column: auto !important;
  }
}

/* Pricing */
.pricing-section {
  padding: 44px 0;
  background-color: var(--color-background-light);
}

.pricing-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.pricing-card {
  flex: 1;
  max-width: 520px;
  min-width: 300px;
  border-radius: 5px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.full-plan { background-color: #d2bdb1; }
.standard-plan { background-color: #f0e8e3; }
.start-plan { background-color: rgba(240, 232, 227, 0.36); }

.plan-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 15px;
  border-radius: 3px;
  font-size: 14px;
  margin-bottom: 20px;
}

.full-plan .plan-tag { 
  border: 1px solid #212529; 
  color: #171717; 
}

.standard-plan .plan-tag, .start-plan .plan-tag { 
  background-color: rgba(205, 181, 167, 0.89); 
  color: #ffffff; 
}

.pricing-card h3 {
  font-weight: 300;
  font-size: 35px;
  margin: 0 0 20px 0;
}

.full-plan h3 { color: #212529; }
.standard-plan h3, .start-plan h3 { color: #000000; }

.pricing-card ul {
  margin-bottom: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pricing-card li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 300;
  font-size: 19px;
}

.pricing-card li img {
  width: 24px;
  height: 24px;
}

.price {
  font-weight: 300;
  font-size: 60px;
  text-align: center;
  margin: 20px 0;
}

.price span {
  font-size: 18px;
  display: inline-block;
  border-top: 1px solid;
  padding-top: 5px;
}

.btn-example {
  display: block;
  text-align: center;
  padding: 12.5px 5px;
  background-image: url('../images/button_learn_more.png');
  background-size: 100% 100%;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  color: #000000;
  margin: 0 auto;
  width: 190px;
  transition: transform 0.2s ease;
}

.btn-example:hover {
  transform: scale(1.05);
}

/* About */
.about-section {
  background-color: var(--color-background-medium);
  padding: 40px 0;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 30px;
}

.about-image {
  flex: 0 0 45%;
  min-width: 250px;
}

.about-image img {
  border-radius: 5px;
}

.about-text {
  flex: 1;
  font-weight: 300;
  font-size: 28px;
  line-height: 36px;
  color: #000000;
}

.about-text p {
  margin: 0 0 1em 0;
}

.about-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
  }
  .about-text {
    font-size: 24px;
    line-height: 1.4;
  }
}

/* CTA */
.cta-section {
  padding: 86px 0 100px 0;
  background-color: var(--color-background-light);
}

.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 37px;
}

.cta-container h2 {
  font-weight: 500;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 0.48px;
  color: #000000;
  margin: 0;
}

.cta-button {
  display: inline-block;
  padding: 12px 50px;
  background-color: rgba(205, 181, 167, 0.89);
  border: 1px solid rgba(205, 181, 167, 0.71);
  border-radius: 5px;
  font-weight: 300;
  font-size: 28px;
  color: #171717;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #d2bdb1;
}

/* Footer */
.site-footer {
  background-color: var(--color-background-dark);
  padding: 0 15px 12px 15px;
}

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 0;
  position: relative;
  gap: 20px;
}

.logo-container-footer {
  width: 200px;
  height: auto;
  display: block;
}

.footer-logo img {
  max-width: 100%;
  height: auto;
}

.footer-contacts-grid {
  display: flex;
  justify-content: space-between;
  width: 80%;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 17px;
  font-weight: 300;
  font-size: 18px;
}

.footer-bottom {
  padding-top: 50px;
  text-align: center;
  font-weight: 300;
  font-size: 15px;
}

.footer-bottom p {
  margin: 0 0 5px 0;
}

@media (max-width: 1200px) {
  .footer-main {
    flex-direction: column;
    gap: 30px;
  }
  .footer-contacts-grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 40px;
  }
}

@media (max-width: 768px) {
  .footer-contacts-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .header-contacts {
    display: none;
  }
}

@media (max-width: 480px) {
  .header-contacts {
    gap: 10px;
    font-size: 16px;
  }
  .header-contacts a {
    width: 25px;
    height: 25px;
  }
}