/* =========================
   RESET & BASE
   ========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #e5e7eb;

  /* Базовый цвет на случай, если картинка не загрузится */
  background-color: #020617;

  /* Картинка + полупрозрачные градиенты (картинка видна!) */
  background-image:
   radial-gradient(circle at 0% 0%, rgb(248 113 22 / 0%), transparent 60%), radial-gradient(circle at 100% 100%, rgb(56 189 248 / 0%), transparent 60%), linear-gradient(135deg, rgb(2 6 23 / 0%) 0%, rgb(2 6 23 / 0%) 45%, rgb(2 6 23 / 0%) 100%), url(images/itdatametrics-body-bg.jpg);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;

  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  font-family: inherit;
  font-size: 1rem;
}

/* =========================
   LAYOUT HELPERS
   ========================= */

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.section-inner {
  display: grid;
  gap: 2.75rem;
}

.section-inner--split {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: start;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.75rem;
}

.section-header--left {
  text-align: left;
  margin-left: 0;
}

.section-text p {
  margin: 0 0 0.9rem;
}

/* Фон секций (кроме hero) */
.section {
  background: rgba(2, 6, 23, 0.94);
}

.section:nth-of-type(even) {
  background:
    radial-gradient(circle at 0 0, rgba(148, 163, 184, 0.18), transparent 60%),
    rgba(2, 6, 23, 0.97);
}

/* =========================
   TYPOGRAPHY
   ========================= */

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.25;
  color: #f9fafb;
}

h1 {
  font-size: clamp(2.4rem, 3.1vw + 1.4rem, 3.6rem);
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(1.9rem, 2.3vw + 1.1rem, 2.4rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 0.85rem;
  color: #cbd5f5;
  font-size: 1rem;
}

/* =========================
   BUTTONS
   ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.1s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #fb923c, #ea580c);
  color: #0b1120;
  box-shadow: 0 10px 30px rgba(248, 113, 113, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fed7aa, #fb923c);
  box-shadow: 0 16px 45px rgba(248, 113, 113, 0.5);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.8);
}

.btn-secondary:hover {
  background-color: rgba(15, 23, 42, 0.85);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.35);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 1);
  border-color: rgba(248, 250, 252, 0.4);
}

.btn-full {
  width: 100%;
}

/* =========================
   HEADER & NAV
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background:
    radial-gradient(circle at 0 0, rgba(249, 115, 22, 0.26), transparent 60%),
    rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

/* Brand */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand__mark {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #f97316 0, #ea580c 45%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(248, 113, 22, 0.7);
  position: relative;
  overflow: hidden;
}

.brand__dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background-color: #0b1120;
  border: 2px solid #f9fafb;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-size: 1.15rem;
  font-weight: 700;
}

.brand__tagline {
  font-size: 1rem;
  color: #9ca3af;
}

/* Nav */

.site-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  font-size: 1rem;
  color: #e5e7eb;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.15rem;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #f97316, #facc15);
  border-radius: 999px;
  transition: width 0.2s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.4);
  background: rgba(15, 23, 42, 0.9);
}

.nav-cta:hover {
  background: linear-gradient(135deg, #fb923c, #ea580c);
  color: #0b1120;
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle__line {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background-color: #f9fafb;
  margin: 4px 0;
}

/* =========================
   HERO
   ========================= */

.hero {
  padding-top: 4rem;
  padding-bottom: 4.5rem;
  background:
    radial-gradient(circle at 0 0, rgba(248, 113, 22, 0.35), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(59, 130, 246, 0.22), transparent 55%),
    rgba(2, 6, 23, 0.96);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(248, 250, 252, 0.25);
  font-size: 1rem;
  margin-bottom: 1.1rem;
}

.hero-pill i {
  color: #f97316;
}

.hero-text > p {
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.8rem 0 1.4rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  font-size: 1rem;
  color: #cbd5f5;
}

.hero-meta__item i {
  color: #facc15;
}

/* Regulatori */

.hero-regulators {
  margin-top: 1.2rem;
}

.hero-regulators__label {
  font-size: 1rem;
  color: #9ca3af;
  display: block;
  margin-bottom: 0.35rem;
}

.hero-regulators ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
}

.hero-regulators li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 1rem;
}

.hero-regulators i {
  color: #38bdf8;
}

/* Hero media */

.hero-media {
  position: relative;
  display: grid;
  gap: 1.4rem;
}

.hero-media__card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.hero-media__card img {
  width: 100%;
  height: auto;
}

.hero-media__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  color: #f9fafb;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.hero-media__badge i {
  color: #f97316;
}

.hero-media__stack {
  display: grid;
  gap: 0.8rem;
}

.hero-media__mini-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.7rem;
  padding: 0.7rem 0.95rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.hero-media__mini-card--accent {
  border-color: rgba(248, 113, 22, 0.8);
  background:
    radial-gradient(circle at 10% 0, rgba(248, 113, 22, 0.4), transparent 55%),
    rgba(15, 23, 42, 1);
}

.hero-media__mini-card i {
  font-size: 1.4rem;
  color: #f97316;
  margin-top: 0.15rem;
}

.hero-media__mini-title {
  margin: 0 0 0.15rem;
  font-size: 1.05rem;
  color: #f9fafb;
}

.hero-media__mini-text {
  margin: 0;
  font-size: 1rem;
  color: #cbd5f5;
}

/* =========================
   ABOUT
   ========================= */

.section-about {
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.25), transparent 60%),
    rgba(2, 6, 23, 0.98);
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
  display: grid;
  gap: 0.6rem;
}

.bullet-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: start;
  font-size: 1rem;
}

.bullet-list i {
  color: #22c55e;
  margin-top: 0.15rem;
}

/* Info card */

.info-card {
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.35), transparent 65%),
    #020617;
  border: 1px solid rgba(148, 163, 184, 0.7);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.9);
}

.info-card__image {
  width: 100%;
  height: auto;
}

.info-card__body {
  padding: 1.4rem 1.3rem 1.5rem;
}

.info-card__label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #a5b4fc;
  margin-bottom: 0.25rem;
}

.info-card__title {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.info-card__text {
  margin: 0;
  font-size: 1rem;
}

/* =========================
   GENERIC CARDS
   ========================= */

.cards-grid {
  display: grid;
  gap: 1.6rem;
}

.cards-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Feature cards (benefits) */

.feature-card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 1.3rem;
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.feature-card__icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.9rem;
  background: radial-gradient(circle at 20% 0, #f97316 0, #ea580c 45%, #7c2d12 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
}

/* Use cases */

.usecase-card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 1.3rem;
  padding: 1.3rem 1.25rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.usecase-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.usecase-card__tag {
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background-color: rgba(248, 113, 22, 0.18);
  color: #fed7aa;
  font-size: 1rem;
}

.usecase-card__head i {
  color: #38bdf8;
}

/* =========================
   FLOW
   ========================= */

.section-flow {
  position: relative;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.3rem;
}

.flow-step {
  background: rgba(15, 23, 42, 0.97);
  border-radius: 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 1.4rem 1.2rem 1.5rem;
}

.flow-step__index {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #0b1120;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

/* =========================
   PLATFORM MODULES
   ========================= */

.platform-card {
  background: rgba(15, 23, 42, 0.97);
  border-radius: 1.3rem;
  padding: 1.3rem 1.25rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.platform-card__icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.9rem;
  background: radial-gradient(circle at 20% 0, #22c55e 0, #16a34a 45%, #064e3b 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0b1120;
}

/* =========================
   ROLES
   ========================= */

.section-roles .section-inner--split {
  align-items: center;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.role-card {
  background: rgba(15, 23, 42, 0.97);
  border-radius: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 1.1rem 1.1rem 1.2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem 0.9rem;
}

.role-card__icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.9rem;
  background: radial-gradient(circle at 10% 0, #f97316 0, #ea580c 45%, #7c2d12 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  grid-row: span 2;
}

/* =========================
   INSIGHTS & NEWSLETTER
   ========================= */

.section-insights__layout {
  align-items: flex-start;
}

.insights-list {
  display: grid;
  gap: 1.1rem;
}

.insight-card {
  background: rgba(15, 23, 42, 0.97);
  border-radius: 1.3rem;
  padding: 1.2rem 1.2rem 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.insight-card__meta {
  font-size: 1rem;
  color: #a5b4fc;
}

/* Линк-кнопка внутри инсайтов */

.link-button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  background: transparent;
  border: none;
  color: #f97316;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}

.link-button i {
  transition: transform 0.2s ease;
}

.link-button:hover i {
  transform: translateX(3px);
}

/* Newsletter card */

.newsletter-card {
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.3), transparent 60%),
    rgba(15, 23, 42, 0.98);
  border-radius: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 1.6rem 1.4rem 1.5rem;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.9);
}

.newsletter-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.9rem;
  background: radial-gradient(circle at 20% 0, #f97316 0, #ea580c 45%, #7c2d12 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  margin-bottom: 0.7rem;
}

/* =========================
   FORMS
   ========================= */

form {
  margin: 0;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.form-row--inline {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.6rem;
}

label {
  font-size: 1rem;
  color: #e5e7eb;
}

input[type="text"],
input[type="email"],
textarea {
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.9);
  background: rgba(15, 23, 42, 0.92);
  color: #f9fafb;
  padding: 0.75rem 0.9rem;
  font-size: 1rem;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: #64748b;
}

input:focus,
textarea:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 1px rgba(248, 113, 22, 0.6);
}

textarea {
  resize: vertical;
}

.checkbox-field {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 1rem;
}

.checkbox-field input {
  margin-top: 0.2rem;
}

.form-hint {
  margin: 0.35rem 0 0;
  font-size: 1rem;
  color: #9ca3af;
}

/* =========================
   CONTACT SECTION
   ========================= */

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  gap: 0.6rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1rem;
}

.contact-list i {
  color: #f97316;
}

.contact-highlight {
  margin-top: 1.1rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.98);
  border: 1px dashed rgba(148, 163, 184, 0.95);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  font-size: 1rem;
}

.contact-highlight i {
  color: #38bdf8;
  margin-top: 0.1rem;
}

/* Card справа от текста */

.contact-form-card {
  background: rgba(15, 23, 42, 0.98);
  border-radius: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.8);
  padding: 1.5rem 1.4rem 1.5rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.95);
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
  margin-top: auto;
  background:
    radial-gradient(circle at 0 0, rgba(248, 113, 22, 0.25), transparent 60%),
    rgba(2, 6, 23, 0.96);
  border-top: 1px solid rgba(148, 163, 184, 0.5);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 2.2rem;
  padding: 2.6rem 0 2rem;
}

.footer-col h3 {
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
}

.footer-text {
  margin-top: 0.6rem;
  font-size: 1rem;
  color: #cbd5f5;
  max-width: 20rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
  font-size: 1rem;
}

.footer-links a {
  color: #e5e7eb;
}

.footer-links a:hover {
  color: #f97316;
  text-decoration: none;
}

.footer-links--contact li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem;
  align-items: start;
}

.footer-links--contact i {
  margin-top: 0.1rem;
  color: #f97316;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.5);
  padding: 0.9rem 0;
}

.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 1rem;
  color: #9ca3af;
}

.brand--footer .brand__mark {
  box-shadow: 0 0 18px rgba(248, 113, 22, 0.7);
}

/* =========================
   COOKIE BANNER
   ========================= */

.cookie-banner {
  position: fixed;
  inset-inline: 0.75rem;
  bottom: 0.75rem;
  z-index: 50;
}

.cookie-banner-hidden {
  display: none !important;
}

.cookie-banner__inner {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 1.3rem;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.95);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.95);
  padding: 1.2rem 1.4rem;
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) auto;
  gap: 1rem;
}

.cookie-banner__title {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.cookie-banner__text p {
  margin: 0;
  font-size: 1rem;
}

.cookie-banner__text a {
  color: #f97316;
}

.cookie-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: stretch;
}

/* =========================
   FORM POPUP
   ========================= */

.form-popup {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.form-popup.is-visible {
  display: block;
}

.form-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
}

.form-popup__content {
  position: absolute;
  inset-inline: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  max-width: 460px;
  margin: 0 auto;
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.24), transparent 60%),
    rgba(15, 23, 42, 0.98);
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.95);
  padding: 1.6rem 1.6rem 1.5rem;
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.98);
}

.form-popup__close {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  border: none;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  font-size: 1.25rem;
}

.form-popup__icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 0, #22c55e 0, #16a34a 45%, #064e3b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b1120;
  margin-bottom: 0.7rem;
}

.form-popup__title {
  margin-bottom: 0.35rem;
  font-size: 1.4rem;
}

.form-popup__text {
  margin: 0;
  font-size: 1rem;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    order: -1;
  }

  .section-inner--split {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cookie-banner__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .cookie-banner__actions {
    flex-direction: row;
    justify-content: flex-end;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding-block: 0.6rem;
  }

  .site-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(15, 23, 42, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.4);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    transition:
      transform 0.18s ease-out,
      opacity 0.18s ease-out;
  }

  .site-nav.nav-open {
    transform: scaleY(1);
    opacity: 1;
  }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1rem 0.9rem;
    gap: 0.8rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .cards-grid--3,
  .cards-grid--4 {
    grid-template-columns: minmax(0, 1fr);
  }

  .flow-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .roles-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-pill span {
    font-size: 1rem;
  }

  .hero-regulators li {
    font-size: 1rem;
  }

  .contact-highlight {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-popup__content {
    inset-inline: 0.95rem;
  }
}
