:root {
  --color-bg: #f7f8fa;
  --color-surface: #ffffff;
  --color-text: #101827;
  --color-muted: #5b667a;
  --color-primary: #0d6efd;
  --color-accent: #14b8a6;
  --bg-radial-one: #edf3ff;
  --bg-radial-two: #e9fffc;
  --radius: 16px;
  --shadow: 0 14px 32px rgba(16, 24, 39, 0.08);
  --max-width: 1120px;
  --max-width-header: 1320px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  color-scheme: light;
}

html[data-theme='dark'] {
  --color-bg: #0d1422;
  --color-surface: #151f31;
  --color-text: #e6edf9;
  --color-muted: #9fb0c9;
  --color-primary: #5ea8ff;
  --color-accent: #32ce9c;
  --bg-radial-one: #1a2a42;
  --bg-radial-two: #173537;
  --shadow: 0 16px 34px rgba(1, 4, 10, 0.48);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  color: var(--color-text);
  background: radial-gradient(circle at 10% 10%, var(--bg-radial-one) 0, transparent 40%),
    radial-gradient(circle at 90% 15%, var(--bg-radial-two) 0, transparent 42%),
    var(--color-bg);
  line-height: 1.65;
}

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

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

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.topbar {
  background: #eaf0fb;
  color: #102040;
  font-size: 0.9rem;
}

.topbar .container {
  width: min(calc(100% - 2rem), var(--max-width-header));
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  flex-wrap: wrap;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: color-mix(in srgb, var(--color-surface), transparent 12%);
  border-bottom: 1px solid #e5e9f1;
}

.header .container {
  width: min(calc(100% - 2rem), var(--max-width-header));
  display: flex;
  align-items: center;
  min-height: 74px;
  gap: var(--space-4);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  letter-spacing: 0.01em;
  min-width: 0;
  max-width: 100%;
}

.logo span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
}

.nav {
  margin-left: auto;
}

.nav ul {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav ul > li {
  flex: 0 0 auto;
}

.nav a {
  color: var(--color-muted);
  font-weight: 500;
  white-space: nowrap;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--color-text);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  border: 1px solid #d5deec;
  border-radius: 999px;
  background: #ffffff;
  padding: 0.16rem;
  margin-left: auto;
}

.lang-switch--with-nav {
  margin-left: var(--space-3);
}

.lang-switch__link {
  min-width: 2.2rem;
  text-align: center;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #33415d;
  padding: 0.32rem 0.45rem;
}

.lang-switch__link:hover,
.lang-switch__link:focus-visible {
  background: #edf3ff;
}

.lang-switch__link.is-active {
  background: #0d6efd;
  color: #ffffff;
}

.theme-toggle {
  margin-left: var(--space-3);
  border: 1px solid #d5deec;
  border-radius: 999px;
  background: #edf2f9;
  padding: 0.16rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: #bfd0ea;
  background: #e4ecf8;
}

.theme-toggle__track {
  width: 3.15rem;
  height: 1.58rem;
  border-radius: 999px;
  background: #30be7f;
  position: relative;
  transition: background 220ms ease;
}

.theme-toggle__thumb {
  position: absolute;
  top: 0.15rem;
  right: 0.15rem;
  width: 1.28rem;
  height: 1.28rem;
  border-radius: 50%;
  background: #f8fafc;
  box-shadow: 0 5px 14px rgba(10, 24, 42, 0.22);
  display: grid;
  place-items: center;
  transition: transform 220ms ease;
}

.theme-toggle__icon {
  width: 0.8rem;
  height: 0.8rem;
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}

.theme-toggle__icon--sun {
  color: #d98a00;
  opacity: 1;
}

.theme-toggle__icon--moon {
  color: #ecf3ff;
  opacity: 0;
}

.theme-toggle.is-dark .theme-toggle__track {
  background: #3d4c68;
}

.theme-toggle.is-dark .theme-toggle__thumb {
  transform: translateX(-1.58rem);
  background: #142033;
}

.theme-toggle.is-dark .theme-toggle__icon--sun {
  opacity: 0;
}

.theme-toggle.is-dark .theme-toggle__icon--moon {
  opacity: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--radius) - 8px);
  padding: 0.78rem 1.15rem;
  border: 1px solid transparent;
  font-weight: 650;
  transition: transform 180ms ease, box-shadow 180ms ease;
  cursor: pointer;
}

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

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(13, 110, 253, 0.28);
}

a.btn-primary,
a.btn-primary:visited,
a.btn-primary:hover,
a.btn-primary:focus-visible,
.nav a.btn-primary,
.nav a.btn-primary:visited,
.nav a.btn-primary:hover,
.nav a.btn-primary:focus-visible {
  color: #ffffff;
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border-color: #d3dae6;
}

.hero {
  padding: var(--space-8) 0 var(--space-7);
}

.hero-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 var(--space-4);
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
}

p {
  margin: 0 0 var(--space-4);
  color: var(--color-muted);
}

.hero .actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin: var(--space-5) 0;
}

.trust-line {
  color: #243650;
  font-size: 0.95rem;
}

.panel {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-6);
}

.section {
  padding: var(--space-7) 0;
}

.legal-container {
  width: min(calc(100% - 2rem), 920px);
  margin-inline: auto;
}

.legal-shell {
  background: var(--color-surface);
  border: 1px solid #e4e9f2;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 2.8vw, 2.2rem);
}

.legal-contact {
  margin-top: var(--space-5);
  background: linear-gradient(120deg, #eef4ff, #f3fbff);
  border: 1px solid #d6e4ff;
  border-radius: calc(var(--radius) - 6px);
  padding: var(--space-4);
}

.legal-section {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid #e7edf8;
}

.legal-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--color-muted);
}

.legal-list li {
  margin-bottom: var(--space-2);
}

.legal-page .card h3 {
  margin-bottom: var(--space-3);
}

.legal-page h1 {
  max-width: 30ch;
}

.legal-page a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.section-alt {
  background: #eef2f9;
  border-top: 1px solid #e3e8f3;
  border-bottom: 1px solid #e3e8f3;
}

.eyebrow {
  display: inline-block;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.grid-2,
.grid-3 {
  display: grid;
  gap: var(--space-5);
}

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

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

.card {
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid #e4e9f2;
  padding: var(--space-5);
}

.card-link {
  display: block;
  height: 100%;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.card-link:hover,
.card-link:focus-visible {
  border-color: #bfd0ed;
  box-shadow: 0 10px 24px rgba(16, 24, 39, 0.08);
  transform: translateY(-2px);
}

.showcase-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.showcase-card__lead {
  min-height: 6.6rem;
  margin-bottom: var(--space-4);
}

.showcase-card__tags {
  margin-top: auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  scroll-margin-top: 6rem;
}

.pricing-card-preview {
  min-height: 18.25rem;
}

.pricing-card-preview .pricing-card__lead {
  min-height: 5.2rem;
}

.pricing-card__lead {
  margin-bottom: var(--space-4);
  min-height: 3.5rem;
}

.pricing-list {
  margin: 0 0 var(--space-4);
  padding-left: 1.2rem;
  color: var(--color-muted);
}

.pricing-list li {
  margin-bottom: var(--space-2);
}

.pricing-list li:last-child {
  margin-bottom: 0;
}

.pricing-price {
  margin-top: auto;
  margin-bottom: 0;
  line-height: 1.2;
}

.pricing-cta {
  margin-top: var(--space-6);
}

.portfolio-carousel {
  margin-top: var(--space-5);
}

.portfolio-carousel__controls {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.portfolio-carousel__btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid #d6dfef;
  background: var(--color-surface);
  color: #1b2a47;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.portfolio-carousel__btn:hover,
.portfolio-carousel__btn:focus-visible {
  border-color: #bfd0ed;
  background: #edf4ff;
}

.portfolio-carousel__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.portfolio-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (2 * var(--space-5))) / 3);
  gap: var(--space-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.portfolio-carousel__track::-webkit-scrollbar {
  display: none;
}

.portfolio-carousel__track .card {
  scroll-snap-align: start;
}

.portfolio-carousel__track .card h2 a:hover,
.portfolio-carousel__track .card h2 a:focus-visible {
  color: var(--color-primary);
}

.portfolio-cta {
  margin: var(--space-6) 0 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  background: #e7f1ff;
  color: #11408f;
  font-size: 0.78rem;
  margin-right: 0.35rem;
}

.steps {
  counter-reset: steps;
}

.steps li {
  list-style: none;
  position: relative;
  padding-left: 2.8rem;
  margin-bottom: var(--space-4);
}

.steps li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--color-primary);
  font-weight: 700;
}

.process-benefits-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.process-benefits-wrap .card,
.process-benefits-wrap p {
  margin: 0;
}

.process-benefits-wrap .card {
  width: 100%;
}

.benefits-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--color-muted);
}

.benefits-list li {
  margin-bottom: var(--space-2);
}

.benefits-list li:last-child {
  margin-bottom: 0;
}

.process-modal-source {
  display: none;
}

.faq details {
  background: var(--color-surface);
  border: 1px solid #dde5f2;
  border-radius: calc(var(--radius) - 6px);
  padding: var(--space-4);
  margin-bottom: var(--space-3);
  scroll-margin-top: 6rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq details p {
  margin: var(--space-3) 0 0;
  padding-top: var(--space-3);
  border-top: 1px solid #dde5f2;
}

.faq-answer-link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lead-form {
  display: grid;
  gap: var(--space-3);
}

.lead-form-trigger-wrap {
  margin-top: var(--space-4);
}

.contact-cta-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid #d9e4f6;
  background: linear-gradient(150deg, #ffffff 0%, #f5f8ff 55%, #edf4ff 100%);
}

.contact-cta-panel::after {
  content: '';
  position: absolute;
  top: -56px;
  right: -48px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(36, 108, 255, 0.16), rgba(36, 108, 255, 0));
  pointer-events: none;
}

.contact-cta-panel > * {
  position: relative;
  z-index: 1;
}

.contact-cta-panel__eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 var(--space-2);
  padding: 0.26rem 0.62rem;
  border-radius: 999px;
  border: 1px solid #bfd2f7;
  background: #eef4ff;
  color: #21447f;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.contact-cta-panel__title {
  margin-bottom: var(--space-3);
  max-width: 20ch;
}

.contact-cta-panel__lead {
  margin-bottom: var(--space-4);
  max-width: 44ch;
}

.contact-cta-panel .lead-form-trigger-wrap {
  margin-top: 0;
}

.contact-cta-panel .lead-form-trigger-wrap .btn {
  width: 100%;
  justify-content: center;
  font-size: 1.02rem;
  min-height: 3.1rem;
  box-shadow: 0 12px 24px rgba(28, 92, 230, 0.25);
}

.contact-cta-panel__list {
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.contact-cta-panel__list li {
  color: #324765;
  font-size: 0.93rem;
  line-height: 1.45;
}

.contact-cta-panel__list li::before {
  content: '✓';
  color: #1d5cdd;
  font-weight: 700;
  margin-right: 0.45rem;
}

.lead-form label {
  display: grid;
  gap: var(--space-2);
  font-weight: 600;
  color: #29364b;
}

.label-text {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.required-star {
  color: #cb2c2c;
  font-size: 1.1em;
  line-height: 1;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  border: 1px solid #cfd8e8;
  border-radius: 10px;
  padding: 0.72rem 0.8rem;
  width: 100%;
  min-width: 0;
  background: #ffffff;
  color: #1f2d43;
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.lead-form select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%23455A78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.72rem center;
  background-size: 14px 9px;
}

.lead-form select option {
  color: #1f2d43;
  background: #ffffff;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: #7aa8f7;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.14);
}

.lead-form input:-webkit-autofill,
.lead-form input:-webkit-autofill:hover,
.lead-form input:-webkit-autofill:focus,
.lead-form select:-webkit-autofill,
.lead-form select:-webkit-autofill:hover,
.lead-form select:-webkit-autofill:focus,
.lead-form textarea:-webkit-autofill,
.lead-form textarea:-webkit-autofill:hover,
.lead-form textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: #1f2d43;
  box-shadow: 0 0 0 1000px #ffffff inset;
  transition: background-color 9999s ease-out 0s;
}

.lead-form .phone-field {
  display: grid;
  grid-template-columns: minmax(0, 152px) minmax(0, 1fr);
  gap: var(--space-2);
  width: 100%;
}

.lead-form .phone-field > * {
  min-width: 0;
  width: 100%;
}

.lead-form .phone-prefix {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%23455A78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.72rem center;
  background-size: 14px 9px;
  color-scheme: light;
}

.lead-form select.custom-native-select {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

.lead-form .custom-select {
  position: relative;
  width: 100%;
}

.lead-form .custom-select-trigger {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfd8e8;
  border-radius: 10px;
  background: #ffffff;
  color: #1f2d43;
  padding: 0.72rem 2.3rem 0.72rem 0.8rem;
  text-align: left;
  font: inherit;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  position: relative;
}

.lead-form .custom-select-trigger::after {
  content: '';
  position: absolute;
  right: 0.8rem;
  top: 50%;
  width: 14px;
  height: 9px;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%23455A78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 14px 9px;
}

.lead-form .custom-select.open .custom-select-trigger::after {
  transform: translateY(-50%) rotate(180deg);
}

.lead-form .custom-select-trigger.is-placeholder {
  color: #6b7a93;
}

.lead-form .custom-select-trigger:focus {
  outline: none;
  border-color: #7aa8f7;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.14);
}

.lead-form .custom-select-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  right: 0;
  z-index: 20;
  display: none;
  background: #ffffff;
  border: 1px solid #d7dfec;
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(16, 24, 39, 0.14);
  padding: 0.4rem;
  max-height: 250px;
  overflow: auto;
}

.lead-form .custom-select.open .custom-select-menu {
  display: block;
}

.lead-form .custom-select-option {
  width: 100%;
  border: 0;
  background: transparent;
  color: #1f2d43;
  border-radius: 8px;
  text-align: left;
  font: inherit;
  font-weight: 500;
  line-height: 1.35;
  padding: 0.55rem 0.6rem;
  cursor: pointer;
}

.lead-form .custom-select-option:hover {
  background: #f2f7ff;
}

.lead-form .custom-select-option.is-selected {
  background: #e7f1ff;
  color: #184a9c;
}

.lead-form .custom-select.field-invalid .custom-select-trigger {
  border-color: #e29f9f;
  background: #fff4f4;
}

.lead-form .custom-select.field-invalid .custom-select-trigger:focus {
  border-color: #d43b3b;
  box-shadow: 0 0 0 3px rgba(212, 59, 59, 0.16);
}

.lead-form .field-invalid {
  border-color: #d43b3b;
  background: #fff1f1;
}

.lead-form .field-invalid:focus {
  border-color: #d43b3b;
  box-shadow: 0 0 0 3px rgba(212, 59, 59, 0.16);
}

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

.helper {
  font-size: 0.86rem;
  color: #556784;
}

.status {
  border-radius: 10px;
  padding: var(--space-3);
  font-size: 0.92rem;
}

.status-error {
  background: #fff3f3;
  color: #8d1a1a;
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(14, 20, 31, 0.56);
  padding: var(--space-5) 1rem;
  display: none;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}

.lead-modal.open {
  display: flex;
}

.lead-modal-dialog {
  position: relative;
  width: min(680px, 100%);
  margin: auto;
}

.lead-modal-title {
  margin-right: 2.4rem;
}

.lead-modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  border: 0;
  background: #e8edf7;
  color: #1a2942;
  border-radius: 999px;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}

.lead-modal-close:hover {
  background: #dce6f6;
}

body.modal-open {
  overflow: hidden;
}

.cta-banner {
  background: linear-gradient(120deg, #0d6efd, #0891b2);
  color: #f7faff;
  border-radius: var(--radius);
  padding: var(--space-6);
}

.cta-banner p {
  color: #dce9ff;
}

.cta-banner .lead-form-trigger-wrap .btn-primary,
.cta-banner .lead-form .btn-primary,
.cta-banner a.btn-primary {
  background: #ffffff;
  color: #0c57cb;
  border-color: #d7e6ff;
  box-shadow: 0 12px 26px rgba(5, 37, 102, 0.24);
}

.cta-banner .lead-form-trigger-wrap .btn-primary:hover,
.cta-banner .lead-form-trigger-wrap .btn-primary:focus-visible,
.cta-banner .lead-form .btn-primary:hover,
.cta-banner .lead-form .btn-primary:focus-visible,
.cta-banner a.btn-primary:hover,
.cta-banner a.btn-primary:focus-visible {
  background: #f4f8ff;
  color: #0a4fb8;
  border-color: #e1ecff;
}

.footer {
  margin-top: var(--space-8);
  border-top: 1px solid #d9e1ee;
  background: #f1f4fa;
}

.footer .container {
  padding: var(--space-6) 0 var(--space-7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-5);
}

.footer h3 {
  margin-bottom: var(--space-3);
  font-size: 1.05rem;
}

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

.footer li {
  margin-bottom: var(--space-2);
}

.footer-legal {
  border-top: 1px solid #d9e1ee;
  background: #edf1f8;
}

.footer-legal .container {
  padding: var(--space-4) 0;
}

.footer-legal p {
  margin: 0;
  font-size: 0.86rem;
}

.footer-cookie-manage {
  border-top: 1px solid #d9e1ee;
}

.footer-cookie-manage .container {
  padding: var(--space-4) 0;
  display: flex;
  justify-content: flex-end;
}

.muted {
  color: var(--color-muted);
}

.center {
  text-align: center;
}

.center h1 {
  margin-inline: auto;
}

.mobile-sticky-cta {
  display: none;
}

@media (max-width: 1220px) {
  .header .container {
    position: relative;
    gap: var(--space-2);
  }

  .logo {
    flex: 1 1 auto;
    margin-right: auto;
  }

  .logo span {
    max-width: clamp(130px, 43vw, 260px);
  }

  .nav-toggle {
    display: inline-flex;
    color: var(--color-text);
    margin-left: var(--space-2);
    order: 4;
    flex: 0 0 auto;
  }

  .nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid #dbe3f0;
    padding: var(--space-4) 1rem;
    display: none;
    margin-left: 0;
    order: 5;
    width: 100%;
  }

  .nav.open {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .lang-switch {
    margin-left: 0;
    order: 2;
    flex: 0 0 auto;
  }

  .theme-toggle {
    margin-left: var(--space-2);
    order: 3;
    flex: 0 0 auto;
  }
}

@media (max-width: 1000px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
    color: var(--color-text);
    margin-left: var(--space-2);
    order: 4;
  }

  .nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid #dbe3f0;
    padding: var(--space-4) 1rem;
    display: none;
    margin-left: 0;
    order: 5;
    width: 100%;
  }

  .nav.open {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .lang-switch {
    margin-left: 0;
    order: 2;
  }

  .theme-toggle {
    margin-left: var(--space-2);
    order: 3;
  }

  .logo span {
    max-width: clamp(110px, 34vw, 175px);
    font-size: 1rem;
  }

  .lead-form .phone-field {
    grid-template-columns: 1fr;
  }

  .legal-shell {
    padding: var(--space-5);
  }
}

@media (max-width: 1000px) {
  .portfolio-carousel__track {
    grid-auto-columns: calc((100% - var(--space-5)) / 2);
  }
}

@media (max-width: 680px) {
  .logo span {
    display: none;
  }

  .header .container {
    gap: 0.45rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .pricing-card-preview {
    min-height: 0;
  }

  .pricing-card__lead {
    min-height: 0;
  }

  .pricing-cta .btn {
    width: 100%;
  }

  .portfolio-carousel__track {
    grid-auto-columns: 100%;
    gap: var(--space-4);
  }

  .portfolio-carousel__controls {
    margin-bottom: var(--space-2);
  }
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 150;
}

.cookie-banner__inner {
  background: #ffffff;
  border: 1px solid #cfd8e8;
  border-radius: 14px;
  box-shadow: 0 18px 38px rgba(15, 24, 39, 0.22);
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner__text h2 {
  margin: 0 0 0.3rem;
  font-size: 1.08rem;
}

.cookie-banner__text p {
  margin: 0;
  font-size: 0.92rem;
  color: #40506a;
}

.cookie-banner__text a {
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 160;
  background: rgba(12, 18, 29, 0.56);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-modal.open {
  display: flex;
}

.cookie-modal__dialog {
  width: min(680px, 100%);
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #d9e1ee;
  box-shadow: 0 20px 40px rgba(12, 18, 29, 0.28);
  padding: 1.2rem;
  position: relative;
}

.cookie-modal__dialog h2 {
  margin-right: 2.2rem;
}

.cookie-modal__dialog > p {
  margin-top: 0;
}

.cookie-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: #e8edf7;
  color: #20304b;
  font-size: 1.2rem;
  line-height: 1;
}

.cookie-options {
  display: grid;
  gap: 0.72rem;
}

.cookie-option {
  border: 1px solid #d5deec;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
}

.cookie-option strong {
  display: block;
}

.cookie-option small {
  display: block;
  color: #52647f;
  margin-top: 0.18rem;
  line-height: 1.4;
}

.cookie-option input[type='checkbox'] {
  width: 1.1rem;
  height: 1.1rem;
}

.cookie-option--locked {
  background: #f2f5fb;
}

.cookie-modal__actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
}

.cookie-manage-btn {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 140;
  border: 1px solid #bfd0ea;
  background: #f6f9ff;
  color: #1f3554;
  border-radius: 999px;
  padding: 0.42rem 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.cookie-manage-btn--footer {
  position: static;
  left: auto;
  bottom: auto;
  z-index: auto;
}

.cookie-manage-btn:hover {
  background: #ecf3ff;
}

.scroll-top-btn {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 130;
  width: 3rem;
  height: 3rem;
  border: 1px solid #bfd0ea;
  border-radius: 10px;
  background: #f6f9ff;
  color: #1f3554;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(19, 42, 74, 0.16);
  opacity: 0;
  transform: translateY(0.55rem);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease, background 160ms ease;
}

.scroll-top-btn span {
  font-size: 1.2rem;
  line-height: 1;
}

.scroll-top-btn:hover {
  background: #ebf3ff;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top-btn.has-cookie-banner {
  bottom: 5.8rem;
}

.lead-form .privacy-notice {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.45;
  color: #3c4b63;
}

.lead-form .privacy-notice a {
  text-decoration: underline;
}

.recaptcha-wrap {
  margin-top: 0.5rem;
}

.recaptcha-slot {
  min-height: 78px;
}

.map-embed {
  width: 100%;
  min-height: 320px;
  border-radius: 12px;
  border: 1px solid #d5deec;
  overflow: hidden;
  background: #f4f7fd;
}

.contact-map-wrap {
  margin-top: 1.5rem;
}

.map-consent-placeholder {
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 0.8rem;
  padding: 1rem;
}

.map-consent-placeholder p {
  margin: 0;
}

html[data-theme='dark'] .topbar {
  background: #101a2c;
  color: #d6e1f4;
}

html[data-theme='dark'] .header {
  border-bottom-color: #2a354a;
}

html[data-theme='dark'] .lang-switch {
  border-color: #34445f;
  background: #172236;
}

html[data-theme='dark'] .lang-switch__link {
  color: #cfdbef;
}

html[data-theme='dark'] .lang-switch__link:hover,
html[data-theme='dark'] .lang-switch__link:focus-visible {
  background: #233149;
}

html[data-theme='dark'] .theme-toggle {
  border-color: #34445f;
  background: #172236;
}

html[data-theme='dark'] .theme-toggle:hover,
html[data-theme='dark'] .theme-toggle:focus-visible {
  border-color: #435675;
  background: #1d2b41;
}

html[data-theme='dark'] .nav {
  border-bottom-color: #29344a;
}

html[data-theme='dark'] .section-alt {
  background: #111b2c;
  border-top-color: #25314a;
  border-bottom-color: #25314a;
}

html[data-theme='dark'] .card,
html[data-theme='dark'] .panel,
html[data-theme='dark'] .faq details,
html[data-theme='dark'] .legal-shell,
html[data-theme='dark'] .cookie-banner__inner,
html[data-theme='dark'] .cookie-modal__dialog,
html[data-theme='dark'] .cookie-option {
  border-color: #2d3a52;
  background: #172235;
}

html[data-theme='dark'] .faq details p {
  border-top-color: #2d3a52;
}

html[data-theme='dark'] .card-link:hover,
html[data-theme='dark'] .card-link:focus-visible {
  border-color: #42587c;
  box-shadow: 0 12px 26px rgba(1, 4, 10, 0.36);
}

html[data-theme='dark'] .trust-line {
  color: #b8c8e4;
}

html[data-theme='dark'] .legal-contact {
  border-color: #2f4864;
  background: linear-gradient(120deg, #18283f, #183440);
}

html[data-theme='dark'] .legal-section {
  border-top-color: #2c3750;
}

html[data-theme='dark'] .tag {
  background: #1f3455;
  color: #b6d5ff;
}

html[data-theme='dark'] .portfolio-carousel__btn {
  border-color: #33415a;
  background: #1b273a;
  color: #d6e3f8;
}

html[data-theme='dark'] .portfolio-carousel__btn:hover,
html[data-theme='dark'] .portfolio-carousel__btn:focus-visible {
  border-color: #41567b;
  background: #22324c;
}

html[data-theme='dark'] .btn-secondary {
  border-color: #38465f;
  background: #1b293e;
}

html[data-theme='dark'] .lead-form label {
  color: #c5d3ea;
}

html[data-theme='dark'] .contact-cta-panel {
  border-color: #355079;
  background: linear-gradient(148deg, #17263c 0%, #1a2a42 55%, #1e3551 100%);
}

html[data-theme='dark'] .contact-cta-panel::after {
  background: radial-gradient(circle at center, rgba(104, 154, 255, 0.26), rgba(104, 154, 255, 0));
}

html[data-theme='dark'] .contact-cta-panel__eyebrow {
  border-color: #4068a0;
  background: #1b3557;
  color: #c4daff;
}

html[data-theme='dark'] .contact-cta-panel__list li {
  color: #bdcee9;
}

html[data-theme='dark'] .contact-cta-panel__list li::before {
  color: #8dbcff;
}

html[data-theme='dark'] .lead-form input,
html[data-theme='dark'] .lead-form select,
html[data-theme='dark'] .lead-form textarea {
  border-color: #33445f;
  background: #0f1a2c;
  color: #dde7f8;
}

html[data-theme='dark'] .lead-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%23B7C7E6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

html[data-theme='dark'] .lead-form select option {
  background: #152238;
  color: #dde7f8;
}

html[data-theme='dark'] .lead-form .phone-prefix {
  background-color: #0f1a2c;
  color: #dde7f8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%23B7C7E6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

html[data-theme='dark'] .lead-form .phone-prefix:-webkit-autofill,
html[data-theme='dark'] .lead-form .phone-prefix:-webkit-autofill:hover,
html[data-theme='dark'] .lead-form .phone-prefix:-webkit-autofill:focus {
  -webkit-text-fill-color: #dde7f8;
  box-shadow: 0 0 0 1000px #0f1a2c inset;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%23B7C7E6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

html[data-theme='dark'] .lead-form .custom-select-trigger {
  border-color: #33445f;
  background: #0f1a2c;
  color: #dde7f8;
}

html[data-theme='dark'] .lead-form .custom-select-trigger::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%23B7C7E6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

html[data-theme='dark'] .lead-form .custom-select-trigger.is-placeholder {
  color: #9eb0ce;
}

html[data-theme='dark'] .lead-form .custom-select-trigger:focus {
  border-color: #7aa8f7;
  box-shadow: 0 0 0 3px rgba(122, 168, 247, 0.2);
}

html[data-theme='dark'] .lead-form .custom-select-menu {
  background: #152238;
  border-color: #33445f;
  box-shadow: 0 14px 28px rgba(2, 8, 20, 0.65);
}

html[data-theme='dark'] .lead-form .custom-select-option {
  color: #dde7f8;
}

html[data-theme='dark'] .lead-form .custom-select-option:hover {
  background: #1c2f4a;
}

html[data-theme='dark'] .lead-form .custom-select-option.is-selected {
  background: #243d60;
  color: #dce8ff;
}

html[data-theme='dark'] .lead-form input:-webkit-autofill,
html[data-theme='dark'] .lead-form input:-webkit-autofill:hover,
html[data-theme='dark'] .lead-form input:-webkit-autofill:focus,
html[data-theme='dark'] .lead-form select:-webkit-autofill,
html[data-theme='dark'] .lead-form select:-webkit-autofill:hover,
html[data-theme='dark'] .lead-form select:-webkit-autofill:focus,
html[data-theme='dark'] .lead-form textarea:-webkit-autofill,
html[data-theme='dark'] .lead-form textarea:-webkit-autofill:hover,
html[data-theme='dark'] .lead-form textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: #dde7f8;
  box-shadow: 0 0 0 1000px #0f1a2c inset;
}

html[data-theme='dark'] .lead-form .field-invalid {
  border-color: #a95353;
  background: #2d191f;
}

html[data-theme='dark'] .helper {
  color: #9eb0ce;
}

html[data-theme='dark'] .status-error {
  background: #3a1d26;
  color: #ffb8c3;
}

html[data-theme='dark'] .lead-modal-close,
html[data-theme='dark'] .cookie-modal__close {
  background: #24334d;
  color: #dce7f7;
}

html[data-theme='dark'] .lead-modal-close:hover,
html[data-theme='dark'] .cookie-modal__close:hover {
  background: #304466;
}

html[data-theme='dark'] .cookie-banner__text p,
html[data-theme='dark'] .cookie-option small {
  color: #a6b7d2;
}

html[data-theme='dark'] .cookie-option--locked {
  background: #111b2b;
}

html[data-theme='dark'] .cookie-manage-btn,
html[data-theme='dark'] .scroll-top-btn {
  border-color: #3b4f72;
  background: #1a2941;
  color: #dce8fb;
}

html[data-theme='dark'] .cookie-manage-btn:hover,
html[data-theme='dark'] .scroll-top-btn:hover {
  background: #233655;
}

html[data-theme='dark'] .lead-form .privacy-notice {
  color: #bfcee6;
}

html[data-theme='dark'] .map-embed {
  border-color: #2d3f5c;
  background: #101b2f;
}

html[data-theme='dark'] .footer {
  border-top-color: #27344c;
  background: #0f1a2b;
}

html[data-theme='dark'] .footer-legal {
  border-top-color: #27344c;
  background: #101d31;
}

html[data-theme='dark'] .footer-cookie-manage {
  border-top-color: #27344c;
}

@media (max-width: 820px) {
  .cookie-banner {
    left: 0.6rem;
    right: 0.6rem;
    bottom: 0.6rem;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    justify-content: stretch;
  }

  .cookie-banner__actions .btn {
    width: 100%;
  }

  .cookie-modal__actions {
    flex-direction: column;
  }

  .cookie-modal__actions .btn {
    width: 100%;
  }

  .cookie-manage-btn:not(.cookie-manage-btn--footer) {
    bottom: 5rem;
  }

  .scroll-top-btn {
    bottom: 1rem;
  }

  .scroll-top-btn.has-cookie-banner {
    bottom: 11rem;
  }
}
