:root {
  --ink: #0a1b31;
  --night: #061426;
  --night-2: #0b2d52;
  --paper: #ffffff;
  --porcelain: #f1f6fa;
  --mist: #eaf3f8;
  --line: #d4e2ed;
  --muted: #4b6075;
  --teal: #0876b8;
  --teal-dark: #082c51;
  --blue: #145dbf;
  --amber: #27ceef;
  --mint: #e7f5fc;
  --shadow: 0 22px 55px rgba(3, 28, 56, 0.14);
}

body {
  background: #ffffff;
}

.site-header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #d7e5ef;
}

.brand-mark {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: cover;
  background: #061426;
  border-radius: 8px;
  box-shadow: 0 0 0 1px #bed8e8;
}

.brand strong {
  color: #092746;
}

.site-nav {
  color: #38516a;
}

.site-nav a:hover {
  color: #086eae;
}

.nav-cta,
.button.primary {
  color: #ffffff;
  background: #145dbf;
  border-color: #145dbf;
  box-shadow: none;
}

.nav-cta:hover,
.button.primary:hover {
  background: #0b4f9f;
}

.button.secondary {
  color: #0a2544;
  border-color: #ffffff;
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
  min-height: 650px;
  padding-top: 54px;
  padding-bottom: 54px;
  background: #061426 url("favicon.png") center center / auto 130% no-repeat;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(3, 17, 34, 0.92);
}

.hero::after {
  height: 2px;
  background: #27ceef;
}

.hero-copy,
.hero-media {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 750px;
}

.hero .eyebrow,
.diagnosis-band .eyebrow {
  color: #75ddf5;
}

.hero h1 {
  max-width: none;
  margin-bottom: 14px;
  font-size: 64px;
  line-height: 1.1;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

section[id] {
  scroll-margin-top: 76px;
}

.hero-media[id] {
  scroll-margin-top: 92px;
}

.hero h1 strong {
  color: #58d9fa;
  font-weight: inherit;
}

.hero-offer {
  margin-bottom: 18px;
  color: #e2f4ff;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.3;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: #c9dbe9;
  font-size: 18px;
}

.hero-actions {
  margin-bottom: 26px;
}

.hero-proof {
  gap: 14px 22px;
}

.hero-proof span {
  min-height: 26px;
  padding: 2px 0 2px 12px;
  color: #d9ecf7;
  background: transparent;
  border: 0;
  border-left: 2px solid #36cbf2;
  border-radius: 0;
  font-weight: 600;
}

.eyebrow {
  color: #0d6cab;
}

.problem-section,
.method-section {
  background: #f1f6fa;
}

.problem-grid article,
.service-grid article,
.method-steps article {
  border-color: #d5e5ef;
}

.problem-grid span,
.method-steps span {
  color: #0c5e99;
  background: #e3f4fb;
}

.diagnosis-band {
  margin: 0;
  padding: 52px clamp(20px, 5vw, 72px);
  background: #0a2b50;
  border-radius: 0;
  box-shadow: none;
}

.diagnosis-band p {
  color: #daeaf5;
}

.diagnosis-list p::before,
.service-grid article::before {
  background: #24c8f2;
}

.service-grid article::before {
  height: 3px;
  border-radius: 0;
}

.case-tag {
  color: #0a5d99;
  background: #e5f4fc;
  border-color: #c6e5f7;
}

.case-copy li {
  border-left-color: #66bde6;
}

.project-outcome {
  color: #0b5e9b;
}

.gallery-thumbs button[aria-pressed="true"] {
  background: #eaf5fc;
}

.gallery-stage {
  border-color: #ccdfea;
  box-shadow: 0 12px 30px rgba(4, 32, 64, 0.09);
}

.trust-section {
  border-color: #cbdfea;
}

.hero-media {
  width: 100%;
  max-width: 490px;
  justify-self: end;
}

.business-card-preview {
  display: block;
  width: min(100%, 460px);
  border: 1px solid #206caa;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 3, 20, 0.36);
}

.business-card-preview img {
  width: 100%;
  height: auto;
}

.hero-media-under {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 20px;
}

.business-card-download {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.qr-link {
  display: block;
  width: 136px;
  padding: 7px;
  background: #ffffff;
  border-radius: 4px;
}

.qr-link img {
  width: 100%;
  height: auto;
}

.card-download-link,
.direct-contact a {
  color: #d9ecf7;
  font-size: 13px;
  line-height: 1.35;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.direct-contact {
  display: grid;
  gap: 10px;
}

.direct-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  overflow-wrap: anywhere;
}

.direct-contact img {
  flex: 0 0 18px;
}

.hero-media a:hover {
  color: #ffffff;
}

.hero-media a:focus-visible {
  outline: 3px solid #54dafa;
  outline-offset: 4px;
}

.final-cta {
  background: #ffffff;
}

.site-footer {
  align-items: center;
  gap: 16px 28px;
  color: #cedeea;
  background: #0b2039;
  border-top: 0;
}

.site-footer p {
  color: inherit;
}

.seal-link {
  display: block;
  flex: 0 0 auto;
  margin-left: auto;
  border-radius: 4px;
}

.data-protection-seal {
  display: block;
  width: 128px;
  height: 128px;
  object-fit: contain;
  border-radius: 4px;
}

.seal-link:focus-visible {
  outline: 3px solid #54dafa;
  outline-offset: 4px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  flex-basis: 100%;
}

.legal-links a {
  color: #d6ecfa;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-links a:hover,
.legal-links a:focus-visible {
  color: #fff;
}

body.cookie-notice-visible {
  padding-bottom: var(--cookie-notice-height, 160px);
}

html {
  scroll-padding-bottom: calc(var(--cookie-notice-height, 0px) + 16px);
}

.cookie-notice {
  position: fixed;
  z-index: 60;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px clamp(20px, 5vw, 72px);
  color: #17364f;
  background: #eef7fd;
  border-top: 1px solid #a9cfe7;
  box-shadow: 0 -4px 16px rgba(6, 20, 38, 0.08);
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice p {
  margin: 0;
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-notice a,
.contact-consent a {
  color: #1255a1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-notice button {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #17364f;
  background: transparent;
  border: 1px solid #a9cfe7;
  border-radius: 4px;
  cursor: pointer;
}

.cookie-notice button[hidden] {
  display: none;
}

.cookie-notice button:hover {
  background: #dbeefb;
}

.cookie-notice :focus-visible {
  outline: 2px solid #1255a1;
  outline-offset: 3px;
}

.contact-dialog::backdrop {
  background: rgba(3, 15, 32, 0.72);
}

.contact-consent input {
  accent-color: #145dbf;
}

.contact-status[data-state="success"] {
  color: #0b4e75;
  background: #e4f3fb;
}

.contact-fallback {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.contact-fallback a {
  display: inline-block;
  padding: 8px 10px;
  color: #8a1c13;
  background: #ffffff;
  border: 1px solid #d7a19c;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
}

.contact-fallback a:hover,
.contact-fallback a:focus-visible {
  border-color: #8a1c13;
  text-decoration: underline;
}

@media (max-width: 1120px) {
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
  .hero h1 { font-size: 54px; }
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 38px;
    min-height: 0;
  }

  .hero-media { max-width: 460px; justify-self: start; }
}

@media (max-width: 620px) {
  .hero {
    gap: 24px;
    padding-top: 40px;
    padding-bottom: 32px;
  }

  .hero h1 { font-size: 42px; }
  .hero-offer { font-size: 22px; }
  .hero-lead { font-size: 17px; }
  .hero-actions { margin-bottom: 0; }
  .hero-proof { display: none; }
  .hero-media {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 14px 12px;
    align-items: start;
  }
  .hero-media-under { display: contents; }
  .business-card-preview { width: 100%; }
  .business-card-download { grid-column: 2; grid-row: 1; }
  .direct-contact { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 15px; }
  .qr-link { width: 112px; }
  .card-download-link,
  .direct-contact a { font-size: 12px; }
}

@media (max-width: 360px) {
  .hero-media { grid-template-columns: minmax(0, 1fr) 98px; }
  .qr-link { width: 98px; }
}
