:root {
  --primary: #1e3a8a;
  --primary-light: #2563eb;
  --bg: #f8fafc;
  --white: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #cbd5e1;
  --ok: #16a34a;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

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

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  background: var(--primary-light);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 100;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Montserrat", "Open Sans", sans-serif;
  font-weight: 700;
}

.logo-badge {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--primary-light);
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  font-size: 0.94rem;
  color: var(--muted);
}

.nav-link.active,
.nav-link:hover {
  color: var(--primary);
}

.phone-pill {
  white-space: nowrap;
  font-weight: 700;
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 18px;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary-light);
  color: #fff;
}

.btn-outline {
  border: 1px solid var(--primary-light);
  color: var(--primary-light);
  background: #fff;
}

.hero {
  padding: 64px 0 42px;
  background: linear-gradient(145deg, #dbeafe 0%, #eff6ff 40%, #f8fafc 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
}

.hero h1,
.page-hero h1 {
  font-family: "Montserrat", "Open Sans", sans-serif;
  font-size: clamp(1.8rem, 3.3vw, 2.7rem);
  margin-bottom: 12px;
}

.hero .offer {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}

.hero-card,
.info-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid #dbeafe;
  padding: 18px;
}

.section {
  padding: 56px 0;
}

.section h2 {
  font-family: "Montserrat", "Open Sans", sans-serif;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  margin-bottom: 18px;
}

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

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

.service-card,
.review-card,
.portfolio-card,
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.service-card h3,
.portfolio-card h3 {
  margin-bottom: 10px;
  font-family: "Montserrat", "Open Sans", sans-serif;
}

.price {
  color: var(--primary-light);
  font-weight: 700;
  margin-bottom: 10px;
}

.checks {
  list-style: none;
  display: grid;
  gap: 8px;
}

.checks li::before {
  content: "✓ ";
  color: var(--ok);
  font-weight: 700;
}

.photo {
  border-radius: 12px;
  overflow: hidden;
  background: #dbeafe;
  height: 210px;
  margin-bottom: 12px;
}

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

.cta-strip {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.page-hero {
  padding: 44px 0;
  background: linear-gradient(145deg, #eff6ff 0%, #f8fafc 100%);
  border-bottom: 1px solid #dbeafe;
}

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

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

.form small {
  color: var(--muted);
}

.form-note {
  color: var(--ok);
  min-height: 1.2em;
}

.site-footer {
  margin-top: 54px;
  background: #0f172a;
  color: #cbd5e1;
  padding: 30px 0;
}

.footer-grid {
  display: grid;
  gap: 10px;
}

.mobile-actions {
  display: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .mobile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    z-index: 1000;
  }

  .mobile-actions a {
    text-align: center;
    padding: 12px;
    font-weight: 700;
  }

  .mobile-actions .tg {
    background: #0ea5e9;
    color: #fff;
  }

  .mobile-actions .max {
    background: #7c3aed;
    color: #fff;
  }

  .site-footer {
    padding-bottom: 78px;
  }
}
