:root {
  --dark: #273C75;
  --blue: #4DB8F2;
  --accent: #E85F3F;
  --text: #22344E;
  --muted: #22344E;
  --bg: #ffffff;
  --line: #D8DEE7;
  --light-blue: #E4F4FD;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

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

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

button,
input,
textarea { font: inherit; }

[hidden] { display: none !important; }

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #edf1f5;
}

.nav {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.logo-img-footer {
  height: 20px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 700;
  color: #273C75;
}

.nav-links a:hover { color: var(--accent); }

.nav-cta { justify-self: end; }

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  font-size: 1.7rem;
  color: var(--dark);
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  padding: 24px;
  z-index: 1000;
  background: white;
  border-top: 1px solid #edf1f5;
}

.mobile-menu.is-open {
  display: flex;
  flex-direction: column;
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-weight: 600;
  color: #4b5a70;
}

.mobile-cta {
  margin-top: 8px;
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease;
}

.btn:hover { transform: scale(1.03); }

.btn-dark {
  background: var(--dark);
  color: white;
  padding: 11px 22px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 700;
}

.btn-accent {
  background: var(--accent);
  color: white;
  padding: 15px 32px;
  border-radius: 6px;
  font-weight: 700;
  box-shadow: 0 14px 35px rgba(232,95,63,.22);
}

.btn-large { font-size: 1.2rem; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 180px 0;
  background: var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/spirale.svg");
  background-repeat: no-repeat;
  background-position: calc(50% + 80px) center;
  background-size: 950px;
  opacity: 0.03;
  filter: blur(4px);
  animation: swirlBreath 7s ease-in-out infinite;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 980px;
}

.hero h1 {
  margin: 0;
  color: var(--dark);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 800;
}

.hero h1 span { color: var(--blue); }

.hero p {
  max-width: 760px;
  margin: 28px auto 40px;
  font-size: 1.6rem;
  color: #22344E;
  font-weight: 400;
}

/* Problem */
.problem {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: var(--dark);
  color: white;
  text-align: center;
}

.problem::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/bubbles.svg");
  background-repeat: repeat;
  background-size: 200px;
  opacity: 0.025;
  animation: patternBreath 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.problem > * {
  position: relative;
  z-index: 1;
}

.problem h2,
.why h2 {
  margin: 0 0 44px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.4;
}

.problem-grid,
.cards.three,
.cards.two {
  display: grid;
  gap: 70px;
}

.problem-grid,
.cards.three { grid-template-columns: repeat(3, 1fr); }

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

.problem-card {
  padding: 16px 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  border-radius: 10px;
  font-size: 1.6rem;
}

/* Shared sections */
.approach,
.value,
.contact { padding: 100px 0; }

.solutions { padding: 80px 0; }

.approach,
.value,
.contact { background: white; }

.solutions {
  background-color: #EEF3FB;
  border-top: 1px solid #e0e6ef;
  border-bottom: 1px solid #e0e6ef;
}

.section-head {
  text-align: center;
  margin-bottom: 68px;
}

.section-head h2 {
  margin: 10px 0 16px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--dark);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.6rem;
  line-height: 1.4;
}

.eyebrow {
  display: inline-block;
  padding: 6px 20px;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  background: #4DB8F2;
  color: #ffffff;
  border-radius: 9999px;
}

/* Cards */
.info-card,
.value-card,
.white-card {
  background: white;
  border: 1px solid #eef2f6;
  border-radius: 16px;
}

.info-card,
.value-card {
  text-align: center;
  box-shadow: 0 15px 30px rgba(24,39,75,.10);
}

.info-card { padding: 34px 28px; }

.value-card { padding: 34px 30px; }

.white-card {
  padding: 34px 26px;
  text-align: center;
}

.icon-box {
  width: 68px;
  height: 63px;
  margin: 0 auto 24px;
}

.info-card h3,
.value-card h3,
.white-card h3,
.contact h2 {
  margin: 0 0 14px;
  color: var(--dark);
  letter-spacing: -0.03em;
}

.info-card h3 { font-size: 1.7rem; }

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

.value-card h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.value-card h3 .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.value-main {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 1.3rem;
}

.value-detail {
  margin: 0;
  color: #22344E;
  font-size: 1rem;
}

.white-card h3 {
  font-size: 1.9rem;
  line-height: 1.2;
}

.white-card p {
  margin: 0;
  color: #22344E;
  font-size: 1.3rem;
}

/* Solutions */
.solutions-list { margin-top: 12px; }

.solution-block {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(420px, 0.95fr);
  gap: 84px;
  align-items: start;
  padding: 64px 12px;
  border-top: 1px solid #c9d6e8;
}

.solution-block:first-child {
  border-top: 0;
  padding-top: 18px;
}

.solution-block:last-child { padding-bottom: 0; }

.mini-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-size: .8rem;
  font-weight: 700;
  color: #273C75;
  letter-spacing: .08em;
  background-color: #D3EDFC;
  padding: 8px 16px;
  border-radius: 9999px;
}

.solution-title h3,
.solution-content p,
.solution-content ul,
.solution-content li { margin-top: 0; }

.solution-title h3 {
  margin-bottom: 0;
  max-width: 460px;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1.3;
  color: var(--dark);
  letter-spacing: -0.01em;
}

.solution-content {
  max-width: 520px;
  justify-self: end;
}

.solution-content p {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.55;
}

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

.solution-content li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
  color: #475569;
  font-size: 1.2rem;
  line-height: 1.45;
}

.solution-content li::before {
  content: "";
  width: 11px;
  height: 11px;
  margin-top: 0.45em;
  border-radius: 999px;
  background: var(--blue);
  flex: 0 0 auto;
}

/* Why */
.why {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: var(--dark);
  color: white;
  text-align: center;
}

.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/spirale-white.svg") no-repeat center;
  background-size: 800px;
  opacity: 0.04;
  filter: blur(2px);
  animation: swirlBreathMedium 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.why .container {
  position: relative;
  z-index: 1;
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 80px;
  align-items: start;
}

.contact h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.contact-lead {
  color: var(--muted);
  font-size: 2rem;
}

.contact-note {
  color: #22344E;
  font-size: 1.3rem;
  margin: 0;
}

.form-card {
  padding: 40px 48px;
  border-radius: 26px;
  background: #FAFAFA;
  box-shadow: 0 0 30px rgba(24,39,75,.12);
}

.contact-form {
  display: grid;
  gap: 24px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--dark);
  padding: 0 6px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  background: white;
  padding: 14px 16px;
  color: var(--text);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(77,184,242,.65);
  box-shadow: 0 0 0 4px rgba(77,184,242,.12);
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: #B3B3B3;
  opacity: 1;
}

.btn-submit {
  width: 50%;
  padding: 16px 20px;
  font-size: .95rem;
  display: block;
  margin: 0 auto;
}

.checkbox-field { margin: 0 0 20px; }

.field .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}

.field .checkbox-label input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  flex-shrink: 0;
  accent-color: #273C75;
}

.field .checkbox-text {
  display: inline;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}

.field .checkbox-text a {
  color: #273C75;
  font-weight: 600;
  text-decoration: underline;
}

/* Footer */
.site-footer {
  padding-top: 54px;
  padding-bottom: 40px;
  background: var(--dark);
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: .9fr .8fr .8fr;
  gap: 48px;
  padding-bottom: 64px;
}

.footer-logo {
  margin-bottom: 24px;
  color: white;
}

.site-footer h4 {
  margin: 0 0 24px;
  font-size: .95rem;
}

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

.site-footer li,
.footer-text p {
  color: #94a3b8;
  font-size: .78rem;
  margin: 0 0 10px;
}

.site-footer a:hover { color: white; }

.footer-link {
  color: #FFFFFF;
  opacity: 0.9;
  text-decoration: none;
  transition: opacity 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-text {
  color: #FFFFFF;
  opacity: 0.9;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.10);
  text-align: center;
  color: #FFFFFF;
  opacity: 0.6;
  font-size: .8rem;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes swirlBreath {
  0%, 100% {
    opacity: 0.02;
    filter: blur(12px);
  }
  50% {
    opacity: 0.06;
    filter: blur(9px);
  }
}

@keyframes swirlBreathMedium {
  0%, 100% {
    opacity: 0.05;
    filter: blur(12px);
  }
  50% {
    opacity: 0.09;
    filter: blur(10px);
  }
}

@keyframes patternBreath {
  0%, 100% { opacity: 0.02; }
  50% { opacity: 0.045; }
}

@media (max-width: 1024px) {
  .nav { grid-template-columns: auto 1fr auto; }

  .nav-links { gap: 20px; }

  .solution-block,
  .contact-grid,
  .footer-grid,
  .problem-grid,
  .cards.three,
  .cards.two { grid-template-columns: 1fr; }

  .solution-block {
    gap: 28px;
    padding: 48px 0;
  }

  .solution-block:first-child { padding-top: 12px; }

  .solution-title h3,
  .solution-content { max-width: none; }

  .solution-content { justify-self: stretch; }

  .footer-grid { gap: 36px; }
}

@media (max-width: 768px) {
  .container { width: min(100% - 32px, 1200px); }

  .site-header { padding: 0; }

  .nav {
    grid-template-columns: auto auto;
    min-height: 72px;
  }

  .logo-img { height: 30px; }

  .menu-toggle {
    display: inline-block;
    font-size: 1.5rem;
  }

  .nav-links,
  .nav-cta { display: none; }

  .mobile-menu {
    padding: 24px 32px 32px;
    gap: 22px;
  }

  .mobile-menu a {
    font-size: 1.1rem;
    font-weight: 600;
  }

  .mobile-menu a.mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;
    color: #fff !important;
    background: #273C75;
    border-radius: 10px;
    text-decoration: none;
  }

  .hero {
    padding: 76px 0 68px;
  }

  .hero::before {
    background-size: 600px;
    background-position: center 45%;
    opacity: 0.035;
    filter: blur(6px);
  }

  .hero-inner { max-width: 100%; }

  .hero h1 {
    font-size: 2.45rem;
    line-height: 1.08;
    letter-spacing: -0.02em;
  }

  .hero p {
    max-width: 320px;
    margin: 18px auto 20px;
    color: #22344E;
  }

  .hero p,
  .section-head p,
  .contact-lead {
    font-size: 1.05rem;
    line-height: 1.4;
  }

  .section-head h2,
  .problem h2,
  .why h2,
  .contact-copy h2 {
    font-size: 2.15rem;
    line-height: 1.1;
  }

  .solution-title h3,
  .info-card h3,
  .value-card h3,
  .white-card h3 {
    font-size: 1.6rem;
    line-height: 1.4;
  }

  .solution-content p,
  .solution-content li,
  .info-card p,
  .value-main,
  .value-detail,
  .white-card p,
  .contact-note,
  .field input,
  .field textarea,
  .checkbox-text {
    font-size: 1rem;
    line-height: 1.5;
  }

  .problem,
  .approach,
  .solutions,
  .value,
  .why,
  .contact,
  .site-footer {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .section-head { margin-bottom: 32px; }

  .btn-large { font-size: 1rem; }

  .btn-accent { padding: 14px 22px; }

  .problem h2 {
    max-width: 320px;
    margin: 0 auto 28px;
  }

  .problem-grid { gap: 16px; }

  .problem-card {
    padding: 18px 16px;
    min-height: auto;
    font-size: 1.5rem;
    line-height: 1.35;
  }

  .approach .section-head p,
  .value .section-head h2 {
    max-width: 320px;
    margin: 0 auto;
  }

  .cards.three,
  .cards.two {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .info-card,
  .value-card,
  .white-card { padding: 22px 16px; }

  .icon-box {
    width: 54px;
    height: 54px;
    margin: 0 auto 16px;
  }

  .info-card h3 { margin-bottom: 10px; }

  .solution-block {
    gap: 18px;
    padding: 32px 0;
  }

  .mini-eyebrow {
    font-size: 0.72rem;
    padding: 7px 12px;
    margin-bottom: 14px;
  }

  .solution-title h3 { margin-bottom: 0; }

  .solution-content p { margin: 0 0 18px; }

  .solution-content ul {
    margin: 0;
    padding: 0;
  }

  .solution-content li {
    gap: 10px;
    margin-bottom: 10px;
  }

  .value-card h3 { gap: 8px; }

  .value-card h3 .icon {
    width: 18px;
    height: 18px;
  }

  .value-main {
    font-size: 1rem;
    line-height: 1.45;
    margin-bottom: 6px;
  }

  .value-card p:last-child {
    font-size: 0.9rem;
    line-height: 1.45;
    color: #4a5b78;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-copy h2 {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 12px;
  }

  .contact-lead,
  .contact-copy .contact-lead {
    font-size: 0.98rem;
    line-height: 1.42;
    font-weight: 400;
    margin-bottom: 14px;
  }

  .contact-note,
  .contact-copy .contact-note {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #4a5b78;
  }

  .form-card { padding: 22px 16px; }

  .btn-submit { width: 100%; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 32px;
  }

  .site-footer h4 { margin-bottom: 12px; }

  .site-footer li,
  .footer-text,
  .footer-link {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .footer-bottom {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .eyebrow {
    font-size: 1rem;
    padding: 5px 16px;
    margin-bottom: 16px;
  }
}
