:root {
  --blue: #1a73e8;
  --blue-dark: #1557b0;
  --blue-light: #e8f0fe;
  --red: #ea4335;
  --yellow: #fbbc04;
  --green: #34a853;
  --text: #202124;
  --text-muted: #5f6368;
  --bg: #ffffff;
  --bg-alt: #f8f9fa;
  --border: #dadce0;
  --shadow: 0 1px 3px rgba(60, 64, 67, 0.15);
  --shadow-lg: 0 4px 24px rgba(60, 64, 67, 0.12);
  --radius: 12px;
  --max-width: 1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue-dark); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

.logo__dots {
  display: flex;
  gap: 3px;
}

.logo__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.logo__dot--b { background: var(--blue); }
.logo__dot--r { background: var(--red); }
.logo__dot--y { background: var(--yellow); }
.logo__dot--g { background: var(--green); }

.nav { display: flex; align-items: center; gap: 28px; }

.nav__link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav__link:hover, .nav__link--active { color: var(--blue); }

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
}

.btn--primary:hover {
  background: var(--blue-dark);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn--outline:hover { background: var(--blue-light); color: var(--blue-dark); }

.btn--white {
  background: #fff;
  color: var(--blue);
}

.btn--white:hover { background: var(--bg-alt); color: var(--blue-dark); }

/* Breadcrumbs */
.breadcrumbs {
  padding: 16px 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.breadcrumbs li::after { content: "›"; margin-left: 8px; color: var(--border); }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs li:last-child { color: var(--text); }

/* Hero */
.hero {
  padding: 80px 0 64px;
  background: linear-gradient(135deg, var(--blue-light) 0%, #fff 60%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }

.hero__stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero__stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--blue);
}

.hero__stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero__visual {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  border: 1px solid var(--border);
}

.hero__photo {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.hero__photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 4 / 5;
}

.hero__card-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.hero__card-row:last-child { border-bottom: none; }

.hero__card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.hero__card-icon--ads { background: var(--blue-light); }
.hero__card-icon--maps { background: #fce8e6; }
.hero__card-icon--yt { background: #fef7e0; }

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about__photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 4 / 5;
}

.about__content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 16px;
}

.about__lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.about__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.about__list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  line-height: 1.5;
}

.about__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

/* Sections */
.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 16px;
  font-weight: 800;
}

.section__desc { color: var(--text-muted); font-size: 1.05rem; }

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
  transform: translateY(-4px);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 20px;
}

.service-card__link {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit {
  text-align: center;
  padding: 24px 16px;
}

.benefit__num {
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin: 0 auto 16px;
}

.benefit h3 { font-size: 1rem; margin-bottom: 8px; }
.benefit p { font-size: 0.875rem; color: var(--text-muted); }

/* Process */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 24px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  counter-increment: step;
}

.process-step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.process-step h3 { font-size: 0.95rem; margin-bottom: 8px; }
.process-step p { font-size: 0.825rem; color: var(--text-muted); }

/* Cases */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.case-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s;
}

.case-card:hover { box-shadow: var(--shadow-lg); }

.case-card__media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.case-card__header {
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--border);
}

.case-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.case-card__tag--ads { background: var(--blue-light); color: var(--blue); }
.case-card__tag--maps { background: #fce8e6; color: var(--red); }
.case-card__tag--yt { background: #fef7e0; color: #e37400; }

.case-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.case-card__niche { font-size: 0.875rem; color: var(--text-muted); }

.case-card__body { padding: 20px 28px; }

.case-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.case-metric {
  text-align: center;
  padding: 12px 8px;
  background: var(--bg-alt);
  border-radius: 8px;
}

.case-metric__value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--green);
}

.case-metric__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.case-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.case-card__link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.case-card__link:hover { text-decoration: underline; }

/* Hide Netlify attribution badge on free-tier deploys */
a[href*="netlify.com"][href*="utm_source"],
a[href^="https://www.netlify.com"],
iframe[src*="netlify.com"],
[data-netlify-deploy-id],
.netlify-badge {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Cases page — full detail */
.case-filters {
  position: sticky;
  top: 72px;
  z-index: 90;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
  padding: 14px 0 16px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.case-filters__btn {
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.case-filters__btn:hover { border-color: var(--blue); color: var(--blue); }

.case-filters__btn--active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.cases-detail-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.case-detail {
  background: #fff;
  scroll-margin-top: 140px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  scroll-margin-top: 100px;
}

.case-detail__hero img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.case-detail__inner { padding: 32px 36px 40px; }

.case-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin: 16px 0 24px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.case-detail__meta strong { color: var(--text); }

.case-detail__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.case-detail h3 {
  font-size: 1.1rem;
  margin: 28px 0 12px;
}

.case-detail h3:first-of-type { margin-top: 0; }

.case-detail p,
.case-detail li {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.case-detail ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.case-detail li { margin-bottom: 6px; }

.case-detail__work-block {
  margin-bottom: 20px;
  padding: 20px 24px;
  background: var(--bg-alt);
  border-radius: 8px;
}

.case-detail__work-block h4 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.case-detail__summary {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--blue-light);
  border-radius: 8px;
  border-left: 4px solid var(--blue);
}

.case-detail__summary p {
  color: var(--text);
  margin: 0;
  font-size: 0.95rem;
}

/* Certificates */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cert-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.25s;
}

.cert-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.cert-card__badge {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.cert-card h3 { font-size: 0.875rem; margin-bottom: 8px; line-height: 1.4; }
.cert-card__date { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 12px; }

.cert-card__link {
  font-size: 0.85rem;
  font-weight: 600;
}

.cert-screenshots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 640px;
  margin: 24px auto 0;
}

.cert-screenshots__title {
  margin-top: 48px;
  font-size: 1.25rem;
  text-align: center;
}

.cert-shot {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cert-shot:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cert-shot a {
  display: block;
  background: var(--bg-alt);
}

.cert-shot img {
  width: 100%;
  max-height: 140px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.cert-shot figcaption {
  padding: 10px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  border-top: 1px solid var(--border);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-grid--single {
  grid-template-columns: 1fr;
  max-width: 420px;
  margin: 0 auto;
}

.pricing-grid--double {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
  margin: 0 auto;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}

.pricing-card--featured {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured::before {
  content: "Популярный";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
}

.pricing-card__name {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pricing-card__price {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.pricing-card__period {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 28px;
}

.pricing-card li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--bg-alt);
  padding-left: 24px;
  position: relative;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}

.faq-item__question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text);
  font-family: inherit;
}

.faq-item__question::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item--open .faq-item__question::after { transform: rotate(45deg); }

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item--open .faq-item__answer { max-height: 800px; }

.faq-item__answer-inner {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Table */
.table-wrap { overflow-x: auto; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.data-table th,
.data-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.data-table th {
  background: var(--bg-alt);
  font-weight: 700;
}

.data-table tr:last-child td { border-bottom: none; }

/* SEO text */
.seo-text {
  max-width: 800px;
  margin: 0 auto;
}

.seo-text h2 { font-size: 1.5rem; margin: 32px 0 16px; }
.seo-text h3 { font-size: 1.2rem; margin: 24px 0 12px; }
.seo-text p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.7; }
.seo-text ul { margin: 0 0 16px 24px; color: var(--text-muted); }
.seo-text li { margin-bottom: 8px; }

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}

.cta h2 { font-size: 2rem; margin-bottom: 16px; color: #fff; }
.cta p { opacity: 0.9; margin-bottom: 32px; font-size: 1.1rem; max-width: 560px; margin-left: auto; margin-right: auto; }

/* Contact form */
.contact-form {
  max-width: 520px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-light);
}

.form-group textarea { min-height: 100px; resize: vertical; }

.form-group--invalid input,
.form-group--invalid select,
.form-group--invalid textarea {
  border-color: #d93025;
  box-shadow: 0 0 0 3px rgba(217, 48, 37, 0.15);
}

.form-group__error {
  display: none;
  margin-top: 6px;
  font-size: 0.8rem;
  color: #d93025;
}

.form-group--invalid .form-group__error { display: block; }

.required { color: #d93025; }

.form-consent { margin-top: 4px; }

.form-consent__label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  line-height: 1.45;
  cursor: pointer;
}

.cta .form-consent__label { color: rgba(255, 255, 255, 0.92); }
.cta .form-consent__label a { color: #fff; text-decoration: underline; }

.form-consent__checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--blue);
}

.form-consent--invalid .form-consent__label { color: #ffcdd2; }
.form-consent--invalid .form-consent__label a { color: #fff; }

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.form-status {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 4px;
}

.form-status--success { color: #fff; }
.form-status--error { color: #ffcdd2; }

/* Audit popup */
body.modal-open { overflow: hidden; }

.audit-modal {
  position: fixed;
  inset: 0;
  z-index: 100070;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
}

.audit-modal--open {
  display: flex;
  pointer-events: auto;
}

.audit-modal__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}

.audit-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 32px 28px 28px;
}

.audit-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--bg-alt);
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.audit-modal__close:hover {
  background: var(--border);
  color: var(--text);
}

.audit-modal__title {
  font-size: 1.5rem;
  margin-bottom: 8px;
  padding-right: 36px;
}

.audit-modal__desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.5;
}

.audit-modal__form.contact-form {
  max-width: none;
  margin: 0;
}

.audit-modal__form .form-status--success { color: var(--green); }
.audit-modal__form .form-status--error { color: var(--red); }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
}

.footer__contact a {
  white-space: nowrap;
}

/* Two column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.feature-list { list-style: none; }

.feature-list li {
  padding: 12px 0 12px 32px;
  position: relative;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* Footer */
.footer {
  background: var(--text);
  color: #bdc1c6;
  padding: 56px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr minmax(210px, 1.25fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer a { color: #bdc1c6; font-size: 0.9rem; }
.footer a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid #3c4043;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

/* Page hero (service pages) */
.page-hero {
  padding: 56px 0 48px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.page-hero--compact {
  padding: 40px 0 32px;
}

.page-hero--compact .page-hero__desc {
  margin-bottom: 0;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
  font-weight: 800;
}

.page-hero__desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 24px;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.page-hero__photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 4 / 5;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.photo-gallery__item {
  margin: 0;
}

.photo-gallery__item img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 3 / 4;
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid,
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-grid--double { grid-template-columns: 1fr; max-width: 480px; }

  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }

  .nav--open { display: flex; }
  .nav__toggle { display: block; }

  .hero__grid,
  .two-col,
  .about__grid,
  .page-hero__grid { grid-template-columns: 1fr; }

  .photo-gallery { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

  .hero { padding: 48px 0; }
  .cases-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .cert-screenshots { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .case-card__metrics { grid-template-columns: 1fr; }
  .case-detail__metrics { grid-template-columns: 1fr; }
  .case-detail__inner { padding: 24px 20px 28px; }
  .case-detail__hero img { height: 200px; }
}
