:root {
  --primary: #FF5C2E;
  --primary-dark: #e04f24;
  --dark: #1a1a2e;
  --dark-2: #24243d;
  --text: #333;
  --muted: #666;
  --light: #f5f6fa;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

body {
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
}

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

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

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

/* Header */
.header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.3rem;
}

.logo-icon {
  font-size: 1.6rem;
}

.nav {
  display: flex;
  gap: 5px;
}

.nav-link {
  color: #ccc;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.2s;
  font-size: 0.95rem;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  color: var(--white);
  background: var(--primary);
}

.header-phone {
  color: var(--white);
  font-weight: 600;
  font-size: 1.05rem;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--primary);
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.burger span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Hero */
.hero {
  background:
    linear-gradient(135deg, rgba(26, 26, 46, 0.92) 0%, rgba(36, 36, 61, 0.88) 60%, rgba(42, 42, 74, 0.92) 100%),
    url('/img/work4.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 30px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.stat b {
  display: block;
  font-size: 2rem;
  color: var(--primary);
}

.stat span {
  color: #aaa;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

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

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--dark);
}

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

.btn-sm {
  padding: 9px 20px;
  font-size: 0.9rem;
}

.btn-block {
  display: block;
  width: 100%;
}

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

/* Sections */
.section {
  padding: 70px 0;
}

.section-alt {
  background: var(--light);
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 10px;
  color: var(--dark);
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 40px;
}

/* Advantages */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.advantage-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 25px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.advantage-card:hover {
  transform: translateY(-5px);
}

.advantage-icon {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.advantage-card h3 {
  margin-bottom: 8px;
  color: var(--dark);
}

.advantage-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon-img {
  height: 130px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--light);
}

.service-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.service-card:hover .service-icon-img img {
  transform: scale(1.05);
}

.service-icon-symbol {
  height: 130px;
  border-radius: var(--radius);
  margin-bottom: 18px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.service-card h3 {
  margin-bottom: 10px;
  color: var(--dark);
}

.service-card p {
  color: var(--muted);
  flex-grow: 1;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.service-price {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 15px;
}

/* More services note */
.more-services {
  margin-top: 40px;
  text-align: center;
  padding: 30px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.more-services p {
  color: var(--muted);
  margin-bottom: 15px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Auto section */
.auto-section {
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  color: var(--white);
  padding: 70px 0;
}

.auto-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.auto-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.auto-text {
  text-align: left;
}

.auto-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.auto-text h2 {
  font-size: 1.9rem;
  margin-bottom: 15px;
}

.auto-text p {
  color: #aaa;
  margin-bottom: 20px;
}

.auto-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.auto-points span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 60px 0;
  color: var(--white);
}

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

.cta h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta p {
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary-dark);
}

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

.cta h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta p {
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Page hero */
.page-hero {
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.page-hero p {
  color: #aaa;
}

/* Price table */
.price-table {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.price-row {
  display: grid;
  grid-template-columns: 1fr 120px 140px;
  padding: 16px 25px;
  border-bottom: 1px solid #eee;
  align-items: center;
}

.price-row:last-child {
  border-bottom: none;
}

.price-head {
  background: var(--dark);
  color: var(--white);
  font-weight: 600;
}

.price-value {
  font-weight: 700;
  color: var(--primary);
  text-align: right;
}

.price-row span:nth-child(2) {
  color: var(--muted);
}

.note {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 20px;
  margin-bottom: 25px;
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.portfolio-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform 0.2s;
}

.portfolio-item:hover {
  transform: translateY(-5px);
}

.portfolio-img {
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, #444, #222);
  overflow: hidden;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-badge {
  display: none;
}

.portfolio-title {
  padding: 15px 20px;
  color: var(--dark);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-text h2,
.about-text h3 {
  text-align: left;
  margin-bottom: 15px;
  color: var(--dark);
}

.about-text p {
  margin-bottom: 15px;
  color: var(--muted);
}

.about-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 25px;
  margin-bottom: 20px;
}

.about-card h3 {
  margin-bottom: 15px;
  color: var(--dark);
}

.about-list {
  list-style: none;
}

.about-list li {
  padding-left: 25px;
  position: relative;
  margin-bottom: 12px;
  color: var(--muted);
}

.about-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Contacts */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contacts-info .section-title {
  text-align: left;
}

.contact-item {
  margin-bottom: 22px;
}

.contact-label {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
}

.contact-value:hover {
  color: var(--primary);
}

/* Form */
.order-form-wrap {
  background: var(--light);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.order-form-wrap .section-title {
  text-align: left;
}

.order-form-wrap > p {
  color: var(--muted);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

#website {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 15px;
  text-align: center;
}

/* Map */
.map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map iframe {
  display: block;
}

/* Thanks / 404 */
.thanks {
  padding: 100px 0;
  text-align: center;
}

.thanks-inner {
  max-width: 600px;
}

.thanks-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 25px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.thanks h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.thanks p {
  color: var(--muted);
  margin-bottom: 30px;
}

/* Footer */
.footer {
  background: var(--dark);
  color: #aaa;
  padding-top: 50px;
}

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

.logo-footer {
  color: var(--white);
  margin-bottom: 15px;
}

.footer-desc {
  font-size: 0.9rem;
  max-width: 350px;
}

.footer-title {
  color: var(--white);
  margin-bottom: 15px;
}

.footer-links,
.footer-contacts {
  list-style: none;
}

.footer-links li,
.footer-contacts li {
  margin-bottom: 10px;
}

.footer-links a:hover,
.footer-contacts a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding: 20px 0;
  font-size: 0.85rem;
}

/* btn-lg */
.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

/* Hero badge */
.hero-badge {
  display: inline-block;
  background: var(--primary);
  border: none;
  color: var(--white);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Trust bar */
.trust-bar {
  background: var(--primary);
  padding: 30px 0;
  color: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.trust-item b {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.trust-item span {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Two column problem/solution */
.two-col {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: center;
}

.section-title.left {
  text-align: left;
}

.col-p {
  color: var(--muted);
  margin-bottom: 15px;
}

.col-text .about-list {
  margin-bottom: 25px;
}

.col-cta .cta-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
  text-align: center;
}

.cta-card h3 {
  color: var(--dark);
  margin-bottom: 12px;
}

.cta-card p {
  color: var(--muted);
  margin-bottom: 20px;
}

.cta-card-note {
  display: block;
  margin-top: 15px;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 25px;
  box-shadow: var(--shadow);
  position: relative;
  text-align: center;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 700;
}

.step-card h3 {
  color: var(--dark);
  margin-bottom: 8px;
}

.step-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Guarantee */
.guarantee {
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  color: var(--white);
  padding: 60px 0;
}

.guarantee-inner {
  text-align: center;
  max-width: 700px;
}

.guarantee-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.guarantee h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.guarantee p {
  color: #aaa;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 25px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 12px;
  letter-spacing: 3px;
}

.testimonial-text {
  color: var(--text);
  font-style: italic;
  flex-grow: 1;
  margin-bottom: 15px;
}

.testimonial-name {
  font-weight: 600;
  color: var(--dark);
}

/* CTA form */
.cta-form {
  display: flex;
  gap: 12px;
  max-width: 620px;
  margin: 0 auto 15px;
}

.cta-form input {
  flex: 1;
  padding: 14px 16px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
}

.cta-form .btn {
  white-space: nowrap;
}

.cta-note {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 5px;
}

/* Responsive */
@media (max-width: 992px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .two-col {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  .nav.open {
    display: flex;
  }
  .nav-link {
    padding: 12px 14px;
  }
  .burger {
    display: flex;
  }
  .header-phone {
    display: none;
  }
  .price-row {
    grid-template-columns: 1fr 80px 100px;
    padding: 14px 15px;
    font-size: 0.9rem;
  }
  .cta-form {
    flex-direction: column;
  }
  .cta-form .btn {
    width: 100%;
  }
  .cta-form input {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .advantages-grid,
  .services-grid,
  .portfolio-grid,
  .steps-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    gap: 20px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
