/* ==========================================================
   Nopens Consulting – Stylesheet
   ========================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/jakarta-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/jakarta-var-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --navy: #1f3b4d;
  --navy-700: #183040;
  --navy-900: #0f2230;
  --navy-500: #2f5872;
  --paper: #f6f3ee;
  --paper-2: #efeae2;
  --white: #ffffff;
  --ink: #13232e;
  --muted: #5b6b76;
  --line: rgba(31, 59, 77, 0.12);
  --line-strong: rgba(31, 59, 77, 0.22);
  --accent: #c27a45;
  --accent-soft: rgba(194, 122, 69, 0.14);
  --ok: #2f7a5b;

  --serif: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 34, 48, 0.06), 0 2px 8px rgba(15, 34, 48, 0.04);
  --shadow-md: 0 10px 30px -10px rgba(15, 34, 48, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(15, 34, 48, 0.28);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--navy);
  line-height: 1.1;
}

p {
  margin: 0;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.serif {
  font-family: var(--serif);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-500);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.section {
  padding: clamp(72px, 10vw, 128px) 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section-head h2 {
  margin-top: 16px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.03em;
}
.section-head p {
  margin-top: 18px;
  font-size: 18px;
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font: 600 15px/1 var(--sans);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 20px -8px rgba(31, 59, 77, 0.55);
}
.btn-primary:hover {
  background: var(--navy-700);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--navy);
  background: rgba(31, 59, 77, 0.04);
}
.btn-light {
  background: var(--white);
  color: var(--navy);
}
.btn-light:hover {
  background: var(--paper);
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(246, 243, 238, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(246, 243, 238, 0.94);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font: 700 15px/1 var(--sans);
  letter-spacing: 0.02em;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-text strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand-text span {
  font-size: 13px;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  opacity: 0.78;
  transition: opacity 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.nav-links a:hover,
.nav-links a.is-active {
  opacity: 1;
}
.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}
.nav .btn {
  padding: 11px 20px;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.25s, opacity 0.2s;
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 26px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px var(--gutter) 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .menu-open .nav {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav-links {
    flex-direction: column;
    gap: 0;
  }
  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 17px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a::after {
    display: none;
  }
  .nav .btn {
    margin-top: 12px;
    padding: 15px 20px;
    font-size: 15px;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 9vw, 112px) 0 clamp(72px, 10vw, 128px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 75% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 75% 30%, #000 10%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero h1 {
  margin-top: 22px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(38px, 5.6vw, 70px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero-lead {
  margin-top: 26px;
  max-width: 540px;
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 40px 0 0;
  padding: 24px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-facts svg {
  width: 16px;
  height: 16px;
  color: var(--ok);
}

/* Hero card */
.hero-visual {
  position: relative;
}
.status-card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px;
}
.status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.status-head strong {
  font-size: 15px;
  color: var(--navy);
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(47, 122, 91, 0.1);
  color: var(--ok);
  font-size: 12px;
  font-weight: 600;
}
.status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(47, 122, 91, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(47, 122, 91, 0); }
}
.status-list {
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
}
.status-list li {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.status-list li:last-child {
  border-bottom: 0;
}
.status-list .ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--navy);
}
.status-list .ico svg {
  width: 18px;
  height: 18px;
}
.status-list b {
  display: block;
  font-weight: 600;
  color: var(--ink);
}
.status-list small {
  color: var(--muted);
  font-size: 13px;
}
.status-list .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
}
.status-list .check svg {
  width: 12px;
  height: 12px;
}
.status-foot {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}
.status-foot strong {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
  color: var(--navy);
}
.hero-badge {
  position: absolute;
  z-index: 2;
  left: -28px;
  bottom: -26px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--navy);
  color: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  line-height: 1.3;
}
.hero-badge strong {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 22px;
}
.hero-visual::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -40px;
  top: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    max-width: 520px;
  }
  .hero-badge {
    left: auto;
    right: 16px;
  }
}

/* ---------- Services ---------- */
.services {
  background: var(--white);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  overflow: hidden;
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: var(--white);
}
.service-num {
  position: absolute;
  top: 22px;
  right: 26px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 46px;
  line-height: 1;
  color: var(--navy);
  opacity: 0.1;
}
.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--white);
  margin-bottom: 28px;
}
.service-icon svg {
  width: 24px;
  height: 24px;
}
.service h3 {
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.service > p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15.5px;
}
.service ul {
  list-style: none;
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  font-size: 14.5px;
}
.service li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.service li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--accent);
}

@media (max-width: 960px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Audience ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.audience-card {
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--white);
}
.audience-card.dark {
  background: var(--navy);
  border-color: var(--navy);
  color: rgba(255, 255, 255, 0.78);
}
.audience-card.dark h3 {
  color: var(--white);
}
.audience-card .tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--paper);
  color: var(--navy);
}
.audience-card.dark .tag {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}
.audience-card h3 {
  margin-top: 22px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(24px, 2.8vw, 30px);
  letter-spacing: -0.025em;
}
.audience-card > p {
  margin-top: 14px;
  color: inherit;
}
.audience-card:not(.dark) > p {
  color: var(--muted);
}
.audience-card ul {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.audience-card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.audience-card li svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--accent);
}
.audience-card:not(.dark) li {
  color: var(--ink);
}

@media (max-width: 860px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Process ---------- */
.process {
  background: var(--paper-2);
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.step h3 {
  margin-top: 22px;
  font-size: 18px;
  font-weight: 650;
}
.step p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
}
@media (max-width: 960px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- About ---------- */
.about {
  position: relative;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}
.about::before {
  content: "NC";
  position: absolute;
  right: -2vw;
  bottom: -6vw;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(200px, 32vw, 420px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
  user-select: none;
}
.about .eyebrow {
  color: rgba(255, 255, 255, 0.6);
}
.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}
.about h2 {
  margin-top: 16px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 46px);
  color: var(--white);
  letter-spacing: -0.03em;
}
.about-text p {
  margin-top: 20px;
  font-size: 17px;
}
.about-text blockquote {
  margin: 32px 0 0;
  padding: 0 0 0 22px;
  border-left: 2px solid var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 2vw, 22px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--white);
}
.about-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 32px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}
.about-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.about-meta svg {
  width: 16px;
  height: 16px;
}
.about-meta a {
  text-decoration: none;
}
.about-meta a:hover {
  color: var(--white);
}
.stats {
  display: grid;
  gap: 14px;
}
.stat {
  padding: 26px 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: baseline;
  gap: 20px;
  transition: background 0.25s;
}
.stat:hover {
  background: rgba(255, 255, 255, 0.08);
}
.stat strong {
  flex: none;
  min-width: 96px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
}
.stat span {
  font-size: 15px;
}
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.faq-grid .section-head {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  margin-bottom: 0;
}
.faq-list {
  border-top: 1px solid var(--line-strong);
}
.faq-list details {
  border-bottom: 1px solid var(--line-strong);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "";
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(var(--navy), var(--navy)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--navy), var(--navy)) center / 1.5px 12px no-repeat;
  transition: transform 0.25s, background-color 0.25s;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--white);
}
.faq-list details p {
  padding: 0 52px 26px 0;
  color: var(--muted);
}
@media (max-width: 860px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .faq-grid .section-head {
    position: static;
  }
}

/* ---------- Contact ---------- */
.contact {
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact-grid .section-head {
  margin-bottom: 36px;
}
.contact-items {
  display: grid;
  gap: 14px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
a.contact-item:hover {
  border-color: var(--navy);
  background: var(--white);
}
.contact-item .ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
}
.contact-item .ico svg {
  width: 20px;
  height: 20px;
}
.contact-item small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-item span {
  font-weight: 600;
  color: var(--navy);
  word-break: break-word;
}

.form-card {
  padding: clamp(24px, 4vw, 44px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.field label .opt {
  font-weight: 400;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  font: 400 16px/1.4 var(--sans);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231f3b4d' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(31, 59, 77, 0.1);
}
.field-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 4px 0 24px;
  font-size: 14px;
  color: var(--muted);
}
.field-check input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--navy);
}
.field-check a {
  color: var(--navy);
}
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-card .btn {
  width: 100%;
  padding: 17px 24px;
}
.form-status {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
}
.form-status.error {
  background: #fdf0ee;
  border: 1px solid #f3c9c2;
  color: #a2372a;
}
.form-success {
  text-align: center;
  padding: 40px 10px;
}
.form-success .ico {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(47, 122, 91, 0.12);
  color: var(--ok);
}
.form-success .ico svg {
  width: 28px;
  height: 28px;
}
.form-success h3 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.form-success p {
  margin-top: 10px;
  color: var(--muted);
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ---------- CTA band ---------- */
.cta-band {
  padding: 0 0 clamp(72px, 10vw, 112px);
  background: var(--white);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--navy);
  background-image: radial-gradient(circle at 90% 0%, rgba(194, 122, 69, 0.35), transparent 45%);
  color: rgba(255, 255, 255, 0.75);
}
.cta-inner h2 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 36px);
  color: var(--white);
  letter-spacing: -0.03em;
}
.cta-inner p {
  margin-top: 8px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.6);
  padding: 56px 0 32px;
  font-size: 14px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer .brand {
  color: var(--white);
}
.site-footer .brand-mark {
  background: var(--white);
  color: var(--navy);
}
.site-footer .brand-text span {
  color: rgba(255, 255, 255, 0.55);
}
.footer-about {
  max-width: 340px;
}
.footer-about p {
  margin-top: 18px;
}
.footer-cols {
  display: flex;
  gap: clamp(32px, 6vw, 72px);
  flex-wrap: wrap;
}
.footer-cols h4 {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}
.footer-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.footer-cols a {
  text-decoration: none;
  transition: color 0.2s;
}
.footer-cols a:hover {
  color: var(--white);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 13px;
}

/* ---------- Legal pages ---------- */
.legal {
  padding: clamp(48px, 8vw, 96px) 0 clamp(72px, 10vw, 120px);
}
.legal .container {
  max-width: 820px;
}
.legal h1 {
  margin-top: 16px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -0.035em;
  hyphens: auto;
}
.legal-body {
  margin-top: 40px;
  padding: clamp(24px, 4vw, 48px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--muted);
}
.legal-body h2 {
  margin: 36px 0 12px;
  font-size: 20px;
  font-weight: 650;
}
.legal-body h2:first-child {
  margin-top: 0;
}
.legal-body h3 {
  margin: 22px 0 8px;
  font-size: 16px;
  font-weight: 650;
}
.legal-body p + p,
.legal-body ul + p,
.legal-body p + ul {
  margin-top: 12px;
}
.legal-body ul {
  margin-bottom: 0;
  padding-left: 20px;
}
.legal-body a {
  color: var(--navy);
  word-break: break-word;
}
.legal-body strong {
  color: var(--ink);
}
.pending {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 6px;
  background: #fbf0d6;
  color: #8a5a10;
  font-weight: 600;
  font-size: 14px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}
.back-link:hover {
  color: var(--navy);
}
.back-link svg {
  width: 16px;
  height: 16px;
}

/* ---------- 404 ---------- */
.not-found {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 64px 0;
}
.not-found .big {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(120px, 22vw, 220px);
  line-height: 1;
  color: var(--navy);
}
.not-found p {
  margin: 12px 0 32px;
  color: var(--muted);
  font-size: 18px;
}

/* ---------- Reveal animation ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
