/* ===== Базовые стили ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #fafbfd;
  --bg-muted: #f5f7fa;
  --text: #1a1f36;
  --text-muted: #5c6c85;
  --border: #e2e8f0;
  --card: #ffffff;
  --shadow: rgba(26, 31, 54, 0.06);
  --primary: #1e3a8a;
  --primary-gradient: linear-gradient(135deg, #1e3a8a, #3b82f6);
  --accent: #c9a87a; /* золотисто-бежевый */
  --radius: 8px;
}

body {
  font-family: 'Manrope', system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--primary-gradient);
  z-index: 1000;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Шапка ===== */
.header {
  padding: 1.25rem 0;
  background-color: white;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

/* ===== Герой ===== */
.hero {
  padding: 4rem 0 3rem;
  text-align: center;
  background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c9a87a' fill-opacity='0.03' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='1'/%3E%3Ccircle cx='13' cy='13' r='1'/%3E%3C/g%3E%3C/svg%3E");
}
.hero h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
  line-height: 1.3;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.hero-phone {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: var(--text-muted);
}
.copy-btn {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 1rem;
  margin-left: 0.5rem;
  text-decoration: underline;
  font-weight: 500;
}

/* ===== Кнопки ===== */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}
.btn-primary:hover {
  background-color: var(--accent);
  box-shadow: 0 4px 15px rgba(201, 168, 122, 0.3);
}
.btn-secondary {
  background: white;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: 0 2px 6px var(--shadow);
}
.btn-secondary:hover {
  background-color: var(--bg-muted);
}

/* ===== Фото ===== */
.photos {
  padding: 3rem 0;
}
.section-note {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-style: italic;
  font-size: 1.1rem;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}
.photo-item img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}
.photo-item img:hover {
  transform: translateY(-4px);
}

/* ===== Разделы ===== */
.section {
  padding: 4rem 0;
}
.bg-muted {
  background-color: var(--bg-muted);
}
.section-title {
  text-align: center;
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}
.features-list,
.process-list {
  max-width: 750px;
  margin: 0 auto;
  padding-left: 1.75rem;
}
.features-list li,
.process-list li {
  margin-bottom: 1.25rem;
  font-size: 1.15rem;
  position: relative;
}
.features-list li::before {
  content: "•";
  color: var(--accent);
  font-size: 1.5rem;
  position: absolute;
  left: -1.75rem;
  top: -0.25rem;
}
.process-list {
  list-style-type: none;
  counter-reset: step;
}
.process-list li {
  counter-increment: step;
}
.process-list li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--primary-gradient);
  color: white;
  border-radius: 50%;
  font-weight: 600;
  margin-right: 12px;
  float: left;
  margin-left: -2.5rem;
  margin-top: 0.25rem;
}

.location {
  text-align: center;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--primary);
}

/* ===== Услуги ===== */
.page-title {
  text-align: center;
  font-size: 2.2rem;
  margin: 2.5rem 0;
  color: var(--text);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.25rem;
  margin-bottom: 3.5rem;
}
.service-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 3px solid var(--primary);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--text);
}
.service-meta {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 1rem 0;
  display: block;
}
.center-cta {
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
  padding: 2.5rem;
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px var(--shadow);
  border-left: 3px solid var(--accent);
}
.center-cta p:first-child {
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

/* ===== Контакты ===== */
.page-contact .intro {
  text-align: center;
  font-size: 1.35rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.contact-card {
  background: white;
  padding: 2.25rem;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px var(--shadow);
}
.contact-card h3 {
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  color: var(--text);
  position: relative;
  padding-bottom: 0.75rem;
}
.contact-card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}
#phone-display {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 1.25rem 0;
  color: var(--primary);
}
.contact-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
}
.contact-form .form-group {
  margin-bottom: 1.5rem;
}
.contact-form label {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 600;
  color: var(--text);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}
.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}
.checkbox-group {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.checkbox-group input {
  width: auto;
  margin-top: 0.35rem;
  accent-color: var(--accent);
}
.consent-note {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: -0.5rem;
  margin-bottom: 1.25rem;
}
.form-status {
  margin-top: 1.25rem;
  padding: 0.85rem;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 500;
}
.form-status.success {
  background: #f0fdf4;
  color: #065f46;
  border: 1px solid #bbf7d0;
}
.form-status.error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.after-submit {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: var(--radius);
  max-width: 750px;
  margin: 0 auto;
  box-shadow: 0 6px 18px var(--shadow);
  margin-top: 2rem;
}

/* ===== Подвал ===== */
.footer {
  padding: 2.5rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

/* ===== Адаптивность ===== */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 1.7rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .contact-buttons {
    flex-direction: column;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .page-title {
    font-size: 1.9rem;
  }
}