
:root {
  --bg: #f5f7fa;
  --bg-alt: #ffffff;
  --text: #1f2933;
  --muted: #6b7280;
  --accent: #d97757;
  --accent-soft: #fef3c7;
  --accent-dark: #b45327;
  --border: #e5e7eb;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

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

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout */

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

.page-content {
  padding-top: 84px; /* header height */
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

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

.logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111827;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.main-nav a {
  padding: 8px 10px;
  border-radius: 999px;
  color: #4b5563;
  font-weight: 500;
}

.main-nav a:hover {
  background: #f3f4f6;
  text-decoration: none;
}

.main-nav a.active {
  background: var(--accent);
  color: #fff;
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-phone {
  font-weight: 600;
  white-space: nowrap;
  color: #111827;
}

.header-callback {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-callback-form {
  display: none;
  align-items: center;
  gap: 6px;
}

.header-callback-form input[type="text"] {
  padding: 6px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  font-size: 12px;
  min-width: 150px;
}

.header-callback.open .header-callback-form {
  display: flex;
}

.header-callback.open .header-callback-btn {
  display: none;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  box-shadow: 0 16px 40px rgba(234, 88, 12, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 48px rgba(234, 88, 12, 0.45);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: #111827;
  border-color: #d1d5db;
}

.btn-outline:hover {
  background: #f9fafb;
}

.btn-small {
  padding: 7px 14px;
  font-size: 13px;
}

/* Hero */

.hero {
  padding: 40px 0 64px;
  background: radial-gradient(circle at top left, #fef3c7 0, #f5f7fa 55%, #e5e7eb 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(209, 213, 219, 0.8);
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 10px;
}

.hero-kicker span {
  padding: 3px 8px;
  border-radius: 999px;
  background: #fef3c7;
  color: #b45309;
  font-weight: 600;
}

.hero h1 {
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 18px;
  color: #111827;
}

.hero p.hero-lead {
  font-size: 16px;
  max-width: 520px;
  color: #4b5563;
  margin: 0 0 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
  font-size: 13px;
  color: #4b5563;
}

.hero-list li::before {
  content: "•";
  color: var(--accent);
  margin-right: 6px;
}

.hero-note {
  margin-top: 14px;
  font-size: 12px;
  color: #6b7280;
}

.hero-image {
  position: relative;
}

.hero-card {
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  padding: 14px;
  overflow: hidden;
}

.hero-card img {
  border-radius: 18px;
  max-height: 360px;
  object-fit: cover;
  width: 100%;
}

.hero-tag {
  position: absolute;
  bottom: 18px;
  left: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  color: #f9fafb;
  font-size: 12px;
}

/* Sections */

.section {
  padding: 56px 0;
}

.section-header {
  margin-bottom: 32px;
  text-align: left;
}

.section-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9ca3af;
  font-weight: 600;
  margin-bottom: 6px;
}

.section-title {
  font-size: 26px;
  margin: 0 0 10px;
  color: #111827;
}

.section-subtitle {
  font-size: 14px;
  color: #6b7280;
  max-width: 560px;
}

/* About / features */

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
}

.card-soft {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 20px 20px 18px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.10);
  border: 1px solid rgba(229, 231, 235, 0.9);
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  font-size: 14px;
}

.features-list strong {
  display: block;
  margin-bottom: 2px;
  color: #111827;
}

/* Service cards */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.card-service {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

.card-service h3 {
  font-size: 16px;
  margin: 0 0 6px;
}

.card-service p {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 10px;
}

.card-service span {
  font-size: 12px;
  color: #4b5563;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.step {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 14px 14px 12px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  font-size: 13px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #b45309;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 6px;
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #e5e7eb;
}

.gallery-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: tran
sform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

/* FAQ */

.faq-list {
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  border: 1px solid rgba(229, 231, 235, 0.9);
  overflow: hidden;
}

.faq-item + .faq-item {
  border-top: 1px solid #e5e7eb;
}

.faq-question {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-question h3 {
  margin: 0;
  font-size: 14px;
}

.faq-toggle {
  font-size: 18px;
  line-height: 1;
  color: #9ca3af;
}

.faq-answer {
  padding: 0 16px 12px;
  font-size: 13px;
  color: #6b7280;
  display: none;
}

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

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

/* Contacts */

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
}

.contacts-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.09);
}

.contacts-card h2 {
  margin-top: 0;
}

.contacts-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.contacts-list li + li {
  margin-top: 6px;
}

.contacts-list span.label {
  display: inline-block;
  width: 90px;
  color: #6b7280;
}

.form {
  display: grid;
  gap: 10px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.form label {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 3px;
  display: block;
}

.form input,
.form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  padding: 8px 10px;
  font-size: 14px;
  font-family: inherit;
}

.form textarea {
  resize: vertical;
  min-height: 96px;
}

/* Inner pages */

.page-hero {
  padding: 36px 0 26px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.breadcrumbs {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 6px;
}

.breadcrumbs a {
  color: #9ca3af;
}

.page-hero h1 {
  margin: 0 0 8px;
  font-size: 26px;
}

.page-hero p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

.page-section {
  padding: 34px 0;
}

.page-section + .page-section {
  border-top: 1px solid #e5e7eb;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 34px;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.list-check li {
  margin-bottom: 6px;
}

.list-check li::before {
  content: "✓";
  color: #059669;
  margin-right: 8px;
}

/* Footer */

.site-footer {
  margin-top: 40px;
  background: #111827;
  color: #e5e7eb;
}

.footer-inner {
  display: flex;
  gap: 40px;
  padding: 30px 0;
  align-items: flex-start;
  justify-content: space-between;
}

.logo-footer {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-columns {
  display: flex;
  gap: 40px;
  font-size: 13px;
}

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

.footer-columns li + li {
  margin-top: 4px;
}

.footer-columns a {
  color: #d1d5db;
}

.footer-columns a:hover {
  color: #f9fafb;
}

.footer-bottom {
  border-top: 1px solid rgba(55, 65, 81, 0.9);
  font-size: 12px;
  padding: 10px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.footer-madeby {
  color: #9ca3af;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.1fr);
  }

  .hero-image {
    display: none;
  }

  .grid-2,
  .contacts-layout,
  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

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

  .header-inner {
    flex-wrap: wrap;
  }

  .header-contacts {
    margin-left: auto;
  }
}

@media (max-width: 640px) {
  .main-nav {
    display: none;
  }

  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

  .footer-inner {
    flex-direction: column;
  }

  .footer-columns {
    flex-wrap: wrap;
  }

  .hero {
    padding-bottom: 40px;
  }

  .section {
    padding: 40px 0;
  }

  .page-hero {
    padding: 26px 0 18px;
  }

  .page-section {
    padding: 24px 0;
  }

  .page-content {
    padding-top: 72px;
  }
}

/* Lightbox for gallery */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-soft);
}

.lightbox-inner img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.8);
  color: #f9fafb;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
