:root {
  /* Цвета */
  --purple: #5b21ff;
  --purple-deep: #31128b;
  --purple-soft: #ede9ff;

  --yellow: #facc15;
  --yellow-soft: #fef9c3;

  --bg-body-top: #050816;
  --bg-body-bottom: #111827;

  --text-dark: #111827;
  --text-mid: #374151;
  --text-muted: #6b7280;
  --text-light: #f9fafb;

  --border-subtle: rgba(148, 163, 184, 0.4);
  --shadow-strong: 0 26px 60px rgba(15, 23, 42, 0.85);
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.55);

  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-pill: 999px;
}

/* ОБЩЕЕ */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-dark);

  background-image: linear-gradient(
      135deg,
      rgba(17, 24, 39, 0.9),
      rgba(15, 23, 42, 0.95)
    ),
    url("../images/finance-Missaomochilas-bg.jpg");
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  font-family: "Playfair Display", "Times New Roman", serif;
  line-height: 1.25;
  color: var(--text-dark);
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--purple-deep);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.container {
  width: 92%;
  max-width: 1180px;
  margin: 0 auto;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}

.logo span {
  color: var(--yellow);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: #e5e7eb;
  padding: 0.35rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.18rem;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--yellow), var(--purple));
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link-active {
  color: #fefce8;
}

.nav-link-active::after {
  width: 100%;
}

.nav-link-cta {
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--purple), var(--yellow));
  color: #020617;
  border: 1px solid rgba(250, 204, 21, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
}

.nav-link-cta i {
  font-size: 0.9rem;
}

/* BURGER */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.1rem;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

/* СЕКЦИИ */

.section {
  margin: 3.2rem 0;
}

.section > .container {
  background: rgba(249, 250, 251, 0.98);
  border-radius: var(--radius-lg);
  padding: 3rem 2.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
}

/* HERO */

.section-hero > .container.hero-container {
  background: #f9fafb;
}

.hero-grid {
  display: grid;
  gap: 2.6rem;
}

.hero-col-main {
  min-width: 0;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  background: #111827;
  color: #e5e7eb;
  font-size: 0.82rem;
  border: 1px solid rgba(148, 163, 184, 0.85);
}

.badge-pill-soft {
  background: linear-gradient(
    135deg,
    rgba(250, 204, 21, 0.1),
    rgba(109, 40, 217, 0.9)
  );
  border-color: rgba(250, 204, 21, 0.9);
  color: #fefce8;
}

.badge-pill i {
  font-size: 0.9rem;
}

.section-header-compact {
  margin-bottom: 1.4rem;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.section-kicker i {
  color: var(--yellow);
}

.hero-lead {
  color: var(--text-mid);
  max-width: 36rem;
}

.text-accent {
  background: linear-gradient(120deg, var(--yellow), #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.4rem 0 1.8rem;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.6rem;
}

.hero-stat-card {
  padding: 1.2rem 1.2rem;
  border-radius: var(--radius-md);
  background: #020617;
  color: var(--text-light);
  border: 1px solid rgba(15, 23, 42, 0.9);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.8);
}

.hero-stat-card h3 {
  color: #e5e7eb;
  font-size: 1.02rem;
}

.hero-stat-card p {
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
}

.hero-stat-highlight {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-stat-highlight i {
  color: var(--yellow);
}

/* Контакты в hero */

.hero-contact-strip {
  border-top: 1px solid rgba(148, 163, 184, 0.7);
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.hero-contact-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.hero-contact-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #111827;
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.9);
}

.hero-contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.hero-contact-value {
  display: block;
  color: var(--text-dark);
  font-weight: 600;
}

/* HERO PANEL */

.hero-col-panel {
  min-width: 0;
}

.Missaomochilas-panel {
  border-radius: var(--radius-md);
  padding: 1.8rem 1.6rem;
  background: radial-gradient(circle at top left, #4c1d95, #020617);
  color: var(--text-light);
  border: 1px solid rgba(148, 163, 184, 0.9);
  box-shadow: var(--shadow-strong);
}

.Missaomochilas-panel h2 {
  color: #fefce8;
  font-size: 1.35rem;
}

.Missaomochilas-panel p {
  color: #e5e7eb;
  font-size: 0.96rem;
}

.Missaomochilas-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.1rem 0;
}

.metric-card {
  padding: 0.9rem 0.9rem;
  border-radius: 18px;
  color: #f9fafb;
  font-size: 0.9rem;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.9);
}

.metric-card-left {
  background: radial-gradient(circle at top left, #6d28d9, #f97316);
}

.metric-card-right {
  background: radial-gradient(circle at top left, #4c1d95, #f59e0b);
}

.metric-label {
  font-size: 0.82rem;
  opacity: 0.9;
}

.metric-value {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 0.1rem;
}

.metric-value i {
  font-size: 0.95rem;
}

.metric-note {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
}

.panel-footnote {
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

.panel-callout {
  margin-top: 1.3rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.8);
}

.panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(250, 204, 21, 0.9);
  background: rgba(250, 204, 21, 0.15);
  color: #fefce8;
  font-size: 0.82rem;
}

.panel-badge i {
  color: var(--yellow);
}

.panel-list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0.8rem;
  font-size: 0.9rem;
}

.panel-list li {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.panel-list i {
  color: #22c55e;
  margin-top: 0.2rem;
}

.panel-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--yellow-soft);
}

/* SECTION HEADERS */

.section-header {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-header p {
  color: var(--text-mid);
}

/* NEW BLOCK: SIGNALS */

.section-signals > .container {
  background: linear-gradient(
    135deg,
    rgba(91, 33, 255, 0.06),
    rgba(250, 204, 21, 0.04)
  );
}

.signals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.6rem;
}

.signal-card {
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 1.4rem 1.4rem;
}

.signal-card h3 {
  font-size: 1.1rem;
}

.signal-card p {
  color: var(--text-mid);
}

.signal-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--purple), #f97316);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  margin-bottom: 0.6rem;
}

.signal-list {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-mid);
  font-size: 0.95rem;
}

/* ITALY SECTION */

.two-col {
  display: grid;
  gap: 2.4rem;
}

.section-italy > .container {
  background: #f9fafb;
}

.badge-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(91, 33, 255, 0.08);
  border: 1px dashed rgba(91, 33, 255, 0.7);
  font-size: 0.82rem;
  color: var(--text-mid);
}

.badge-tag i {
  color: var(--purple);
}

.two-col-side {
  min-width: 0;
}

.map-card {
  border-radius: var(--radius-md);
  background: radial-gradient(circle at top left, #4c1d95, #020617);
  color: var(--text-light);
  padding: 1.6rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.85);
  box-shadow: var(--shadow-strong);
}

.map-header {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 0.8rem;
}

.map-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--yellow), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #020617;
  border: 1px solid rgba(250, 250, 250, 0.85);
}

.map-header h3 {
  color: #fefce8;
  font-size: 1.1rem;
}

.map-header p {
  color: #e5e7eb;
  font-size: 0.92rem;
}

.map-image {
  border-radius: 18px;
  overflow: hidden;
  margin: 0.6rem 0 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.9);
}

.map-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.map-list li {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.map-list i {
  color: var(--yellow-soft);
  margin-top: 0.2rem;
}

/* STORY */

.section-story > .container {
  background: rgba(249, 250, 251, 0.98);
}

.story-layout {
  display: grid;
  gap: 1.8rem;
}

.story-card {
  border-radius: var(--radius-md);
  padding: 1.5rem 1.5rem;
}

.story-card-dark {
  background: #020617;
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.85);
  box-shadow: var(--shadow-strong);
}

.story-list {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
}

.story-list li {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.story-list i {
  color: #22c55e;
  margin-top: 0.2rem;
}

.story-metrics {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
}

.story-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.6);
  padding: 0.55rem 0;
}

.story-metric-row:last-child {
  border-bottom: none;
}

.story-metric-label {
  color: var(--text-mid);
  font-size: 0.96rem;
}

.story-metric-value {
  font-weight: 700;
  color: var(--purple-deep);
}

.story-footnote {
  margin-top: 0.8rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* TESTIMONIALS */

.section-testimonials > .container {
  background: linear-gradient(
    135deg,
    rgba(91, 33, 255, 0.05),
    rgba(250, 204, 21, 0.05)
  );
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 1.4rem 1.4rem;
}

.testimonial-card p {
  color: var(--text-mid);
}

.testimonial-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(91, 33, 255, 0.12);
  border: 1px solid rgba(91, 33, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin-bottom: 0.6rem;
}

.testimonial-name {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* CTA */

.section-cta > .container {
  background: #f9fafb;
}

.cta-layout {
  align-items: flex-start;
}

.cta-points {
  list-style: none;
  padding: 0;
  margin: 0.3rem 0 0;
  color: var(--text-mid);
}

.cta-points li {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.cta-points i {
  color: var(--purple);
  margin-top: 0.15rem;
}

/* FORM */

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

input,
select,
textarea {
  font: inherit;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  background: #ffffff;
  color: var(--text-dark);
}

input::placeholder,
textarea::placeholder {
  color: #9ca3af;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--purple);
  outline-offset: 1px;
  border-color: transparent;
}

textarea {
  resize: vertical;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-note a {
  color: var(--purple-deep);
}

.form-notice {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  background: rgba(22, 163, 74, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.6);
  color: #166534;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.form-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.5rem;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn i {
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple), #a855f7);
  color: #f9fafb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.95);
  text-decoration: none;
}

.btn-secondary {
  background: #f3f4f6;
  color: var(--text-dark);
  border-color: rgba(148, 163, 184, 0.9);
}

.btn-secondary:hover {
  background: #e5e7eb;
  text-decoration: none;
}

.btn-full {
  width: 100%;
}

/* FOOTER */

.site-footer {
  margin-top: 3.2rem;
  padding: 2.8rem 0 1.8rem;
  background: radial-gradient(circle at top, #111827, #020617);
  color: #e5e7eb;
  border-top: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.75);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.55);
}

.footer-logo {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #f9fafb;
  margin-bottom: 0.7rem;
}

.footer-logo span {
  color: var(--yellow);
}

.footer-col h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.7rem;
}

.footer-col p {
  font-size: 0.9rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.35rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: #e5e7eb;
}

.footer-col a:hover {
  color: var(--purple-soft);
  text-decoration: none;
}

.footer-news-text {
  font-size: 0.86rem;
  color: #9ca3af;
}

.newsletter-form {
  margin-top: 0.8rem;
}

.newsletter-row {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.newsletter-row input {
  flex: 1 1 auto;
  background: #020617;
  color: #f9fafb;
  border-radius: var(--radius-pill);
}

.newsletter-btn {
  padding-inline: 0.95rem;
}

.newsletter-note {
  font-size: 0.78rem;
  color: #9ca3af;
  margin-top: 0.45rem;
}

.newsletter-note a {
  color: var(--purple-soft);
}

.newsletter-notice {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.6);
  color: #bbf7d0;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.newsletter-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-bottom {
  padding-top: 1rem;
  font-size: 0.8rem;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  align-items: center;
  color: #9ca3af;
}

.footer-bottom-note {
  color: #6b7280;
}

/* COOKIE BANNER */

.cookie-banner {
  position: fixed;
  inset: auto 0 1.6rem 0;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-inner {
  max-width: 720px;
  width: 100%;
  background: #020617;
  color: #e5e7eb;
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(148, 163, 184, 0.9);
}

.cookie-inner h3 {
  margin-bottom: 0.4rem;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fefce8;
}

.cookie-inner h3 i {
  color: var(--yellow);
}

.cookie-inner p {
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}

.cookie-note {
  font-size: 0.82rem;
  color: #9ca3af;
}

.cookie-note a {
  color: var(--purple-soft);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-end;
  margin-top: 0.7rem;
}

/* RESPONSIVE */

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
  }

  .two-col {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }

  .story-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  }
}

@media (max-width: 959px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 0.7rem 1.2rem 1rem;
    background: rgba(15, 23, 42, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.7);
    flex-direction: column;
    gap: 0.7rem;
    transform-origin: top;
    transform: scaleY(0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav.nav-open {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
  }

  .site-header {
    position: sticky;
  }

  .section > .container {
    padding: 2.6rem 1.8rem;
  }

  .section {
    margin: 2.6rem 0;
  }

  .newsletter-row {
    flex-direction: column;
  }

  .newsletter-btn {
    width: 100%;
    justify-content: center;
  }

  .cookie-inner {
    padding: 1.3rem 1.1rem;
  }
}

/* === Success Popup (forms) === */

.form-popup-backdrop {
  position: fixed;
  inset: 0;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.7); /* тёмный полупрозрачный фон */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 9999;
}

.form-popup-backdrop.form-popup-visible {
  opacity: 1;
  pointer-events: auto;
}

.form-popup {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: 18px;
  border: 1px solid rgba(250, 204, 21, 0.35); /* жёлтая обводка */
  padding: 1.75rem 1.75rem 1.5rem;
  background:
    radial-gradient(circle at top, rgba(250, 204, 21, 0.25) 0, transparent 55%),
    linear-gradient(135deg, #4c1d95, #2e1065 45%, #020617 100%); /* фиолетово-жёлтый градиент */
  box-shadow:
    0 22px 55px rgba(15, 23, 42, 0.9),
    0 0 0 1px rgba(15, 23, 42, 0.8);
  color: #e5e7eb;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

/* Кнопка закрытия (крестик) */
.form-popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.12s ease;
}

.form-popup-close:hover {
  background: rgba(250, 204, 21, 0.15);
  border-color: rgba(250, 204, 21, 0.7);
  transform: translateY(-1px);
}

.form-popup-close span {
  display: block;
  transform: translateY(-1px);
}

/* Контент попапа */
.form-popup-content {
  text-align: left;
}

.form-popup-content h2 {
  margin: 0 0 0.75rem;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 600;
  font-size: 1.35rem; /* читабельно при базовом 17px */
  line-height: 1.25;
  color: #fefce8; /* светлый заголовок */
}

.form-popup-content p {
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #e5e7eb;
}

/* Кнопка "Close" внутри попапа */
.form-popup-ok.btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.25rem;
}

/* Лёгкий "подсвеченный" стиль для основной кнопки в попапе */
.form-popup-ok.btn.btn-primary {
  box-shadow:
    0 12px 30px rgba(109, 40, 217, 0.8),
    0 0 0 1px rgba(250, 204, 21, 0.4);
}

/* Адаптивность */
@media (max-width: 640px) {
  .form-popup {
    padding: 1.35rem 1.25rem 1.25rem;
    border-radius: 16px;
  }

  .form-popup-content h2 {
    font-size: 1.2rem;
  }

  .form-popup-close {
    top: 8px;
    right: 10px;
    width: 28px;
    height: 28px;
    font-size: 1.3rem;
  }
}

