/*
Theme Name: Nikolay
Author: Lena
Description: Кастомная тема WordPress для лендинга ПроФинПром
Version: 1.0
Text Domain: nikolay
*/

:root {
  --bg: #0f1114;
  --bg-soft: #151920;
  --surface: #181c23;
  --surface-2: #1f242d;
  --surface-3: #12161c;
  --text: #f2f4f7;
  --muted: #b2bac6;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --accent: #ffd24a;
  --accent-2: #ffb400;
  --success: #8ac53f;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 28px;
  --container: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 180, 0, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(138, 197, 63, 0.12), transparent 24%),
    linear-gradient(180deg, #0f1114 0%, #13171d 42%, #0f1114 100%);
  line-height: 1.5;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 50px 0;
}

.section-dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 44px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-2), var(--success));
}

.section-heading {
  max-width: 860px;
  margin-bottom: 40px;
}

.section-heading-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2,
.spec-content h2,
.cta-content h2,
.contacts-card h2,
.page-content h1 {
  margin: 0 0 16px;
  font-size: clamp(1rem, 4.5vw, 2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-heading p,
.spec-content p,
.cta-content p,
.contacts-card p,
.page-content p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #171717;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 18px 40px rgba(255, 180, 0, 0.25);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
}

.btn-small {
  min-height: 46px;
  padding: 0 20px;
  font-size: 0.95rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(12, 14, 17, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}

.site-branding {
  display: flex;
  align-items: center;
}

.site-branding .custom-logo-link,
.logo {
  display: inline-flex;
  align-items: center;
}

.site-branding .custom-logo,
.logo-img {
  height: 70px;
  width: auto;
  display: block;
  border-radius: 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 12px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: 0.2s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

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

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.hero {
  min-height: calc(100svh - 76px);
  padding: 0;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: 24px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  max-width: 650px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-points span,
.cta-list span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.hero-points span::before,
.cta-list span::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--success));
  box-shadow: 0 0 0 5px rgba(255, 210, 74, 0.08);
}

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

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

.stat-card,
.direction-card,
.benefit-card,
.product-card,
.mini-card,
.process-card,
.form-card,
.faq-card,
.contacts-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 12px;
  border-radius: 22px;
}

.stat-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.08rem;
  color: var(--accent);
}

.stat-card span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.hero-image-wrap {
  position: relative;
  display: block;
  width: 100%;
  max-width: 620px;
  height: clamp(320px, 42vw, 520px);
  border-radius: 20px;
  overflow: hidden;
}

.hero-image-wrap::before {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 30px;
  background: radial-gradient(circle, rgba(135, 195, 61, 0.25), transparent 70%);
  filter: blur(30px);
  z-index: -1;
  opacity: 0.6;
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image:hover {
  transform: scale(1.02);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.45),
    0 0 30px rgba(135, 195, 61, 0.15);
}

.trust-strip {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

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

.trust-grid div {
  color: var(--muted);
}

.trust-grid strong {
  color: var(--text);
}

.direction-grid,
.benefits-grid,
.process-grid,
.faq-grid,
.contacts-grid {
  display: grid;
  gap: 22px;
}

.direction-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.direction-card {
  position: relative;
  padding: 34px;
  min-height: 380px;
  border-radius: 30px;
  overflow: hidden;
}

.direction-card::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -30px;
  bottom: -30px;
  border-radius: 50%;
  filter: blur(16px);
}

.direction-card-sign::after {
  background: radial-gradient(circle, rgba(255, 180, 0, 0.18), transparent 70%);
}

.direction-card-reflective::after {
  background: radial-gradient(circle, rgba(138, 197, 63, 0.18), transparent 70%);
}

.card-label,
.product-meta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
}

.direction-card h3,
.benefit-card h3,
.product-card h3,
.process-card h3,
.faq-card h3 {
  margin: 0 0 14px;
  font-size: 1.5rem;
  line-height: 1.1;
}

.direction-card p,
.benefit-card p,
.product-card p,
.process-card p,
.faq-card p {
  margin: 0;
  color: var(--muted);
}

.card-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.card-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--success));
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  font-weight: 800;
  color: var(--accent);
}

.benefits-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-card {
  padding: 28px;
  border-radius: 26px;
}

.benefit-icon,
.process-number {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 210, 74, 0.18), rgba(138, 197, 63, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--accent);
  font-weight: 800;
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-filter {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.catalog-filter:hover,
.catalog-filter.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #171717;
  border-color: transparent;
}

.catalog-nav {
  display: flex;
  gap: 10px;
}

.catalog-arrow {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  font-size: 1.1rem;
  transition: 0.2s ease;
}

.catalog-arrow:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.catalog-slider-wrap {
  overflow: hidden;
}

.catalog-grid {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.catalog-grid::-webkit-scrollbar {
  display: none;
}

.catalog-grid .product-card {
  flex: 0 0 calc((100% - 44px) / 4);
  min-width: 300px;
  max-width: 380px;
}

.catalog-grid .product-card.hidden {
  display: none;
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-radius: 26px;
}

.product-media {
  height: 250px;
  margin-bottom: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, #20262e, #11161b);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.image-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #20262e, #11161b);
}

.product-bottom {
  display: grid;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
}

.price {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
}

.spec-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}

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

.mini-card {
  padding: 24px;
  border-radius: 24px;
}

.mini-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.mini-card span {
  color: var(--muted);
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-card {
  padding: 28px;
  border-radius: 26px;
  display: grid;
  grid-template-rows: auto minmax(72px, auto) 1fr;
  align-content: start;
}

.process-card h3 {
  display: flex;
  align-items: flex-start;
}

.cta-section {
  position: relative;
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 24px;
  align-items: start;
  padding: 42px;
  border-radius: 34px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(255, 210, 74, 0.16), transparent 22%),
    radial-gradient(circle at bottom right, rgba(138, 197, 63, 0.16), transparent 24%),
    linear-gradient(145deg, #1a2028, #12161c);
  box-shadow: var(--shadow);
}

.cta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.form-card {
  display: grid;
  gap: 14px;
  padding: 26px;
  border-radius: 28px;
  background: rgba(10, 12, 16, 0.72);
}

.form-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 6px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 16px 18px;
  outline: none;
  transition: 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(255, 210, 74, 0.45);
  box-shadow: 0 0 0 4px rgba(255, 210, 74, 0.08);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-policy,
.form-message {
  color: var(--muted);
}

.cf7-form-wrap {
  display: block;
}

.cf7-form-wrap .wpcf7 {
  width: 100%;
}

.cf7-form-wrap .wpcf7 form {
  gap: 10px;
}

.cf7-form-wrap .wpcf7 p {
  margin: 0;
}

.cf7-form-wrap .wpcf7-form-control-wrap {
  display: block;
  margin-top: 6px;
}

.cf7-form-wrap label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

.cf7-form-wrap input:not([type="submit"]),
.cf7-form-wrap textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 16px 18px;
  outline: none;
  transition: 0.2s ease;
}

.cf7-form-wrap input:not([type="submit"]):focus,
.cf7-form-wrap textarea:focus {
  border-color: rgba(255, 210, 74, 0.45);
  box-shadow: 0 0 0 4px rgba(255, 210, 74, 0.08);
}

.cf7-form-wrap textarea {
  min-height: 55px;
  max-height: 120px;
  resize: vertical;
}

.cf7-form-wrap .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  color: #171717;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 18px 40px rgba(255, 180, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cf7-form-wrap .wpcf7-submit:hover {
  transform: translateY(-2px);
}

.cf7-form-wrap .wpcf7-spinner {
  margin: 8px 0 0;
}

.cf7-form-wrap .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 0.85rem;
}

.cf7-form-wrap .wpcf7 form .wpcf7-response-output {
  margin: 12px 0 0 !important;
  padding: 12px 14px !important;
  border-radius: 14px;
  font-size: 0.95rem;
}

.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-card {
  padding: 28px;
  border-radius: 26px;
}

.contacts-section {
  padding-top: 0;
}

.contacts-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contacts-card {
  padding: 32px;
  border-radius: 30px;
}

.contact-items {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.contact-item {
  display: grid;
  gap: 6px;
}

.contact-item strong {
  font-size: 0.96rem;
}

.contact-item span,
.contact-item a {
  color: var(--muted);
}

.map-card {
  padding: 0;
  overflow: hidden;
}

.map-box {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
  overflow: hidden;
  border-radius: 30px;
}

.map-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 17, 20, 0.1), rgba(15, 17, 20, 0.1));
  pointer-events: none;
}

.map-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer {
  padding: 26px 0 40px;
  border-top: 1px solid var(--line);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-row p,
.footer-row a {
  margin: 0;
  color: var(--muted);
}

.page-main {
  padding: 60px 0;
}

.page-content {
  max-width: 900px;
}

.page-content>*:first-child {
  margin-top: 0;
}

.page-content>*:last-child {
  margin-bottom: 0;
}

@media (max-width: 1160px) {

  .hero-grid,
  .spec-grid,
  .cta-grid,
  .contacts-grid,
  .direction-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid,
  .faq-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-image {
    max-width: 560px;
    max-height: 52svh;
  }

  .catalog-grid .product-card {
    flex: 0 0 calc((100% - 22px) / 2);
  }
}

@media (max-width: 860px) {
  .section {
    padding: 76px 0;
  }

  .nav,
  .header-phone,
  .header-actions .btn-small {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .header-row {
    position: relative;
  }

  .nav.open {
    display: flex;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    padding: 14px;
    border-radius: 22px;
    background: rgba(11, 14, 18, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .hero {
    min-height: auto;
    padding: 32px 0 28px;
  }

  .hero-actions,
  .hero-points,
  .cta-list {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats,
  .benefits-grid,
  .spec-cards,
  .process-grid,
  .faq-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .btn,
  .cf7-form-wrap .wpcf7-submit {
    width: 100%;
  }

  .catalog-toolbar {
    align-items: stretch;
  }

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

  .catalog-grid .product-card {
    flex: 0 0 85%;
    min-width: 280px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .section {
    padding: 64px 0;
  }

  .hero h1 {
    font-size: 2.15rem;
    line-height: 0.98;
  }

  .hero-image {
    max-width: 100%;
    max-height: none;
  }

  .direction-card,
  .benefit-card,
  .product-card,
  .mini-card,
  .process-card,
  .faq-card,
  .contacts-card,
  .form-card,
  .cta-grid {
    padding: 22px;
  }

  .product-media {
    height: 200px;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .catalog-filters {
    width: 100%;
  }

  .catalog-filter {
    flex: 1 1 100%;
  }

  .catalog-grid .product-card {
    flex: 0 0 88%;
  }
}

.site-footer {
    padding: 40px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: #050505;
}

.footer-policy-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    margin-bottom: 28px;
}

.footer-policy-links a {
    color: rgba(255,255,255,0.72);
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    transition: 0.25s ease;
}

.footer-policy-links a:hover {
    color: #ffc400;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-row p {
    margin: 0;
    color: rgba(255,255,255,0.55);
    font-size: 14px;
    line-height: 1.5;
}

.footer-up {
    color: #ffc400;
    text-decoration: none;
    font-weight: 600;
    transition: 0.25s ease;
}

.footer-up:hover {
    color: #ffe27a;
    transform: translateY(-2px);
}

@media (max-width: 768px) {

    .footer-policy-links {
        flex-direction: column;
        gap: 12px;
    }

    .footer-row {
        flex-direction: column;
        align-items: flex-start;
    }

}


.cf7-form-wrap .cf7-policy-row {
  margin: 24px 0 28px;
}

.cf7-form-wrap .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.cf7-form-wrap .wpcf7-acceptance label {
  display: flex;
  align-items: center;
  gap: 14px;

  padding: 14px 16px;

  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.03);

  cursor: pointer;

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.cf7-form-wrap .wpcf7-acceptance label:hover {
  border-color: rgba(255, 212, 74, 0.25);
  background: rgba(255, 255, 255, 0.045);
}

.cf7-form-wrap .wpcf7-acceptance input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;

  position: relative;

  width: 18px;
  min-width: 18px;
  height: 18px;

  margin: 0;

  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 5px;

  background: transparent;

  cursor: pointer;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.cf7-form-wrap .wpcf7-acceptance input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #ffd84d, #ffb800);
  border-color: #ffcc22;
}

.cf7-form-wrap .wpcf7-acceptance input[type="checkbox"]:checked::after {
  content: "✓";

  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #111;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.cf7-form-wrap .cf7-policy-text {
  color: rgba(255, 255, 255, 0.92);

  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
}

.cf7-form-wrap .cf7-policy-text a {
  color: #ffc400;

  text-decoration: underline;
  text-underline-offset: 4px;

  transition: color 0.2s ease;
}

.cf7-form-wrap .cf7-policy-text a:hover {
  color: #ffe070;
}

@media (max-width: 640px) {

  .cf7-form-wrap .wpcf7-acceptance label {
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
  }

  .cf7-form-wrap .cf7-policy-text {
    font-size: 13px;
    line-height: 1.45;
  }

  .cf7-form-wrap .wpcf7-acceptance input[type="checkbox"] {
    width: 18px;
    min-width: 18px;
    height: 18px;

    margin-top: 2px;
  }

}