/* Livafort Digital – Static Cloudflare Pages Website */
:root {
  --navy: #062d6a;
  --blue: #0c53c7;
  --blue-2: #188cf2;
  --cyan: #6fd3ff;
  --text: #0d1b33;
  --muted: #5e6d83;
  --line: #dce7f5;
  --soft: #f5f9ff;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(14, 72, 151, .11);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;
  --header-h: 78px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed; left: 14px; top: 10px; z-index: 9999;
  transform: translateY(-150%); padding: 10px 14px; background: #fff; color: #000; border-radius: 10px;
}
.skip-link:focus { transform: none; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { position: relative; padding: 112px 0; }
.section-soft { background: linear-gradient(180deg, #f8fbff 0%, #f2f7fd 100%); }
.section-dark {
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(50, 156, 255, .26), transparent 28%),
    radial-gradient(circle at 15% 75%, rgba(21, 95, 214, .24), transparent 30%),
    linear-gradient(135deg, #041f4a, #073f8f 60%, #0d58bd);
}

.site-header {
  position: sticky; top: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(13, 83, 177, .08);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.scrolled { box-shadow: 0 8px 28px rgba(12, 46, 91, .08); background: rgba(255,255,255,.96); }
.nav-wrap { min-height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 750; letter-spacing: -.02em; font-size: 1.18rem; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 26px; }
.primary-nav > a:not(.btn) { text-decoration: none; color: #23324a; font-weight: 610; font-size: .94rem; }
.primary-nav > a:not(.btn):hover { color: var(--blue); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--navy); border-radius: 3px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 21px;
  border-radius: 13px; border: 1px solid transparent; text-decoration: none; font-weight: 720; line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-2)); box-shadow: 0 12px 28px rgba(14, 93, 205, .24); }
.btn-secondary { background: #fff; border-color: #cbdcf1; color: var(--navy); }
.btn-light { color: var(--navy); background: #fff; box-shadow: 0 10px 26px rgba(0,0,0,.11); }
.btn-small { min-height: 42px; padding-inline: 16px; font-size: .9rem; }

.hero {
  min-height: calc(100vh - var(--header-h));
  display: grid; align-items: center; overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(112, 205, 255, .18), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .36;
  background-image:
    linear-gradient(rgba(18, 105, 213, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 105, 213, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 86%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 70px; }
.eyebrow { margin: 0 0 16px; color: var(--blue); text-transform: uppercase; letter-spacing: .13em; font-weight: 800; font-size: .78rem; }
.eyebrow-light { color: #9ad9ff; }
h1, h2, h3 { margin-top: 0; line-height: 1.13; color: var(--navy); letter-spacing: -.035em; }
h1 { margin-bottom: 24px; font-size: clamp(2.8rem, 5.6vw, 5.45rem); max-width: 780px; }
h1 span { color: var(--blue); }
h2 { font-size: clamp(2.1rem, 3.8vw, 3.55rem); margin-bottom: 18px; }
h3 { font-size: 1.17rem; margin-bottom: 10px; letter-spacing: -.02em; }
.section-dark h2, .section-dark h3 { color: #fff; }

.hero-lead { max-width: 710px; color: #40506a; font-size: clamp(1.08rem, 1.5vw, 1.28rem); }
.claim { margin: 24px 0 0; color: var(--navy); font-weight: 800; letter-spacing: .01em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 32px; color: #52627a; font-size: .9rem; }
.trust-strip span::before { content: "•"; color: var(--blue-2); margin-right: 8px; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 520px; }
.logo-stage {
  position: relative; width: min(92%, 520px); aspect-ratio: 1; display: grid; place-items: center;
  border: 1px solid rgba(29, 126, 230, .12); border-radius: 50%;
  background: radial-gradient(circle at 45% 40%, #fff 0 33%, #eef8ff 63%, #e4f1ff 100%);
  box-shadow: inset 0 0 80px rgba(25, 113, 220, .10), 0 30px 90px rgba(13, 82, 173, .12);
}
.logo-stage::before, .logo-stage::after {
  content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(30, 132, 238, .16);
}
.logo-stage::before { inset: 7%; }
.logo-stage::after { inset: 18%; }
.logo-stage img { width: 63%; position: relative; z-index: 2; filter: drop-shadow(0 22px 34px rgba(8, 73, 166, .17)); }
.network-grid {
  position: absolute; inset: 0; border-radius: inherit; opacity: .28;
  background:
    radial-gradient(circle at 50% 50%, rgba(17,101,210,.3) 1px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle, #000 0 56%, transparent 76%);
}
.floating-chip {
  position: absolute; z-index: 3; padding: 9px 13px; border-radius: 999px;
  background: rgba(255,255,255,.85); border: 1px solid rgba(21,95,214,.14); box-shadow: 0 10px 28px rgba(8,61,133,.11);
  font-size: .82rem; font-weight: 800; color: var(--blue);
}
.chip-a { top: 15%; left: 6%; } .chip-b { top: 23%; right: 4%; } .chip-c { bottom: 18%; left: -3%; } .chip-d { bottom: 12%; right: 6%; }
.orb-one, .orb-two { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.orb-one { width: 280px; height: 280px; right: -100px; top: 8%; background: rgba(27, 139, 242, .08); }
.orb-two { width: 180px; height: 180px; left: -60px; bottom: 8%; background: rgba(100, 205, 255, .12); }

.section-head { max-width: 800px; margin-bottom: 46px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.benefit-grid, .service-grid { display: grid; gap: 18px; }
.benefit-grid { grid-template-columns: repeat(4, 1fr); }
.benefit-card, .service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: 0 8px 30px rgba(6, 53, 116, .04); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.benefit-card:hover, .service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #c7ddf7; }
.icon-box {
  width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 24px;
  border-radius: 12px; color: var(--blue); background: #edf6ff; font-weight: 850; font-size: .83rem;
}
.benefit-card p, .service-card p { color: var(--muted); margin-bottom: 0; font-size: .96rem; }
.service-grid { grid-template-columns: repeat(4, 1fr); }
.service-card > span {
  display: inline-grid; place-items: center; min-width: 48px; height: 48px; padding: 0 9px; margin-bottom: 22px;
  border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--navy), var(--blue-2)); font-size: .78rem; font-weight: 850;
}

.split-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 78px; align-items: start; }
.section-dark p { color: rgba(255,255,255,.79); }
.lead-light { color: #d9efff !important; font-size: 1.16rem; }
.process-list { display: grid; gap: 14px; }
.process-step {
  display: grid; grid-template-columns: 68px 1fr; gap: 18px; padding: 23px;
  border-radius: 18px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.055); backdrop-filter: blur(8px);
}
.process-step strong { color: #8ed5ff; font-size: 1.15rem; }
.process-step h3 { margin-bottom: 5px; }
.process-step p { margin: 0; font-size: .94rem; }

.brand-section { overflow: hidden; }
.livafort-grid { display: grid; grid-template-columns: 1fr 230px 1fr; gap: 34px; align-items: center; }
.name-panel {
  border: 1px solid var(--line); border-radius: 26px; padding: 34px; background: linear-gradient(180deg,#fff,#f8fbff); box-shadow: var(--shadow);
}
.name-title { color: var(--navy); font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: 1; letter-spacing: .13em; font-weight: 850; margin-bottom: 30px; }
.name-panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.name-panel li { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 10px; }
.name-panel b { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); }
.name-panel span { font-weight: 650; }
.brand-bridge { position: relative; display: grid; place-items: center; }
.brand-bridge img { width: 130px; position: relative; z-index: 2; }
.bridge-line { position: absolute; width: 150%; height: 1px; background: linear-gradient(90deg, transparent, #8ab9ed 20%, #8ab9ed 80%, transparent); }
.brand-reference {
  margin: 54px auto 0; max-width: 860px; padding: 12px; border-radius: 24px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.brand-reference img { width: 100%; border-radius: 16px; }

.tag-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.tag-grid span {
  padding: 11px 15px; border-radius: 999px; background: #fff; border: 1px solid #d4e3f4;
  color: #274263; font-weight: 650; font-size: .92rem;
}

.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.why-list { display: grid; gap: 12px; }
.why-list > div {
  display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
}
.why-list span { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; background: #eaf5ff; color: var(--blue); font-weight: 900; }
.why-list p { margin: 0; font-weight: 650; }

.cta-band { background: linear-gradient(120deg, #052c69, #0a57bd 62%, #168ce7); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { color: #fff; max-width: 760px; }
.cta-inner p:not(.eyebrow) { color: rgba(255,255,255,.82); max-width: 760px; margin-bottom: 0; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.contact-copy > p { color: var(--muted); }
.contact-direct { display: grid; gap: 12px; margin: 30px 0; }
.contact-direct div { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #f9fbfe; }
.contact-direct small { display: block; color: var(--muted); margin-bottom: 3px; }
.contact-direct strong { color: var(--navy); }
.fineprint { font-size: .84rem; }

.contact-form {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 7px; margin-bottom: 16px; color: #20324a; font-weight: 700; font-size: .92rem; }
.contact-form label span { font-weight: 500; color: var(--muted); }
input, textarea, select {
  width: 100%; border: 1px solid #c9d8ea; border-radius: 11px; background: #fff; color: var(--text);
  padding: 12px 13px; outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
textarea { resize: vertical; min-height: 150px; }
input:focus, textarea:focus, select:focus { border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(24, 140, 242, .12); }
.checkbox-row { display: flex !important; align-items: flex-start; gap: 11px !important; font-weight: 500 !important; }
.checkbox-row input { width: 18px; height: 18px; margin-top: 4px; flex: 0 0 18px; }
.checkbox-row a { color: var(--blue); }
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0 !important; }
.form-status { min-height: 26px; margin: 14px 0 0; font-size: .92rem; }
.form-status.success { color: #11723b; }
.form-status.error { color: #a32525; }

.site-footer { background: #06162f; color: #c2d0e3; padding: 68px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .85fr .7fr; gap: 38px; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer a { display: block; text-decoration: none; color: #c2d0e3; margin: 8px 0; }
.site-footer a:hover { color: #fff; }
.brand-footer { color: #fff !important; margin-bottom: 18px !important; }
.footer-grid > div:first-child p { max-width: 360px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; margin-top: 36px; border-top: 1px solid rgba(255,255,255,.10); font-size: .85rem; color: #8fa3bd; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

:focus-visible { outline: 3px solid rgba(24, 140, 242, .55); outline-offset: 4px; border-radius: 8px; }

@media (max-width: 1050px) {
  .primary-nav { gap: 17px; }
  .primary-nav > a:not(.btn) { font-size: .88rem; }
  .benefit-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .livafort-grid { grid-template-columns: 1fr 150px 1fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 880px) {
  :root { --header-h: 70px; }
  .section { padding: 84px 0; }
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch;
    gap: 0; padding: 16px 20px 22px; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); box-shadow: 0 16px 26px rgba(5,45,100,.08);
  }
  .primary-nav.open { display: flex; }
  .primary-nav > a:not(.btn) { padding: 13px 4px; font-size: 1rem; }
  .primary-nav .btn { margin-top: 10px; }
  .hero { min-height: auto; }
  .hero-grid, .split-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-copy { padding-top: 20px; }
  .hero-visual { min-height: 400px; }
  .logo-stage { width: min(82vw, 480px); }
  .livafort-grid { grid-template-columns: 1fr; }
  .brand-bridge { min-height: 130px; }
  .bridge-line { width: 1px; height: 150%; background: linear-gradient(transparent, #8ab9ed 20%, #8ab9ed 80%, transparent); }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 70px 0; }
  .brand span { font-size: 1rem; }
  .brand img { width: 38px; height: 38px; }
  h1 { font-size: clamp(2.45rem, 13vw, 3.55rem); }
  h2 { font-size: clamp(1.9rem, 9.6vw, 2.55rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 340px; }
  .floating-chip { display: none; }
  .benefit-grid, .service-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .benefit-card, .service-card { padding: 24px; }
  .process-step { grid-template-columns: 48px 1fr; padding: 18px; }
  .name-panel { padding: 26px; }
  .contact-form { padding: 22px; }
  .footer-bottom { flex-direction: column; }
}

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

.legal-page { max-width: 850px; }
.legal-page h2 { margin-top: 42px; }
.legal-page p { color: #4b5c74; }
.legal-page strong { color: var(--navy); }

/* Legal pages v2 */
.legal-page{max-width:880px}.legal-title{font-size:clamp(2.6rem,6vw,4.8rem);margin-bottom:34px}.legal-page h2{margin-top:46px;margin-bottom:14px;font-size:clamp(1.25rem,2.2vw,1.55rem);letter-spacing:-.02em}.legal-page p{color:#465a74}.legal-page strong{color:var(--navy)}.legal-page a{color:var(--blue);text-underline-offset:3px}.legal-updated{margin-top:-20px;margin-bottom:38px;color:var(--muted)!important;font-size:.92rem}.legal-footer{padding-top:18px}.legal-footer .footer-bottom{margin-top:0}
