:root {
  --bg: #f6f8fc;
  --bg-soft: #edf2f8;
  --surface: #ffffff;
  --surface-soft: #f7faff;
  --text: #0f172a;
  --muted: #425466;
  --primary: #0b4d81;
  --primary-strong: #08385e;
  --accent: #117f79;
  --border: #d4e0ec;
  --ok: #1f7a46;
  --warn: #8a2525;
  --radius: 20px;
  --radius-md: 14px;
  --radius-sm: 11px;
  --shadow-sm: 0 5px 16px rgba(15, 23, 42, 0.05);
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 44px rgba(15, 23, 42, 0.12);
  --brand-gradient: linear-gradient(130deg, #0a4a7c 0%, #117f79 100%);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Source Sans 3", "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(circle at 12% -12%, rgba(17, 127, 121, 0.14), transparent 32%),
    radial-gradient(circle at 88% -10%, rgba(10, 74, 124, 0.16), transparent 34%),
    linear-gradient(180deg, var(--bg) 0%, #f9fbfe 100%);
}

h1,
h2,
h3 {
  font-family: "Urbanist", "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0 0 0.72rem;
  color: var(--text);
}

h1 {
  font-size: clamp(2.15rem, 3.2vw + 1rem, 3.45rem);
}

h2 {
  font-size: clamp(1.55rem, 1.2vw + 1rem, 2.2rem);
}

h3 {
  font-size: clamp(1.1rem, 0.75vw + 0.95rem, 1.35rem);
}

a {
  color: var(--primary);
}

a:hover {
  color: var(--primary-strong);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
  background: #ffffff;
  color: #000000;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  z-index: 1000;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  height: clamp(36px, 5vw, 52px);
  width: auto;
  max-width: min(62vw, 340px);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.nav a {
  text-decoration: none;
  font-weight: 640;
  color: #1e293b;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.74);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nav a:hover {
  background: #ffffff;
  border-color: rgba(10, 74, 124, 0.2);
  box-shadow: var(--shadow-sm);
}

.hero {
  position: relative;
  padding: clamp(3.2rem, 7vw, 6.3rem) 0 2.55rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: min(78%, 620px);
  background:
    radial-gradient(circle at 22% 2%, rgba(17, 127, 121, 0.16), transparent 42%),
    radial-gradient(circle at 88% 5%, rgba(10, 74, 124, 0.18), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.guide-hero {
  padding: clamp(2.6rem, 5vw, 4.2rem) 0 clamp(2rem, 3.8vw, 3.1rem);
}

.guide-hero::before {
  height: 100%;
  background:
    radial-gradient(circle at 14% 8%, rgba(17, 127, 121, 0.16), transparent 34%),
    radial-gradient(circle at 86% 4%, rgba(10, 74, 124, 0.18), transparent 36%),
    linear-gradient(120deg, rgba(234, 244, 251, 0.92) 0%, rgba(245, 250, 255, 0.96) 48%, rgba(228, 239, 250, 0.9) 100%);
}

.guide-hero .container {
  position: relative;
  max-width: 980px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(10, 74, 124, 0.16);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.15rem, 1.8vw, 1.75rem) clamp(1rem, 2.2vw, 2rem);
}

.guide-hero h1 {
  max-width: 22ch;
  margin-bottom: 0.92rem;
  background: none;
  color: #0e446f;
  font-size: clamp(2rem, 2.4vw + 1.05rem, 3.15rem);
}

.guide-hero .lead {
  max-width: 64ch;
  color: #334155;
  margin-bottom: 0;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}

.hero-grid > div:first-child {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(10, 74, 124, 0.14);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow);
  padding: clamp(1.1rem, 2vw, 1.7rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.78rem;
  color: var(--primary-strong);
  background: #e8f1fb;
  border: 1px solid #c9dcef;
  border-radius: 999px;
  padding: 0.28rem 0.8rem;
  font-weight: 720;
  letter-spacing: 0.03em;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.hero-brandline {
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  margin: 0 0 0.85rem;
  padding: 0.34rem 0.78rem 0.34rem 0.46rem;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(10, 74, 124, 0.18);
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-brandline img {
  border-radius: 7px;
  box-shadow: var(--shadow-sm);
}

.hero-logo-chip {
  margin: 0.1rem 0 1.2rem;
  max-width: 320px;
  border-radius: 12px;
  border: 1px solid rgba(10, 74, 124, 0.16);
  background: rgba(255, 255, 255, 0.86);
  padding: 0.45rem 0.62rem;
  box-shadow: var(--shadow-sm);
}

.hero-logo-chip img {
  width: 100%;
  height: auto;
  display: block;
}

.hero h1 {
  background: linear-gradient(135deg, #0a4a7c 0%, #0a3f6a 48%, #117f79 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 62ch;
  font-size: clamp(1.04rem, 0.45vw + 0.97rem, 1.23rem);
  color: var(--muted);
}

.hero-card {
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
  border: 1px solid #cfdeec;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.15rem 1.15rem 1.25rem;
}

.hero-image {
  margin: -0.15rem 0 1rem;
}

.hero-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.03) contrast(1.02);
  display: block;
  border-radius: var(--radius-md);
  border: 1px solid #c7d9ea;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.35rem;
}

.hero-cta-row {
  display: flex;
  gap: 0.68rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.hero-proofline {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  color: #51657b;
  font-weight: 600;
}

.hero-note {
  margin-top: 0.72rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.hero-note a {
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  padding: 0.62rem 1.08rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  color: #ffffff;
  background: var(--brand-gradient);
  box-shadow: 0 12px 28px rgba(10, 74, 124, 0.26);
}

.btn-primary:hover {
  box-shadow: 0 15px 32px rgba(10, 74, 124, 0.33);
}

.btn-secondary {
  color: #334155;
  border-color: #c7d8e8;
  background: rgba(255, 255, 255, 0.86);
}

.btn-secondary:hover {
  background: #eef5fc;
}

.hidden {
  display: none;
}

.section {
  padding: clamp(2.9rem, 4.8vw, 5rem) 0;
}

.trust-strip {
  margin-top: -0.2rem;
  padding-top: 0;
}

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

.trust-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem 0.95rem;
  box-shadow: var(--shadow-sm);
}

.trust-kpi {
  margin: 0;
  font-family: "Urbanist", "Inter", sans-serif;
  font-size: 1.25rem;
  font-weight: 750;
  color: var(--primary-strong);
}

.trust-text {
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.section-alt {
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.76), rgba(236, 244, 251, 0.72));
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.cards {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.08rem 1.12rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--brand-gradient);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #bfd2e4;
}

.section-hidden {
  display: none !important;
}

.problem-card {
  display: flex;
  flex-direction: column;
  gap: 0.58rem;
}

.problem-image {
  margin: -0.2rem -0.2rem 0;
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
  border: 1px solid rgba(10, 74, 124, 0.12);
}

.problem-image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.03) contrast(1.02);
  display: block;
}

.before-after {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

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

.panel-kicker {
  margin: 0 0 0.58rem;
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #7b1f1f;
  background: #fde8e8;
  border: 1px solid #f4b4b4;
}

.panel-kicker-ok {
  color: #165a33;
  background: #e7f8ed;
  border-color: #9ed5b0;
}

.image-block {
  margin-top: 1.2rem;
}

.story-grid {
  margin-top: 0.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.detail-grid {
  margin-top: 0.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.image-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.image-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.03) contrast(1.02);
  display: block;
}

.image-card figcaption {
  padding: 0.72rem 0.88rem;
  font-size: 0.95rem;
  color: var(--muted);
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.9) 0%, rgba(255, 255, 255, 1) 100%);
}

.image-card-hero img {
  aspect-ratio: 16 / 9;
}

.detail-card-wide {
  grid-column: span 2;
}

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

.pricing-wrap {
  align-items: stretch;
}

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

.highlight-box ul,
.legal-list {
  margin: 0;
  padding-left: 1.2rem;
}

.checklist {
  margin: 0.92rem 0 0;
  padding-left: 1.3rem;
  display: grid;
  gap: 0.48rem;
  max-width: 90ch;
}

.guide-hero + .section .container > h2 {
  margin-top: 2.2rem;
  margin-bottom: 0.95rem;
}

.guide-hero + .section .container > h2:first-child {
  margin-top: 0;
}

.guide-hero + .section .container > .checklist {
  gap: 0.78rem;
}

.guide-hero + .section .container > .highlight-box {
  margin-top: 2rem;
}

.small-text {
  font-size: 0.95rem;
  color: var(--muted);
}

.lead-small {
  color: var(--muted);
  margin-top: 0;
  max-width: 52ch;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1rem;
  align-items: start;
}

.contact-intro {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fe 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.contact-points {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.55rem;
}

.contact-point {
  display: grid;
  gap: 0.15rem;
  border: 1px solid rgba(10, 74, 124, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  padding: 0.58rem 0.66rem;
}

.contact-point strong {
  font-size: 0.92rem;
  color: var(--primary-strong);
}

.contact-point span {
  font-size: 0.9rem;
  color: var(--muted);
}

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

.form-intro-note {
  margin: 0 0 0.8rem;
  font-size: 0.88rem;
  color: #556b82;
}

.contact-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--brand-gradient);
}

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

label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #a2bad1;
  border-radius: var(--radius-sm);
  background: #ffffff;
  font: inherit;
  color: var(--text);
  padding: 0.64rem 0.72rem;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #86a6c4;
}

textarea {
  resize: vertical;
}

.form-actions {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.form-status {
  min-height: 1.4rem;
  margin: 0.72rem 0 0;
  font-weight: 600;
}

.form-status.ok {
  color: var(--ok);
}

.form-status.error {
  color: var(--warn);
}

.form-privacy-note {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: #61768d;
}

.section-legal {
  padding-top: 2rem;
}

.legal-note {
  margin-top: 0.9rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, #f3f7fc 0%, #edf3fa 100%);
}

.footer-wrap {
  padding: 1rem 0 1.3rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

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

.footer-brand img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .form-grid,
  .cards,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .before-after,
  .story-grid,
  .detail-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .detail-card-wide {
    grid-column: span 1;
  }

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

  .hero-grid > div:first-child,
  .hero-card {
    padding: 1rem;
  }

  .nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav-wrap {
    min-height: 66px;
  }

  .hero-logo-chip {
    max-width: 300px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1180px, calc(100% - 1.1rem));
  }

  .hero h1 {
    font-size: clamp(1.82rem, 5.6vw + 0.8rem, 2.45rem);
  }

  .hero-note {
    font-size: 0.86rem;
  }

  .btn {
    width: 100%;
  }

  .form-actions .btn {
    width: auto;
  }
}
