@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  --bg: #fafbfc;
  --text: #121212;
  --muted: #6b7280;
  --line: rgba(18, 18, 18, .1);
  --card: #ffffff;
  --accent: #12cfcf;
  --accent-dark: #079fa4;
  --dark: #151719;
  --max: 1680px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

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

button,
input,
select {
  font: inherit;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  min-height: 78px;
  padding: 14px max(22px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 251, 252, .9);
  backdrop-filter: blur(18px);
}

.logo img,
.footer img {
  display: block;
  width: 100%;
  height: auto;
}

.nav {
  justify-self: center;
  display: flex;
  gap: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.nav a,
.header-button {
  padding: 11px 10px;
  border-radius: 12px;
}

.nav a:hover {
  color: var(--text);
  background: rgba(18, 18, 18, .05);
}

.header-button {
  color: #031112;
  font-weight: 800;
  background: var(--accent);
  white-space: nowrap;
}

.hero,
.section,
.contact {
  width: min(var(--max), calc(100vw - 44px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 78px);
  padding: 72px 0;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  overflow-wrap: break-word;
}

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

h2 {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h3 {
  margin-bottom: 10px;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: 0;
}

.lead,
.split-copy p,
.price-copy p,
.contact-inner p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(18px, 1.4vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 0 22px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  color: #031112;
  background: var(--accent);
  box-shadow: 0 16px 36px rgba(18, 207, 207, .24);
}

.secondary {
  border: 1px solid var(--line);
  background: #fff;
}

.hero-visual {
  min-height: 620px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.models-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.photo-note {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  max-width: 430px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 16px 38px rgba(18, 18, 18, .08);
  backdrop-filter: blur(18px);
}

.photo-note strong,
.photo-note span {
  display: block;
}

.photo-note strong {
  margin-bottom: 6px;
  font-size: 20px;
}

.photo-note span {
  color: var(--muted);
  line-height: 1.4;
}

.section {
  padding: 78px 0;
}

.section-head {
  margin-bottom: 28px;
}

.section-text {
  max-width: 780px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

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

.card,
.step,
.material,
.calculator,
.input-list div {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 18px 50px rgba(18, 18, 18, .06);
}

.card {
  min-height: 250px;
  padding: 24px;
}

.card p,
.step p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.input-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.input-list div {
  min-height: 150px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.input-list strong {
  font-size: 30px;
}

.input-list span,
.material span {
  color: var(--muted);
  line-height: 1.4;
}

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

.step {
  min-height: 230px;
  padding: 24px;
}

.step span {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
}

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

.delivery-card {
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(18, 18, 18, .06);
}

.delivery-card span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  margin-bottom: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #031112;
  background: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.delivery-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.material {
  min-height: 220px;
  padding: 22px;
  display: grid;
  align-content: space-between;
  gap: 22px;
}

.material b {
  display: block;
  margin-bottom: 10px;
  font-size: 42px;
}

.material-icon {
  width: 78px;
  height: 78px;
  display: block;
  filter: drop-shadow(0 14px 24px rgba(18, 207, 207, .18));
}

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

.capability-card {
  min-height: 560px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(18, 18, 18, .06);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 16px;
  overflow: hidden;
}

.capability-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  background: #f7f9fa;
}

.capability-card div {
  padding: 0 8px 8px;
}

.capability-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.models-layout {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 18px;
  align-items: stretch;
}

.models-photo {
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 50px rgba(18, 18, 18, .06);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.work-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(18, 18, 18, .04);
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(18, 18, 18, .08);
}

.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  background: #f7f9fa;
  display: block;
}

.work-info {
  padding: 0 4px;
}

.work-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 700;
}

.work-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}

.meta-item span {
  color: var(--muted);
  font-weight: 500;
}

.meta-item strong {
  color: var(--text);
  font-weight: 600;
}

.model-links {
  display: grid;
  gap: 12px;
}

.model-links a {
  min-height: 118px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(18, 18, 18, .06);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 18px;
  align-items: center;
  transition: transform .2s ease, border-color .2s ease;
}

.model-links a:hover {
  border-color: rgba(18, 207, 207, .55);
  transform: translateY(-2px);
}

.model-links strong,
.model-description {
  display: block;
}

.model-links strong {
  font-size: 28px;
}

.model-description {
  grid-column: 1;
  color: var(--muted);
  line-height: 1.45;
}

.model-action {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #031112;
  background: var(--accent);
  font-weight: 900;
  white-space: nowrap;
}

.model-tips {
  margin-top: 18px;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 50px rgba(18, 18, 18, .06);
}

.model-tips h3 {
  margin-bottom: 16px;
}

.model-tips ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.price-section {
  display: block;
}

.price-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.price-copy,
.calculator {
  min-width: 0;
}

.calculator {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calculator-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: start;
}

.calculator label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.calculator input,
.calculator select {
  width: 100%;
  height: 56px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f7f9fa;
  color: var(--text);
}

.total {
  grid-column: 1 / -1;
  min-height: 160px;
  padding: 22px;
  border-radius: 16px;
  color: #031112;
  background: var(--accent);
  display: grid;
  align-content: end;
}

.total span,
.total small {
  font-weight: 800;
}

.total strong {
  margin: 8px 0;
  font-size: clamp(44px, 5vw, 82px);
  line-height: .9;
}

.contact {
  padding: 78px 0 42px;
}

.contact-inner {
  min-height: 560px;
  padding: 38px;
  border-radius: 24px;
  color: white;
  background:
    linear-gradient(135deg, rgba(18, 207, 207, .22), transparent 36%),
    var(--dark);
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 28px;
  align-items: start;
}

.contact-inner .eyebrow {
  color: var(--accent);
}

.contact-inner p {
  color: rgba(255, 255, 255, .72);
}

.order-form {
  padding: 22px;
  border-radius: 20px;
  color: var(--text);
  background: #fff;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.order-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.order-form input:not([type="checkbox"]),
.order-form select,
.order-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: #f7f9fa;
  outline: none;
}

.order-form input:not([type="checkbox"]),
.order-form select {
  min-height: 52px;
  padding: 0 14px;
}

.order-form textarea {
  resize: vertical;
  padding: 14px;
}

.order-form input:not([type="checkbox"]):focus,
.order-form select:focus,
.order-form textarea:focus {
  border-color: var(--accent);
  background: #fff;
}

.wide {
  grid-column: 1 / -1;
}

.file-field small {
  color: var(--muted);
  line-height: 1.35;
}

.file-field {
  position: relative;
}

.file-field input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.file-control {
  min-height: 54px;
  padding: 8px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f7f9fa;
  cursor: pointer;
}

.file-button {
  min-height: 38px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #031112;
  background: var(--accent);
  font-weight: 900;
}

.file-name {
  min-width: 0;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 0;
  color: var(--accent-dark);
  font-weight: 800;
}

.light {
  color: white;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .2);
}

.bottom-cta {
  position: fixed;
  z-index: 25;
  left: 50%;
  bottom: 14px;
  width: min(700px, calc(100vw - 28px));
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 18px 50px rgba(18, 18, 18, .12);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: opacity .2s ease, transform .2s ease;
}

.bottom-cta.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
}

.bottom-cta span {
  padding-left: 10px;
  color: var(--muted);
  font-weight: 800;
}

.bottom-cta .button {
  min-height: 44px;
  border-radius: 12px;
}

.footer {
  background: var(--dark);
  color: white;
  padding: 60px 0 110px; /* отступ снизу под плавающую панель */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-content {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-brand .logo {
  font-size: 24px;
  font-weight: 800;
  text-decoration: none;
}
.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-link {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-link:hover {
  color: var(--accent);
}
.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .25s ease, transform .25s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .header {
    grid-template-columns: 150px 1fr;
  }

  .nav {
    display: none;
  }

  .header-button {
    justify-self: end;
  }

  .hero,
  .split,
  .price-grid,
  .models-layout,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .steps,
  .delivery-grid,
  .material-grid,
  .capability-grid,
  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-wide {
    grid-column: span 2;
  }

  .hero-visual,
  .models-photo {
    min-height: 520px;
  }
}

@media (max-width: 700px) {
  .header {
    min-height: 68px;
    padding: 12px 14px;
    grid-template-columns: 122px auto;
  }

  .header-button {
    padding: 10px 11px;
    font-size: 13px;
  }

  .hero,
  .section,
  .contact {
    width: min(var(--max), calc(100vw - 28px));
  }

  .hero {
    min-height: auto;
    padding: 42px 0 58px;
  }

  h1 {
    font-size: clamp(38px, 11.5vw, 56px);
  }

  h2 {
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.05;
  }

  .hero-visual,
  .models-photo {
    min-height: 420px;
  }

  .service-grid,
  .steps,
  .delivery-grid,
  .material-grid,
  .capability-grid,
  .input-list,
  .calculator-row,
  .works-grid {
    grid-template-columns: 1fr;
  }

  .work-wide {
    grid-column: auto;
  }

  .work-card,
  .work-wide,
  .capability-card {
    min-height: 390px;
  }

  .capability-card img {
    min-height: 260px;
  }

  .file-control {
    grid-template-columns: 1fr;
  }

  .model-links a {
    grid-template-columns: 1fr;
  }

  .model-action {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .total {
    grid-column: auto;
  }

  .contact-inner {
    padding: 28px;
  }

  .order-form {
    grid-template-columns: 1fr;
  }

  .wide,
  .form-status {
    grid-column: auto;
  }

  .bottom-cta {
    grid-template-columns: 1fr 1fr;
    padding-right: 12px !important;
  }

  .bottom-cta span {
    grid-column: 1 / -1;
    padding-left: 0;
    text-align: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* --- Калькулятор: Подсказка --- */
.calculator-tip {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.3;
}

/* --- Акцентные цвета бренда --- */
.brand-rog {
  color: var(--text);
  font-weight: inherit;
}
.contact .brand-rog,
.footer .brand-rog {
  color: #fff;
}
.brand-lab {
  color: var(--accent);
  font-weight: inherit;
}

/* --- Отзывы --- */
.reviews-section {
  padding: 80px 0;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(18, 18, 18, .04);
  display: flex;
  flex-direction: column;
}
.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}
.review-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.review-user-info strong {
  font-size: 15px;
  color: var(--text);
  font-weight: 700;
}
.review-meta {
  font-size: 12px;
  color: var(--accent-dark);
  font-weight: 700;
}
.review-rating {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}
.review-rating .star {
  color: #ffb800;
  font-size: 14px;
}
.review-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* --- О производстве --- */
.about-section {
  padding: 80px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.printer-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(18, 18, 18, 0.03);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.printer-badge {
  align-self: start;
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(18, 207, 207, 0.1);
  color: var(--accent-dark);
  margin-bottom: 20px;
}
.printer-badge.resin {
  background: rgba(118, 75, 238, 0.1);
  color: #6366f1;
}
.printer-card h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}
.printer-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 20px;
}
.printer-specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.spec-row span {
  color: var(--muted);
}
.spec-row strong {
  color: var(--text);
  font-weight: 600;
}

/* --- Контакты и кнопки --- */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
}
.contact-info-item svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
}
.contact-info-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-info-item span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contact-info-item strong {
  color: white;
  font-weight: 600;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}
.contact-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 13px;
  color: white;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.contact-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.contact-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}
.contact-btn.whatsapp:hover {
  border-color: #25D366;
}

/* --- Согласие с конфиденциальностью --- */
.privacy-label {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-size: 12px !important;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
  margin-top: 6px;
}
.privacy-label input {
  width: auto !important;
  min-height: auto !important;
  margin: 0;
  accent-color: var(--accent);
}
.privacy-link {
  color: var(--accent);
  text-decoration: underline;
}
.privacy-link:hover {
  color: var(--accent-dark);
}
.privacy-tip {
  display: block;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 4px;
}

/* --- Кнопка закрытия CTA --- */
.bottom-cta {
  padding-right: 36px !important; /* освобождаем место под крестик */
}
.bottom-cta-close {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 20px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.bottom-cta-close:hover {
  background: rgba(18, 18, 18, 0.08);
  color: var(--text);
}

/* --- Дополнительные медиа-запросы --- */
@media (max-width: 900px) {
  .works-grid,
  .reviews-grid,
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .works-grid,
  .reviews-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }
  .bottom-cta {
    padding-right: 12px !important;
  }
  .bottom-cta-close {
    top: 10px;
    right: 10px;
    transform: none;
  }
}
