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

:root {
  --navy: #CED5D8;
  --navy-dark: #B8C3C8;
  --gold: #8B0037;
  --gold-light: #A8004A;
  --crimson: #8B0037;
  --crimson-light: #A8004A;
  --off-white: #F7F8FA;
  --white: #ffffff;
  --gray-light: #F7F8FA;
  --gray-mid: #E8EAF0;
  --text-dark: #1A1A2E;
  --text-mid: #4B5563;
  --text-light: #9CA3AF;
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── HEADER ── */
header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
  height: 72px;
}

.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.logo-icon {
  width: 36px; height: 36px;
  background: var(--gold);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}

.logo-icon svg { width: 20px; height: 20px; fill: var(--white); }

.logo-text { font-size: 22px; font-weight: 800; color: var(--text-dark); letter-spacing: 0.04em; }
.logo-text span { color: var(--gold); }

nav { display: flex; gap: 28px; flex: 1; }

nav a {
  font-size: 14px; font-weight: 500;
  color: rgba(26,26,46,0.6);
  transition: color 0.2s;
  white-space: nowrap;
}
nav a:hover, nav a.active { color: var(--gold); }

.header-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-phone { font-size: 14px; font-weight: 600; color: var(--text-dark); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; border: none;
}
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-light); }
.btn-primary { display: inline-flex; align-items: center; gap: 9px; background: var(--crimson); color: var(--white); padding: 13px 26px; border-radius: 10px; font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; transition: background 0.2s; border: none; cursor: pointer; }
.btn-primary svg { width: 17px; height: 17px; fill: currentColor; flex-shrink: 0; }
.btn-primary:hover { background: var(--crimson-light); }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--text-dark); border: 2px solid rgba(17,24,39,0.2); padding: 11px 22px; border-radius: 10px; font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 600; transition: all 0.2s; cursor: pointer; }
.btn-secondary:hover { border-color: var(--text-dark); }
.btn-tg-header { display: inline-flex; align-items: center; gap: 7px; background: var(--crimson); color: var(--white); padding: 9px 18px; border-radius: 8px; font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600; transition: background 0.2s; }
.btn-tg-header:hover { background: var(--crimson-light); }
.btn-tg-header svg { width: 15px; height: 15px; fill: currentColor; }
.btn-tg { background: #27A7E5; color: var(--white); padding: 10px 18px; }
.btn-tg:hover { background: #1a95cf; }
.btn-outline { background: transparent; color: var(--text-dark); border: 2px solid rgba(26,26,46,0.25); }
.btn-outline:hover { border-color: var(--text-dark); }

/* ── MOBILE TOGGLE ── */
.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 6px; margin-left: auto; flex-shrink: 0;
}
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--text-dark); fill: none; stroke-width: 2; stroke-linecap: round; }
.icon-close { display: none; }

/* ── PAGE HERO ── */
.page-hero {
  background: var(--navy);
  padding: 56px 0 60px;
}

.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-mid);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: var(--text-light); }

.page-hero h1 {
  font-size: 44px; font-weight: 800;
  color: var(--text-dark); line-height: 1.2;
  margin-bottom: 16px; max-width: 700px;
}

.page-hero p {
  font-size: 16px; color: var(--text-mid);
  max-width: 600px; line-height: 1.7;
}

/* ── SHARED LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

section { padding: 88px 0; }

.section-badge {
  display: inline-block; color: var(--gold);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px;
}

.section-title {
  font-size: 36px; font-weight: 800;
  color: var(--text-dark); line-height: 1.2; margin-bottom: 16px;
}

.section-subtitle {
  font-size: 15px; color: var(--text-mid);
  max-width: 560px; line-height: 1.7;
}

.section-head { margin-bottom: 56px; }
.section-head.centered { text-align: center; }
.section-head.centered .section-subtitle { margin: 0 auto; }

/* ── INTRO SECTION ── */
.page-intro { padding: 88px 0; }

.intro-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}

.intro-text h2 { font-size: 32px; font-weight: 800; color: var(--text-dark); margin-bottom: 16px; }
.intro-text p { font-size: 15px; color: var(--text-mid); line-height: 1.75; margin-bottom: 28px; }

.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-mid); font-weight: 500;
}
.check-list li svg {
  width: 18px; height: 18px; flex-shrink: 0;
  stroke: var(--gold); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}

.intro-img img {
  width: 100%; border-radius: var(--radius-lg);
  height: 400px; object-fit: cover;
}

/* ── SERVICE CARDS ── */
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

.service-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px 28px; border: 1px solid var(--gray-mid);
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover { box-shadow: 0 12px 40px rgba(61,68,81,0.1); transform: translateY(-4px); }

.service-icon {
  width: 52px; height: 52px;
  background: rgba(139,0,55,0.1); border-radius: 13px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.service-card h3 { font-size: 17px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.service-card p { font-size: 13px; color: var(--text-mid); line-height: 1.7; margin-bottom: 20px; }

.service-meta { display: flex; flex-direction: column; gap: 4px; }
.service-meta span { font-size: 12px; color: var(--text-light); }
.service-meta b { color: var(--text-mid); }

/* ── STEPS / PROCESS ── */
.steps-list { display: flex; flex-direction: column; gap: 0; }

.step-item {
  display: grid; grid-template-columns: 56px 1fr;
  gap: 24px; padding: 32px 0;
  border-bottom: 1px solid var(--gray-mid);
}
.step-item:last-child { border-bottom: none; }

.step-num {
  width: 52px; height: 52px; flex-shrink: 0;
  background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: var(--white);
}

.step-body h3 { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.step-body p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* ── CTA ── */
.cta-section { background: var(--navy); padding: 80px 0; }
.cta-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.cta-text h2 { font-size: 32px; font-weight: 800; color: var(--text-dark); line-height: 1.25; max-width: 540px; }
.cta-text p { margin-top: 12px; font-size: 15px; color: var(--text-mid); }
.cta-actions { display: flex; gap: 14px; flex-shrink: 0; }

/* ── OTHER SERVICES ── */
.other-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.other-card {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--gray-mid);
  transition: box-shadow 0.2s, transform 0.2s;
}
.other-card:hover { box-shadow: 0 8px 32px rgba(61,68,81,0.12); transform: translateY(-3px); }
.other-card img { width: 100%; height: 160px; object-fit: cover; }
.other-card-body { padding: 16px 18px; background: var(--white); }
.other-card-body h3 { font-size: 14px; font-weight: 700; color: var(--text-dark); }

/* ── FOOTER ── */
footer { background: var(--navy-dark); padding: 64px 0 0; }

.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px;
}

.footer-brand p { font-size: 13px; color: var(--text-mid); line-height: 1.7; margin-top: 16px; max-width: 240px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--text-dark); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 13px; color: var(--text-mid); transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }

.footer-contact-line { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact-line svg { width: 16px; height: 16px; stroke: var(--gold); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 2px; }
.footer-contact-line span { font-size: 13px; color: var(--text-mid); line-height: 1.5; }

.footer-bottom {
  margin-top: 48px; border-top: 1px solid rgba(0,0,0,0.1);
  padding: 20px 24px; max-width: 1200px;
  margin-left: auto; margin-right: auto;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 12px; color: var(--text-light); }

/* ── TABLET ── */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  nav {
    display: none; position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--navy); flex-direction: column;
    padding: 20px 24px 28px; gap: 18px;
    border-bottom: 1px solid rgba(0,0,0,0.12);
    z-index: 99; box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  nav.open { display: flex; }
  nav a { font-size: 16px; }
  .header-phone { display: none; }
  .header-right .btn { display: none; }
  .header-inner { gap: 12px; }

  .page-hero h1 { font-size: 30px; }
  section { padding: 56px 0; }
  .section-title { font-size: 26px; }
  .section-head { margin-bottom: 36px; }

  .intro-grid { grid-template-columns: 1fr; gap: 36px; }
  .intro-img { order: -1; }
  .intro-img img { height: 280px; }
  .intro-text h2 { font-size: 26px; }

  .service-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .other-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  .cta-section { padding: 56px 0; }
  .cta-inner { flex-direction: column; text-align: center; gap: 28px; }
  .cta-text h2 { font-size: 24px; max-width: 100%; }
  .cta-actions { justify-content: center; flex-wrap: wrap; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 600px) {
  .page-hero { padding: 36px 0 40px; }
  .page-hero h1 { font-size: 22px; }
  .section-title { font-size: 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .other-grid { grid-template-columns: 1fr 1fr; }
  .step-item { grid-template-columns: 44px 1fr; gap: 16px; }
  .step-num { width: 44px; height: 44px; font-size: 17px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cta-text h2 { font-size: 20px; }
}
