/* Charged Development — static homepage (English) */

:root {
  --ink: #0b0f14;
  --ink-soft: #141b24;
  --bg: #f6f8fc;
  --surface: #ffffff;
  --text: #10151c;
  --muted: #59667a;
  --border: #e2e8f0;
  --accent: #1a5cff;
  --accent-dark: #0f3fc4;
  --accent-soft: #e9f0ff;
  --accent-bright: #7aa8ff;
  --on-dark: #ffffff;
  --on-dark-muted: #9aa8bd;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 32px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(8, 15, 30, 0.35);
  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 1160px;
  --header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

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

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

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

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.section-intro {
  max-width: 46rem;
  margin: 0 0 2.75rem;
  color: var(--muted);
  font-size: 1.0625rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, border-color 0.15s, color 0.15s;
}

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

.btn:disabled {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.btn-sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

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

.btn-secondary:hover {
  border-color: #c3cddc;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--ink);
  transition: background 0.25s, box-shadow 0.25s;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 11px;
}

.site-header.is-scrolled .brand-logo {
  box-shadow: var(--shadow-sm);
}

.brand-text {
  min-width: 0;
  display: block;
  overflow: hidden;
}

.brand-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
  transition: color 0.25s;
}

.brand-tagline {
  display: block;
  font-size: 0.75rem;
  color: var(--on-dark-muted);
  white-space: nowrap;
  transition: color 0.25s;
}

.site-header.is-scrolled .brand-name {
  color: var(--text);
}

.site-header.is-scrolled .brand-tagline {
  color: var(--muted);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.76);
  transition: color 0.15s;
}

.nav-links a:hover {
  color: #fff;
}

.site-header.is-scrolled .nav-links a {
  color: var(--muted);
}

.site-header.is-scrolled .nav-links a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.site-header.is-scrolled .nav-toggle {
  border-color: var(--border);
  background: var(--surface);
}

.site-header.is-scrolled .nav-toggle span {
  background: var(--text);
}

/* Hero */

.hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(26, 92, 255, 0.4), transparent 62%),
    radial-gradient(700px 420px at 88% 0%, rgba(0, 175, 255, 0.16), transparent 58%),
    var(--ink);
  color: var(--on-dark);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.8125rem;
  font-weight: 600;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 4px rgba(122, 168, 255, 0.22);
}

.hero-title {
  margin: 0 0 1.35rem;
  font-size: clamp(2.35rem, 5.2vw, 3.9rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero-title em {
  font-style: normal;
  color: var(--accent-bright);
}

.hero-lead {
  margin: 0 0 2.25rem;
  max-width: 34rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.76);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin: 0;
}

.hero-facts div {
  min-width: 0;
}

.hero-facts dt {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-facts dd {
  margin: 0.15rem 0 0;
  font-size: 0.875rem;
  color: var(--on-dark-muted);
}

.hero-panel {
  padding: 1.9rem;
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(6px);
}

.hero-panel-title {
  margin: 0 0 1.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.hero-results {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-results li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-results li:last-child {
  border-bottom: 0;
}

.hero-results strong {
  flex: 0 0 4.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-results span {
  font-size: 0.9375rem;
  color: var(--on-dark-muted);
}

.hero-panel-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-bright);
}

.hero-panel-link:hover {
  color: #fff;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 4rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

.trust-list .trust-muted {
  font-weight: 400;
  color: var(--on-dark-muted);
}

/* Cards */

.card-grid {
  display: grid;
  gap: 1.25rem;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.section-alt .card,
.card-plain {
  background: var(--surface);
}

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.card ul {
  margin: 1.1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.card ul li + li {
  margin-top: 0.35rem;
}

.card-outcome {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-dark);
}

/* Work / case studies */

.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.filter-btn span {
  font-size: 0.75rem;
  font-weight: 700;
  color: #93a1b5;
}

.filter-btn:hover {
  border-color: #c3cddc;
  color: var(--text);
}

.filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.filter-btn.is-active span {
  color: var(--accent-bright);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.work-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.work-card:hover {
  border-color: #c9d6ea;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.work-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.work-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.work-metric {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.work-card h3 {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.work-detail {
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.work-detail dt {
  margin-bottom: 0.15rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #93a1b5;
}

.work-detail dd {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.work-detail > div:last-child {
  margin-top: 0.15rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border);
}

.work-detail > div:last-child dt {
  color: var(--accent);
}

.work-detail > div:last-child dd {
  color: var(--text);
  font-weight: 600;
}

.work-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}

.work-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Process */

.process-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-track::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #9dc0ff);
  opacity: 0.4;
}

.process-step {
  position: relative;
  text-align: center;
}

.step-number {
  width: 54px;
  height: 54px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
}

.process-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.process-step p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.process-output {
  margin-top: 0.75rem !important;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-dark) !important;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.about-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.about-panel h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.about-intro {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

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

.about-list li {
  display: flex;
  gap: 0.75rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9375rem;
}

.about-list li:last-child {
  border-bottom: 0;
}

.about-list strong {
  color: var(--text);
}

.check-mark {
  color: var(--accent);
  font-weight: 700;
}

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

.tech-list li {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}

.tech-list li:last-child {
  border-bottom: 0;
}

.tech-list strong {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #93a1b5;
}

.tech-list span {
  color: var(--muted);
}

.about-note {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.founder-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg);
}

.founder-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}

.founder-text {
  display: block;
  font-size: 0.9375rem;
}

.founder-text span {
  display: block;
  color: var(--muted);
  font-size: 0.875rem;
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 52rem;
  margin-top: 2rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  padding: 0 1.25rem;
}

.faq-item summary {
  padding: 1.1rem 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0;
  padding: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: 44rem;
}

/* Contact */

.contact-section {
  background: linear-gradient(180deg, var(--bg), rgba(26, 92, 255, 0.06));
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-info {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.contact-info h3 {
  margin: 0 0 1.25rem;
  font-size: 1.15rem;
}

.contact-detail {
  margin-bottom: 1.1rem;
  font-size: 0.9375rem;
}

.contact-detail strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  font-weight: 700;
}

.contact-detail a {
  color: var(--accent-bright);
}

.contact-detail a:hover {
  color: #fff;
}

.contact-steps-title {
  margin: 1.75rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  font-weight: 700;
}

.contact-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.contact-steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.82);
}

.contact-steps li > span:first-child {
  flex: 0 0 22px;
  height: 22px;
  margin-top: 0.15rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(122, 168, 255, 0.18);
  color: var(--accent-bright);
  font-size: 0.75rem;
  font-weight: 700;
}

.contact-note {
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--on-dark-muted);
  font-size: 0.875rem;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.form-section-title {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.form-section-title:not(:first-child) {
  margin-top: 1.9rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.optional {
  font-weight: 400;
  color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26, 92, 255, 0.15);
}

.form-field textarea {
  min-height: 110px;
  resize: vertical;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 1rem;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.875rem;
  color: var(--muted);
  cursor: pointer;
}

.checkbox-item input {
  margin-top: 0.25rem;
  accent-color: var(--accent);
}

.consent-field {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 1.5rem 0;
  font-size: 0.875rem;
  color: var(--muted);
  cursor: pointer;
}

.consent-field input {
  margin-top: 0.25rem;
  accent-color: var(--accent);
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-note {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.form-status {
  display: none;
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 0.875rem;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.form-status.is-error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

/* Footer */

.site-footer {
  padding: 3rem 0 2rem;
  background: var(--ink);
  color: var(--on-dark-muted);
  font-size: 0.875rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand img {
  border-radius: 10px;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 0.9375rem;
}

.footer-brand span span {
  display: block;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8125rem;
}

/* Language switch */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

/* No container or button chrome — the selected language reads from the flag's
   full opacity and the brighter label, so nothing frames the flags. */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.4rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.15s;
}

.lang-btn:hover {
  color: #fff;
}

.lang-btn.is-active {
  color: #fff;
  font-weight: 700;
}

.lang-btn .flag {
  width: 20px;
  height: 14px;
  flex-shrink: 0;
  border-radius: 2px;
  opacity: 0.45;
  transition: opacity 0.15s;
}

.lang-btn.is-active .flag,
.lang-btn:hover .flag {
  opacity: 1;
}

.site-header.is-scrolled .lang-btn {
  color: var(--muted);
}

.site-header.is-scrolled .lang-btn:hover {
  color: var(--text);
}

.site-header.is-scrolled .lang-btn.is-active {
  color: var(--text);
}

/* Hero direct contact line */

.hero-direct {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: -1.75rem 0 2.25rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.62);
}

.hero-direct a {
  color: var(--accent-bright);
  font-weight: 600;
  border-bottom: 1px solid rgba(122, 168, 255, 0.35);
}

.hero-direct a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* Repeated section call to action */

.section-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.5rem;
  margin-top: 3rem;
  padding: 1.4rem 1.75rem;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid rgba(26, 92, 255, 0.14);
  text-align: center;
}

.section-cta p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.section-alt .section-cta {
  background: var(--bg);
  border-color: var(--border);
}

/* The FAQ column is narrower than the container, so its CTA follows suit. */
.faq-container .section-cta {
  max-width: 52rem;
}

/* Contact — direct channels */

.contact-actions {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.contact-action {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.contact-action:hover {
  background: rgba(122, 168, 255, 0.16);
  border-color: rgba(122, 168, 255, 0.4);
  transform: translateY(-1px);
}

.contact-action-icon {
  flex: 0 0 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(122, 168, 255, 0.16);
  color: var(--accent-bright);
}

.contact-action-icon svg {
  width: 19px;
  height: 19px;
}

.contact-action-text {
  min-width: 0;
}

.contact-action-text strong {
  display: block;
  font-size: 0.9375rem;
  color: #fff;
}

.contact-action-text span {
  display: block;
  font-size: 0.8125rem;
  color: var(--on-dark-muted);
  overflow-wrap: anywhere;
}

/* Contact form — shorter by default */

.form-lede {
  margin: 0 0 1.5rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--ink-soft);
  font-size: 0.875rem;
  font-weight: 500;
}

.form-lede + .form-section-title {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.form-optional {
  margin-top: 1.9rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.form-optional > summary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  list-style: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
}

.form-optional > summary::-webkit-details-marker {
  display: none;
}

.form-optional > summary::before {
  content: "+";
  flex: 0 0 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.form-optional[open] > summary::before {
  content: "–";
}

.form-optional > summary .optional {
  font-weight: 500;
}

.form-optional-body {
  margin-top: 1.25rem;
}

/* Floating quick contact */

.quick-contact {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.quick-contact.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.quick-fab {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(26, 92, 255, 0.35);
  transition: background 0.15s, transform 0.15s;
}

.quick-fab:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.quick-fab-icon {
  display: grid;
  place-items: center;
}

.quick-fab-icon svg {
  width: 20px;
  height: 20px;
  grid-area: 1 / 1;
}

.quick-icon-close,
.quick-contact.is-open .quick-icon-open {
  display: none;
}

.quick-contact.is-open .quick-icon-close {
  display: block;
}

.quick-panel {
  width: min(20rem, calc(100vw - 2.5rem));
  padding: 1.1rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.quick-panel-title {
  margin: 0 0 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.quick-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background 0.15s;
}

.quick-item:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.quick-item-icon {
  flex: 0 0 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
}

.quick-item-icon svg {
  width: 17px;
  height: 17px;
}

.quick-panel-note {
  margin: 0.8rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--muted);
}

/* Responsive */

@media (max-width: 1020px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .card-grid-3 {
    grid-template-columns: 1fr;
  }

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

  .contact-info {
    position: static;
  }

  .process-track {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process-track::before {
    display: none;
  }

  .process-step {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 0.25rem 1.25rem;
    text-align: left;
    padding-bottom: 1.75rem;
  }

  .process-step .step-number {
    grid-row: span 3;
    margin: 0;
  }

  .nav-links,
  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav.is-open {
    position: absolute;
    top: calc(var(--header-height) - 8px);
    left: 1.25rem;
    right: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .site-nav.is-open .nav-links a {
    display: block;
    padding: 0.5rem 0;
    color: var(--text);
  }

  .site-nav.is-open .header-actions {
    display: block;
  }

  .site-nav.is-open .btn {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 3.75rem 0;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .work-grid,
  .form-row,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .hero-facts {
    gap: 1.5rem;
  }

  .hero-panel,
  .about-panel,
  .contact-form,
  .contact-info {
    padding: 1.5rem;
  }

  .trust-strip {
    margin-top: 2.5rem;
  }

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

  .section-cta {
    flex-direction: column;
    padding: 1.25rem;
  }

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

  .hero-direct {
    margin-bottom: 2rem;
  }
}

/* Small phones: the header still has to fit brand, language, and menu. */
@media (max-width: 560px) {
  .header-inner {
    gap: 0.5rem;
  }

  .brand {
    gap: 0.55rem;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: 0.875rem;
  }

  .brand-tagline {
    display: none;
  }

  .header-right {
    gap: 0.4rem;
  }

  .lang-code {
    display: none;
  }

  .lang-btn {
    padding: 0.3rem 0.42rem;
  }

  .lang-btn .flag {
    width: 18px;
    height: 12px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .quick-fab-label {
    display: none;
  }

  .quick-fab {
    padding: 0.85rem;
  }

  .quick-fab-icon svg {
    width: 22px;
    height: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}
